diff --git a/.sourcemaps/main.js.map b/.sourcemaps/main.js.map index 2596f6f6..d66bf7af 100644 --- a/.sourcemaps/main.js.map +++ b/.sourcemaps/main.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../src/providers/question-category/question-category.ts","../../src/pages/pd-question-category/pd-question-category.ts","../../src/providers/constants/constants.ts","../../src/pages/otp/otp.ts","../../src/providers/common-provider/camera.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","../../src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/login/login.ts","../../src/pages/input/input.ts","../../src/pages/pd-question/pd-question.ts","../../src/pages/pd-question/pd-question-address/pd-question-address.ts","../../src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","../../src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","../../src/pages/pd-question/pd-question-loans/pd-question-loans.ts","../../src/pages/pd-question/pd-question-banking/pd-question-banking.ts","../../src/pages/pd-question/pd-question-family/pd-question-family.ts","../../src/pages/pd-question/pd-question-assests/pd-question-assests.ts","../../src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","../../src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","../../src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","../../src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","../../src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","../../src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","../../src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","../../src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","../../src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","../../src/pipes/pd/pd.ts","../../src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","../../src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","../../src/pages/pd-general-images/pd-general-images.ts","../../src/pages/input/bounced-reject/bounced-reject.ts","../../src/providers/database/database.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/providers/common-provider/loading.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/_guard/auth.guard.ts","../../src/providers/_guard/token.interceptor.ts","../../src/pages/googleplaytab/googleplaytab.ts","../../src/pages/pd-allocation/pd-allocation.ts","../../src/pages/pd-question/pd-question-business/pd-question-business.ts","../../src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","../../src/providers/aws-service/cognito.service.ts","../../src/providers/aws-service/aws-service.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/pdtrigger/pdtrigger.ts","../../src/providers/common-provider/toast.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAAkD;AACP;AACgB;AAE3D;;;;;EAKE;AAEF;IAEE,kCAAmB,IAAgB,EAAQ,QAA0B;QAAlD,SAAI,GAAJ,IAAI,CAAY;QAAQ,aAAQ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":"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ConstantsProvider } from '../constants/constants';\r\n\r\n/*\r\n Generated class for the QuestionCategoryProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class QuestionCategoryProvider {\r\napiurl:any;\r\n constructor(public http: HttpClient,public constant:ConstantsProvider) {\r\n console.log('Hello QuestionCategoryProvider Provider');\r\n this.apiurl = constant.apiurl();\r\n }\r\n \r\n \r\n getLoadTemplate(pdid)\r\n {\r\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\r\n }\r\n saveQusetion(saveData)\r\n {\r\n let records = {'records':[saveData]};\r\n return this.http.post(this.apiurl+'savePDQuestions',records);\r\n }\r\n\r\n \r\n getAnswerTemplate(qustDetails)\r\n {\r\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\r\n }\r\n\r\n /***\r\n * Get PD Questions dropdown api\r\n * sriram\r\n */\r\n getcommondrop(tableName)\r\n {\r\n let masters = {'master_name':tableName}\r\n return this.http.post(this.apiurl+'getListOfMaster',masters);\r\n }\r\n\r\n saveForm(records)\r\n { let record = {'records':records};\r\n return this.http.post(this.apiurl+'savePDFormDetails',record);\r\n }\r\n\r\n retiverForm(records)\r\n {\r\n return this.http.post(this.apiurl+'getPDFormDetails',records);\r\n }\r\n\r\n /**Assessed Form Details API */\r\n saveassessedForms(api,saveData)\r\n {\r\n return this.http.post(this.apiurl+api,saveData);\r\n }\r\n\r\n retiverassessedForm(api,records)\r\n {\r\n return this.http.post(this.apiurl+api,records);\r\n }\r\n\r\n updatePdApplicant(editData: any) {\r\n // editData.fk_updatedby = this._aws.getlocale();\r\n // editData.updatedon = currentdate;\r\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\r\n\r\n \r\n}\r\n\r\ngetEndUseForLoan(pdid:any,subproduct){\r\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid,\"sub_product_id\":subproduct}})\r\n}\r\ngetCompaniesListsForBusiness(pdid:any){\r\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\r\n}\r\ngetStateWiseCities(stateid:any){\r\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\r\n}\r\ngetAllPersonsName(pdid:any){\r\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\r\n \r\n}\r\ngetStateCityDetails(){\r\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\r\n}\r\ngetAssetsWithLoanFromBusiness(pdid:any){\r\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\r\n\r\n}\r\n\r\n\r\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\r\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\r\n}\r\n\r\n/** For Stock Details \r\n * To Get The Products With TypeofActivity From Business \r\n **/\r\nstockFormAccess(pdid: any,companyid: any) {\r\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\r\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\r\n}\r\n\r\n\r\n\r\n/*****Save Images */\r\nsavePDImages(imagesDetails)\r\n{ \r\n let record = {'records':imagesDetails};\r\n return this.http.post(this.apiurl+'savePDPhotos',record);\r\n}\r\ngetFamilyDetails(pdid:any){\r\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\r\n}\r\ngetAddressDetails(pdid:any){\r\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { PdQuestionPage } from '../pd-question/pd-question';\r\nimport Chart from 'chart.js';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\r\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\r\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\r\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\r\n\r\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\r\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\r\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\r\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\r\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\r\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\r\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\nimport { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\r\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\r\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\r\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\r\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\r\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\r\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\r\nimport { PdQuestionBusinessPage } from '../pd-question/pd-question-business/pd-question-business'\r\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\r\n/**\r\n * Generated class for the PdQuestionCategoryPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-category',\r\n templateUrl: 'pd-question-category.html',\r\n})\r\nexport class PdQuestionCategoryPage {\r\n searchTempForm: any;\r\n searchQuestion: any;\r\n viewchange: boolean;\r\n templateAccess: boolean;\r\n bgColortempForm: any=[];\r\n bgColorqustCat: any=[];\r\n // @ViewChild('doughnutCanvas') doughnutCanvas;\r\n pdinfo: any;\r\nquestionList:any;\r\nquestionCate:any;\r\nquestionCateAccess:boolean = null;\r\nquestionfinishedList:any =[];\r\npddetails:any;\r\noverallqustioncountAccess:boolean = true;\r\ndoughnutChart: any;\r\ncompletedAccess:any;\r\nsearchitem:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,public pdstatusprovide:PdtriggerProvider) {\r\n this.pddetails = this.navParams.get('pdDetails');\r\n \r\n \r\n }\r\n\r\n ionViewCanEnter()\r\n {\r\n this.getcategoryList(); \r\n }\r\n // doughuntChart()\r\n // {\r\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\r\n \r\n // type: 'doughnut',\r\n // data: {\r\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\r\n // datasets: [{\r\n // label: '# of Votes',\r\n // data: [12],\r\n // backgroundColor: [\r\n // // 'rgba(255, 99, 132, 0.2)',\r\n // 'rgba(54, 162, 235, 0.2)',\r\n // // 'rgba(255, 206, 86, 0.2)',\r\n // // 'rgba(75, 192, 192, 0.2)',\r\n // // 'rgba(153, 102, 255, 0.2)',\r\n // // 'rgba(255, 159, 64, 0.2)'\r\n // ],\r\n // hoverBackgroundColor: [\r\n // \"#FF6384\",\r\n // \"#36A2EB\",\r\n // \"#FFCE56\",\r\n // \"#FF6384\",\r\n // \"#36A2EB\",\r\n // \"#FFCE56\"\r\n // ]\r\n // }]\r\n // }\r\n\r\n // });\r\n // }\r\n ionViewDidLoad() {\r\n this.shared.refresh();\r\n //this.doughuntChart();\r\n console.log('ionViewDidLoad PdQuestionCategoryPage');\r\n }\r\n \r\n getcategoryList()\r\n {\r\n let j = 1;\r\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\r\n {\r\n this.questionCate = res;\r\n if(this.questionCate.dataStatus == true)\r\n {\r\n \r\n this.questionCate = this.questionCate.records;\r\n this.random_ng_past(); \r\n if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\r\n {\r\n this.questionCateAccess = true;\r\n this.templateAccess = true;\r\n this.questionCate = this.questionCate;\r\n this.searchQuestion = this.questionCate.question_answers;\r\n\r\n if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\r\n {\r\n this.overallqustioncountAccess = false;\r\n }else\r\n {\r\n this.overallqustioncountAccess = true;\r\n }\r\n \r\n \r\n \r\n \r\n \r\n }else if(this.questionCate.template_forms!='')\r\n {\r\n this.templateAccess = true;\r\n this.questionCate = this.questionCate;\r\n this.searchTempForm = this.questionCate.template_forms\r\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\r\n // {\r\n // this.overallqustioncountAccess = false;\r\n // }else\r\n // {\r\n // this.overallqustioncountAccess = true;\r\n // }\r\n }\r\n else\r\n {\r\n this.questionCateAccess = false;\r\n this.templateAccess = false; \r\n this.questionCate = \"No Template Available\";\r\n }\r\n }\r\n })\r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.questionCate.question_answers){\r\n var a = Math.floor(Math.random() * 256);\r\n var b = Math.floor(Math.random() * 256);\r\n var c = Math.floor(Math.random() * 256);\r\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\r\n \r\n }\r\n for(let id of this.questionCate.template_forms){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n questionsTag(categroyId){\r\n \r\n this.pdinfo = this.pddetails; \r\n \r\n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\r\n // if(this.questionCate.questions.length !=\"0\"){\r\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\r\n \r\n // }else\r\n // {\r\n // this.getcategoryList();\r\n // this.toast.pdTriggerappmessage('No Question Available');\r\n // }\r\n }\r\n\r\n tempQustionTag(categroyId)\r\n {\r\n this.pdinfo = this.pddetails; \r\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\r\n if(categroyId ==5)\r\n {\r\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n \r\n }else if(categroyId==12){\r\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n }else if(categroyId==10)\r\n {\r\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==8){\r\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==13)\r\n {\r\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n \r\n }else if(categroyId==7)\r\n {\r\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n\r\n }else if(categroyId==6)\r\n {\r\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId ==4){\r\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==9){\r\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==1){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==3){\r\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==11)\r\n {\r\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==14)\r\n {\r\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId ==2)\r\n {\r\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId ==17)\r\n {\r\n this.navCtrl.push(PdQuestionRentalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }\r\n else if(categroyId==16)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==15)\r\n {\r\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==18)\r\n {\r\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==19)\r\n {\r\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }\r\n else if(categroyId==20)\r\n {\r\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n }\r\n }\r\n filter(view){\r\n if(!view){\r\n this.viewchange = true;\r\n }else{\r\n this.viewchange = false;\r\n }\r\n //alert(this.viewchange);\r\n }\r\n pdlistsearch(searchbar) {\r\n // this.questionCate = this.searchQuestion;\r\n // this.questionCate.template_forms = this.searchTempForm;\r\n // reset countries list with initial call\r\n //this.pdinprogress = this.countriesInitial;\r\n // set q to the value of the searchbar\r\n var q = searchbar.target.value;\r\n\r\n // if the value is an empty string don't filter the items\r\n if(this.searchQuestion !== undefined){\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\r\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n // return true;\r\n // }\r\n // })\r\n }\r\n }else\r\n {\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\r\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n// return true;\r\n// }\r\n// })\r\n }\r\n }\r\n}\r\n completed()\r\n {\r\n let users = this.aws.getlocale();\r\n \r\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':'COMPLETED','fk_updatedby':users,'updatedon':currentdate};\r\n \r\n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.completedAccess = res;\r\n if(this.completedAccess.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage);\r\n }\r\n })\r\n }\r\n doRefresh(refresher) {\r\n this.questionCate = [];\r\n this.questionfinishedList = [];\r\n this.shared.refresh();\r\n this.getcategoryList();\r\n setTimeout(() => {\r\n refresher.complete();\r\n }, 2000);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\n\r\n/*\r\n Generated class for the ConstantsProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class ConstantsProvider {\r\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\r\n constructor(public http: HttpClient) {\r\n console.log('Hello ConstantsProvider Provider');\r\n }\r\n\r\n apiurl()\r\n {\r\n let testapiurl = 'http://ssa.sineedge.com/sparqtest/api/';\r\n let devapiurl = 'http://ssa.sineedge.com/sparqapi/api/';\r\n let localapiurl = 'http://192.168.0.9/sparqapi/api/';\r\n return devapiurl;\r\n }\r\n\r\n getcurrentDate()\r\n {\r\n var today = new Date();\r\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\r\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\r\n var time = today.getHours() + \":\" + today.getMinutes();\r\n let CurrentDate = date+\"T00:00\";\r\n return CurrentDate.toString();\r\n }\r\n \r\n convertNumberToWords(amount) {\r\n var words = new Array();\r\n words[0] = '';\r\n words[1] = 'One';\r\n words[2] = 'Two';\r\n words[3] = 'Three';\r\n words[4] = 'Four';\r\n words[5] = 'Five';\r\n words[6] = 'Six';\r\n words[7] = 'Seven';\r\n words[8] = 'Eight';\r\n words[9] = 'Nine';\r\n words[10] = 'Ten';\r\n words[11] = 'Eleven';\r\n words[12] = 'Twelve';\r\n words[13] = 'Thirteen';\r\n words[14] = 'Fourteen';\r\n words[15] = 'Fifteen';\r\n words[16] = 'Sixteen';\r\n words[17] = 'Seventeen';\r\n words[18] = 'Eighteen';\r\n words[19] = 'Nineteen';\r\n words[20] = 'Twenty';\r\n words[30] = 'Thirty';\r\n words[40] = 'Forty';\r\n words[50] = 'Fifty';\r\n words[60] = 'Sixty';\r\n words[70] = 'Seventy';\r\n words[80] = 'Eighty';\r\n words[90] = 'Ninety';\r\n amount = amount.toString();\r\n var atemp = amount.split(\".\");\r\n var number = atemp[0].split(\",\").join(\"\");\r\n var n_length = number.length;\r\n let value:any = \"\";\r\n var words_string = \"\";\r\n if (n_length <= 9) {\r\n var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\r\n var received_n_array = new Array();\r\n for (var i = 0; i < n_length; i++) {\r\n received_n_array[i] = number.substr(i, 1);\r\n }\r\n for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\r\n n_array[i] = received_n_array[j];\r\n }\r\n for (var i = 0, j = 1; i < 9; i++, j++) {\r\n if (i == 0 || i == 2 || i == 4 || i == 7) {\r\n if (n_array[i] == 1) {\r\n n_array[j] = 10 + parseInt(n_array[j]);\r\n n_array[i] = 0;\r\n }\r\n }\r\n }\r\n value = \"\";\r\n for (var i = 0; i < 9; i++) {\r\n if (i == 0 || i == 2 || i == 4 || i == 7) {\r\n value = n_array[i] * 10;\r\n } else {\r\n value = n_array[i];\r\n }\r\n if (value != 0) {\r\n words_string += words[value] + \" \";\r\n }\r\n if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Crores \";\r\n }\r\n if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Lakhs \";\r\n }\r\n if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Thousand \";\r\n }\r\n if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\r\n words_string += \"Hundred and \";\r\n } else if (i == 6 && value != 0) {\r\n words_string += \"Hundred \";\r\n }\r\n }\r\n words_string = words_string.split(\" \").join(\" \");\r\n }\r\n return words_string;\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { Geolocation } from '@ionic-native/geolocation'; \r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\n/**\r\n * Generated class for the OtpPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-otp',\r\n templateUrl: 'otp.html',\r\n})\r\nexport class OtpPage {\r\n\r\n \r\n timeLimit: any;\r\n reason_otp: any;\r\n users: any;\r\n timerOn: boolean = true;\r\n balance_time: string;\r\n otpStatus: any;\r\n pin:any;\r\n otpStatusAccess:boolean = true;\r\n applicatentDetails: any;\r\n commonImage:any;\r\n maxtime: any=30;\r\n \r\n reasonForm:FormGroup\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public pddetails:PdtriggerProvider,public toast:ToastProvider,public Menu:MenuController,public commonconstant:ConstantsProvider,public aws:AwsServiceProvider,public alertCtrl:AlertController,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public geolocation:Geolocation,public androidPermissions:AndroidPermissions) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n console.log(\"user\",this.users)\r\n this.reasonForm = this.fb.group(\r\n {\r\n reason:[null,Validators.compose([Validators.required])],\r\n others_reason:[null],\r\n })\r\n \r\n this.getDropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad OtpPage');\r\n }\r\n ionViewDidEnter(){\r\n //this.Menu.enable(false);\r\n this.setPermission();\r\n this.timer(120);\r\n \r\n }\r\n\r\n setPermission()\r\n {\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n ionViewWillLeave(){\r\n //this.Menu.enable(true);\r\n clearTimeout(this.timeLimit);\r\n }\r\n getDropdown()\r\n {\r\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\r\n console.log(this.reason_otp);\r\n \r\n }\r\n })\r\n }\r\n checkotp(otp)\r\n {\r\n //console.log(\"Otp\",otp)\r\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\r\n this.pddetails.checkotp(data).subscribe(res=>\r\n {\r\n //console.log(\"Otp\",res)\r\n this.otpStatus = res;\r\n if(this.otpStatus.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\r\n }\r\n })\r\n }\r\n\r\n timer(remaining) {\r\n // console.log(remaining);\r\n let m:any = Math.floor(remaining / 60);\r\n let s:any = remaining % 60;\r\n \r\n m = m < 10 ? '0' + m : m;\r\n s = s < 10 ? '0' + s : s;\r\n // var balance_time = m + ':' + s;\r\n this.balance_time = m + ':' + s;\r\n remaining -=1;\r\n // console.log(this.balance_time);\r\n if(remaining >= 0 && this.timerOn) {\r\n this.timeLimit = setTimeout(()=> {\r\n this.timer(remaining);\r\n }, 1000);\r\n return;\r\n }\r\n \r\n if(!this.timerOn) {\r\n // Do validate stuff here\r\n return;\r\n }\r\n \r\n // Do timeout stuff here\r\n \r\n let data:any;\r\n let alert = this.alertCtrl.create({\r\n title: 'OTP Expired ',\r\n message: 'Do you want sure resend OTP',\r\n buttons: [\r\n {\r\n text: 'OTP Without Start',\r\n \r\n handler: () => {\r\n \r\n this.otpStatusAccess = false;\r\n }\r\n },\r\n {\r\n text: 'Resend OTP',\r\n handler: () => {\r\n \r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n data = {'pd_id':this.applicatentDetails.pd_id,'pd_status':'STARTED','mobile_no':this.applicatentDetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'link':currentPosPDofficer};\r\n console.log(data);\r\n this.pddetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.timer(60);\r\n })\r\n });\r\n // console.log('Buy clicked');\r\n \r\n } \r\n }\r\n \r\n ]\r\n \r\n });\r\n alert.present();\r\n }\r\n \r\n saveotpreasno()\r\n {\r\n console.log(this.reasonForm.value);\r\n if(this.reasonForm.valid)\r\n {\r\n let data = {'pd_id':this.applicatentDetails.pd_id,'reason':this.reasonForm.value.reason,'other_reason':this.reasonForm.value.others_reason,'fk_updatedby':this.users};\r\n this.pddetails.checkotp(data).subscribe(res=>\r\n {\r\n this.otpStatus = res;\r\n if(this.otpStatus.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\r\n }else\r\n {\r\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Camera } from '@ionic-native/camera';\r\n/*\r\n Generated class for the CameraProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class CameraProvider {\r\n\r\n constructor(public http: HttpClient,public camera:Camera) {\r\n console.log('Hello CameraProvider Provider');\r\n }\r\n getpicture() \r\n {\r\n const options = {\r\n quality: 100,\r\n destinationType: this.camera.DestinationType.DATA_URL,\r\n targetWidth: 500,\r\n targetHeight: 500,\r\n correctOrientation: true\r\n };\r\n\r\n // If set to crop, restricts the image to a square of 600 by 600\r\n \r\n\r\n return this.camera.getPicture(options).then(imageData => {\r\n const base64Image = 'data:image/png;base64,' + imageData;\r\n // console.log(base64Image);\r\n return base64Image;\r\n }, error => {\r\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\r\n });\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionSupplsierInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-supplier-info',\r\n templateUrl: 'pd-question-supplier-info.html',\r\n})\r\n\r\nexport class PdQuestionSupplierInfoPage {\r\n users: any;\r\n pdDetails: any;\r\n formDetails: any;\r\n company_id: any;\r\n form_id: any;\r\n questionDetails: any;\r\n supplierInfoForm: FormGroup;\r\n\r\n business_manufacturingProducts: any = [];\r\n business_tradingProducts: any = [];\r\n m_titleList: any = [];\r\n m_paymentList: any = [];\r\n m_companyRelationShipList: any = [];\r\n\r\n noRecordsFound: Boolean = false;\r\n public submitted = false;\r\n errorMessage: any = '';\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider) {\r\n\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.form_id = this.formDetails.form_id;\r\n this.company_id = this.pdDetails.company_id;\r\n this.users = this.aws.getlocale();\r\n\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\r\n\r\n if (data.dataStatus) {\r\n\r\n let datas = data.records;\r\n this.initFormLoadDetails(datas.type_of_activity);\r\n this.business_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\r\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\r\n\r\n let api = Object.keys(datas.type_of_activity).map(function (key) {\r\n return datas.type_of_activity[key];\r\n });\r\n\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 3) {\r\n if (val.prodcuts) {\r\n this.business_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n\r\n if (val.type_of_activity_id == 4) {\r\n if (val.prodcuts) {\r\n this.business_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n });\r\n }\r\n\r\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\r\n\r\n } else {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = data.msg;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n })\r\n this.getdropList();\r\n }\r\n\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\r\n }\r\n\r\n\r\n serviceProviderForm: Boolean = false;\r\n initFormLoadDetails(record) {\r\n let params: any = {};\r\n params.pd_id = this.pdDetails.pd_id;\r\n params.pd_form_id = this.form_id;\r\n params.company_id = this.company_id;\r\n\r\n this.qustCat.retiverForm(params).subscribe(\r\n data => {\r\n if (data['dataStatus'] == true) {\r\n let dataForm = data['records'];\r\n if (dataForm !== undefined) {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\r\n // return dataForm.main_raw_materials[key];\r\n // });\r\n if(dataForm.manufacturing_details[0] != null){\r\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\r\n\r\n this.initManufacturingProductsDetails(api_main_raw_materials);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\r\n }\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\r\n // return dataForm.trading_products[key];\r\n // });\r\n if(dataForm.trade_details[0] != null){\r\n let api_trading_products = dataForm.trade_details[0].trading_products;\r\n this.initTradingProductsDetails(api_trading_products);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n this.noRecordsFound = true;\r\n } else {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null);\r\n }\r\n this.noRecordsFound = true;\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.serviceProviderForm = true;\r\n }\r\n } else {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: []\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.serviceProviderForm = true;\r\n }\r\n this.noRecordsFound = true;\r\n }\r\n }, err => {\r\n\r\n }\r\n );\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n main_raw_materials: this.fb.array([]),\r\n main_raw_materials_total_payments_percent_on_credit: []\r\n })\r\n // }\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr.length > 0) {\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_products: this.fb.array([]),\r\n trading_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingProductsDetails(datas) {\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n control.push(this.initManufacturingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.manufacturing_payment_type, 1, inx);\r\n control.push(this.initManufacturingProducts(val));\r\n });\r\n }\r\n }\r\n\r\n initManufacturingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n manufacturing_raw_material_name: [''],\r\n manufacturing_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n manufacturing_contact_person_name: [''],\r\n manufacturing_contact_person_mobile_number: [''],\r\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n manufacturing_payment_type: [''],\r\n manufacturing_payment_mode: [''],\r\n manufacturing_credit_days_from: [''],\r\n manufacturing_credit_days_to: [''],\r\n manufacturing_frequency_of_purchase: [''],\r\n person_stdcode: [''],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [''],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n\r\n })\r\n } else {\r\n return this.fb.group({\r\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\r\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n other_person_designation: [records.other_person_designation || null],\r\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\r\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\r\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\r\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\r\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\r\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\r\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\r\n person_stdcode: [records.person_stdcode || null],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [records.person_landline || null],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n })\r\n }\r\n }\r\n\r\n initTradingProductsDetails(datas) {\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n if (datas === null) {\r\n control.push(this.initTradingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.trade_product_payment_type, 2, inx);\r\n control.push(this.initTradingProducts(val));\r\n });\r\n }\r\n }\r\n\r\n initTradingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n trade_product_name: [''],\r\n trade_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n trade_product_contact_person_name: [''],\r\n trade_product_contact_person_mobile_number: [''],\r\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n person_stdcode: [null],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [null],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n trade_product_payment_type: [''],\r\n trade_product_payment_mode: [''],\r\n trade_product_frequency_of_purchase: [''],\r\n trade_product_credit_days_from: [''],\r\n trade_product_credit_days_to: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n trade_product_name: [records.trade_product_name],\r\n person_title_name: [records.person_title_name],\r\n person_designation: [records.person_designation],\r\n other_person_designation: [records.other_person_designation],\r\n trade_supplier_name: [records.trade_supplier_name],\r\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\r\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\r\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n person_stdcode: [records.person_stdcode],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [records.person_landline],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n trade_product_payment_type: [records.trade_product_payment_type],\r\n trade_product_payment_mode: [records.trade_product_payment_mode],\r\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\r\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\r\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\r\n })\r\n }\r\n }\r\n\r\n addMoreRawMaterials(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n\r\n control.push(this.initManufacturingProducts(null));\r\n }\r\n\r\n removeRawMaterials(inx): void {\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoretradeProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n control.push(this.initTradingProducts(null));\r\n }\r\n\r\n removeTradingProduct(inx): void {\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n\r\n getdropList() {\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n this.m_companyRelationShipList = data['records']\r\n //.filter(data => data.isactive == 1); \r\n // because in general no need of \"other\" option but in supplier others option needed - in DB others option changed into inactive\"\r\n });\r\n\r\n this.qustCat.getcommondrop('TITLES').subscribe(\r\n data => {\r\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\r\n data => {\r\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n\r\n\r\n saveSupplierInfo(FormValues) {\r\n\r\n var answerFormValues = FormValues;\r\n\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n\r\n }\r\n\r\n selectedPersonDesignation(items, e, flag) {\r\n if (flag == 1) {\r\n e == 1 ? '' : '';\r\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\r\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 2) {\r\n e == 1 ? '' : '';\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n mfgCreditCardFlag: boolean = false;\r\n trdCreditCardFlag: boolean = false;\r\n mfgCounter: any = [];\r\n trdCounter: any = [];\r\n checkCard(e, flag, index) {\r\n if (flag == 2 && e == 3) {\r\n this.trdCounter[index] = 1;\r\n }\r\n else if (flag == 2 && e != 3) {\r\n this.trdCounter[index] = 0;\r\n }\r\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\r\n this.trdCreditCardFlag = TRD > 0 ? true : false;\r\n\r\n if (flag == 1 && e == 3) {\r\n this.mfgCounter[index] = 1;\r\n }\r\n else if (flag == 1 && e != 3) {\r\n this.mfgCounter[index] = 0;\r\n }\r\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\r\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\r\n }\r\n\r\n selectedPaymentTerms(items, e, flag) {\r\n if (flag == 2) {\r\n if (e == 3) {\r\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\r\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n items.controls['trade_product_credit_days_from'].clearValidators();\r\n items.controls['trade_product_credit_days_from'].setValue('');\r\n items.controls['trade_product_credit_days_to'].clearValidators();\r\n items.controls['trade_product_credit_days_to'].setValue('');\r\n }\r\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\r\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\r\n }\r\n else if (flag == 1) {\r\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\r\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n items.controls['manufacturing_credit_days_from'].clearValidators();\r\n items.controls['manufacturing_credit_days_from'].setValue('');\r\n items.controls['manufacturing_credit_days_to'].clearValidators();\r\n items.controls['manufacturing_credit_days_to'].setValue('');\r\n }\r\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\r\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\r\n\r\n/**\r\n * Generated class for the PdQuestionStockInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-stock-info',\r\n templateUrl: 'pd-question-stock-info.html',\r\n})\r\nexport class PdQuestionStockInfoPage {\r\n\r\n uomData: any;\r\n rawmaterial: any;\r\n users: any;\r\n formDetails: any;\r\n pdDetails: any;\r\n company_id : any;\r\n pdid:any;\r\n stockForm: FormGroup;\r\n noRecordsFound: Boolean;\r\n errorMessage: any = '';\r\n M_rawValueInWords : any = []; \r\n M_goodsValueInWords : any = [];\r\n R_tradedGoodsValueInWords : any = [];\r\n T_tradedGoodsValueInWords : any = [];\r\n mrmCommentFlag:any=[];\r\n mfgCommentFlag:any=[];\r\n rtrdCommentFlag:any=[];\r\n wtrdCommentFlag:any=[];\r\n serviceProviderForm: Boolean = false;\r\n suppliers_raw_materials : any = [];\r\n suppliers_retail_trade_details : any = [];\r\n suppliers_wholesale_trade_details : any = [];\r\n suppliers_finished_goods : any =[];\r\n\r\n RMCommentCard: boolean = false;\r\n TGCommentCard: boolean = false\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.company_id=this.pdDetails.company_id;\r\n this.pdid=this.pdDetails.pd_id;\r\n this.qustCat.stockFormAccess(this.pdid,this.company_id).subscribe(data => {\r\n if(data.dataStatus == true){\r\n this.initstockForm(data.record);\r\n }\r\n else if(data.dataStatus == false)\r\n {\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID '+ this.company_id ); \r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id +'! ....';\r\n return;\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID '+ this.company_id ); \r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id +'! ....';\r\n return;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n })\r\n this.getdropdown();\r\n }\r\n\r\n public initstockForm(record){\r\n let api = Object.keys(record.from_business).map(function (key) {\r\n return record.from_business[key];\r\n });\r\n\r\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\r\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\r\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\r\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\r\n\r\n\r\n let rm_api = record.from_supplier;\r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = this.formDetails.form_id;\r\n params.company_id = this.company_id;\r\n this.qustCat.retiverForm(params).subscribe(value => {\r\n if (value['status'] == 200) {\r\n let dataForm = value['records']; \r\n if(dataForm !== undefined) {\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [dataForm.stock_remarks],\r\n\r\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\r\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\r\n is_sufficiant_finished_and_traded_goods:[dataForm.is_sufficiant_finished_and_traded_goods],\r\n finished_and_traded_goods_remarks:[dataForm.finished_and_traded_goods_remarks],\r\n\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(type3length)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\r\n let manufacturing_temparr = [];\r\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials; \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\r\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods; \r\n this.initManufacturingDetails(manufacturing_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n let retail_temparr = [];\r\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\r\n \r\n this.initRetailDetails(retail_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n let trading_temparr = [];\r\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\r\n console.log(\"Trade\",trading_temparr)\r\n this.initTradingDetails(trading_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n this.serviceProviderForm = true;\r\n }\r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n else{\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [''],\r\n // is_sufficiant_raw:[''],\r\n // rawmaterial_remarks:[''],\r\n is_sufficiant_finished_and_traded_goods:[''],\r\n finished_and_traded_goods_remarks:[''],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(type3length)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_finished_goods = val.products;\r\n this.initManufacturingDetails(null); \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null); \r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_retail_trade_details = val.products;\r\n this.initRetailDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_wholesale_trade_details =val.products;\r\n this.initTradingDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n // this.suppliers_service_product = val.products;\r\n this.serviceProviderForm = true;\r\n } \r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n }\r\n else {\r\n console.log(\"Record\",record)\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [''],\r\n\r\n // is_sufficiant_raw:[''],\r\n // rawmaterial_remarks:[''],\r\n is_sufficiant_finished_and_traded_goods:[''],\r\n finished_and_traded_goods_remarks:[''],\r\n \r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(type3length)]),\r\n \r\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_finished_goods = val.products;\r\n this.suppliers_raw_materials = rm_api;\r\n this.initManufacturingDetails(null); \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_retail_trade_details= val.products;\r\n this.initRetailDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_wholesale_trade_details = val.products;\r\n this.initTradingDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n // this.suppliers_service_product = val.products;\r\n this.serviceProviderForm = true;\r\n } \r\n } \r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\r\n }\r\n\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('UOM').subscribe(data => {\r\n if(data['dataStatus']==true){\r\n this.uomData = data['records'].filter(uom=>uom.isactive==1 && uom.is_land_uom == 0 || uom.is_land_uom == 2);\r\n }\r\n });\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(record) {\r\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\r\n let rm_arr = record.from_supplier;\r\n //console.log(\"Manufacturing \",arr);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n is_sufficiant_raw: [],\r\n rawmaterial_remarks:[],\r\n manufacturing_raw_materials: this.fb.array([]),\r\n manufacturing_finished_goods: this.fb.array([]),\r\n })\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n retailForm: Boolean = false;\r\n retailFormCreation(val) {\r\n //let arr = val.filter(data => data.type_of_activity_id == 3);\r\n let arr=val\r\n console.log(\"retail Form \",arr);\r\n if (arr > 0) {\r\n // if(arr.products != undefined){\r\n this.retailForm = true;\r\n return this.fb.group({\r\n retail_traded_goods: this.fb.array([])\r\n }); \r\n // }else{\r\n // this.retailForm = false;\r\n // return;\r\n // } \r\n } else {\r\n return this.fb.group({\r\n retail_traded_goods: this.fb.array([])\r\n }); \r\n // return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n let arr=val\r\n //let arr = val.filter(data => data.type_of_activity_id == 4);\r\n \r\n if (arr > 0) {\r\n \r\n // if(arr.products === undefined){\r\n \r\n // this.tradingForm = false;\r\n // return;\r\n // }\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_traded_goods: this.fb.array([])\r\n }); \r\n } else {\r\n return this.fb.group({\r\n trading_traded_goods: this.fb.array([])\r\n }); \r\n // return;\r\n }\r\n }\r\n\r\n initManufacturingDetails(datas) {\r\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; \r\n if(datas === null){\r\n if(this.suppliers_raw_materials.length > 0){\r\n this.suppliers_raw_materials.forEach(val => {\r\n let Ref_RawMaterials : any = {'raw_name': val,\r\n 'stock_observed':'',\r\n 'raw_quantity': '',\r\n 'raw_uom': '',\r\n 'other_uom': '',\r\n 'raw_value': '',\r\n 'is_sufficiant_raw': '',\r\n 'rawmaterial_remarks':''};\r\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials)); \r\n });\r\n }\r\n else{ \r\n rawMaterial.push(this.createRawmaterial(null)); \r\n } \r\n if(this.suppliers_finished_goods.length > 0){\r\n this.suppliers_finished_goods.forEach(val => {\r\n let Ref_Finished_Goods : any = {'goods_name': val,\r\n 'goods_observed': '',\r\n 'goods_quantity': '',\r\n 'goods_uom': '',\r\n 'goods_other_uom': '',\r\n 'goods_value': '',\r\n 'is_sufficiant_goods': '',\r\n 'finishedgoods_remarks':''};\r\n finishedGoods.push(this.createGoods(Ref_Finished_Goods)); \r\n });\r\n }\r\n else{ \r\n finishedGoods.push(this.createGoods(null)); \r\n }\r\n } else {\r\n if(datas.manufacturing_raw_materials != undefined){\r\n datas.manufacturing_raw_materials.forEach((val,index) => {\r\n if(val.raw_value){\r\n this.inWords(val.raw_value,1,index);\r\n }\r\n // this.checkComments(val.is_sufficiant_raw,1,index);\r\n this.checkComments(val.stock_observed, 1, index);\r\n rawMaterial.push(this.createRawmaterial(val)); \r\n });\r\n }\r\n else{\r\n rawMaterial.push(this.createRawmaterial(null)); \r\n }\r\n if(datas.manufacturing_finished_goods != undefined){ \r\n datas.manufacturing_finished_goods.forEach((val,index) => {\r\n if(val.goods_value){\r\n this.inWords(val.goods_value,2,index);\r\n }\r\n // this.checkComments(val.is_sufficiant_goods,2,index);\r\n this.checkComments(val.goods_observed, 2, index);\r\n finishedGoods.push(this.createGoods(val)); \r\n \r\n });\r\n }\r\n else{\r\n finishedGoods.push(this.createGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n createRawmaterial(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n raw_name: [''],\r\n stock_observed:[''],\r\n raw_quantity: [''],\r\n raw_uom: [''],\r\n other_uom : [''],\r\n raw_value: [''],\r\n is_sufficiant_raw: [''],\r\n rawmaterial_remarks:['']\r\n })\r\n } else { \r\n return this.fb.group({\r\n raw_name: [records.raw_name],\r\n stock_observed:[records.stock_observed],\r\n raw_quantity: [records.raw_quantity],\r\n raw_uom: [records.raw_uom],\r\n other_uom : [records.other_uom],\r\n raw_value: [records.raw_value],\r\n is_sufficiant_raw: [records.is_sufficiant_raw],\r\n rawmaterial_remarks:[records.rawmaterial_remarks]\r\n })\r\n }\r\n }\r\n \r\n initRetailDetails(datas) {\r\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n if(datas === null){\r\n if(this.suppliers_retail_trade_details.length > 0){\r\n // this.rawMaterialAccess = true;\r\n this.suppliers_retail_trade_details.forEach(val => {\r\n let Ref_Trade_Goods : any = {\r\n 'traded_goods_name': val,\r\n 'traded_goods_observed': '',\r\n 'traded_goods_quantity': '',\r\n 'traded_goods_uom': '',\r\n 'traded_goods_other_uom': '',\r\n 'estimated_traded_goods_value': '',\r\n 'is_sufficiant_traded_goods': '',\r\n 'traded_goods_remarks':''};\r\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods)); \r\n });\r\n }\r\n else{ \r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n } else {\r\n if(datas.retail_traded_goods !== undefined){\r\n datas.retail_traded_goods.forEach((val,index) => {\r\n if(val.estimated_traded_goods_value){\r\n this.inWords(val.estimated_traded_goods_value,3,index);\r\n }\r\n // this.checkComments(val.is_sufficiant_traded_goods,3,index);\r\n this.checkComments(val.traded_goods_observed, 3, index);\r\n tradedGoods.push(this.createTradedGoods(val)); \r\n });\r\n }\r\n else{\r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n\r\n createGoods(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n goods_name: [''],\r\n goods_observed: [''],\r\n goods_quantity: [''],\r\n goods_uom: [''],\r\n goods_other_uom: [''],\r\n goods_value: [''],\r\n is_sufficiant_goods: [''],\r\n finishedgoods_remarks:['']\r\n });\r\n }\r\n else {\r\n return this.fb.group({\r\n goods_name: [records.goods_name],\r\n goods_observed: [records.goods_observed],\r\n goods_quantity: [records.goods_quantity],\r\n goods_uom: [records.goods_uom],\r\n goods_other_uom: [records.goods_other_uom],\r\n goods_value: [records.goods_value],\r\n is_sufficiant_goods: [records.is_sufficiant_goods],\r\n finishedgoods_remarks:[records.finishedgoods_remarks]\r\n })\r\n }\r\n }\r\n\r\n initTradingDetails(datas) {\r\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; \r\n if(datas === null){\r\n if(this.suppliers_wholesale_trade_details.length > 0){\r\n this.suppliers_wholesale_trade_details.forEach(val => {\r\n let Ref_Trade_Goods : any = {\r\n 'traded_goods_name': val,\r\n 'traded_goods_observed': '',\r\n 'traded_goods_quantity': '',\r\n 'traded_goods_uom': '',\r\n 'traded_goods_other_uom': '',\r\n 'estimated_traded_goods_value': '',\r\n 'is_sufficiant_traded_goods': '',\r\n 'traded_goods_remarks':''};\r\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods)); \r\n });\r\n }\r\n else{ \r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n\r\n } else {\r\n if(datas.trading_traded_goods !==undefined)\r\n {\r\n datas.trading_traded_goods.forEach((val,index) => { \r\n if(val.estimated_traded_goods_value){\r\n this.inWords(val.estimated_traded_goods_value,4,index);\r\n }\r\n // this.checkComments(val.is_sufficiant_traded_goods,4,index);\r\n this.checkComments(val.traded_goods_observed, 4, index);\r\n tradedGoods.push(this.createTradedGoods(val)); \r\n });\r\n }\r\n else{\r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n createTradedGoods(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n traded_goods_name: [''],\r\n traded_goods_observed: [''],\r\n traded_goods_quantity: [''],\r\n traded_goods_uom: [''],\r\n traded_goods_other_uom: [''],\r\n estimated_traded_goods_value: [''],\r\n is_sufficiant_traded_goods: [''],\r\n traded_goods_remarks:['']\r\n });\r\n }\r\n else {\r\n return this.fb.group({\r\n traded_goods_name: [records.traded_goods_name],\r\n traded_goods_observed: [records.traded_goods_observed],\r\n traded_goods_quantity: [records.traded_goods_quantity],\r\n traded_goods_uom: [records.traded_goods_uom],\r\n traded_goods_other_uom: [records.traded_goods_other_uom],\r\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\r\n is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\r\n traded_goods_remarks:[records.traded_goods_remarks]\r\n })\r\n }\r\n }\r\n \r\n /** Manufacturing -> To Add More Raw Material Details */\r\n addRawMaterials(flag) {\r\n if(flag==1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n control.push(this.createRawmaterial(null));\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Remove Raw Material Details */\r\n deleteRawMaterials(index,flag) {\r\n if(flag==1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Add More Finished Goods */\r\n addGoods(flag) {\r\n if(flag == 1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n control.push(this.createGoods(null));\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Remove Finished Goods */\r\n deleteGoods(index,flag) {\r\n if(flag == 1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n /**\r\n * Case 1 Retail Traded -> To Add More trade Goods\r\n * Case 2 wholesale Traded -> To Add More trade Goods\r\n */\r\n addTradedGoods(flag) {\r\n switch(flag){\r\n case 1: {\r\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n control.push(this.createTradedGoods(null));\r\n break;\r\n }\r\n case 2: {\r\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n control.push(this.createTradedGoods(null));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Case 1 Retail Traded -> To remove trade Goods\r\n * Case 2 wholesale Traded -> To remove trade Goods\r\n */\r\n deleteTradedGoods(index,flag) {\r\n switch(flag){\r\n case 1: {\r\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n case 2: {\r\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n \r\n //const control = this.stockForm.controls['traded_goods'];\r\n\r\n }\r\n\r\n ManufacturingCounterArray: any = [];\r\n FinishedCounterArray: any = [];\r\n RetailCounterArray: any = [];\r\n WholeSaleCounterArray: any = [];\r\n\r\n checkComments(value, flag, index) {\r\n\r\n if (flag == 1) {\r\n this.ManufacturingCounterArray[index] = value == \"yes\" ? 1 : 0\r\n let RMOverallCount = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\r\n this.RMCommentCard = RMOverallCount > 0 ? true : false;\r\n }\r\n if (flag == 2) {\r\n this.FinishedCounterArray[index] = value == \"yes\" ? 1 : 0\r\n }\r\n if (flag == 3) {\r\n this.RetailCounterArray[index] = value == \"yes\" ? 1 : 0\r\n }\r\n if (flag == 4) {\r\n this.WholeSaleCounterArray[index] = value == \"yes\" ? 1 : 0\r\n }\r\n let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0);\r\n let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\r\n let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\r\n let TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount;\r\n this.TGCommentCard = TGOverallCount > 0 ? true : false;\r\n }\r\n\r\n /** To Save/Edited Popup Data */\r\n saveStockInfo(answerFormValues) {\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if(responsed['status'] == 200) { \r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }else{\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); \r\n }\r\n });\r\n }\r\n\r\n inWords(e,flag:number,i){\r\n switch(flag){\r\n case 1 :\r\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 2 : \r\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 3 : \r\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 4 : \r\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","import { Component,ViewEncapsulation } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\r\nimport { FormGroup,Validators,FormBuilder, FormArray } from '@angular/forms'\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionFinancialInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-financial-info',\r\n templateUrl: 'pd-question-financial-info.html',\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class PdQuestionFinancialInfoPage {\r\n \r\n public financialForm: FormGroup;\r\n\r\n pdDetails:any;\r\n FormId:any;\r\n users:any;\r\n company_id:any;\r\n isDisplay:boolean;\r\n customerCommentsFlag:boolean;\r\n FY_annualSalesInwords: any =[]\r\n FY_netProfitAmtInwords: any=[]\r\n FY_netLossAmtInwords: any=[]\r\n AV_annualSalesInwords: any=[]\r\n AV_netProfitAmtInwords: any=[]\r\n AV_netLossAmtInwords: any=[]\r\n AV_netProfitAmtFrmInwords: any=[]\r\n AV_netProfitAmtToInwords: any=[]\r\n AV_netLossAmtFrmInwords: any=[]\r\n AV_netLossAmtToInwords: any=[]\r\n AV_SalesFrmInwords: any=[]\r\n AV_SalesToInwords: any=[]\r\n AV_SalesInwords: any=[];\r\n AV_marginProfitAmtInwords: any=[];\r\n AV_marginLossAmtInwords: any=[];\r\n formDetails: any;\r\n\r\n av : any =[{id:6, name:'Letter of Credit'},\r\n {id:2, name:'Bank Guarantee'},\r\n {id:3, name:'Cash Credit Limit'},\r\n {id:7, name:'OD Limit'},\r\n {id:4, name:'Factoring'},\r\n {id:5, name:'Forfaiting'},\r\n {id:1, name:'Others'}]\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\r\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.FormId = this.formDetails.form_id;\r\n // this.FormId=this.navParams.get('FormId');\r\n this.company_id=this.pdDetails.company_id\r\n this.users=this.aws.getlocale();\r\n \r\n this.initFinancialForm()\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\r\n this.getDetails()\r\n }\r\n\r\n selectedStatement(e :any):void{\r\n\r\n if(e == 'yes'){\r\n\r\n this.isDisplay = true;\r\n this.financialForm.controls['is_financial_customer'].setValue('');\r\n \r\n }\r\n else if(e == 'no'){\r\n\r\n this.isDisplay = false;\r\n this.financialForm.controls['is_financial_customer'].setValue('no');\r\n // this.selectedFinancialCustomer('no');\r\n \r\n const statementControl = this.financialForm.controls['date_per_financial'];\r\n \r\n while (statementControl.length !== 0) {\r\n statementControl.removeAt(0);\r\n }\r\n const control = this.financialForm.controls['estimated_value'];\r\n control.push(this.createValue('')); \r\n this.financialForm.controls['financial_starting_year'].setValue('');\r\n this.financialForm.controls['financial_no_of_year'].setValue('');\r\n\r\n // alert((new Date()).getFullYear());\r\n // let year1 = (new Date()).getFullYear();\r\n // let year2 = ((new Date()).getFullYear() + 1); \r\n // let Year = year1 +'-'+ year2;\r\n \r\n }\r\n\r\n}\r\n /** fin customer data from Fin statement*/\r\n selectedFinancialCustomer(e: any): void {\r\n if(e == 'yes'){\r\n const control = this.financialForm.controls['estimated_value'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n }\r\n else if (e == 'no'){\r\n const control = this.financialForm.controls['estimated_value'];\r\n control.push(this.createValue('')); \r\n }\r\n }\r\n\r\n selectedProfitOrLossType(e,detail){\r\n \r\n if(e.value == 1){\r\n detail.controls.financial_net_loss.setValue('');\r\n detail.controls.financial_margin_of_loss.setValue('');\r\n }\r\n else if(e.value == 2){\r\n detail.controls.financial_net_profit.setValue('');\r\n detail.controls.financial_margin_of_profit.setValue('');\r\n }\r\n}\r\n\r\n\r\n /** For Auto-generating FinYear */\r\n dynamicalFinYear($event){\r\n \r\n let e = $event.target.value;\r\n if(e == 1){\r\n this.customerCommentsFlag = false;\r\n }\r\n else{\r\n this.customerCommentsFlag = true;\r\n }\r\n\r\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\r\n\r\n const control = this.financialForm.controls['date_per_financial'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n\r\n if(e > 0 ){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\r\n control.push(this.createDate(Year));\r\n }\r\n }\r\n}\r\n\r\n\r\n initFinancialForm(){\r\n this.financialForm = this.fb.group({\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId,\r\n company_id: this.company_id,\r\n fk_createdby: this.users,\r\n financial_remarks: [''],\r\n is_financial_statements:[''],\r\n is_financial_customer:[''],\r\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n financial_no_of_year : [''],\r\n financial_reason: [''],\r\n financial_customer:[''],\r\n receive_the_money_in_days:[''],\r\n pay_the_money_in_days:[''],\r\n unsold_stock_lies_in_days:[''],\r\n is_there_working_capital_available:[''],\r\n working_capital_facilities_availed:[''],\r\n reason_for_working_capital_facilities_availed:[''],\r\n // same_as_financial_statements:[''],\r\n date_per_financial: this.fb.array([]),\r\n estimated_value: this.fb.array([])\r\n });\r\n }\r\n createDate(date){\r\n return this.fb.group({\r\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\r\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\r\n finanical_profit_or_loss:[''],\r\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\r\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\r\n financial_margin_of_profit: [''],\r\n financial_margin_of_loss: [''],\r\n financial_variation: [''],\r\n financial_profit_to_sale_variation:[''],\r\n financial_annualsales_variation : [''],\r\n })\r\n }\r\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\r\n createValue(date) {\r\n return this.fb.group({\r\n \r\n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\r\n estimate_sales_from: [''],\r\n estimate_sales_to: [''],\r\n estimate_sales_average: [''],\r\n estimate_profit_or_loss:[''],\r\n estimate_net_margin_availablity:[''],\r\n estimate_profit_range_from:[''],\r\n estimate_profit_range_to:[''],\r\n estimate_profit_margin_percent:[''],\r\n estimate_profit_margin:[''],\r\n estimate_net_profit_from:[''],\r\n estimate_net_profit_to:[''],\r\n estimate_net_profit_percent:[''],\r\n estimate_net_profit:[''],\r\n estimate_loss_range_from:[''],\r\n estimate_loss_range_to:[''],\r\n estimate_loss_margin_percent:[''],\r\n estimate_loss_margin:[''],\r\n estimate_net_loss_from:[''],\r\n estimate_net_loss_to:[''],\r\n estimate_net_loss_percent:[''],\r\n estimate_net_loss:[''],\r\n estimate_reason_for_loss:[''],\r\n // estimate_receive_the_money_in_days:[''],\r\n // estimate_pay_the_money_in_days:[''],\r\n // estimate_unsold_stock_lies_in_days:[''],\r\n // estimate_working_capital_facilities_availed:[''],\r\n // reason_for_working_capital_facilities_availed:[''],\r\n // is_there_working_capital_available:['']\r\n\r\n });\r\n}\r\nsubmitDetails(){\r\n \r\n \r\n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\r\n \r\n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\r\n \r\n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\r\n \r\n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \r\n \r\n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\r\n \r\n}\r\n let records=this.financialForm.value;\r\n this.qustCat.saveForm(records).subscribe(res=>{\r\n if(res['status']== 200){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\r\n }\r\n },err=>{\r\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\r\n })\r\n}\r\n getDetails(){\r\n const financeDate=this.financialForm.controls['date_per_financial']\r\n //financeDate.push(this.createDate(''))\r\n const estimate= this.financialForm.controls['estimated_value']\r\n //estimate.push(this.createValue(''))\r\n let params:any={}\r\n params.pd_id=this.pdDetails.pd_id\r\n params.pd_form_id=this.FormId\r\n params.company_id=this.company_id\r\n this.qustCat.retiverForm(params).subscribe(value=>{\r\n if(value['dataStatus']==true){\r\n let retrieveData=value['records'];\r\n if(value['records'].is_financial_statements == 'yes'){\r\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\r\n return value['records'].date_per_financial[key]\r\n })\r\n if(result.length>0){\r\n this.customerCommentsFlag=result.length == 1 ? false : true\r\n result.forEach((val,index)=>{\r\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\r\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\r\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\r\n financeDate.push(this.createDate(''));\r\n });\r\n retrieveData.date_per_financial=result;\r\n }\r\n else{\r\n financeDate.push(this.createDate(''))\r\n }\r\n }\r\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\r\n return value['records'].estimated_value[key]\r\n });\r\n if(result_val.length>0){\r\n result_val.forEach((val,index)=>{\r\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\r\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\r\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\r\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\r\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\r\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\r\n estimate.push(this.createValue(''))\r\n });\r\n retrieveData.estimated_value=result_val\r\n }\r\n else{\r\n estimate.push(this.createValue(''));\r\n }\r\n retrieveData.pdid=this.pdDetails.pd_id\r\n retrieveData.company_id=this.company_id\r\n retrieveData.fk_createdby=this.users\r\n retrieveData.formid=this.FormId\r\n this.financialForm.setValue(retrieveData)\r\n }\r\n else {\r\n //financial_date.push(this.createDate());\r\n //estimated_val.push(this.createValue(''));\r\n }\r\n })\r\n }\r\n\r\n /**\r\n * New Calculation for Finanical Statement \r\n **/\r\n calculationForFinanicalStatement(){\r\n \r\n let parentArray = this.financialForm.controls['date_per_financial'];\r\n // let prev_annual_sale : any = '';\r\n // let prev_profit_margin : any = '';\r\n // let prev_loss_margin : any = '';\r\n // let prev_profit_amt : any = '';\r\n // let prev_loss_amt : any = '';\r\n // let profit_margin : any = '';\r\n // let loss_margin : any = '';\r\n // let annual_sale : any = '';\r\n // let profit_amt : any = '';\r\n // let loss_amt : any = '';\r\n let prev_annual_sale : any = '';\r\n let prev_profit_margin : any = [];\r\n let prev_loss_margin : any = [];\r\n let prev_profit_amt : any = '';\r\n let prev_loss_amt : any = '';\r\n let profit_margin : any = '';\r\n let loss_margin : any = '';\r\n let annual_sale : any = '';\r\n let profit_amt : any = '';\r\n let loss_amt : any = '';\r\n\r\n parentArray.value.forEach((val,index) => {\r\n\r\n let childArray : any = parentArray.controls[index];\r\n annual_sale = val.financial_annual_sale;\r\n \r\n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \r\n * Label name = \" Sale Variation from Previous Year in % \"\r\n */\r\n \r\n if (index != 0) { \r\n if(annual_sale != ''){\r\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\r\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\r\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\r\n }\r\n }\r\n else{\r\n childArray.controls.financial_annualsales_variation.setValue(0.00);\r\n }\r\n \r\n\r\n prev_annual_sale = annual_sale;\r\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\r\n\r\n\r\n profit_amt = val.financial_net_profit;\r\n loss_amt = val.financial_net_loss;\r\n\r\n /** Calculating Profit's Variation - STARTS HERE\r\n * Label name = \"Profit Variation from Previous Year in %\"\r\n */\r\n if((profit_amt != '' || loss_amt != '') && index != 0) {\r\n if(+profit_amt > +annual_sale){\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n } \r\n else{\r\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\r\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\r\n\r\n let variation = (((profit_amt != '' ? profit_amt : loss_amt ) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt ))/ (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; \r\n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\r\n childArray.controls.financial_variation.setValue(final_variation);\r\n\r\n }\r\n }\r\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\r\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\r\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\r\n\r\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \r\n * Label name = \"Net Profit to Sales in % (or) Net Loss to Sales in % \r\n **/\r\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\r\n \r\n if(SelectedlossOrProfit == 1){\r\n\r\n loss_margin = '';\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n \r\n if (annual_sale != '' && val.financial_net_profit != '') {\r\n if(+profit_amt>+annual_sale){\r\n // alert(\"profit is greater than Annual Sale \");\r\n this.toast.pdTriggerappmessage(\"profit is greater than Annual Sale \")\r\n childArray.controls.financial_net_profit.setValue(0);\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n else{\r\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\r\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\r\n \r\n }\r\n }\r\n }\r\n else if(SelectedlossOrProfit == 2){\r\n profit_margin = '';\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n \r\n if (annual_sale != '' && val.financial_net_loss != '') {\r\n if(+val.financial_net_loss>+annual_sale){\r\n // alert(\"Loss is greater than Annual Sale \");\r\n this.toast.pdTriggerappmessage(\"Loss is greater than Annual Sale \")\r\n childArray.controls.financial_net_loss.setValue(0);\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n if(+loss_amt>+annual_sale){\r\n childArray.controls.financial_net_loss.setValue(0);\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n else{\r\n \r\n\r\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\r\n\r\n\r\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\r\n \r\n }\r\n }\r\n }\r\n\r\n prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\r\n prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\r\n \r\n // if(index != 0 ){\r\n \r\n // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; \r\n \r\n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\r\n \r\n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\r\n\r\n // }\r\n\r\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\r\n\r\n /** Calculating Sales's Profit Variation \r\n * Label name = \"Variation of Profit % over sales\"\r\n **/\r\n \r\n if ((profit_margin != '' || loss_margin != '') && index != 0) {\r\n \r\n\r\n loss_margin = loss_margin !== undefined ? loss_margin : 0;\r\n profit_margin = profit_margin !== undefined ? profit_margin:0;\r\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\r\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\r\n\r\n \r\n if(annual_sale != ''){\r\n\r\n \r\n let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\r\n let b = a / (temp_prev_profit_margin != 0 ? Math.abs(temp_prev_profit_margin) : Math.abs(temp_prev_loss_margin));\r\n let c = b * 100;\r\n \r\n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\r\n \r\n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\r\n }\r\n }\r\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\r\n\r\n\r\n });\r\n }\r\n\r\n confirmAlert(i, details){\r\n\r\n let estimate_sales_from = +details.value.estimate_sales_from;\r\n let estimate_sales_to = +details.value.estimate_sales_to;\r\n\r\n if (estimate_sales_from != null && estimate_sales_to != null){\r\n \r\n if(+estimate_sales_from>+estimate_sales_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_sales_to.setValue('');\r\n details.controls.estimate_sales_average.setValue('');\r\n return;\r\n }\r\n\r\n let C = (estimate_sales_to - estimate_sales_from)\r\n let D = (C / estimate_sales_from) * 100;\r\n \r\n if(estimate_sales_from <= 5000000){\r\n if(D > 20){\r\n var r = confirm(\"Given Sales Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\r\n if(D > 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else if(estimate_sales_from > 10000000){\r\n if(D > 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n\r\n // if(D >= 30){\r\n // var r = confirm(\"Given Sales Range is greater than 30%\");\r\n // if (r == true) {\r\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \r\n // }else{\r\n // details.controls.estimate_sales_to.setValue('');\r\n // return;\r\n // }\r\n // }\r\n // else{\r\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\r\n // }\r\n }\r\n this.calculateSalesAverage(i, details);\r\n }\r\n\r\n calculateSalesAverage(i, details){\r\n \r\n let estimate_sales_from = details.value.estimate_sales_from;\r\n let estimate_sales_to = details.value.estimate_sales_to;\r\n\r\n if(estimate_sales_from != '' && estimate_sales_to != ''){\r\n\r\n let range1 = +estimate_sales_from/10;\r\n \r\n let lower = (+estimate_sales_from)+range1;\r\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\r\n\r\n if(lower > higer){\r\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n }\r\n \r\n }\r\n else{\r\n details.controls.estimate_sales_average.setValue('');\r\n }\r\n\r\n }\r\n calculateMarginProfit( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_profit_range_from.setValue('');\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\r\n if(+estimate_profit_range_from > 100){\r\n // alert('Given Profit percent is More Than 100');\r\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\r\n details.controls.estimate_profit_range_from.setValue('');\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n let estimate_profit_range_to = details.value.estimate_profit_range_to;\r\n \r\n if(+estimate_profit_range_to > 100){\r\n // alert('Given Profit percent is More Than 100');\r\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n\r\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\r\n if(+estimate_profit_range_from>+estimate_profit_range_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \r\n let Profit_Average = (profit_percent*sales_average)/100;\r\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\r\n\r\n if(difference > 3){\r\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\r\n if (r == true) {\r\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\r\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\r\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \r\n }else{\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n }\r\n \r\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\r\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\r\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \r\n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\r\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\r\n \r\n \r\n \r\n }\r\n \r\n }\r\n\r\n\r\n calculateProfitAmount( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n //alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_net_profit_from.setValue('');\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n\r\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\r\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\r\n\r\n if(+estimate_net_profit_to>+sales_average){\r\n \r\n //alert(\"Given Profit is Greater than Sales\");\r\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\r\n details.controls.estimate_net_profit_from.setValue('');\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n\r\n\r\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\r\n if(+estimate_net_profit_from>+estimate_net_profit_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n \r\n let C = (estimate_net_profit_to - estimate_net_profit_from)\r\n let D = (C / estimate_net_profit_from) * 100;\r\n \r\n let range1 = +estimate_net_profit_from/10;\r\n \r\n let lower = (+estimate_net_profit_from)+range1;\r\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\r\n\r\n if(estimate_net_profit_from <= 5000000){\r\n if(D >= 20){\r\n var r = confirm(\"Given Profit Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\r\n if(D >= 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n \r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n\r\n }\r\n else if(estimate_net_profit_from > 10000000){\r\n if(D >= 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n \r\n }\r\n \r\n}\r\n\r\ncalculateMarginLoss( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n // else{\r\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\r\n if(+estimate_loss_range_from > 100){\r\n // alert('Given Loss Percent is more than 100');\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n let estimate_loss_range_to = details.value.estimate_loss_range_to;\r\n if(+estimate_loss_range_to > 100){\r\n // alert('Given Loss Percent is more than 100');\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n\r\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\r\n \r\n if(+estimate_loss_range_from>+estimate_loss_range_to){\r\n //alert(\"Given Loss Percent is more than 100\");\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n \r\n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\r\n let loss_Average = (loss_percent*sales_average)/100;\r\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\r\n\r\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\r\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\r\n \r\n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n\r\n if(difference > 3){\r\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\r\n if (r == true) {\r\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\r\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n \r\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n }else{\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n } \r\n \r\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\r\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n }\r\n\r\n}\r\n\r\n\r\ncalculateLossAmount( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_net_loss_from.setValue('');\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\r\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\r\n\r\n if(+estimate_net_loss_to > +sales_average){\r\n \r\n // alert(\"Given Loss is Greater than Sales\");\r\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\r\n details.controls.estimate_net_loss_from.setValue('');\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\r\n if(+estimate_net_loss_from > +estimate_net_loss_to){\r\n //alert(\"Given To value is Lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n \r\n // if(+estimate_net_loss_to > +estimate_net_loss_from){\r\n // alert(\"loss is greater than sales\");\r\n // details.controls.estimate_net_loss_to.setValue('');\r\n // details.controls.estimate_net_loss.setValue('');\r\n // details.controls.estimate_net_loss_percent.setValue('');\r\n // return;\r\n // }\r\n \r\n \r\n let C = (estimate_net_loss_to - estimate_net_loss_from)\r\n let D = (C / estimate_net_loss_from) * 100;\r\n \r\n let range1 = +estimate_net_loss_from/10;\r\n \r\n let lower = (+estimate_net_loss_from)+range1;\r\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\r\n\r\n if(estimate_net_loss_from <= 5000000){\r\n if(D >= 20){\r\n var r = confirm(\"Given Profit Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\r\n \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n\r\n }\r\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\r\n if(D >= 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else if(estimate_net_loss_from > 10000000){\r\n if(D >= 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n \r\n }\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n \r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n }\r\n }\r\n \r\n }\r\n \r\n}\r\n\r\n \r\n\r\n\r\n \r\n\r\n /** On Key Press Event For Input Field */\r\n keyPress(event: any) {\r\n //const pattern = /[0-9\\-\\.\\ ]/;\r\n const pattern = /[0-9\\.]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n /** To Convert Amount into Words */\r\n inWords(e,i,flag:number){\r\n\r\n switch(flag){\r\n case 1 :\r\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\r\n break;\r\n case 2 : \r\n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\r\n break;\r\n case 3 : \r\n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\r\n break;\r\n case 4 : \r\n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 5 : \r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 6 : \r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 7 : \r\n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 8 : \r\n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 9 : \r\n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 10 : \r\n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 11 : \r\n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 12 : \r\n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionClientInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-client-info',\r\n templateUrl: 'pd-question-client-info.html',\r\n})\r\nexport class PdQuestionClientInfoPage {\r\n\r\n users: any;\r\n pdDetails: any;\r\n formDetails: any;\r\n pdid: any;\r\n company_id: any;\r\n questionDetails: any;\r\n clientInfoForm: FormGroup;\r\n\r\n\r\n\r\n\r\n public submitted = false;\r\n\r\n public m_paymentType = [];\r\n\r\n companyRelationShipList: any = [];\r\n\r\n titleList: any = [];\r\n noRecordsFound: Boolean = false;\r\n errorMessage: any = '';\r\n m_manufacturingProducts: any = [];\r\n m_tradingProducts: any = [];\r\n m_suplierProducts: any = [];\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.pdid = this.pdDetails.pd_id;\r\n this.company_id = this.pdDetails.company_id;\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\r\n\r\n if (data.dataStatus) {\r\n\r\n let datas = data.records;\r\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\r\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\r\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\r\n let api = Object.keys(datas.type_of_activity).map(function (key) {\r\n return datas.type_of_activity[key];\r\n });\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 3) {\r\n if (val.prodcuts) {\r\n this.m_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n\r\n if (val.type_of_activity_id == 4) {\r\n if (val.prodcuts) {\r\n this.m_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n });\r\n }\r\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\r\n\r\n this.initFormLoadDetails(datas.type_of_activity);\r\n\r\n } else {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = data.msg;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n });\r\n\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\r\n }\r\n\r\n initFormLoadDetails(record) {\r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = this.formDetails.form_id;\r\n params.company_id = this.company_id;\r\n this.qustCat.retiverForm(params).subscribe(\r\n data => {\r\n if (data['dataStatus']) {\r\n let dataForm = data['records'];\r\n if (dataForm !== undefined) {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n // Load form details for manufacturing\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n // if(dataForm.manufacturing_details[0].main_raw_materials){\r\n if (arr.length > 0) {\r\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\r\n // return dataForm.main_raw_materials[key];\r\n // });\r\n if(dataForm.manufacturing_details){\r\n console.log(dataForm)\r\n \r\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\r\n\r\n this.initManufacturingProductsDetails(api_main_raw_materials);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n console.log(\"NO Data\",dataForm)\r\n this.initManufacturingProductsDetails(null)\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\r\n }\r\n }\r\n // }\r\n\r\n // Load form details for the wholeshale trading details\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\r\n // return dataForm.trading_products[key];\r\n // });\r\n if(dataForm.trade_details){\r\n let api_trading_products = dataForm.trade_details[0].trading_products;\r\n\r\n this.initTradingProductsDetails(api_trading_products);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\r\n }\r\n }\r\n\r\n // Load form details for the service provider prduct details \r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\r\n // return dataForm.service_products[key];\r\n // });\r\n if(dataForm.service_provider_details){\r\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\r\n this.initServiceProviderProductsDetails(api_service_provider_products);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm.service_provider_details[0].service_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initServiceProviderProductsDetails(null)\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n } else {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\r\n return dataForm.service_products[key];\r\n });\r\n this.initServiceProviderProductsDetails(api_service_provider_products);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n }\r\n } else {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: []\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.initServiceProviderProductsDetails(null);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n }\r\n }, err => {\r\n\r\n }\r\n );\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n main_raw_materials: this.fb.array([]),\r\n main_raw_materials_total_payments_percent_on_credit: []\r\n })\r\n // }\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n // let arr = val.filter(data => data.type_of_activity_id == 4);\r\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr.length > 0) {\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_products: this.fb.array([]),\r\n trading_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n serviceProviderForm: Boolean = false;\r\n serviceProviderFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 5);\r\n if (arr.length > 0) {\r\n this.serviceProviderForm = true;\r\n return this.fb.group({\r\n service_products: this.fb.array([]),\r\n service_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n control.push(this.initManufacturingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.manufacturing_payment_type, 1, inx);\r\n control.push(this.initManufacturingProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initManufacturingProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initManufacturingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n manufacturing_product_name: [''],\r\n manufacturing_client_name: [''],\r\n manufacturing_contact_person_name: [''],\r\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [''],\r\n manufacturing_payment_mode: [''],\r\n // manufacturing_credit_days: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n manufacturing_credit_days_from: [''],\r\n manufacturing_credit_days_to: ['']\r\n })\r\n } else {\r\n return this.fb.group({\r\n manufacturing_product_name: [records.manufacturing_product_name || null],\r\n manufacturing_client_name: [records.manufacturing_client_name || null],\r\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\r\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\r\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\r\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\r\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\r\n })\r\n }\r\n }\r\n\r\n initTradingProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n if (datas === null) {\r\n control.push(this.initTradingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.trade_product_payment_type, 2, inx);\r\n control.push(this.initTradingProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initTradingProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initTradingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n trade_product_name: [''],\r\n trade_client_name: [''],\r\n trade_product_contact_person_name: [''],\r\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n trade_product_payment_type: [''],\r\n trade_product_payment_mode: [''],\r\n trade_product_frequency_of_purchase: [''],\r\n trade_product_credit_days_from: [''],\r\n trade_product_credit_days_to: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n trade_product_name: [records.trade_product_name],\r\n trade_client_name: [records.trade_client_name],\r\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\r\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n trade_product_payment_type: [records.trade_product_payment_type],\r\n trade_product_payment_mode: [records.trade_product_payment_mode],\r\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\r\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\r\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n })\r\n }\r\n }\r\n\r\n initServiceProviderProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n if (datas === null) {\r\n control.push(this.initServiceProviderProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\r\n control.push(this.initServiceProviderProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initServiceProviderProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initServiceProviderProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n service_provider_product_name: [''],\r\n service_provider_client_name: [''],\r\n service_provider_product_contact_person_name: [''],\r\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n service_provider_product_payment_type: [''],\r\n service_provider_product_payment_mode: [''],\r\n service_provider_product_frequency_of_purchase: [''],\r\n service_provider_product_credit_days_from: [''],\r\n service_provider_product_credit_days_to: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n service_provider_product_name: [records.service_provider_product_name],\r\n service_provider_client_name: [records.service_provider_client_name],\r\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\r\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\r\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\r\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\r\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\r\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n })\r\n }\r\n }\r\n\r\n addMoreRawMaterials(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n\r\n control.push(this.initManufacturingProducts(null));\r\n }\r\n\r\n removeRawMaterials(inx): void {\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoretradeProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n control.push(this.initTradingProducts(null));\r\n }\r\n\r\n removeTradingProduct(inx): void {\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoreServiceProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n\r\n control.push(this.initServiceProviderProducts(null));\r\n }\r\n\r\n removeServiceProduct(inx): void {\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n getdropList() {\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n this.companyRelationShipList = data['records'];\r\n // .filter(data => data.isactive == 1);\r\n // because in general no need of \"other\" option but in client others option needed - in DB others option changed into inactive\"\r\n });\r\n\r\n this.qustCat.getcommondrop('TITLES').subscribe(\r\n data => {\r\n this.titleList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\r\n data => {\r\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n // saveclientDetails(answerData)\r\n // {\r\n // let records:any ={};\r\n\r\n // records.pdid = this.pdDetails.pd_id;\r\n // records.formid = this.FormId.form_id;\r\n // records.fk_createdby = this.users;\r\n\r\n // records.client_details = answerData.clientArray;\r\n\r\n // this.qustCat.saveForm(records).subscribe(res=>\r\n // {\r\n // if(res['dataStatus']==true)\r\n // {\r\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.navCtrl.pop();\r\n // }\r\n // });\r\n\r\n\r\n // }\r\n /** To Save/Edited Popup Data */\r\n saveClientInfo(answerFormValues) {\r\n \r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n if (answerFormValues.manufacturing_details[0] == null) {\r\n delete answerFormValues['manufacturing_details'];\r\n }\r\n if (answerFormValues.trade_details[0] == null) {\r\n delete answerFormValues['trade_details'];\r\n }\r\n if (answerFormValues.service_provider_details[0] == null) {\r\n delete answerFormValues['service_provider_details'];\r\n }\r\n\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n\r\n }\r\n\r\n selectedPersonDesignation(items, e, flag) {\r\n if (flag == 1) {\r\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\r\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 2) {\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 3) {\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n mfgCreditCardFlag: boolean = false;\r\n trdCreditCardFlag: boolean = false;\r\n spCreditCardFlag: boolean = false;\r\n mfgCounter: any = [];\r\n trdCounter: any = [];\r\n spCounter: any = [];\r\n checkCard(e, flag, index) {\r\n\r\n if (flag == 3 && e == 3) {\r\n this.spCounter[index] = 1;\r\n }\r\n else if (flag == 3 && e != 3) {\r\n this.spCounter[index] = 0;\r\n }\r\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\r\n this.spCreditCardFlag = SP > 0 ? true : false;\r\n\r\n if (flag == 2 && e == 3) {\r\n this.trdCounter[index] = 1;\r\n }\r\n else if (flag == 2 && e != 3) {\r\n this.trdCounter[index] = 0;\r\n }\r\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\r\n this.trdCreditCardFlag = TRD > 0 ? true : false;\r\n\r\n if (flag == 1 && e == 3) {\r\n this.mfgCounter[index] = 1;\r\n }\r\n else if (flag == 1 && e != 3) {\r\n this.mfgCounter[index] = 0;\r\n }\r\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\r\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\r\n\r\n }\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\r\nimport {PdQuestionAssessedSummaryPage} from '../pd-question-assessed-summary/pd-question-assessed-summary'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDashPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-dash',\r\n templateUrl: 'pd-question-assessed-dash.html',\r\n})\r\nexport class PdQuestionAssessedDashPage {\r\n\r\n businessIncome: boolean;\r\n grossAccess: boolean;\r\n finalAccess: boolean;\r\n finalExpense: any;\r\n finalIncome: any;\r\n finalData: any;\r\n houseExpenseData: boolean;\r\n businessData: boolean;\r\n salesData: boolean;\r\n purchaseData: boolean;\r\n grossprofit: any;\r\n assessedProcess: boolean;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n assessedForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n calc_type_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n mode:[null,Validators.compose([Validators.required])],\r\n margin:[null],\r\n fk_createdby:[this.users],\r\n fk_updatedby:[null],\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getassessedIncome(); \r\n }\r\n getViewPage(pageId)\r\n {\r\nif(pageId == 11){//Summary\r\n this.navCtrl.push(PdQuestionAssessedSummaryPage,{'pdDetails':this.pdDetails,'pageId':pageId})\r\n}\r\nelse{\r\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\r\n}\r\n }\r\n\r\n saveAssessedForm(answerData)\r\n {\r\n \r\n if(this.assessedForm.valid)\r\n {\r\n \r\n \r\n \r\n let records = {'records':this.assessedForm.value};\r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.getassessedIncome();\r\n }else\r\n {\r\n\r\n }\r\n })\r\n \r\n }\r\n }\r\n\r\n getassessedIncome()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id};\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.assessedProcess = true;\r\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\r\n if(res['records'].purchase_details.length !=0)\r\n {\r\n this.purchaseData = true;\r\n }\r\n if(res['records'].sales_items_by_monthwise.length !=0 || res['records'].sales_declared_by_customer.length !=0 || res['records'].sales_calculated_by_itemwise.length !=0)\r\n {\r\n this.salesData = true;\r\n }\r\n if(res['records'].business_expenses.length !=0)\r\n {\r\n this.businessData = true;\r\n }\r\n if(res['records'].house_hold_expenses.length !=0)\r\n {\r\n this.houseExpenseData = true;\r\n }\r\n if(res['records'].othre_business_income.length !=0)\r\n {\r\n this.businessIncome = true;\r\n }\r\n \r\n if(res['records'].final_data.length !=0){\r\n this.finalAccess = true;\r\n this.finalData = res['records'].final_data[0]; \r\n this.finalIncome = this.finalData.income;\r\n this.finalExpense = this.finalData.expense; \r\n }\r\n \r\n if(this.grossprofit !==undefined)\r\n {\r\n this.grossAccess = true;\r\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\r\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\r\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\r\n }\r\n \r\n }else\r\n {\r\n this.assessedProcess = false;\r\n }\r\n });\r\n }\r\n\r\n\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 247;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 247\n// module chunks = 0","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 290;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 290\n// module chunks = 0","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\r\nimport { AlertController } from 'ionic-angular';\r\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\r\n// import { GridPage } from '../grid/grid';\r\n\r\n\r\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\r\nimport { Camera } from '@ionic-native/camera';\r\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\r\n\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\r\n// import { CustomValidators } from 'ng2-validation';\r\n\r\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { PasswordPage } from '../password/password';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n\r\n\r\n@Component({\r\n selector: 'page-login',\r\n templateUrl: 'login.html',\r\n})\r\nexport class LoginPage {\r\n users: any;\r\nchangepass: FormGroup;\r\nemail: string;\r\npassword: string;\r\nnewpassword: any;\r\nconfirmPassword: any;\r\nchangePassword: any;\r\nstatus: Boolean = false;\r\nconfig: MatDialogConfig = {\r\n disableClose: false,\r\n width: '',\r\n height: '',\r\n position: {\r\n top: '',\r\n bottom: '',\r\n left: '',\r\n right: ''\r\n }\r\n};\r\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\r\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\r\n,public toast:ToastProvider) {\r\n \r\n}\r\nngOnInit(){\r\n //this.loggedInCheck();\r\n \r\n}\r\nionViewDidEnter(){\r\n this.Menu.enable(false);\r\n}\r\nionViewWillLeave(){\r\n this.Menu.enable(true);\r\n}\r\n/**\r\n* @param email\r\n* @param password\r\n* AWS login service\r\n*/\r\nlogin() {\r\n // console.log(this.email);\r\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\r\n let auth = { 'Username': this.email, 'Password': this.password };\r\n this.aws.dologin(auth).subscribe(awsres => {\r\n let userid = this.aws.getlocale();\r\n \r\n this.aws.getuserprofile(userid).subscribe(usersres=>\r\n {\r\n this.users = usersres; \r\n \r\n if (this.users.dataStatus == true) {\r\n \r\n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\r\n this.navCtrl.setRoot(PdListPage);\r\n \r\n }else\r\n {\r\n \r\n this.toast.pdTriggerappmessage('This App only for PD Officers');\r\n localStorage.clear();\r\n }\r\n\r\n \r\n }\r\n });\r\n }, err => {\r\n console.log(JSON.stringify(err.message));\r\n if (err.message == \"New password is required.\") {\r\n //console.log(\"if\");\r\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\r\n } else {\r\n console.log(JSON.stringify(err.message));\r\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\r\n\r\n }\r\n //alert(err.message);\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter Email or Password');\r\n }\r\n}\r\n/**\r\n * New password set\r\n * Defalut aws function \r\n * @param email password,newpassword\r\n */\r\n// newpassopen() {\r\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\r\n// dialogRef.afterClosed().subscribe(result => {\r\n// if (result !== undefined) {\r\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\r\n// console.log(auth);\r\n// this.aws.dologin(auth).subscribe(res => {\r\n// console.log(res);\r\n// // this.router.navigate(['/home']);\r\n// }, err => {\r\n// // alert(err.message);\r\n\r\n// })\r\n// }\r\n// });\r\n// }\r\n\r\nforgotopen() {\r\n this.status = true;\r\n}\r\n\r\n\r\nforgotpassword() {\r\n\r\n let auth = { 'Username': this.email };\r\n console.log(auth);\r\n // this.aws.userforgotpass(auth).subscribe(res => {\r\n // console.log(res);\r\n\r\n // })\r\n}\r\nloggedInCheck(){\r\n //alert(this.shared.isLoggedIn);\r\n if(this.shared.isLoggedIn){\r\n alert(\"if\");\r\n // this.router.navigate(['/home']);\r\n return false;\r\n }else{\r\n alert(\"else\");\r\n \r\n return true;\r\n }\r\n}\r\n\r\n}\r\n\r\n// ======================= END ==============================\r\n/**\r\n* New password Dialog\r\n*/\r\n\r\n// const newpassword = new FormControl('', Validators.required);\r\n// const confirmPassword = new FormControl('');\r\n\r\n// @Component({\r\n// selector: 'app-jazz-dialog',\r\n// template: `\r\n//
New Password Change.
\r\n\r\n// \r\n// \r\n \r\n// \r\n\r\n\r\n//
\r\n// \r\n// \r\n// \r\n\r\n// Passwords do not math.\r\n\r\n//
\r\n \r\n// \r\n \r\n \r\n// `\r\n// })\r\n// export class NewPasswordDialog {\r\n\r\n// newpassword: any = newpassword;\r\n// confirmPassword: any = confirmPassword;\r\n// jazzMessage = 'Jazzy jazz jazz';\r\n\r\n// constructor(public dialogRef: MatDialogRef) {\r\n\r\n// }\r\n\r\n\r\n// }\r\n\r\n\r\n\r\n// @Component({\r\n// selector: 'app-jazz-dialog',\r\n// template: `\r\n//
Forgot Password
\r\n\r\n// \r\n// \r\n \r\n// \r\n\r\n\r\n\r\n//
\r\n \r\n// \r\n \r\n \r\n// `\r\n// })\r\n// export class ForgotPass {\r\n\r\n// newpassword: any = newpassword;\r\n// confirmPassword: any = confirmPassword;\r\n// jazzMessage = 'Jazzy jazz jazz';\r\n\r\n// constructor(public dialogRef: MatDialogRef) {\r\n\r\n// }\r\n\r\n// }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\r\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\r\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\r\nimport {MatDatepicker} from '@angular/material/datepicker';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \r\nimport { AuthPage } from '../auth/auth';\r\n\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { OtpPage } from '../otp/otp';\r\n\r\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\r\nimport {DatePipe } from '@angular/common';\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { observable, Observable } from 'rxjs';\r\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\r\n\r\n\r\n/**\r\n * Generated class for the InputPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19);\r\n\r\n\r\n@Component({\r\n selector: 'page-input',\r\n templateUrl: 'input.html',\r\n})\r\n\r\n\r\nexport class InputPage {\r\n enableStartPD: boolean;\r\n diffInHours: number;\r\n updatestarted: any;\r\n updateinitiated: any;\r\n appdata: any;\r\n users: any;\r\n initiatedAccess: boolean = false;\r\n scheduleAccess: boolean = false;\r\napplicatentDetails:any;\r\nmaxdate :any;\r\npipe = new DatePipe('en-US');\r\nupdateStatus:any;\r\nscheduleDate:any;\r\nupdateSchedule:any;\r\nacceptedAccess:boolean = false;\r\nstartedAccess:boolean = false;\r\ntimeOut:any = 15*1000;\r\ntimeInterval:any;\r\ncurrentPosPDofficer:any;\r\nother_applicant:any;\r\n@ViewChild('focusinp') input_focus ;\r\n@ViewChild('scroll') scrolltop : Content;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\r\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\r\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\r\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions, ) {\r\n\r\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddThh:mm').toString();\r\n \r\n /***Header value pass */\r\n this.statusBar.styleDefault();\r\n \r\n this.statusBar.overlaysWebView(false);\r\n this.statusBar.backgroundColorByHexString('#db4437');\r\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\r\n \r\n \r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n \r\n this.getFullPD();\r\n \r\n \r\n if(this.applicatentDetails.pd_status == 'ALLOCATED')\r\n {\r\n this.acceptedAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'ACCEPTED')\r\n {\r\n this.scheduleAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'SCHEDULED')\r\n {\r\n \r\n this.initiatedAccess = true;\r\n }\r\n //console.log(this.initiatedAccess);\r\n if(this.applicatentDetails.pd_status == 'INITIATED')\r\n {\r\n this.startedAccess = true;\r\n this.getenableAccuracy();\r\n \r\n }\r\n this.users = this.aws.getlocale();\r\n }\r\n\r\n \r\n ionViewDidLoad() {\r\n this.setPermission();\r\n \r\n }\r\n ionViewCanLeave()\r\n {\r\n clearInterval(this.timeInterval);\r\n }\r\n locationnavicate(address)\r\n {\r\n this.launchNavigator.navigate(address);\r\n }\r\n\r\n setPermission()\r\n {\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n\r\n getFullPD()\r\n {\r\n let records = {'pdid':this.applicatentDetails.pd_id};\r\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.other_applicant=res['records'].applicants_details\r\n console.log(this.other_applicant);\r\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \r\n let scheduledDateTime: string= res['records'].pd_master_details[0].scheduled_on_for_validation;\r\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\r\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\r\n \r\n if(diffInHours <=-4){\r\n this.enableStartPD=true;\r\n }\r\n else\r\n {\r\n this.enableStartPD = false;\r\n }\r\n } \r\n })\r\n \r\n }\r\n pdStatus(status,appdetails)\r\n {\r\n let data :any;\r\n \r\n if(status == 'BOUNCED')\r\n {\r\n data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.navCtrl.push(BouncedRejectPage,{'details':data})\r\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n // {\r\n // this.updateStatus = res;\r\n // if(this.updateStatus.dataStatus == true)\r\n // {\r\n // this.navCtrl.setRoot(PdListPage); \r\n // }\r\n // })\r\n }else if(status == 'ACCEPTED')\r\n {\r\n data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateStatus = res;\r\n if(this.updateStatus.dataStatus == true)\r\n {\r\n this.getNewpdupdate();\r\n this.scheduleAccess = true;\r\n \r\n }else\r\n {\r\n this.scheduleAccess = false;\r\n }\r\n })\r\n }\r\n \r\n }\r\n\r\n pdschedule(scheduledate,appdetails)\r\n {\r\n \r\n let data :any;\r\n console.log(scheduledate);\r\n if(scheduledate != undefined){\r\n let schDate = scheduledate.slice(0,19).replace('T',' ');\r\n console.log(schDate);\r\n data = {'pd_id':appdetails.pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateSchedule = res;\r\n if(this.updateSchedule.dataStatus == true)\r\n {\r\n this.getNewpdupdate();\r\n this.initiatedAccess = true;\r\n }\r\n });\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\r\n this.input_focus.setFocus();\r\n //this.input_focus.scrollToTop();\r\n this.scrolltop.scrollTop;\r\n }\r\n}\r\n\r\n getenableAccuracy()\r\n {\r\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n this.getcurrentLocation();\r\n },\r\n error => alert('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n \r\n });\r\n }\r\n getcurrentLocation() \r\n {\r\n let data:any;\r\n let options = {\r\n frequency: 3000, \r\n enableHighAccuracy: true,\r\n timeOut:1000,\r\n };\r\n \r\n this.timeInterval = setInterval(()=>{\r\n this.currentPosPDofficer = '';\r\n this.geolocation.getCurrentPosition(options).then((resp) => {\r\n // resp.coords.latitude\r\n // resp.coords.longitude\r\n if((resp as Geoposition).coords !=undefined){\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\r\n console.log(this.currentPosPDofficer);\r\n data = {'pd_id':this.applicatentDetails.pd_id,'link':this.currentPosPDofficer};\r\n\r\n\r\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\r\n {\r\n // this.updateinitiated = res;\r\n // if(this.updateinitiated.dataStatus == true)\r\n // { \r\n // // this.getNewpdupdate();\r\n // // this.startedAccess = true;\r\n // }else\r\n // {\r\n // this.startedAccess = false;\r\n // }\r\n })\r\n }\r\n }).catch((error)=>{\r\n this.toast.pdTriggerappmessage(error.message);\r\n })\r\n \r\n },this.timeOut);\r\n }\r\n pdreschedule()\r\n {\r\n this.scheduleAccess = true;\r\n this.initiatedAccess = false;\r\n }\r\n pdinitiated(appdetails)\r\n { let data:any;\r\n\r\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n // resp.coords.latitude\r\n // resp.coords.longitude\r\n \r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n data = {'pd_id':appdetails.pd_id,'pd_status':'INITIATED','mobile_no':appdetails.applicat_details[0].mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':appdetails.applicat_details[0].applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\r\n\r\n\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateinitiated = res;\r\n if(this.updateinitiated.dataStatus == true)\r\n { \r\n this.getNewpdupdate();\r\n this.getcurrentLocation();\r\n this.startedAccess = true;\r\n }else\r\n {\r\n this.startedAccess = false;\r\n }\r\n })\r\n }).catch((error) => {\r\n console.log('Error getting location', error);\r\n });\r\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n \r\n });\r\n }\r\n\r\n startPdDiscussion(appdetails)\r\n {\r\n let data:any;\r\n let alert = this.alertCtrl.create({\r\n title: 'Starting PD Officer',\r\n message: 'Are you starting the Discussions',\r\n buttons: [\r\n {\r\n text: 'No',\r\n role: 'cancel',\r\n handler: () => {\r\n \r\n // console.log('Cancel clicked');\r\n // this.toast.pdTriggerappmessage('')\r\n }\r\n },\r\n {\r\n text: 'YES',\r\n handler: () => {\r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n \r\n data = {'pd_id':appdetails.pd_id,'pd_status':'STARTED','mobile_no':appdetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\r\n console.log(data);\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {this.updatestarted = res;\r\n if(this.updatestarted.dataStatus == true)\r\n {\r\n clearInterval(this.timeInterval);\r\n this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\r\n }\r\n \r\n })\r\n // console.log('Buy clicked');\r\n })\r\n } \r\n }\r\n ]\r\n });\r\n alert.present();\r\n }\r\n getNewpdupdate()\r\n {\r\n this.acceptedAccess = false;\r\n this.initiatedAccess = false;\r\n this.scheduleAccess = false;\r\n this.startedAccess = false;\r\n this.pdDetails.getpddetails(this.users).subscribe(res=>\r\n {\r\n this.appdata = res;\r\n if(this.appdata.dataStatus == true)\r\n {\r\n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\r\n if(this.applicatentDetails.pd_status == 'ALLOCATED')\r\n {\r\n this.acceptedAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'ACCEPTED')\r\n {\r\n this.scheduleAccess = true;\r\n this.toast.pdTriggerappmessage(\"Accepted Successfully\")\r\n }\r\n if(this.applicatentDetails.pd_status == 'SCHEDULED')\r\n {\r\n this.initiatedAccess = true;\r\n this.getFullPD();\r\n this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\r\n }\r\n\r\n if(this.applicatentDetails.pd_status == 'INITIATED')\r\n {\r\n this.startedAccess = true;\r\n this.toast.pdTriggerappmessage(\"Initiated Successfully\")\r\n }\r\n }\r\n })\r\n }\r\n\r\n camerasetup()\r\n {\r\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\r\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\n\r\nimport { CameraProvider } from '../../providers/common-provider/camera';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n/**\r\n * Generated class for the PdQuestionPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question',\r\n templateUrl: 'pd-question.html',\r\n})\r\nexport class PdQuestionPage {\r\n \r\n docqustid: any;\r\n docName: any = [];\r\n docArray: any = [];\r\n imageArray:any = [];\r\n questionCate: any;\r\n qustCate: any;\r\n pdinfo: any;\r\n items: FormArray;\r\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\r\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\r\n\r\n SwipedTabsIndicator :any= null;\r\n tabTitleWidthArray :any= [];\r\n tabElementWidth_px :number= 50;\r\n screenWidth_px :number= 0;\r\n isRight :boolean= false;\r\n isLeft:boolean= false;\r\n tabs:any=[];\r\n \r\n questionDetails: any;\r\n questionAnswer:FormGroup;\r\n questionanotherData:FormGroup;\r\n userid:any;\r\n questionId:any;\r\n qustType:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform,public fb:FormBuilder,public qstDetails:QuestionCategoryProvider,public aws:AwsServiceProvider,public camera:CameraProvider,public toast:ToastProvider) {\r\n \r\n this.screenWidth_px=platform.width();\r\n\r\n \r\n this.questionAnswer = this.fb.group(\r\n {\r\n answerDetails:[null],\r\n items:this.fb.array([]),\r\n })\r\n this.questionanotherData = this.fb.group(\r\n {\r\n questionRemarks:[null]\r\n })\r\n this.getpdQuestionDetails();\r\n this.userid = this.aws.getlocale();\r\n}\r\n\r\n ionViewDidLoad() {\r\n }\r\n ionViewDidEnter() {\r\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\r\n for (let i in this.tabs)\r\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\r\n\r\n this.selectTab(0);\r\n }\r\n\r\n ionViewWillLeave() {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\r\n }\r\n\r\n scrollIndicatiorTab()\r\n {\r\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\r\n // let answerDetails = this.questionAnswer.value;\r\n // let remarks = this.questionanotherData.value;\r\n if(this.isLeft)\r\n {\r\n //this.prev(answerDetails,remarks,this.questionDetails);\r\n }\r\n if(this.isRight)\r\n {\r\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\r\n }\r\n }\r\n\r\n selectTab(index)\r\n {\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n this.SwipedTabsSlider.slideTo(index);\r\n \r\n }\r\n\r\n calculateDistanceToSpnd(index)\r\n {\r\n var result=0;\r\n for (var _i = 0; _i < index; _i++) {\r\n result=result+this.tabTitleWidthArray[_i];\r\n }\r\n return result;\r\n }\r\n\r\n updateIndicatorPosition() {\r\n var index=this.SwipedTabsSlider.getActiveIndex();\r\n if( this.SwipedTabsSlider.length()==index)\r\n index=index-1;\r\n\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n \r\n }\r\n\r\n updateIndicatorPositionOnTouchEnd()\r\n {\r\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\r\n }\r\n\r\n animateIndicator($event)\r\n {\r\n \r\n this.isLeft=false;\r\n this.isRight=false;\r\n \r\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\r\n if($event.progress < currentSliderCenterProgress)\r\n {\r\n this.isLeft=true;\r\n this.isRight=false;\r\n\r\n } if($event.progress > currentSliderCenterProgress)\r\n {\r\n this.isLeft=false;\r\n this.isRight=true;\r\n }\r\n\r\n if(this.SwipedTabsSlider.isEnd())\r\n this.isRight=false;\r\n\r\n if( this.SwipedTabsSlider.isBeginning())\r\n this.isLeft=false;\r\n\r\n if(this.isRight)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\r\n +'px,0,0)';\r\n\r\n if(this.isLeft)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\r\n +'px,0,0)';\r\n\r\n if(!this.isRight && !this.isLeft)\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\r\n \r\n \r\n }\r\n /**\r\n * Pd Discussion Qustion Load\r\n */\r\n getpdQuestionDetails()\r\n {\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdinfo = this.navParams.get('pdDetails');\r\n for(let qustimage of this.questionDetails.questions)\r\n { \r\n if(qustimage.images !==undefined){\r\n for(let image of qustimage.images)\r\n {\r\n image.questionId = qustimage.fk_question_id; \r\n this.docArray.push(image);\r\n }\r\n for(let answers of qustimage.answers)\r\n {\r\n if(qustimage.fk_question_answertype == 3)\r\n {\r\n this.items = this.questionAnswer.get('items') as FormArray;\r\n \r\n this.items.push(this.getquestionAnswer(answers));\r\n \r\n \r\n }\r\n }\r\n }\r\n }\r\n for(let i=1;i<=this.questionDetails.questions_count;i++){\r\n let j = i.toString();\r\n this.tabs.push(j);\r\n }\r\n }\r\n\r\ngetquestionAnswer(answers)\r\n{\r\n return this.fb.group(\r\n {\r\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\r\n \"pd_answer_id\":answers.question_answer_id,\r\n \"pd_answer\": answers.answer,\r\n \"pd_answer_weightage\": answers.template_answer_weightage,\r\n \"fk_pd_id\":this.pdinfo.pd_id,\r\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\r\n \"checkbox\":(answers.isactive == null?false:true)\r\n \r\n \r\n })\r\n}\r\n // count = 0;\r\n getDocUpload(qustid)\r\n {\r\n // this.docqustid = qustId;\r\n this.camera.getpicture().then(res=>\r\n {\r\n if(res !== undefined){\r\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\r\n }\r\n });\r\n // this.count++;\r\n }\r\n docnames(name,id,image,qustid)\r\n {\r\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\r\n }\r\n removeimage(index){\r\n //for(let i=0;i<=this.igrimage.length;i++){\r\n //if(this.igrimage[i]== this.igrimage[index]){\r\n this.docArray.splice(index,1);\r\n //}\r\n //}\r\n }\r\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\r\n {\r\n \r\n for(let docs of this.docArray)\r\n {\r\n \r\n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\r\n // return true;\r\n }else\r\n {\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\r\n \r\n }\r\n }\r\n if(answerDetails.answerDetails !=null){\r\n //alert('answers');\r\n let pd_id = this.pdinfo.pd_id;\r\n let catid = questionDetails.fk_question_category_id;\r\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\r\n let qut_id = qt_id.fk_question_id;\r\n let qustName = qt_id.question;\r\n let qut_weightage = qt_id.question_weightage;\r\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\r\n let pd_answer = answerDetails.answerDetails.answer;\r\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\r\n let pd_remarks = questionRemarks.questionRemarks;\r\n let updatedby:any='';\r\n let updateon:any='';\r\n let createdby:any='';\r\n let createon:any='';\r\n let pd_details_id:any='';\r\n let pd_detail_answer_id:any = '';\r\n if(qt_id.pd_detail_id ==null)\r\n {\r\n createdby = this.userid;\r\n createon = currentdate;\r\n pd_details_id = '';\r\n }else\r\n {\r\n pd_details_id = qt_id.pd_detail_id;\r\n updatedby = this.userid;\r\n updateon = currentdate;\r\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\r\n }\r\n let saveRecords = \r\n {\r\n \"pd_detail_id\": pd_details_id,\r\n\t\t\"fk_pd_id\": pd_id,\r\n\t\t\"fk_category_id\": catid,\r\n\t\t\"fk_question_id\": qut_id,\r\n\t\t\"pd_question\": qustName,\r\n \"pd_question_weightage\": qut_weightage,\r\n \"question_remark\": pd_remarks,\r\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\r\n \"pd_answer_id\":ans_id,\r\n\t\t\"pd_answer\": pd_answer,\r\n\t\t\"pd_answer_weightage\": qut_weightage,\r\n \"fk_pd_id\":pd_id,\r\n \"fk_pd_detail_id\":pd_details_id,\r\n\r\n }],\r\n\t\t\r\n\t\t\"fk_createdon\": createon,\r\n\t\t\"createdby\": createdby,\r\n\t\t\"fk_updatedon\": updateon,\r\n \"updatedby\": updatedby,\r\n \"images\": this.imageArray || \"\",\r\n \r\n\r\n };\r\n \r\n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\r\n // {\r\n // this.qustCate = res;\r\n // if(this.qustCate.dataStatus == true){\r\n // this.SwipedTabsSlider.slideNext();\r\n // this.docArray = [];\r\n // this.getcategoryList(qt_id,pd_id);\r\n // }\r\n // })\r\n // }else\r\n // {\r\n \r\n // this.SwipedTabsSlider.slideNext(); \r\n }\r\n } \r\n\r\n getcategoryList(qustinfo,pdId)\r\n {\r\n let qustDetails = {\"question_id\":qustinfo.fk_question_id, \"pd_id\":pdId, \"template_id\":qustinfo.fk_template_id, \"category_id\":qustinfo.fk_template_question_category_id\r\n };\r\n let answerData:any;\r\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\r\n {\r\n answerData = res;\r\n if(answerData.dataStatus == true)\r\n {\r\n \r\n // answerData = answerData.records;\r\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\r\n // eachquestion['answers'] = answerData.answers; \r\n \r\n // this.questionDetails =\r\n // this.imageArray = answerData.images;\r\n // for(let docs of this.imageArray)\r\n // {\r\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\r\n // }\r\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\r\n }\r\n });\r\n }\r\n prev(answerDetails,questionRemarks,questionDetails) {\r\n for(let docs of this.docArray)\r\n {\r\n \r\n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\r\n // return true;\r\n }else\r\n {\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\r\n \r\n }\r\n }\r\n if(answerDetails.answerDetails !=null){\r\n //alert('answers');\r\n let pd_id = this.pdinfo.pd_id;\r\n let catid = questionDetails.fk_question_category_id;\r\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\r\n let qut_id = qt_id.fk_question_id;\r\n let qustName = qt_id.question;\r\n let qut_weightage = qt_id.question_weightage;\r\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\r\n let pd_answer = answerDetails.answerDetails.answer;\r\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\r\n let pd_remarks = questionRemarks.questionRemarks;\r\n let updatedby:any='';\r\n let updateon:any='';\r\n let createdby:any='';\r\n let createon:any='';\r\n let pd_details_id:any='';\r\n let pd_detail_answer_id:any = '';\r\n if(qt_id.pd_detail_id ==null)\r\n {\r\n createdby = this.userid;\r\n createon = currentdate;\r\n pd_details_id = '';\r\n }else\r\n {\r\n pd_details_id = qt_id.pd_detail_id;\r\n updatedby = this.userid;\r\n updateon = currentdate;\r\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\r\n }\r\n let saveRecords = \r\n {\r\n \"pd_detail_id\": pd_details_id,\r\n \"fk_pd_id\": pd_id,\r\n \"fk_category_id\": catid,\r\n \"fk_question_id\": qut_id,\r\n \"pd_question\": qustName,\r\n \"pd_question_weightage\": qut_weightage,\r\n \"question_remark\": pd_remarks,\r\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\r\n \"pd_answer_id\":ans_id,\r\n \"pd_answer\": pd_answer,\r\n \"pd_answer_weightage\": qut_weightage,\r\n \"fk_pd_id\":pd_id,\r\n \"fk_pd_detail_id\":pd_details_id,\r\n\r\n }],\r\n \r\n \"fk_createdon\": createon,\r\n \"createdby\": createdby,\r\n \"fk_updatedon\": updateon,\r\n \"updatedby\": updatedby,\r\n \"images\": this.imageArray || \"\",\r\n \r\n\r\n };\r\n \r\n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\r\n {\r\n this.qustCate = res;\r\n if(this.qustCate.dataStatus == true){\r\n this.SwipedTabsSlider.slidePrev();\r\n this.docArray = [];\r\n this.getcategoryList(qt_id,pd_id);\r\n }\r\n })\r\n }else{\r\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\r\n this.SwipedTabsSlider.slidePrev();\r\n }\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\r\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { Observable } from 'rxjs';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\nimport { timeInterval } from 'rxjs/operators';\r\n/**\r\n * Generated class for the PdQuestionAddressPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-address',\r\n templateUrl: 'pd-question-address.html',\r\n})\r\nexport class PdQuestionAddressPage {\r\n\r\n // additional_premises: any=[];\r\n // bussiness_address_type: any=[];\r\n // formPremisesCityArray: any=[];\r\n // tempArr: any[];\r\n // cityData: any = [];\r\n // PremisesLabel: any=[];\r\n // formPremisesArray: any=[];\r\n // z:number = 0;\r\n \r\n // PremisesOtherFlag: boolean;\r\n CITY: any;\r\n residence: any;\r\n FormId: any;\r\n getaddressDetails: any;\r\n users: any;\r\n address: string;\r\n custBehaviour: any;\r\n cmtlocality: any;\r\n\r\n //placeholderName : any = 'Estimated area of the (Address Type)';\r\n placeholderName:any=[];\r\n premisesRentAmtInwords:any=[];\r\n rentAmtInwords : any ;\r\n\r\n locality: any = [];\r\n pdlocation: any = [];\r\n pdDetails: any;\r\n questionDetails: any;\r\n pdQuestionAddress:FormGroup;\r\n addressTypes:any=[];\r\n addressRemarksAccess:boolean = false;\r\n items:FormArray;\r\n pdState: any;\r\n pdCity: any;\r\n pdPincode: any;\r\n pdOtherPincode: any;\r\n cityData: any=[];\r\n pincodeData: any=[];\r\n stateData: any=[];\r\n uomData: any=[];\r\n addressesList: any;\r\n // counts:number = 1;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n \r\n this.FormId = this.navParams.get('FormId');\r\n\r\n this.users = this.aws.getlocale();\r\n\r\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\r\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\r\n // }else{\r\n // this.address = this.pdDetails.addressline1+', - , -'; \r\n // }\r\n // this.pdState = this.pdDetails.fk_state;\r\n // this.getCityAndPincodeDetails(this.pdState);\r\n // this.pdCity = this.pdDetails.fk_city;\r\n // this.pdPincode = this.pdDetails.pincode_id;\r\n \r\n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\r\n \r\n this.getdropdownlist();\r\n\r\n this.pdQuestionAddress = this.fb.group(\r\n {\r\n addresses:this.fb.array([]),\r\n address_form_remark:['']\r\n // address_ownership:[null],\r\n // other_ownership:[null],\r\n // rent_amt:[null],\r\n // other_premises_bussiness_activity : [null],\r\n // bussiness_activity_remark:[null],\r\n // bussiness_activity:[null],\r\n // bussiness_address_type:[null],\r\n // bussiness_address_type_others:[null], \r\n // business_years:[null],\r\n // business_month:[null],\r\n // additional_address_units: this.fb.array([]),\r\n \r\n });\r\n this.getaddressForm(); \r\n //this.loadPD()\r\n }\r\n\r\n ionViewDidLoad() {\r\n //this.addUnits();\r\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\r\n \r\n }\r\n\r\n ionViewWillLeave()\r\n {\r\n \r\n\r\n // let method = this.alerCtrl.create({\t\t\t\r\n // message: 'Do You Want Save',\r\n // buttons: [\r\n // {\r\n // text: 'Save',\r\n // cssClass: 'method-color',\r\n // handler: () => {\r\n // \r\n // }\r\n // },\r\n // {\r\n // text: 'Cancel',\r\n // cssClass: 'method-color',\r\n // handler: () => {\r\n // \r\n // this.navCtrl.pop(); \r\n // }\r\n // }\r\n // ]\r\n // });\r\n // method.present()\r\n \r\n \r\n \r\n }\r\n\r\n /** To Get City And Pincode Data For Address Form \r\n * Param 'stateID' -> selected StateId\r\n */\r\n getCityAndPincodeDetails(stateID: string,i) {\r\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\r\n if (data.status == 200) {\r\n this.cityData[i] = data.records.cities;\r\n this.pincodeData[i] = data.records.pincode;\r\n }\r\n });\r\n }\r\n\r\n\r\n\r\n getdropdownlist()\r\n {\r\n // this.addressTypes = [\r\n \r\n // {'id':'Office','Name':'Office'},\r\n // {'id':'Clinic','Name':'Clinic'},\r\n // {'id':'Factory','Name':'Factory'},\r\n // {'id':'Warehouse','Name':'Warehouse'},\r\n // {'id':'Shop','Name':'Shop'},\r\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\r\n // {'id':'Residence','Name':'Residence'},\r\n // {'id':'OTHERS','Name':'OTHERS'}\r\n // ];\r\n\r\n \r\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \r\n }\r\n \r\n })\r\n \r\n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\r\n {\r\n this.pdlocation = res;\r\n if(this.pdlocation.dataStatus == true)\r\n {\r\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\r\n {\r\n this.cmtlocality = res;\r\n if(this.cmtlocality.dataStatus ==true)\r\n {\r\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\r\n }\r\n });\r\n\r\n \r\n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\r\n // {\r\n // this.custBehaviour = res;\r\n // if(this.custBehaviour.dataStatus == true)\r\n // {\r\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\r\n // }\r\n // })\r\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.locality = res['records'].filter(loc=>loc.isactive==1);\r\n }\r\n })\r\n\r\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.residence = res['records'].filter(red=>red.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('CITY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.CITY = res['records'].filter(red=>red.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\r\n this.stateData=res['records'].filter(val=>val.isactive == 1);\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\r\n this.uomData=res['records'].filter(val=>val.isactive == 1 && val.is_land_uom != 0)\r\n })\r\n \r\n }\r\n\r\n // checkaddress(value)\r\n // {\r\n // \r\n // if(value==\"OTHERS\")\r\n // {\r\n // this.addressRemarksAccess = true;\r\n // }else\r\n // {\r\n // this.addressRemarksAccess = false;\r\n // }\r\n // }\r\n\r\n // createItem(): FormGroup {\r\n // return this.fb.group({\r\n // name: [null],\r\n // do_you_know: [null],\r\n // how_long: [null],\r\n // is_owner: [null],\r\n // });\r\n // };\r\n \r\n createUnits(val): FormGroup {\r\n if(val==null){\r\n return this.fb.group({\r\n no_of_additional_units: [''],\r\n premises_type: [''],\r\n premises_type_others: [''],\r\n premises_city: [''],\r\n // premises_ownership: [''],\r\n //premises_ownership_others: [''],\r\n //premises_rent_amt:[''],\r\n premises_remarks: [''],\r\n });\r\n }\r\n else{\r\n \r\n return this.fb.group({\r\n no_of_additional_units: [val.no_of_additional_units],\r\n premises_type: [val.premises_type],\r\n premises_type_others: [val.premises_type_others],\r\n premises_city: [val.premises_city],\r\n // premises_ownership: [val.premises_ownership],\r\n // premises_ownership_others: [val.other_ownership],\r\n // premises_rent_amt:[val.rent_amt],\r\n premises_remarks: [val.premises_remarks],\r\n });\r\n \r\n }\r\n }\r\n\r\n addUnits() {\r\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\r\n this.items.push(this.createUnits(null));\r\n}\r\n\r\n\r\n removeUnits(i){\r\n this.items.removeAt(i);\r\n }\r\n\r\n ConvertMonthintoYear(e){\r\n \r\n let business_year = this.pdQuestionAddress.controls.business_years.value;\r\n\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\r\n \r\n }\r\n initAddress(AddressDetails){\r\n if(AddressDetails != null){\r\n return this.fb.group({\r\n address: [AddressDetails.address, Validators.compose([Validators.required])],\r\n address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\r\n address_type_others: [AddressDetails.address_type_others],\r\n state: [AddressDetails.state],\r\n city: [AddressDetails.city],\r\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\r\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\r\n locality: [AddressDetails.locality, Validators.compose([Validators.required])],\r\n locality_others: [AddressDetails.locality_others],\r\n locality_mixuse: [AddressDetails.locality_mixuse],\r\n pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\r\n comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\r\n estimated_area: [AddressDetails.estimated_area],\r\n uom: [AddressDetails.uom],\r\n uom_others: [AddressDetails.uom_others] \r\n })\r\n }\r\n else{\r\n return this.fb.group({\r\n address: ['', Validators.compose([Validators.required])],\r\n address_type: ['', Validators.compose([Validators.required])],\r\n address_type_others: [''],\r\n state: [''],\r\n city: [''],\r\n pincode: [''],\r\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\r\n locality: ['', Validators.compose([Validators.required])],\r\n locality_others: [''],\r\n locality_mixuse: [''],\r\n pd_location: ['', Validators.compose([Validators.required])],\r\n comment_locality: ['', Validators.compose([Validators.required])],\r\n estimated_area: [''],\r\n uom: [''],\r\n uom_others: [''] \r\n });\r\n }\r\n \r\n }\r\n /** On Key Press Event For Numbers */\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n \r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n inWords(e,i){ \r\n \r\n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n \r\n }\r\n\r\n inWordsForRent(e){\r\n \r\n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\r\n }\r\n\r\n selectedAddressType(e: any,i){\r\n this.placeholderName[i] = 'Estimated area of the ' + e;\r\n }\r\n\r\n\r\n savepdQuestion(answerData)\r\n {\r\n let records: any = {};\r\n // records.address = answerData.address;\r\n // if(answerData.address_type_others != null){\r\n // records.address_type_others = answerData.address_type_others;\r\n // }\r\n // // records.state =answerData.state\r\n // records.city = answerData.city\r\n\r\n // records.pincode = answerData.pincode\r\n // records.pincode_others = answerData.pincode== 1 ?\r\n // this.pdQuestionAddress.controls.pincode_others.value : '';\r\n\r\n // records.address_type = answerData.address_type;\r\n // records.locality = answerData.locality;\r\n \r\n // records.locality_others = answerData.locality == 1 ?\r\n // this.pdQuestionAddress.controls.locality_others.value : '';\r\n\r\n // records.locality_mixuse = answerData.locality == 5 ?\r\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\r\n\r\n // records.pd_location = answerData.pd_location;\r\n // records.comment_locality = answerData.comment_locality;\r\n // records.other_comment_locality = answerData.other_comment_locality;\r\n // records.estimated_area = answerData.estimated_area;\r\n\r\n // records.uom = answerData.uom;\r\n // records.uom_others = answerData.uom == 1 ?\r\n // this.pdQuestionAddress.controls.uom_others.value : '';\r\n // records.customer_behaviour = answerData.customer_behaviour;\r\n // records.neighbourhood = answerData.neighbourhood;\r\n console.log(\"Answer DAta\",answerData)\r\n records.addresses=answerData.addresses\r\n records.address_form_remark=answerData.address_form_remark\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.address_form_remark = answerData.address_form_remark;\r\n // records.address_ownership = answerData.address_ownership;\r\n // records.other_ownership = answerData.other_ownership;\r\n // records.rent_amt = answerData.rent_amt;\r\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\r\n // records.bussiness_activity = answerData.bussiness_activity;\r\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\r\n // records.business_years = answerData.business_years;\r\n // records.business_month = answerData.business_month;\r\n \r\n // records.additional_address_units = answerData.additional_address_units;\r\n \r\n \r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n // let params: any = {};\r\n // params.pd_id = '250';\r\n // params.pd_form_id = '250';\r\n \r\n // setTimeout(function(){\r\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // },5000)\r\n if(data['dataStatus']==true){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000); \r\n }\r\n },err=>{\r\n this.toast.pdTriggerappmessage('Something went wrong ');\r\n });\r\n }\r\n\r\n getaddressForm()\r\n {\r\n \r\n let res:any;\r\n\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.getaddressDetails = res;\r\n \r\n if(this.getaddressDetails.dataStatus ==true){\r\n if(this.getaddressDetails.records.addresses ){\r\n \r\n this.getaddressDetails = this.getaddressDetails.records.addresses;\r\n\r\n if(this.getaddressDetails.length == 0 ){\r\n control.push(this.initAddress(''));\r\n }\r\n else{\r\n this.getaddressDetails.forEach((datas,index)=>{\r\n \r\n let val={\r\n 'address': datas.address,\r\n 'address_type': datas.address_type,\r\n 'address_type_others': datas.address_type_others,\r\n 'state': datas.state,\r\n 'city': datas.city,\r\n 'pincode': datas.pincode,\r\n 'pincode_others': datas.pincode_others,\r\n 'locality': datas.locality,\r\n 'locality_others': datas.locality_others,\r\n 'locality_mixuse': datas.locality_mixuse,\r\n 'pd_location': datas.pd_location,\r\n 'comment_locality': datas.comment_locality,\r\n 'estimated_area': datas.estimated_area,\r\n 'uom': datas.uom,\r\n 'uom_others': datas.uom_others\r\n }\r\n this.getCityAndPincodeDetails(datas.state,index)\r\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\r\n this.selectedAddressType(selectedAddressType.address_type,index);\r\n if (datas.address_type == 1) {\r\n this.selectedAddressType(datas.address_type_others,index);\r\n }\r\n control.push(this.initAddress(val))\r\n })\r\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\r\n }\r\n // if(this.getaddressDetails.additional_address_units != null){\r\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\r\n // // return res['records'].additional_address_units[key];\r\n // //for slicing the automatically created\r\n \r\n // });\r\n // //this.removeUnits(0);\r\n // }\r\n\r\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\r\n\r\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\r\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\r\n\r\n // if (this.getaddressDetails.state != '') {\r\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\r\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\r\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\r\n // if (this.getaddressDetails.pincode == 1) {\r\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\r\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\r\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\r\n // }\r\n // }\r\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\r\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\r\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\r\n // this.selectedAddressType(selectedAddressType);\r\n\r\n // if(this.getaddressDetails.address_type != null) {\r\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\r\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\r\n // }\r\n\r\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\r\n\r\n // if(this.getaddressDetails.comment_locality != null){\r\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\r\n // }\r\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\r\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\r\n // if(this.getaddressDetails.locality == 1 ){\r\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\r\n // }\r\n // if(this.getaddressDetails.locality == 5){\r\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\r\n // }\r\n \r\n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\r\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\r\n // if (this.getaddressDetails.uom == 1) {\r\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\r\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\r\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\r\n // }\r\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\r\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\r\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\r\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\r\n // if(this.getaddressDetails.rent_amt != null){\r\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\r\n // }\r\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\r\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\r\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\r\n // } \r\n // else{\r\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\r\n // }\r\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\r\n\r\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\r\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\r\n \r\n \r\n \r\n\r\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\r\n \r\n if (result.length == 0) {\r\n \r\n control.push(this.createUnits(null));\r\n } else {*/\r\n \r\n //for(let val of this.getaddressDetails.additional_address_units){\r\n //control.push(this.createUnits(val));\r\n //}\r\n //result.forEach((datas,index) => {\r\n \r\n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\r\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\r\n \r\n //});\r\n \r\n //}\r\n \r\n // }\r\n\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else\r\n this.loadPD();\r\n });\r\n }\r\n loadPD(){\r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus == true){\r\n this.addressesList = res.records.filter(item => item.isactive == 1);\r\n console.log('this.addressesList',this.addressesList);\r\n if(this.addressesList.length > 0){\r\n this.addressesList.forEach((datas,index)=>{\r\n let obj ={\r\n 'address': datas.addressline1,\r\n 'address_type': '',\r\n 'address_type_others': '',\r\n 'state': datas.fk_state,\r\n 'city': datas.fk_city,\r\n 'pincode': datas.pincode_id,\r\n 'pincode_others': datas.other_pincode,\r\n 'locality': '',\r\n 'locality_others': '',\r\n 'locality_mixuse':'',\r\n 'pd_location': '',\r\n 'comment_locality': '',\r\n 'estimated_area': '',\r\n 'uom': '',\r\n 'uom_others': ''\r\n }\r\n this.getCityAndPincodeDetails(datas.fk_state,index)\r\n control.push(this.initAddress(obj))\r\n })\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n })\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {FormBuilder,FormControl,FormArray, FormGroup} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\n/**\r\n * Generated class for the PdQuestionEmpInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-emp-info',\r\n templateUrl: 'pd-question-emp-info.html',\r\n})\r\nexport class PdQuestionEmpInfoPage {\r\n questionDetails: any;\r\n pdDetails: any;\r\n employmentForm:FormGroup;\r\n FormId: any;\r\n pd_cus_segment: string;\r\n customer_segment_abbr: string;\r\n users: any;\r\n pdid: any;\r\n frequency_data: any[];\r\n company_list: any[];\r\n person_met_list: any[];\r\n company_related_applicants_list: any[];\r\n company_relationship_list: any[];\r\n filtered_company_relationship_list: any[];\r\n \r\n mthlySlryAmtInWords\r\n grossMthlySlryAmtInWords\r\n netMthlySlryAmtInWords\r\n bonusIncentiveAmtInWords\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, public toast: ToastProvider,public constant:ConstantsProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n this.pdid=this.pdDetails.pd_id;\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase();\r\n this.getDropDownList();\r\n this.getCompanyFromGeneralDetails();\r\n this.getEmploymentDetails();\r\n this.employmentForm = this.fb.group(\r\n {\r\n employer_name: [''],\r\n how_long_year: [''],\r\n how_long_month: [''],\r\n was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n name_person_met: [''],\r\n designation_person_met: [''],\r\n confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n confirm_salary_amount: [''],\r\n total_business_experience: [''],\r\n total_business_previous_experience: [''],\r\n attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n from_date_the_salary_is_rcv: [''],\r\n to_date_the_salary_is_rcv: [''],\r\n gross_monthly_salary: [''],\r\n net_monthly_salary: [''],\r\n bonus_incentive: [''],\r\n amount_paid_in_cash: [''],\r\n how_was_it_validated: [''],\r\n why_was_it_not_validated: [''],\r\n amount_paid_through_bank: [''],\r\n bonus_frequency: [''],\r\n bonus_type: [''],\r\n bonus_type_other: [''],\r\n any_delays: [''],\r\n employment_remarks: [''],\r\n // nameOfEmp:[null],\r\n // yearWithEmp:[null],\r\n // empMet:[null],\r\n // designationOfEmp:[null],\r\n // salaryConfirm:[null],\r\n // actualSalary:[null],\r\n // attRegisterSeen:[null],\r\n // salaryRegisterSeen:[null]\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\r\n }\r\n\r\n getDropDownList()\r\n {\r\n\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.frequency_data = data['records'];\r\n this.frequency_data = this.frequency_data.filter(freq => freq.isactive == 1);\r\n }\r\n });\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.company_relationship_list = data['records'].filter(item => item.isactive == 1);\r\n this.company_relationship_list = data['records'].filter(item => item.name != 'Others');\r\n this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' });\r\n }\r\n });\r\n }\r\n\r\n getCompanyFromGeneralDetails(){\r\n \r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' };\r\n \r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n this.company_list = value['records'].companies.filter(com => com.is_active == true);\r\n this.person_met_list = value['records'].individuals.filter(app => app.is_person_met == true && app.is_active == true);\r\n this.company_related_applicants_list = value['records'].company_with_relationships;\r\n } \r\n else {\r\n\r\n }\r\n })\r\n \r\n }\r\n \r\n saveEmpInfo(){\r\n if (!this.employmentForm.valid) {\r\n this.toast.pdTriggerappmessage('Form Invalid Try Again.!');\r\n return;\r\n }\r\n\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.employer_name = this.employmentForm.controls['employer_name'].value;\r\n records.how_long_year = this.employmentForm.controls['how_long_year'].value;\r\n records.how_long_month = this.employmentForm.controls['how_long_month'].value;\r\n records.was_met = this.employmentForm.controls['was_met'].value;\r\n if (this.employmentForm.controls['was_met'].value == 'yes') {\r\n records.name_person_met = this.employmentForm.controls['name_person_met'].value;\r\n records.designation_person_met = this.employmentForm.controls['designation_person_met'].value;\r\n }else{\r\n records.name_person_met = '';\r\n records.designation_person_met = '';\r\n }\r\n records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;\r\n if (this.employmentForm.controls['confirm_salary'].value == 'yes') {\r\n records.confirm_salary_amount = this.employmentForm.controls['confirm_salary_amount'].value;\r\n records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;\r\n records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;\r\n }\r\n else{\r\n records.confirm_salary_amount = '';\r\n records.total_business_experience = '';\r\n records.total_business_previous_experience = '';\r\n }\r\n records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;\r\n records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;\r\n records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;\r\n records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;\r\n records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;\r\n records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;\r\n records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;\r\n records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;\r\n records.how_was_it_validated = this.employmentForm.controls['how_was_it_validated'].value;\r\n records.why_was_it_not_validated = this.employmentForm.controls['why_was_it_not_validated'].value;\r\n records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;\r\n records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;\r\n records.bonus_type = this.employmentForm.controls['bonus_type'].value;\r\n records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;\r\n records.any_delays = this.employmentForm.controls['any_delays'].value;\r\n records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n\r\n\r\n if(data['dataStatus']== true){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n })\r\n }\r\n \r\n\r\n filtercompanyrelationship(companyid, applicantid) {\r\n var array = companyid.split(\"-\");\r\n let data = this.company_related_applicants_list.filter(cmpy => cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid);\r\n if (data.length > 0) {\r\n this.filtered_company_relationship_list = this.company_relationship_list.filter(freq => freq.company_relationship_id == data[0].company_relationship);\r\n this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]);\r\n }\r\n else {\r\n this.employmentForm.controls['designation_person_met'].setValue('');\r\n }\r\n }\r\n\r\nConvertMonthintoYear(e) {\r\n\r\n let how_long_year = this.employmentForm.controls.how_long_year.value;\r\n\r\n let converted_month: number = e % 12;\r\n let converted_year: number = e / 12;\r\n\r\n this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year));\r\n this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month));\r\n\r\n}\r\n\r\ninWords(val,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.mthlySlryAmtInWords= this.constant.convertNumberToWords(val); \r\n break;\r\n case 2 : \r\n this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n case 3 :\r\n this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n case 4 :\r\n this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n }\r\n }\r\n\r\n\r\n getEmploymentDetails(){\r\n \r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n\r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n let Emp = value['records'];\r\n console.log('emp',Emp);\r\n this.employmentForm.controls['employer_name'].setValue(Emp.employer_name);\r\n this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);\r\n this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);\r\n this.employmentForm.controls['was_met'].setValue(Emp.was_met);\r\n if (Emp.name_person_met) {\r\n this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);\r\n }\r\n if (Emp.designation_person_met) {\r\n this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met);\r\n }\r\n this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary);\r\n console.log('Emp.confirm_salary_amount',Emp.confirm_salary_amount,Emp.confirm_salary);\r\n if (Emp.confirm_salary) {\r\n this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);\r\n this.inWords(Emp.confirm_salary_amount,1);\r\n this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);\r\n this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);\r\n }\r\n this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);\r\n this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);\r\n this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv);\r\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);\r\n this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);\r\n this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);\r\n this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);\r\n this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);\r\n this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);\r\n this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);\r\n this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);\r\n this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);\r\n this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);\r\n this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);\r\n this.employmentForm.controls['any_delays'].setValue(Emp.any_delays);\r\n this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks);\r\n \r\n this.inWords(Emp.gross_monthly_salary,2);\r\n this.inWords(Emp.net_monthly_salary,3);\r\n this.inWords(Emp.bonus_incentive,4);\r\n\r\n } \r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component, ApplicationInitStatus } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup,FormArray,FormBuilder,Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n/**\r\n * Generated class for the PdQuestionCurrentLoansPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-current-loans',\r\n templateUrl: 'pd-question-current-loans.html',\r\n})\r\n\r\nexport class PdQuestionCurrentLoansPage {\r\napplicants: any;\r\n placeholderName: any = [];\r\n lenderData: any;\r\n frequencyData: any;\r\n loanTypeData:any;\r\n FormId: any;\r\n users: any;\r\n pdDetails: any;\r\n questionDetails: any;\r\n currentLoans:FormGroup;\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n pdid:number;\r\n amtInwords: any=[];\r\n emiAmtInwords: any=[];\r\n dataFromAssets : any = [];\r\n labelArr : any = [];\r\n investmentTypeData: any=[];\r\n addressTypeData: any;\r\n propertyTypeData: any;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider, public aws:AwsServiceProvider,public constant:ConstantsProvider) {\r\n\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0);\r\n \r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n \r\n \r\n\r\n this.getdropdown();\r\n \r\n this.users = this.aws.getlocale();\r\n this.currentLoans = this.fb.group(\r\n {\r\n existing_loan: [null],\r\n currentloan_remarks:[null],\r\n loan_details: this.fb.array([])\r\n });\r\n \r\n \r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\r\n this.getcurrentLoans()\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\r\n {\r\n this.lenderData = res['records'].filter(len=>len.isactive==1);\r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n this.frequencyData = res['records'].filter(frq=>frq.isactive==1);\r\n });\r\n this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(val=>{\r\n this.loanTypeData=val['records'].filter(loan=>loan.isactive == 1 );\r\n });\r\n\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n //modifyCompanyList.push({'id':\"0\",'name':'Others','group_id':1})\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n // modifyApplicantList.push()\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n\r\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(data => {\r\n this.investmentTypeData=data['records'].filter(val=>val.isactive == 1);\r\n \r\n \r\n });\r\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\r\n this.addressTypeData=data['records'].filter(val=>val.isactive ==1 );\r\n })\r\n this.qustCat.getcommondrop('PROPERTIES').subscribe(data=>{\r\n this.propertyTypeData=data['records'].filter(val=>val.isactive ==1);\r\n })\r\n }\r\n \r\n exitsCheck(val)\r\n { \r\n \r\n if(val ==\"Yes\")\r\n {\r\n \r\n this.addLoanDetails();\r\n }\r\n\r\n }\r\n createLoanDetail(data) {\r\n return this.fb.group({\r\n label: data == null ? [''] : [data.label],\r\n other_frequency:[''],\r\n loan_amount: [''],\r\n frequency:[''],\r\n emi: [''],\r\n loan_type: [''],\r\n others_loan_type:[''],\r\n loan_taken_by:[''],\r\n others_loan_taken:[''],\r\n lender: [''],\r\n others_lender:[''],\r\n original_tenure: [''],\r\n current_balance_tenure: [''],\r\n elapsed_tenure:[],\r\n });\r\n}\r\naddLoanDetails() {\r\n const control = this.currentLoans.controls['loan_details'];\r\n control.push(this.createLoanDetail(null));\r\n}\r\ndeleteLoanDetails(index) {\r\n const control = this.currentLoans.controls['loan_details'];\r\n if(control.length==1)\r\n {\r\n this.currentLoans.controls['loan_details'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\ncompareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n}\r\ncheckOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n}\r\ncheckTenure(details){\r\n let originalTenure = details.value.original_tenure;\r\n // alert(originalTenure);\r\n details.controls.current_balance_tenure.setValidators([Validators.required, Validators.max(+originalTenure)]);\r\n details.controls.current_balance_tenure.updateValueAndValidity();\r\n // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]);\r\n // details.controls.current_balance_tenure.updateValueAndValidity(); \r\n // let BalanceTenure = details.value.current_balance_tenure;\r\n // if( originalTenure < BalanceTenure){\r\n // alert('Greater');\r\n // details.controls.current_balance_tenure.setValue('');\r\n // alert('validation setted For');\r\n // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]);\r\n // details.controls.current_balance_tenure.updateValueAndValidity(); \r\n \r\n \r\n // }\r\n}\r\ncalculateTenure(details)\r\n{\r\n let ElapsedValues;\r\n \r\n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != ''){\r\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\r\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\r\n }\r\n\r\n}\r\nkeyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n}\r\ninWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 :\r\n this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n\r\nselectedfrequency(e,i){\r\n \r\n switch(+e){\r\n case 1: this.placeholderName[i] = 'Instalment Amount'; break;\r\n case 2: this.placeholderName[i] = 'Annual Instalment Amount'; break;\r\n case 3: this.placeholderName[i] = 'Halfyearly Instalment Amount'; break;\r\n case 4: this.placeholderName[i] = 'Fortnightly Instalment Amount'; break;\r\n case 5: this.placeholderName[i] = 'Daily Instalment Amount'; break;\r\n case 6: this.placeholderName[i] = 'Quarterly Instalment Amount'; break;\r\n case 7: this.placeholderName[i] = 'Monthly Instalment Amount'; break;\r\n default: this.placeholderName[i] = 'Instalment Amount'; break;\r\n}\r\n \r\n}\r\n\r\nsubmitCurrentloan(answerData) {\r\n \r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.existing_loan = answerData.existing_loan;\r\n records.loan_details = answerData.loan_details;\r\n records.currentloan_remarks = answerData.currentloan_remarks;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n });\r\n}\r\n getcurrentLoans()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n const control = this.currentLoans.controls['loan_details'];\r\n if(res['dataStatus']==true )\r\n {\r\n let currentLoanDetails = res['records'];\r\n \r\n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\r\n var result = Object.keys(res['records'].loan_details).map(function(key) {\r\n \r\n return res['records'].loan_details[key];\r\n \r\n });\r\n \r\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\r\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\r\n const control = this.currentLoans.controls['loan_details'];\r\n if(currentLoanDetails.existing_loan != 'No')\r\n {\r\n if(result.length ==0)\r\n {\r\n control.push(this.createLoanDetail(null));\r\n }else\r\n {\r\n result.forEach((datas,index)=>\r\n {\r\n control.push(this.createLoanDetail(null));\r\n this.selectedfrequency(datas.frequency,index);\r\n if(datas.loan_amount!=''){\r\n this.amtInwords[index]=this.constant.convertNumberToWords(datas.loan_amount);\r\n }\r\n if(datas.emi!=''){\r\n this.emiAmtInwords[index]=this.constant.convertNumberToWords(datas.emi);\r\n }\r\n })\r\n\r\n this.currentLoans.controls['loan_details'].setValue(result);\r\n \r\n }\r\n }\r\n }\r\n else\r\n {\r\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\r\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\r\n }\r\n\r\n }\r\n else {\r\n \r\n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\r\n \r\n\r\n if(data.dataStatus == true){\r\n \r\n \r\n \r\n let AssetData = data.record;\r\n \r\n \r\n \r\n if(AssetData.business_address_asset.length > 0){\r\n AssetData.business_address_asset.map(element=>{\r\n this.dataFromAssets.push({mode:0,\r\n mode_name:element.address_label,\r\n details:[],\r\n owner_name:element.business_name_of_the_owner,\r\n other_owner: element.business_name_of_the_other_owner,\r\n form_type:'Data From Bussiness Address'})\r\n })\r\n }\r\n\r\n if(AssetData.business_assets.length>0){\r\n AssetData.business_assets.map(element => {\r\n this.dataFromAssets.push({mode:element.business_assets_mode,\r\n mode_name:element.business_assets_mode_name,\r\n details:element.business_details,\r\n owner_name:element.business_name_of_the_owner,\r\n other_owner: element.business_name_of_the_other_owner,\r\n form_type:'Data From Business Assets'})\r\n });\r\n }\r\n\r\n if(AssetData.other_assests.length > 0){\r\n AssetData.other_assests.map(element => {\r\n this.dataFromAssets.push({mode:element.assets_mode,\r\n mode_name:element.assets_mode_name,\r\n details:element.details,\r\n owner_name:element.name_of_the_owner,\r\n other_owner: element.other_owner,\r\n form_type:'Data From Other Asset'\r\n })\r\n })\r\n }\r\n \r\n \r\n // id: \"4\", name: \"Equipments and machinaries\", isactive: \"1\", flag: \"1\", is_others: \"0\"\r\n // id: \"7\", name: \"Investments\", isactive: \"1\", flag: \"0\", is_others: \"0\"\r\n // id: \"6\", name: \"Life Insurance Policy\", isactive: \"1\", flag: \"0\", is_others: \"0\"\r\n // id: \"2\", name: \"Property\", isactive: \"1\", flag: \"1\", is_others: \"0\"\r\n // id: \"3\", name: \"Vehicle\", isactsive: \"1\", flag: \"1\", is_others: \"0\"\r\n // id: \"1\", name: \"Others\", isactive: \"1\", flag: \"1\", is_others: \"1\"}\r\n \r\n if(this.dataFromAssets.length > 0){ \r\n let labelarray : any = [];\r\n \r\n this.dataFromAssets.forEach((val,index) => {\r\n if(val.mode == 0){\r\n \r\n let owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n \r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\r\n } \r\n if(val.mode == 1){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.any_other_assets;\r\n });\r\n if(val.owner_name.length>0 ){\r\n owner = val.owner_name.map((e => {\r\n // return e.name.split(',')\r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 2){\r\n \r\n let owner: any = \"Owner Not Mentioned\";\r\n let data;\r\n val.details.forEach((v,index) => {\r\n data = v.property_type_name;\r\n if(v.property_type != 1){\r\n if(val.form_type == 'Data From Business Assets'){\r\n data = this.addressTypeData.filter(item => item.address_type_id == v.property_type)[0].address_type;\r\n }\r\n else if(val.form_type == 'Data From Other Asset'){\r\n data = this.propertyTypeData.filter(item => item.id == v.property_type)[0].name;\r\n }\r\n else{\r\n data = '';\r\n }\r\n }else{\r\n data=v.other_property_type;\r\n }\r\n if(val.owner_name.length>0){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n });\r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 3){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.manufacturer_model_vehicle;\r\n });\r\n if(val.owner_name.length>0){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 4){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.equipment_manufacturing_description;\r\n });\r\n if(val.owner_name.length>0 ){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 6){\r\n \r\n let owner:any=\"Owner Not Mentioned\";\r\n if(val.owner_name.length>0)\r\n {\r\n owner=val.owner_name.map((e=>{\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\r\n }\r\n if(val.mode == 7){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.investments_type != 1 \r\n ? this.investmentTypeData.filter(data => data.id == v.investments_type)[0].name \r\n : v.other_investments_type ;\r\n\r\n });\r\n if(val.owner_name.length>0){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : ' + owner + ' - '+ val.mode_name + description;\r\n var vals= owner + ' - '+ val.mode_name \r\n \r\n }\r\n });\r\n const control = this.currentLoans.controls['loan_details'];\r\n this.labelArr = labelarray;\r\n let arr : any = [];\r\n if(this.labelArr.length > 0){\r\n this.currentLoans.controls['existing_loan'].setValue('Yes');\r\n this.labelArr.forEach((v,index) => {\r\n \r\n arr = { \r\n 'label': v,\r\n 'loan_amount': '',\r\n 'frequency':'',\r\n 'other_frequency':'',\r\n 'emi': '',\r\n 'loan_type': '',\r\n 'others_loan_type': '',\r\n 'loan_taken_by':'',\r\n 'others_loan_taken':'',\r\n 'lender': '',\r\n 'others_lender':'',\r\n 'original_tenure': '',\r\n 'current_balance_tenure': '',\r\n 'elapsed_tenure':''\r\n }\r\n control.push(this.createLoanDetail(arr));\r\n });\r\n // this.currentLoanForm.controls['existing_loan'].setValue(arr);\r\n }\r\n }\r\n else{\r\n \r\n control.push(this.createLoanDetail(null));\r\n }\r\n \r\n }\r\n });\r\n }\r\n })\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormArray, FormBuilder, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\n\r\n/**\r\n * Generated class for the PdQuestionLoansPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-loans',\r\n templateUrl: 'pd-question-loans.html',\r\n})\r\nexport class PdQuestionLoansPage {\r\n enduse: any = [];\r\n propertyType: any;\r\n mortagetypeAccess: boolean;\r\n mortageAccess: boolean = false;\r\n mortageCardAccess: boolean;\r\n topUpAmtInWords: any;\r\n ownContributionInWords: any;\r\n valAsPerAgmtInWords: any;\r\n balTxrfAmtInWords: any;\r\n loanAmtInWords: any;\r\n\r\n emiAmtInWords:any;\r\n emvAmtInWords:any;\r\n\r\n m_btLenderList: any;\r\n applicants: any;\r\n m_endUseofLoad: any;\r\n m_sourceofamount: any;\r\n m_mortageTypeProperty: any;\r\n m_statusofCunstruction: any;\r\n ownerNames: any=[];\r\n isOtherPurpose: boolean=false;\r\n endUserList: any=[];\r\n pdDetails: any;\r\n FormId: any;\r\n productAbbr:any;\r\n loanDetailsForm: FormGroup;\r\n users: any;\r\n mergeCompanyApplicant:any=[];\r\n existCompanyList:any;\r\n m_endUseOFTopUpList:any=[]\r\n isContribution: boolean = false;\r\n\r\n \r\n isOtherSource: boolean = false;\r\n isPLSource: boolean = false;\r\n\r\n sourceList:any=[];\r\n pdid:number;\r\n m_endUseForLoan:any;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider,public constant:ConstantsProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.applicants = this.pdDetails.applicat_details\r\n this.productAbbr = this.pdDetails.product_abbr;\r\n this.users = this.aws.getlocale();\r\n this.pdid=this.pdDetails.pd_id;\r\n this.getDropdown();\r\n\r\n this.loanDetailsForm = this.fb.group({\r\n loan_amount: [this.pdDetails.loan_amount],\r\n loan_tenure:[''],\r\n sub_product:[''],\r\n end_use: ['', Validators.compose([Validators.required])],\r\n end_use_other: [''],\r\n is_transfer: ['', Validators.compose([Validators.required])],\r\n //is_topup: ['', Validators.compose([Validators.required])],\r\n // is_topup: [''],\r\n balance_transfer_amount: [''],\r\n topup_amount: [''],\r\n end_use_topup:[''],\r\n other_end_use_topup:[''],\r\n lender: [''],\r\n other_bt_lender : [''],\r\n own_contribution: ['', Validators.compose([Validators.required])],\r\n source: [''],\r\n //personal_loan_source:[''],\r\n other_source:[''],\r\n //lender_name_type: [''],\r\n emi_level: ['', Validators.compose([Validators.required])],\r\n property_type: ['', Validators.compose([Validators.required])],\r\n property_type_others:[''],\r\n owner_name: ['', Validators.compose([Validators.required])],\r\n construction_status: ['', Validators.compose([Validators.required])],\r\n //percentage_of_construction : [''],\r\n emv_per_customer: ['', Validators.compose([Validators.required])],\r\n //value_per_agreement: ['', Validators.compose([Validators.required])],\r\n loandetails_remarks: ['', Validators.compose([Validators.required])],\r\n });\r\n console.log(this.pdDetails.loanAmount)\r\n if(this.loanDetailsForm.controls['loan_amount'] !=null){\r\n this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount);\r\n }\r\n \r\n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\r\n {\r\n this.mortagetypeAccess = true;\r\n }else\r\n {\r\n this.mortagetypeAccess = false;\r\n }\r\n \r\n \r\n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\r\n this.isContribution = true;\r\n }\r\n \r\n }\r\n\r\n\r\n ionViewDidLoad() {\r\n console .log('ionViewDidLoad PdQuestionLoansPage');\r\n this.getLoanDetails();\r\n }\r\n\r\n\r\n getDropdown() {\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n })\r\n\r\n this.qustCat.getEndUseForLoan(this.pdid,this.pdDetails.fk_subproduct_id).subscribe(data=>{\r\n \r\n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\r\n \r\n });\r\n\r\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\r\n data => {\r\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n let that = this;\r\n this.m_mortageTypeProperty = data['records'].filter(\r\n function(data){\r\n \r\n if(that.pdDetails.product_abbr !=\"LAP\" && data.group_name==that.pdDetails.product_abbr && data.isactive==1 )\r\n {\r\n return data;\r\n \r\n }else if(that.pdDetails.product_abbr ==\"LAP\" && data.sub_group_name==that.pdDetails.subproduct_name)\r\n {\r\n return data;\r\n }else\r\n {\r\n return ;\r\n }\r\n });\r\n // this.mortage_type(this.propertyType);\r\n }\r\n });\r\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\r\n data => {\r\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\r\n });\r\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\r\n subdata => {\r\n if(subdata['dataStatus']==true){\r\n let that = this;\r\n this.m_endUseofLoad = subdata['records'].filter(\r\n function(data)\r\n {\r\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\r\n {\r\n return data;\r\n }\r\n });\r\n this.endUserChange(this.enduse);\r\n }\r\n });\r\n \r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n }\r\n })\r\n \r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n if(this.productAbbr != 'LAP'){\r\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\r\n }\r\n }\r\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\r\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\r\n }) \r\n }\r\n\r\n selectedBalancesTransferChanges(event: any){\r\n // if(event.value == 'no') { \r\n // this.loanDetailsForm.controls['is_topup'].clearValidators();\r\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\r\n // this.loanDetailsForm.controls['is_topup'].setValue('');\r\n //}\r\n //else if(event.value == 'yes'){\r\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\r\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\r\n // }\r\n if (event.value == 'no') {\r\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\r\n\r\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\r\n \r\n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \r\n this.loanDetailsForm.controls['lender'].setValue('');\r\n this.loanDetailsForm.controls['topup_amount'].setValue('');\r\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\r\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\r\n this.topUpAmtInWords=''\r\n\r\n }\r\n else if (event.value == 'yes') {\r\n this.loanDetailsForm.controls['source'].setValue('');\r\n this.loanDetailsForm.controls['source'].clearValidators();\r\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\r\n \r\n this.loanDetailsForm.controls['own_contribution'].setValue('');\r\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\r\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\r\n \r\n this.isOtherSource = false;\r\n this.loanDetailsForm.controls['other_source'].setValue('');\r\n \r\n }\r\n\r\n}\r\n \r\n mortage_type(mortage_value)\r\n {\r\n \r\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\r\n var property_name=mortagetypes.property_name\r\n if(property_name=='Others (Please Specify)')\r\n {\r\n this.mortageAccess = true;\r\n }else\r\n {\r\n this.mortageAccess = false; \r\n }\r\n \r\n \r\n }\r\n compareObjects(o1: any, o2: any){\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n \r\n }\r\n\r\n\r\n loanCalc()\r\n {\r\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\r\n let loanAmount = this.loanDetailsForm.value.loan_amount;\r\n let topupAmt ;\r\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\r\n {if (loanAmount >= BtAmount) {\r\n topupAmt = loanAmount - BtAmount;\r\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\r\n \r\n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\r\n } else {\r\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\r\n this.balTxrfAmtInWords = '';\r\n this.loanDetailsForm.controls['topup_amount'].setValue('');\r\n this.topUpAmtInWords = '';\r\n } }\r\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\r\n }\r\n\r\n onChangeSubProduct(subproduct) {\r\n this.qustCat.getEndUseForLoan(this.pdid,subproduct).subscribe(\r\n data => {\r\n this.m_endUseForLoan = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n\r\n endUserChange(event) {\r\n //this.endUserList = [];\r\n event.forEach(option => {\r\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\r\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\r\n this.endUserList.push({ end_use: option });\r\n if (othresData == 'others') {\r\n \r\n this.isOtherPurpose = true;\r\n return ;\r\n }else\r\n {\r\n this.isOtherPurpose = false;\r\n \r\n }\r\n });\r\n }\r\n ownerNameChange(event) {\r\n this.ownerNames = [];\r\n event.value.forEach(option => {\r\n this.ownerNames.push({ owner_name: option });\r\n });\r\n }\r\n sourceChange(evt) {\r\n\r\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\r\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\r\n\r\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\r\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\r\n\r\n this.sourceList = [];\r\n\r\n evt.forEach(option => {\r\n this.sourceList.push({source: option});\r\n });\r\n}\r\n inWords(e,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 2 : \r\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 3 :\r\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 4 :\r\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 5 :\r\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 6:\r\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n case 7:\r\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n default:\r\n break;\r\n }\r\n}\r\n submitLoanDetails() {\r\n // if(this.loanDetailsForm.valid){\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\r\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\r\n records.sub_product=this.loanDetailsForm.controls['sub_product'].value;\r\n // get end user final group data\r\n let dataEnd_user_data = [];\r\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\r\n dataEnd_user_data.push({end_use: element})\r\n });\r\n records.end_use_group = dataEnd_user_data;\r\n\r\n if (this.isOtherPurpose) {\r\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\r\n }\r\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\r\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\r\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\r\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\r\n }\r\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\r\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\r\n \r\n let dataSource_list=[];\r\n if(this.loanDetailsForm.controls['source'].value != '')\r\n {\r\n \r\n this.loanDetailsForm.controls['source'].value.forEach(element => {\r\n dataSource_list.push({sources : element})\r\n });\r\n }\r\n records.source_group=dataSource_list;\r\n \r\n }\r\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\r\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\r\n //}\r\n if(records.topup_amount > 0){\r\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\r\n if(records.end_use_topup == 1){\r\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\r\n }\r\n }\r\n \r\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\r\n records.lender = this.loanDetailsForm.controls['lender'].value;\r\n }\r\n if(this.loanDetailsForm.controls['lender'].value == 1){\r\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\r\n } \r\n \r\n \r\n\r\n \r\n /* records.source = this.loanDetailsForm.controls['source'].value;\r\n if (this.loanDetailsForm.controls['source'].value == 'other') {\r\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\r\n }*/\r\n if(this.isOtherSource){\r\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\r\n }\r\n else{\r\n records.other_source = ''; \r\n }\r\n \r\n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\r\n if(this.mortageCardAccess == true){\r\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\r\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\r\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\r\n };\r\n // records.owner_name_group = this.ownerNames;\r\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\r\n let dataOwner_name = [];\r\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\r\n dataOwner_name.push({owner_name: element})\r\n });\r\n records.owner_name_group = dataOwner_name;\r\n }\r\n else{\r\n records.owner_name_group='';\r\n }\r\n \r\n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\r\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\r\n \r\n }else{\r\n records.property_type = null;\r\n records.property_type_others = null;\r\n records.owner_name_group = null;\r\n records.construction_status = null;\r\n records.emv_per_customer = null;\r\n }\r\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\r\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\r\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n if(data['dataStatus']== true){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Error');\r\n }\r\n // this.notifier.notify('success', 'Saved Successfully.');\r\n })\r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter The All Field');\r\n // }\r\n }\r\n\r\n getLoanDetails() {\r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n\r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n let loanDetails = value['records'];\r\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\r\n return loanDetails.end_use_group[key];\r\n });\r\n \r\n\r\n //this.enduse\r\n result.forEach(val => {\r\n this.enduse.push(val.end_use);\r\n //this.endUserList.push({'end_use':val.end_use});\r\n });\r\n let ownername: any = [];\r\n if(loanDetails.owner_name_group != null){\r\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\r\n return loanDetails.owner_name_group[key];\r\n });\r\n owner.forEach(val => {\r\n ownername.push(val.owner_name);\r\n this.ownerNames.push({'end_use':val.end_use});\r\n });\r\n }\r\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\r\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\r\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\r\n this.loanDetailsForm.controls['sub_product'].setValue(loanDetails.sub_product)\r\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\r\n this.endUserChange(this.enduse);\r\n\r\n if (loanDetails.end_use_other!='') {\r\n //this.endUserChange(this.enduse);\r\n // this.isOtherPurpose=true;\r\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\r\n }\r\n \r\n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\r\n if (loanDetails.balance_transfer_amount) {\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\r\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \r\n }\r\n if (loanDetails.topup_amount) {\r\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\r\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \r\n if(loanDetails.topup_amount > 0){\r\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\r\n if (loanDetails.end_use_topup == 1) {\r\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\r\n }\r\n } \r\n }\r\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\r\n if (loanDetails.balance_transfer_amount) {\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\r\n }\r\n if (loanDetails.topup_amount) {\r\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\r\n }\r\n if (loanDetails.lender) {\r\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\r\n }\r\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\r\n if(loanDetails.own_contribution)\r\n {\r\n this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\r\n }\r\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\r\n if(loanDetails.is_transfer!='yes')\r\n {\r\n let source=Object.keys(loanDetails.source_group).map(function(key){\r\n return loanDetails.source_group[key];\r\n });\r\n let dbsourcelist:any=[];\r\n source.forEach(val=>{\r\n dbsourcelist.push(val.sources);\r\n });\r\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\r\n this.sourceChange(dbsourcelist);\r\n if(loanDetails.other_source) {\r\n // this.isOtherSource = true;\r\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\r\n }\r\n \r\n \r\n }\r\n\r\n/* if (loanDetails.lender_name_type) {\r\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\r\n }*/\r\n \r\n if(loanDetails.emi_level){\r\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\r\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\r\n }\r\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \r\n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\r\n this.propertyType =loanDetails.property_type;\r\n if(loanDetails.property_type !=null){\r\n this.mortage_type(this.propertyType);\r\n if(this.mortageCardAccess == true){\r\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \r\n // this.mortage_type(loanDetails.property_type_others);\r\n \r\n }\r\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\r\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\r\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\r\n if(loanDetails.emv_per_customer)\r\n {\r\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\r\n }\r\n }\r\n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\r\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\r\n } else {\r\n\r\n }\r\n })\r\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL'){\r\n this.mortageCardAccess = false;\r\n this.loanDetailsForm.controls['owner_name'].setValue('');\r\n this.loanDetailsForm.controls['owner_name'].clearValidators();\r\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\r\n \r\n }else{\r\n this.mortageCardAccess = true;\r\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\r\n \r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionBankingPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-banking',\r\n templateUrl: 'pd-question-banking.html',\r\n // changeDetection:ChangeDetectionStrategy.OnPush\r\n})\r\nexport class PdQuestionBankingPage {\r\n \r\n m_btLenderList: any;\r\n applicants: any ;\r\n salaryField: boolean;\r\n FormId: any;\r\n accountType: any;\r\n users: any;\r\n bankDetails:FormGroup;\r\n pdDetails: any;\r\n pdid:any;\r\n bankitems:FormArray;\r\n\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n limitCaseFlag: any=[];\r\n amtInwords: any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons: ConstantsProvider) {\r\n //this.applicants.pop();\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \r\n \r\n \r\n // alert();\r\n this.users = this.aws.getlocale();\r\n this.bankDetails = this.fb.group(\r\n {\r\n bankitems:this.fb.array([]),\r\n banking_form_remark:[null],\r\n });\r\n \r\n \r\n \r\n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\r\n \r\n \r\n this.getdropdown();\r\n this.retiveBankDetails();\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBankingPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.accountType=res['records'];\r\n }\r\n });\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n // let modifyCompanyList : any=[];\r\n // if(this.existCompanyList.length>0){\r\n // modifyCompanyList = this.existCompanyList.map(element => {\r\n // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n // });\r\n // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n //}\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n }\r\n selectedAccTypeChanges(event: any,i){\r\n \r\n if(event == 2 || event == 1) {\r\n this.limitCaseFlag[i] = false;\r\n \r\n // const control = this.bankingForm.controls['itemRows'];\r\n \r\n // control.controls[0].get('limit').clearValidators();\r\n // control.controls[0].get('limit').updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.limitCaseFlag[i] = true;\r\n }\r\n\r\n}\r\n\r\n/** Amount InWords */\r\ninWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e){\r\n \r\n \r\n let year = itemrow.controls.vintage_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n createBankItem(name) {\r\n \r\n return this.fb.group({\r\n applicant_name: [''],\r\n bank_name: [''],\r\n account_type: [''],\r\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\r\n limit: [''],\r\n other_bank:[''],\r\n other_applicant:[''],\r\n //is_main: [''],\r\n vintage_year: [''],\r\n vintage_month: [''],\r\n \r\n });\r\n\r\n }\r\n \r\n addBankDetails() {\r\n // if(this.pd.valid){\r\n \r\n // if(this.items.length !=0)\r\n // {\r\n // this.neighbourAccess = true;\r\n // }\r\n \r\n \r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n this.bankitems.push(this.createBankItem(''));\r\n \r\n \r\n \r\n }\r\n\r\n addmoreBankDetils()\r\n {\r\n \r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n this.bankitems.push(this.createBankItem('')); \r\n }\r\n\r\n removebank(i){\r\n\r\n if(this.bankitems.length==1){\r\n this.bankitems.reset();\r\n }\r\n else\r\n this.bankitems.removeAt(i);\r\n }\r\n\r\n savepdBank(answerData)\r\n {\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.banking_details = answerData.bankitems;\r\n records.banking_form_remark = answerData.banking_form_remark;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n \r\n }\r\n\r\n retiveBankDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n var result = Object.keys(res['records'].banking_details).map(function(key) {\r\n return res['records'].banking_details[key];\r\n });\r\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n if(result.length ==0){\r\n \r\n this.bankitems.push(this.createBankItem(''))\r\n }else\r\n {\r\n \r\n \r\n \r\n \r\n result.forEach((datas,index)=>\r\n {\r\n this.selectedAccTypeChanges(+datas.account_type,index)\r\n if(datas.limit != ''){\r\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \r\n } \r\n // this.selectedBorrower(datas.applicant_name,index);\r\n this.bankitems.push(this.createBankItem(''));\r\n })\r\n this.bankDetails.controls['bankitems'].setValue(result);\r\n }\r\n \r\n \r\n }else\r\n {\r\n \r\n this.addBankDetails();\r\n }\r\n });\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-banking/pd-question-banking.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionFamilyPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-family',\r\n templateUrl: 'pd-question-family.html',\r\n})\r\nexport class PdQuestionFamilyPage {\r\n\r\n\r\n earningStatus = [{\r\n type: 'Earning',\r\n id: 1\r\n}, {\r\n type: 'Non Earning',\r\n id: 2\r\n}]\r\nearning_gross_income_per_month:any;\r\n\r\n nofamily:number;\r\ndata:any;\r\n familyAddStatus: boolean;\r\n ownerShip: any;\r\n cusSeg: any;\r\n FormId: any;\r\n users: any;\r\n pdDetails: any;\r\n occupationData: any;\r\n membersitem: FormArray;\r\n items: FormArray;\r\n relationData: any;\r\n familyForm: FormGroup;\r\n total_number_of_family_members;\r\n filteredStates: any ;\r\n public selected_person;\r\n stateData:any;\r\n cityData: any =[];\r\n pincodeData:any=[];\r\n FamilyMemberAsLabel: any=[];\r\n selectPerson: any=[];\r\n apiFamilyMembers: any=[];\r\n //isReadOnly: any=[];\r\n RentAmount: any=[];\r\n IncomePerMonth: any=[];\r\n // cons: any;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.selected_person=this.pdDetails.pdapplicants_details;\r\n this.selectPerson=this.pdDetails.applicat_details\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n this.familyForm = this.fb.group({\r\n family_details: this.fb.array([\r\n //this.initFamilyDetails()\r\n \r\n ]),\r\n family_details_form_remark:[''],\r\n \r\n \r\n });\r\n this.getRelation();\r\n this.getoccupation();\r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\r\n this.getFamilyData();\r\n }\r\n initFamilyDetails(records) : void\r\n {\r\n if (records === null) {\r\n let formData: FormGroup = this.fb.group({\r\n selected_person: ['', Validators.compose([Validators.required])],\r\n residence_place: ['', Validators.compose([])],\r\n residence_city: ['', Validators.compose([])],\r\n residence_state: ['', Validators.compose([])],\r\n residence_pin: ['', Validators.compose([])],\r\n residence_other_pincode:['',Validators.compose([])],\r\n residence_No_of_years: ['', Validators.compose([])],\r\n residence_ownership: ['', Validators.compose([])],\r\n ownershipOther: [''],\r\n rent: [''],\r\n total_number_of_family_members: ['', Validators.compose([Validators.min(1), Validators.max(20)])],\r\n family_members_details: this.fb.array([])\r\n });\r\n const control = this.familyForm.controls['family_details'];\r\n control.push(formData);\r\n \r\n }\r\n else{\r\n records.forEach((val,index)=>{\r\n if(val.rent != null){\r\n this.inWords(val.rent,index,2)\r\n }\r\n this.FamilyMemberAsLabel[index] = this.selectPerson.filter(item => item.pd_co_applicant_id == val.selected_person)[0].applicant_name;\r\n this.getCity(val.residence_state,index);\r\n let formData:FormGroup=this.fb.group({\r\n selected_person:[val.selected_person],\r\n residence_place:[val.residence_place],\r\n residence_city:[val.residence_city],\r\n residence_state:[val.residence_state],\r\n residence_pin:[val.residence_pin],\r\n residence_other_pincode:[val.residence_other_pincode],\r\n residence_No_of_years: [val.residence_No_of_years,Validators.compose([])],\r\n residence_ownership:[val.residence_ownership],\r\n rent:[val.rent || null],\r\n ownershipOther:[val.ownershipOther || null],\r\n total_number_of_family_members:[val.total_number_of_family_members,Validators.compose([Validators.min(1), Validators.max(20)])],\r\n family_members_details:this.fb.array([])\r\n \r\n });\r\n \r\n const control = this.familyForm.controls['family_details'];\r\n control.push(formData);\r\n \r\n let inx=control.length-1;\r\n //this.getNumberOfFamilyMemberDetails(inx);\r\n this.initFamilyMembersDetails(inx, val.family_members_details);\r\n \r\n \r\n //this.initFamilyMembersDetails\r\n \r\n })\r\n }\r\n /*\r\n return this.fb.group({\r\n //family_details\r\n selected_person:[''],\r\n residence_place:[''],\r\n residence_city:[''],\r\n residence_state:[''],\r\n residence_pin:[''],\r\n residence_No_of_years: ['',Validators.compose([])],\r\n residence_ownership:[],\r\n rent:[''],\r\n ownershipOther:[''],\r\n total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])],\r\n \r\n //family_member_details\r\n \r\n \r\n \r\n family_members_details:this.fb.array([]),\r\n \r\n\r\n // person: [null],\r\n /* personOther: [''],\r\n members: [''],\r\n residence: [''],\r\n years: [null],\r\n family_details_form_remark:[''],\r\n \r\n });*/\r\n\r\n }\r\n initFamilyMembersDetails(inx,val) :void {\r\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\r\n val.forEach((vals,index)=>{\r\n\r\n \r\n if(vals.earning_gross_income_per_month != null){\r\n this.inWords(vals.earning_gross_income_per_month,index,1);\r\n }\r\n let datas = this.fb.group({\r\n family_member_name: [vals.family_member_name || null, Validators.compose([])],\r\n family_member_relationship: [vals.family_member_relationship || null, Validators.compose([])],\r\n family_member_age: [vals.family_member_age || null, Validators.compose([])],\r\n family_member_earning_status: [vals.family_member_earning_status || null, Validators.compose([])],\r\n earning_segment: [vals.earning_segment || null, Validators.compose([])],\r\n earning_if_others_segment:[vals.earning_if_others_segment || null, Validators.compose([])],\r\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null, Validators.compose([])],\r\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null, Validators.compose([])],\r\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null, Validators.compose([])],\r\n non_earning_occupation: [vals.non_earning_occupation || null, Validators.compose([])],\r\n non_earning_if_others: [vals.non_earning_if_others || null, Validators.compose([])],\r\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null, Validators.compose([])],\r\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null, Validators.compose([])],\r\n })\r\n \r\n control.push(datas);\r\n });\r\n }\r\n \r\n /*return this.fb.group({\r\n family_member_name:[''],\r\n family_member_relationship:[],\r\n family_member_age:[],\r\n family_member_earning_status:['',Validators.compose([])],\r\n //family_member_earnings\r\n earning_segment:[''],\r\n earning_gross_income_per_month:[''],\r\n earning_name_of_the_employer_or_business:[''],\r\n earning_number_of_years_in_employment_or_business:[''],\r\n \r\n non_earning_occupation:[''],\r\n non_earning_if_others:[''],\r\n non_earning_if_retired_from:[''],\r\n });*/\r\n \r\n\r\n\r\n add() :void { \r\n // const control=this.familyForm.controls['family_details'];\r\n //control.push(this.initFamilyDetails('chck'));\r\n this.initFamilyDetails(null);\r\n this.toast.pdTriggerappmessage(\"Family Details Added\");\r\n }\r\n remove_family_details(i:number):void{\r\n const control=this.familyForm.controls['family_details'];\r\n control.removeAt(i);\r\n }\r\n addMemberDet(data:any){\r\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n //this.initFamilyMembersDetails('','')\r\n control.push(this.generateFamilyMembersDetailsGet())\r\n }\r\n removeMemberDet(index:any,f_index:any){\r\n const control=this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details;\r\n if(control.length>1){\r\n control.removeAt(index); \r\n }\r\n else{\r\n control.reset()\r\n }\r\n // if(control.value !=null && index == 0)\r\n\r\n }\r\n getNumberOfFamilyMemberDetails(data)\r\n {\r\n \r\n var datavalue=data;\r\n let formData=this.familyForm.controls['family_details']['controls'][datavalue].controls;\r\n if(formData['total_number_of_family_members'].valid)\r\n {\r\n let totmem=formData['total_number_of_family_members'].value;\r\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n if(totmem>=control.length){\r\n let len=totmem-control.length;\r\n for( let i=0;i=totmem;i--)\r\n {\r\n control.removeAt(i);\r\n }\r\n \r\n // var nn=control.length-totmem; \r\n // control.controls = [];\r\n /*for (let i = 0; i < totmem; i++) {\r\n control.push(this.generateFamilyMembersDetailsGet());\r\n\r\n }*/\r\n // this.initFamilyDetails(this.resValue['records'].family_details);\r\n // this.toast.pdTriggerappmessage(\"Please choose the number greater than\"+control.length);\r\n }\r\n \r\n \r\n }\r\n else{\r\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n control.removeAt(control.length);\r\n control.controls=[];\r\n }\r\n /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n control.push(this.initFamilyMembersDetails());\r\n */ \r\n }\r\n generateFamilyMembersDetailsGet(): FormGroup {\r\n return this.fb.group({\r\n family_member_name: ['', Validators.compose([])],\r\n family_member_relationship: ['', Validators.compose([])],\r\n family_member_age: ['', Validators.compose([])],\r\n family_member_earning_status: ['', Validators.compose([])],\r\n earning_segment: ['', Validators.compose([])],\r\n earning_if_others_segment:['',Validators.compose([])],\r\n earning_gross_income_per_month: ['', Validators.compose([])],\r\n earning_name_of_the_employer_or_business: ['', Validators.compose([])],\r\n earning_number_of_years_in_employment_or_business: ['', Validators.compose([])],\r\n non_earning_occupation: ['', Validators.compose([])],\r\n non_earning_if_others: ['', Validators.compose([])],\r\n non_earning_if_schoolorcollege:['',Validators.compose([])],\r\n non_earning_if_retired_from: ['', Validators.compose([])],\r\n })\r\n}\r\n \r\n getRelation() {\r\n let master_name = 'RELATIONSHIPS';\r\n this.qustCat.getcommondrop(master_name).subscribe(data => {\r\n \r\n if(data['dataStatus'] == true){\r\n this.relationData = data['records'].filter(rel=>rel.isactive ==1);\r\n }\r\n });\r\n\r\n this.qustCat.getcommondrop('PERSONSMET').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.filteredStates = res['records'].filter(per=>per.isactive==1);\r\n }\r\n });\r\n // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=>\r\n // {\r\n // if(res['dataStatus']==true)\r\n // {\r\n // this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\r\n // }\r\n // });\r\n this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.ownerShip = res['records'].filter(own=>own.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('STATE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.stateData=res['records'].filter(item=>item.isactive==1);\r\n }\r\n })\r\n \r\n}\r\ngetCity(e,i){\r\n // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); \r\n // this._pd.retriveForm(params).subscribe(data => {\r\n this.qustCat.getStateWiseCities(e).subscribe(data=>{\r\n if (data['dataStatus'] == true) {\r\n this.cityData[i] = data.records.cities; \r\n this.pincodeData[i] = data.records.pincode;\r\n }\r\n });\r\n}\r\ngetoccupation()\r\n{\r\n let master_name = 'OCCUPATIONMEMBERS';\r\n this.qustCat.getcommondrop(master_name).subscribe(data => {\r\n if(data['dataStatus']==true){\r\n this.occupationData = data['records'].filter(occ=>occ.isactive ==1);\r\n }\r\n });\r\n}\r\n /* createMembers(): FormGroup {\r\n return this.fb.group({\r\n earning_member_name : [null],\r\n earning_member_age : [null],\r\n relation: [null],\r\n segment: [null],\r\n income: [null],\r\n employer_name: [null],\r\n });\r\n}\r\ncount :number = 0;\r\naddearningMembers()\r\n{\r\n this.items = this.familyForm.get('earningMembers') as FormArray;\r\n this.items.push(this.createMembers());\r\n this.count++;\r\n this.checkfamilystatus(this.count,''); \r\n\r\n}\r\n\r\ndeleteEarningMembers(i)\r\n{\r\n\r\n if(this.items.length==1)\r\n {\r\n this.familyForm.controls['earningMembers'].reset();\r\n }else{\r\n this.items.removeAt(i);\r\n }\r\n this.count--;\r\n this.checkfamilystatus(this.count,''); \r\n}\r\ncreateNonMembers(): FormGroup {\r\n return this.fb.group({\r\n non_earning_member_name : [''],\r\n non_earning_member_age : [''],\r\n relationship: [null],\r\n occupation: [null],\r\n retired: [null],\r\n others_occupation:[null],\r\n });\r\n}\r\naddMembers()\r\n{\r\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\r\n this.count++;\r\n this.checkfamilystatus(this.count,''); \r\n this.membersitem.push(this.createNonMembers());\r\n \r\n}\r\ndeleteMembers(i)\r\n{\r\n if(this.membersitem.length==1){\r\n this.familyForm.controls['nonEarningMembers'].reset();\r\n \r\n }else{\r\n this.membersitem.removeAt(i);\r\n }\r\n this.count--;\r\n this.checkfamilystatus(this.count,''); \r\n}\r\ncheckfamilystatus(count,familystatus)\r\n{\r\n if(familystatus !='' && familystatus !==undefined){\r\n\r\n }else{\r\n familystatus = this.familyForm.get('members').value;\r\n }\r\n if(familystatus !== null ){\r\n if(familystatus == count)\r\n {\r\n\r\n this.familyAddStatus = true;\r\n }else\r\n {\r\n this.familyAddStatus = false;\r\n }\r\n }\r\n}*/\r\n/* Old\r\nsavepdfamily(answerData)\r\n{\r\n let records: any = {};\r\n records.no_of_years = answerData.years;\r\n if (answerData.ownership == '4') {\r\n records.ownershipOther = answerData.ownershipOther;\r\n } \r\n records.residence = answerData.residence;\r\n if (answerData.ownership == '3') {\r\n records.what_rent = answerData.rent;\r\n }\r\n // if (answerData.person == '8') {\r\n // records.person_met = answerData.personOther.value;\r\n // } else {\r\n // records.person_met = answerData.person;\r\n // }\r\n records.ownership = answerData.ownership\r\n records.family_members = answerData.members;\r\n records.earning_members = answerData.earningMembers;\r\n records.non_earning_members = answerData.nonEarningMembers;\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.family_details_form_remark = answerData.family_details_form_remark;\r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })\r\n}*/\r\n\r\nsavepdfamily(answerData)\r\n{\r\n \r\n let records:any={};\r\n \r\n records=this.familyForm.value;\r\n\r\n Object.keys(records).forEach((key)=>(records[key]==null)&& delete records[key]);\r\n records.pdid=this.pdDetails.pd_id;\r\n records.formid=this.FormId.form_id;\r\n records.fk_createdby=this.users;\r\n this.qustCat.saveForm(records).subscribe(res=>{\r\n\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n \r\n },err=>{\r\n this.toast.pdTriggerappmessage(\"Some Fields value is Missing Please Fill It\");\r\n })\r\n\r\n /*let records: any = {};\r\n records.no_of_years = answerData.residence_No_of_years;\r\n if (answerData.residence_ownership == '4') {\r\n records.ownershipOther = answerData.ownershipOther;\r\n } \r\n //records.residence = answerData.residence;\r\n if (answerData.residence_ownership == '3') {\r\n records.what_rent = answerData.rent;\r\n }\r\n // if (answerData.person == '8') {\r\n // records.person_met = answerData.personOther.value;\r\n // } else {\r\n // records.person_met = answerData.person;\r\n // }\r\n records.ownership = answerData.residence_ownership\r\n records.family_members = answerData.total_number_of_family_members;\r\n records.earning_members = answerData.earningMembers;\r\n records.non_earning_members = answerData.nonEarningMembers;\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.family_details_form_remark = answerData.family_details_form_remark;\r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })*/\r\n}\r\nprevFamilyMembersCtrlLength: number = 0;\r\ncurrFamilyMembersCtrlLength: number = 0;\r\nselectedPerson(e,inx){\r\n \r\n this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(item => item.pd_co_applicant_id == e)[0].applicant_name;\r\n \r\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\r\n \r\n this.currFamilyMembersCtrlLength = control.length;\r\n \r\n let i : number = 0 ;\r\n for(i ;i < this.prevFamilyMembersCtrlLength;i++){\r\n console.log(i,this.prevFamilyMembersCtrlLength);\r\n control.removeAt(i);\r\n }\r\n // while(index < this.prevFamilyMembersCtrlLength)\r\n // { \r\n // }\r\n this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength;\r\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\r\n\r\n if(this.apiFamilyMembers.length>0){\r\n\r\n let arraydata : any;\r\n let data = this.apiFamilyMembers.filter(item => item.relation_to == e);\r\n\r\n \r\n // data_gets_from:'GeneralForm'\r\n // data_gets_from:'BusinessForm'\r\n \r\n if(data.length > 0){\r\n \r\n \r\n this.prevFamilyMembersCtrlLength = data.length;\r\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\r\n\r\n\r\n data.forEach((val,inx) => {\r\n \r\n // // family_member_earning_status\r\n // if(val.age){\r\n // this.isReadOnly[inx] = true;\r\n // }else{\r\n // this.isReadOnly[inx] = false;\r\n // }\r\n arraydata = {\r\n 'family_member_name' : val.name,\r\n 'family_member_relationship' : val.relationship,\r\n 'family_member_age' : val.age,\r\n 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' :'',\r\n 'earning_segment': '',\r\n 'earning_gross_income_per_month': '',\r\n 'earning_name_of_the_employer_or_business':'',\r\n 'earning_number_of_years_in_employment_or_business': '',\r\n 'earning_if_others_segment':'',\r\n 'non_earning_occupation': '',\r\n 'non_earning_if_others': '',\r\n 'non_earning_if_retired_from': '',\r\n 'non_earning_if_schoolorcollege': ''\r\n }\r\n control.push(this.initgenerateFamilyMembersDetailsGet(arraydata));\r\n \r\n });\r\n }\r\n else{\r\n this.prevFamilyMembersCtrlLength = 1;\r\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\r\n \r\n\r\n control.push(this.generateFamilyMembersDetailsGet()); \r\n }\r\n }\r\n else{\r\n \r\n control.push(this.generateFamilyMembersDetailsGet());\r\n } \r\n}\r\n\r\ngenerateFamilyMembersDetailsGetData(data){\r\n var result = Object.keys(data).map(function (key) {\r\n return data[key];\r\n});\r\nif (result.length > 0) {\r\n for (let val of result) {\r\n const control = this.familyForm.controls['family_members_details'];\r\n control.push(this.initgenerateFamilyMembersDetailsGet(val));\r\n }\r\n}\r\n}\r\ninitgenerateFamilyMembersDetailsGet(val):FormGroup{\r\n return this.fb.group({\r\n family_member_name: [val.family_member_name, Validators.compose([])],\r\n family_member_relationship: [val.family_member_relationship, Validators.compose([])],\r\n family_member_age: [val.family_member_age, Validators.compose([])],\r\n family_member_earning_status: [val.family_member_earning_status, Validators.compose([])],\r\n earning_segment: [val.earning_segment, Validators.compose([])],\r\n earning_if_others_segment:[val.earning_if_others_segment,Validators.compose([])],\r\n earning_gross_income_per_month: [val.earning_gross_income_per_month, Validators.compose([])],\r\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business, Validators.compose([])],\r\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business, Validators.compose([])],\r\n non_earning_occupation: [val.non_earning_occupation, Validators.compose([])],\r\n non_earning_if_others: [val.non_earning_if_others, Validators.compose([])],\r\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege,Validators.compose([])],\r\n non_earning_if_retired_from: [val.non_earning_if_retired_from, Validators.compose([])],\r\n})\r\n}\r\nresValue:any;\r\n\r\n getFamilyData()\r\n {\r\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n let Temparr : any = [];\r\n\r\n if(res.record.from_general_form.length>0){\r\n let familyMembersGeneralForm=Object.keys(res.record.from_general_form).map(function(key){\r\n return res.record.from_general_form[key]\r\n });\r\n let datas=familyMembersGeneralForm.map(element=>{\r\n return {id:element.pd_co_applicant_id.toString(),\r\n name:element.applicant_name,\r\n relationship:element.relationship,\r\n relation_to:element.relation_to,\r\n age:element.age,\r\n data_gets_from:'GeneralForm'};\r\n \r\n });\r\n Temparr.push(datas);\r\n }\r\n else{\r\n console.log(\"No data in General Form\")\r\n }\r\n if(res.record.from_business_form.length >0){\r\n let familyMembersBusinessForm=Object.keys(res.record.from_business_form).map(function(key){\r\n return res.record.from_business_form[key]\r\n });\r\n let datas=familyMembersBusinessForm.map(element=>{\r\n return {id:element.other_family_relationship_id,\r\n name:element.family_member_name,\r\n relationship:element.other_family_relationship_id,\r\n relation_to:element.relation_to_id,\r\n age:'',\r\n data_gets_from:'BusinessForm'};\r\n });\r\n Temparr.push(datas);\r\n }\r\n else{\r\n console.log(\"No data in Business Form\")\r\n }\r\n this.apiFamilyMembers = [].concat.apply([],Temparr);\r\n }\r\n })\r\n let records={'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n\r\n this.qustCat.retiverForm(records).subscribe(res=>{\r\n console.log(\"Entering Retrieve\");\r\n \r\n if(res['status']==200){\r\n if(res['records'].family_details.length > 0){\r\n this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark);\r\n this.resValue=res;\r\n this.initFamilyDetails(res['records'].family_details);\r\n \r\n }\r\n \r\n }\r\n else{\r\n console.log(\"No Data Found\");\r\n this.initFamilyDetails(null);\r\n \r\n }\r\n //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details);\r\n \r\n },err=>{\r\n console.log(\"Error\",err)\r\n })\r\n /*let earning:any = [];\r\n let non_earning:any = [];\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n non_earning = Object.keys(res['records'].non_earning_members).map(function(key) {\r\n\r\n return res['records'].non_earning_members[key];\r\n });\r\n this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark);\r\n earning = Object.keys(res['records'].earning_members).map(function(key) {\r\n return res['records'].earning_members[key];\r\n });\r\n let familyDetails = res['records'];\r\n this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); \r\n // this.familyForm.controls['person'].setValue(familyDetails.person_met);\r\n this.familyForm.controls['personOther'].setValue(familyDetails.personOther);\r\n this.familyForm.controls['members'].setValue(familyDetails.family_members);\r\n this.familyForm.controls['residence'].setValue(familyDetails.residence);\r\n this.familyForm.controls['years'].setValue(familyDetails.no_of_years);\r\n this.familyForm.controls['ownership'].setValue(familyDetails.ownership);\r\n this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther);\r\n this.familyForm.controls['rent'].setValue(familyDetails.what_rent);\r\n // this.familyForm.controls['earningMembers'].setValue(earning);\r\n // for(this.)\r\n this.items = this.familyForm.get('earningMembers') as FormArray;\r\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\r\n if(earning.length==0)\r\n {\r\n this.addearningMembers();\r\n }else\r\n {\r\n earning.forEach(datas => {\r\n this.count++;\r\n this.items.push(this.createMembers());\r\n });\r\n this.familyForm.controls['earningMembers'].setValue(earning);\r\n \r\n }\r\n\r\n if(non_earning.length==0)\r\n {\r\n this.addMembers(); \r\n }else\r\n {\r\n non_earning.forEach(datas => {\r\n this.count++;\r\n this.membersitem.push(this.createNonMembers());\r\n \r\n });\r\n this.familyForm.controls['nonEarningMembers'].setValue(non_earning);\r\n // this.checkfamilystatus(this.count);\r\n }\r\n \r\n // for(let earningDetails of earning){\r\n // this.items = this.familyForm.get('earningMembers') as FormArray;\r\n // this.items.push(earning);\r\n // }\r\n\r\n }else\r\n {\r\n this.addearningMembers();\r\n this.addMembers();\r\n }\r\n }) */ \r\n }\r\n /** To Convert Amount into Words */\r\n inWords(e,i,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); \r\n break;\r\n case 2 :\r\n this.RentAmount[i] = this.cons.convertNumberToWords(e); \r\n break;\r\n }\r\n }\r\n initSetValue(records):void{\r\n for(let val of records){\r\n let formData:FormGroup=this.fb.group({\r\n selected_person:[val.selected_person],\r\n residence_place:[val.residence_place]\r\n })\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssestsPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assests',\r\n templateUrl: 'pd-question-assests.html',\r\n})\r\nexport class PdQuestionAssestsPage {\r\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\r\n {'value': \"no\",'viewValue': \"No\"},\r\n {'value': \"nan\",'viewValue': \"NA\"}]\r\n m_relation: any;\r\n applicants: any ;\r\n users: any;\r\n FormId: any;\r\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\r\n m_investmentType: { 'id': string; 'name': string; }[];\r\n m_insuranceType: { 'id': string; 'name': string; }[];\r\n m_propertyType: { 'id': string; 'name': string; }[];\r\n m_assets_type: { 'id': string; 'name': string; }[];\r\n m_vehicle_type: any=[];\r\n m_uom_type: any=[];\r\n pdDetails: any;\r\n assetItem: any;\r\n items:FormArray;\r\n AssetsDetailsForm:FormGroup;\r\n details:FormArray;\r\n FormList:boolean = false;\r\n loadDetails:boolean = true;\r\n assestInfo:any;\r\n PremiumPaidInwords: any=[]; \r\n SumAssuredInwords: any=[];\r\n AmtInvestInwords: any=[];\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n isOtherOwner: any = [];\r\n pdid:any;\r\n currentYear: any = new Date().getFullYear();\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider) {\r\n \r\n this.assestInfo = \"busass\";\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.users = this.aws.getlocale();\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n \r\n this.AssetsDetailsForm = this.fb.group({\r\n assets_details:this.fb.array([]),\r\n assets_form_remark:['']\r\n })\r\n \r\n this.getAssetDetails();\r\n this.getdropList();\r\n this.loadDetails = true;\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssestsPage');\r\n }\r\n\r\n getdropList()\r\n {\r\n //GETTING Asset Type\r\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\r\n }\r\n })\r\n \r\n //GETTING Property Type;\r\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_propertyType = res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n \r\n //GETTING Investment Type;\r\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_investmentType = res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n\r\n //GETTING Insurance Type;\r\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.m_insuranceType =res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n \r\n //GETTING Frequency Type;\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n\r\n //GETTING Relationship;\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => \r\n {\r\n if(data['dataStatus']==true)\r\n {\r\n this.m_relation = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n\r\n //GETTING VEHICLE TYPE;\r\n this.qustCat.getcommondrop('VEHICLETYPE').subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\r\n }\r\n })\r\n \r\n //GETTING UOM List;\r\n this.qustCat.getcommondrop('UOM').subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.m_uom_type = data['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2);\r\n }\r\n })\r\n\r\n //GETTING Company And Applicant List.\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>\r\n { \r\n if(data['dataStatus']==true)\r\n {\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n \r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n })\r\n \r\n \r\n }\r\n createAsset() : FormGroup\r\n {\r\n return this.fb.group(\r\n {\r\n assets_mode: [null],\r\n details: this.fb.array([]),\r\n approximate_market_value: [null],\r\n name_of_the_owner: [''],\r\n other_owner:[''],\r\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n vintage_personal : [''],\r\n emi: [null],\r\n });\r\n }\r\n\r\n addAsset(flag)\r\n {\r\n if(flag==1){\r\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\r\n this.assetItem.push(this.createAsset());\r\n }\r\n }\r\n\r\n deleteAsset(i,flag)\r\n {\r\n if(flag==1){\r\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\r\n if(this.assetItem.length==1)\r\n {\r\n this.AssetsDetailsForm.controls['assets_details'].reset();\r\n }else{\r\n this.assetItem.removeAt(i);\r\n } \r\n }\r\n }\r\n \r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n \r\n loanCalc(details ,flag)\r\n {\r\n if(flag == 1){\r\n \r\n let ElapsedValues;\r\n \r\n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\r\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\r\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\r\n }\r\n }\r\n }\r\n \r\n show: boolean;\r\n selectedAssetsType(e: any, i: any,flag : any): void {\r\n \r\n let val = i;\r\n if(flag == 1){\r\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n arr.controls.splice(0);\r\n }\r\n \r\n switch (e.value) {\r\n case '1': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\r\n control.push(this.otherAssetsDescription());\r\n break;\r\n }\r\n case '2': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadProperty());\r\n break;\r\n }\r\n case '3': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.load_Four_Weeler());\r\n break;\r\n }\r\n case '4': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray; \r\n control.push(this.loadEquipmentManufacturingDescription());\r\n break;\r\n }\r\n case '5': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadConsumerDurableDescription());\r\n break;\r\n }\r\n case '6': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadInsuranceDescription());\r\n break;\r\n }\r\n case '7': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadInvestDescription());\r\n break;\r\n }\r\n case '8': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.otherAssetsDescription());\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n loadProperty() {\r\n return this.fb.group({\r\n property_type: [''],\r\n other_property_type: [''],\r\n address_of_the_property: [''],\r\n describe_of_the_property_asset: [''],\r\n area_covered_by_this_property: [''],\r\n uom_of_the_property: [''],\r\n other_uom: ['']\r\n });\r\n } \r\n\r\n loadConsumerDurableDescription() {\r\n return this.fb.group({\r\n consumer_durable_description: [null]\r\n });\r\n }\r\n \r\n loadEquipmentManufacturingDescription() {\r\n return this.fb.group({\r\n equipment_manufacturing_description: ['']\r\n });\r\n }\r\n\r\n otherAssetsDescription() {\r\n return this.fb.group({ any_other_assets: [''] });\r\n }\r\n\r\n loadInsuranceDescription() {\r\n return this.fb.group({\r\n // insurance_type: [null],\r\n premium_paid: [null],\r\n frequency_mode: [null],\r\n other_frequency_mode:[null],\r\n sum_assured: [null],\r\n members_coverd: [null]\r\n });\r\n }\r\n\r\n loadInvestDescription() {\r\n return this.fb.group({\r\n investments_type: [''],\r\n other_investments_type:[''],\r\n in_which_organisation:[''],\r\n amount_of_invest: [''],\r\n bank_name: ['']\r\n });\r\n }\r\n\r\n load_Four_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [''],\r\n vehicle_type: [''],\r\n other_vehicle_type: ['']\r\n });\r\n }\r\n \r\n\r\n load_Two_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_two_weeler: ['']\r\n });\r\n }\r\n\r\n\r\n\r\n loadPropertyWithData(data) {\r\n return this.fb.group({\r\n property_type: [data.property_type],\r\n other_property_type: [data.other_property_type],\r\n address_of_the_property: [data.address_of_the_property],\r\n describe_of_the_property_asset: [data.describe_of_the_property_asset],\r\n area_covered_by_this_property: [data.area_covered_by_this_property],\r\n uom_of_the_property: [data.uom_of_the_property],\r\n other_uom: [data.other_uom]\r\n });\r\n }\r\n\r\n loadJwellDescriptionWithData(data) {\r\n return this.fb.group({\r\n // jwell_description: [data.jwell_description]\r\n });\r\n }\r\n\r\n loadConsumerDurableDescriptionWithData(data) {\r\n return this.fb.group({\r\n consumer_durable_description: [data.consumer_durable_description]\r\n });\r\n }\r\n\r\n otherAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n });\r\n }\r\n \r\n loadInsuranceDescriptionWithData(data) {\r\n return this.fb.group({\r\n //insurance_type: [data.insurance_type],\r\n premium_paid: [data.premium_paid],\r\n frequency_mode: [data.frequency_mode],\r\n other_frequency_mode:[data.other_frequency_mode],\r\n sum_assured: [data.sum_assured],\r\n members_coverd: [data.members_coverd]\r\n });\r\n }\r\n\r\n loadInvestDescriptionWithData(data) {\r\n return this.fb.group({\r\n investments_type: [data.investments_type],\r\n other_investments_type:[data.other_investments_type],\r\n in_which_organisation:[data.in_which_organisation],\r\n amount_of_invest: [data.amount_of_invest],\r\n bank_name: [data.bank_name]\r\n });\r\n }\r\n\r\n \r\n\r\n load_Four_WeelerWithData(data) {\r\n return this.fb.group({\r\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\r\n vehicle_type: [data.vehicle_type],\r\n other_vehicle_type: [data.other_vehicle_type]\r\n });\r\n }\r\n\r\n\r\n loadEquipmentManufacturingDescriptionWithData(data) {\r\n return this.fb.group({\r\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\r\n });\r\n }\r\n\r\n load_Two_WeelerWithData(data) {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\r\n });\r\n }\r\n\r\n\r\n initDetailsWithdata(data) {\r\n return this.fb.group({\r\n assets_mode: [data.assets_mode],\r\n details: this.fb.array([]),\r\n approximate_market_value: [data.approximate_market_value],\r\n name_of_the_owner: [data.name_of_the_owner],\r\n other_owner:[data.other_owner || ''],\r\n vintage_personal:[data.vintage_personal],\r\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n emi: [data.emi || 0],\r\n });\r\n }\r\n\r\n saveAssetDetails(answerData)\r\n {\r\n \r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n // answerData.assets_details.map(val => {\r\n // if (val.emi == 'no') {\r\n // val.emi_paid = '';\r\n // val.elapsed_tenure = '';\r\n // val.balance_tenure = '';\r\n // val.original_loan_tenure ='';\r\n // }\r\n // });\r\n \r\n answerData.pdid = this.pdDetails.pd_id;\r\n answerData.formid = this.FormId.form_id;\r\n answerData.fk_createdby = this.users;\r\n \r\n this.qustCat.saveForm(answerData).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n }\r\n\r\n apiLoadFinish:boolean = false;\r\n\r\n // To Fetch The Asset Value;\r\n getAssetDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\r\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\r\n return res['records'].assets_details[key];\r\n });\r\n \r\n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\r\n if (assetArray.length > 0) {\r\n assetArray.forEach((val, index) => {\r\n let vals = {\r\n assets_mode: val.assets_mode,\r\n approximate_market_value: val.approximate_market_value,\r\n name_of_the_owner: val.name_of_the_owner,\r\n other_owner:val.other_owner,\r\n purchase_year: val.purchase_year,\r\n vintage_personal:val.vintage_personal,\r\n emi: val.emi,\r\n };\r\n \r\n let Avaliablity = 1;\r\n val.name_of_the_owner.forEach(option => {\r\n if (option.id == 0 && option.group_id == 2) {\r\n Avaliablity = option.id;\r\n }\r\n });\r\n this.isOtherOwner[index] = Avaliablity == 0 ? true : false\r\n \r\n const control = this.AssetsDetailsForm.controls['assets_details'];\r\n control.push(this.initDetailsWithdata(vals));\r\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\r\n // this.setRequiredValidation(val.name_of_the_owner, index, '', 4);\r\n });\r\n \r\n }\r\n \r\n this.apiLoadFinish = true;\r\n \r\n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\r\n }else{\r\n this.apiLoadFinish = true;\r\n this.addAsset(1);\r\n // this.addAsset(2);\r\n }\r\n })\r\n }\r\n\r\n\r\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\r\n let val = i;\r\n \r\n let data = datas;\r\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n arr.controls.splice(0);\r\n switch (assets_details_mode) {\r\n case '1': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'any_other_assets': datas.any_other_assets };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.otherAssetsDescriptionWithData(array_data));\r\n break;\r\n }\r\n \r\n case '2': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type,\r\n 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset,\r\n 'uom_of_the_property': datas.uom_of_the_property,\r\n 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadPropertyWithData(array_data));\r\n break;\r\n }\r\n case '3': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle,\r\n 'vehicle_type': datas.vehicle_type,\r\n 'other_vehicle_type': datas.other_vehicle_type };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.load_Four_WeelerWithData(array_data));\r\n break;\r\n }\r\n case '4': {\r\n let array_data:any\r\n data.forEach((datas,i)=>{\r\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\r\n })\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '5': {\r\n this.FormList = true;\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\r\n break;\r\n }\r\n case '6': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { \r\n 'premium_paid': datas.premium_paid,\r\n 'frequency_mode': datas.frequency_mode,\r\n 'other_frequency_mode':datas.other_frequency_mode,\r\n 'sum_assured': datas.sum_assured,\r\n 'members_coverd': datas.members_coverd\r\n };\r\n this.inWords(+datas.premium_paid,i,1);\r\n this.inWords(+datas.sum_assured,i,2);\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadInsuranceDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '7': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n this.inWords(+datas.amount_of_invest,i,3);\r\n array_data = { 'investments_type': datas.investments_type,\r\n 'other_investments_type' : datas.other_investments_type,\r\n 'in_which_organisation':datas.in_which_organisation,\r\n 'amount_of_invest': datas.amount_of_invest,\r\n 'bank_name': datas.bank_name };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadInvestDescriptionWithData(array_data));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n /** On Key Press Event For Number only Accepting */\r\n keyPress(event: any) {\r\n const pattern = /[0-9\\-\\.\\ ]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 2 :\r\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 3 :\r\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\r\n if (type == 1) { }\r\n else if (type == 2) { }\r\n else if (type == 3) {\r\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\r\n control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 4) {\r\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue('')\r\n }\r\n\r\n }\r\n\r\n\r\n setRequiredValidation(value, ParInx, ChdInx, flag) {\r\n\r\n let ParCtrls = this.AssetsDetailsForm.controls.assets_details;\r\n\r\n let ChdCtrls: any = ParCtrls.controls[ParInx];\r\n\r\n if (flag == 4) {\r\n let Avaliablity = 1;\r\n\r\n if (value.length > 0) {\r\n value.forEach(option => {\r\n if (option.id == 0 && option.group_id == 2) {\r\n Avaliablity = option.id;\r\n }\r\n });\r\n }\r\n if (Avaliablity == 0) {\r\n\r\n\r\n ChdCtrls.controlsother_owner.setValidators([Validators.required]);\r\n this.isOtherOwner[ParInx] = true;\r\n\r\n } else if (Avaliablity == 1) {\r\n\r\n\r\n ChdCtrls.controls.other_owner.setValue('');\r\n ChdCtrls.controls.other_owner.clearValidators();\r\n this.isOtherOwner[ParInx] = false;\r\n\r\n }\r\n\r\n ChdCtrls.controls.other_owner.updateValueAndValidity();\r\n\r\n }\r\n \r\n }\r\n \r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assests/pd-question-assests.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\nimport { PdQuestionRentalInfoPage } from '../pd-question-rental-info/pd-question-rental-info';\r\n\r\n/**\r\n * Generated class for the PdQuestionOtherIncomePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-other-income',\r\n templateUrl: 'pd-question-other-income.html',\r\n})\r\nexport class PdQuestionOtherIncomePage {\r\n\r\n FormId: any;\r\n custSeg: any;\r\n sourceIncome: any;\r\n otherIncomeDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n pdid:any;\r\n incomeEarnedBy:any=[];\r\n amtInWords:any=[];\r\n \r\n frequencyData: any;\r\n otherIncomeForm: FormGroup;\r\n incomeDetails:FormArray;\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n applicants: any=[];\r\n isOrganisationOwner: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider, public constant:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants=this.pdDetails.applicat_details\r\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\r\n this.getFrequency();\r\n this.users = this.aws.getlocale();\r\n\r\n // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=>\r\n // {\r\n // this.one = res;\r\n // if(this.one.dataStatus == true)\r\n // {\r\n // this.one = this.one.records.template_forms;\r\n // let one = this.one.records.template_forms.filter(val=>val.form_id == '17')\r\n // console.log(this.one,one);\r\n // }\r\n\r\n // });\r\n\r\n this.otherIncomeForm = this.fb.group({\r\n other_income: [null],\r\n otherincome_remarks:[null],\r\n income_details: this.fb.array([])\r\n });\r\n \r\n \r\n \r\n //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray\r\n //this.incomeDetails.push(this.createDetail())\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\r\n this.getOtherIncome();\r\n }\r\n\r\n createDetail():FormGroup {\r\n return this.fb.group({\r\n source: [''],\r\n address:[''],\r\n others_source : [''],\r\n income_earned_by:[''],\r\n others_income_earned_by:[''],\r\n amount: [''],\r\n frequency: [''],\r\n others_frequency : ['']\r\n });\r\n}\r\naddIncomeDetails() {\r\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\r\n \r\n this.incomeDetails.push(this.createDetail());\r\n}\r\ndeleteIncomeDetails(index) {\r\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\r\n if(this.incomeDetails.length==1){\r\n // this.otherIncomeForm.controls['income_details'].reset();\r\n this.otherIncomeForm.reset();\r\n this.amtInWords[index]=''\r\n }else{\r\n this.incomeDetails.removeAt(index);\r\n }\r\n}\r\ncheckotherDetails(val)\r\n{\r\n if(val==\"Yes\")\r\n {\r\n this.addIncomeDetails();\r\n }\r\n if(val==\"No\"){\r\n //let length=this.otherIncomeForm.income_details.controls.length\r\n const control= this.otherIncomeForm.controls['income_details'];\r\n control.removeAt(0)\r\n // let len=control.length\r\n // for(let i=0;i{\r\n if(res['dataStatus']==true)\r\n {\r\n this.incomeEarnedBy=res['record'];\r\n }\r\n })\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus==true){\r\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\r\n console.log(this.existCompanyList)\r\n }\r\n let modifyCompanyList:any=[]\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList=this.existCompanyList.map(element=>{\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\r\n \r\n }\r\n let modifyApplicantList:any=[]\r\n if(this.applicants.length>0){\r\n modifyApplicantList=this.applicants.map(element=>{\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n })\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\r\n })\r\n\r\n let master_name = 'FREQUENCY';\r\n this.qustCat.getcommondrop(master_name).subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.frequencyData = data['records'].filter(fre=>fre.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.sourceIncome = res['records'];\r\n }\r\n });\r\n \r\n \r\n}\r\ncompareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n}\r\n\r\ngetOtherOrganisationOwner(value,i) {\r\n //console.log('value',value,'I',i);\r\nlet Ctrls = this.otherIncomeForm.controls['income_details'];\r\n console.log('ParCtrls',Ctrls);\r\nlet ChdCtrls:any = Ctrls.controls[i];\r\n // console.log('ChdCtrls',ChdCtrls);\r\n // return;\r\n\r\n\r\nlet Avaliablity = 1;\r\nconsole.log('val',value);\r\nif(value.length>0){\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n}\r\nif(Avaliablity == 0){\r\n// console.log('if Avaliablity',Avaliablity);\r\nconsole.log(\"chld\",ChdCtrls)\r\n ChdCtrls.controls.others_income_earned_by.setValidators([Validators.required]);\r\n this.isOrganisationOwner[i] = true;\r\n}else if(Avaliablity == 1){\r\n// console.log('else Avaliablity',Avaliablity);\r\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n ChdCtrls.controls.others_income_earned_by.setValue('');\r\n ChdCtrls.controls.others_income_earned_by.clearValidators();\r\n this.isOrganisationOwner[i] = false;\r\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n}\r\n \r\nChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); \r\n}\r\ninWords(val,i){\r\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\r\n}\r\n\r\nToview(){\r\n alert('Rental Income Details - Is inprogress');\r\n \r\n // here Hardcoded;\r\n // let RIFormDtls = {'form_id':17,'form_name':'Rental Verification'};\r\n // this.navCtrl.push(PdQuestionRentalInfoPage,{'FormId':RIFormDtls,'pdDetails':this.pdDetails});\r\n}\r\nsubmitOtherIncome(answerData)\r\n{\r\n \r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.other_income = answerData.other_income;\r\n records.income_details = answerData.income_details;\r\n records.otherincome_remarks = answerData.otherincome_remarks;\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }, error => {\r\n \r\n })\r\n}\r\n\r\ngetOtherIncome()\r\n{\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\r\n this.otherIncomeDetails = res; \r\n if(this.otherIncomeDetails.dataStatus == true)\r\n {\r\n this.otherIncomeDetails = this.otherIncomeDetails.records;\r\n if(this.otherIncomeDetails.other_income=='Yes'){\r\n var incomeArray = Object.keys(res['records'].income_details).map(function(key) {\r\n return res['records'].income_details[key];\r\n\r\n });\r\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\r\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\r\n \r\n \r\n \r\n \r\n if(incomeArray.length==0)\r\n {\r\n // this.incomeDetails.push(this.createDetail());\r\n }else\r\n {\r\n incomeArray.forEach((datas,index)=>\r\n {\r\n \r\n this.incomeDetails.push(this.createDetail());\r\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\r\n this.getOtherOrganisationOwner(datas.income_earned_by,index)\r\n })\r\n }\r\n this.otherIncomeForm.controls['income_details'].setValue(incomeArray);\r\n \r\n }else\r\n {\r\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\r\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\r\n }\r\n }\r\n else{\r\n // this.incomeDetails.push(this.createDetail())\r\n }\r\n })\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","import { Component, OnInit } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionPersonalInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-personal-info',\r\n templateUrl: 'pd-question-personal-info.html',\r\n})\r\nexport class PdQuestionPersonalInfoPage implements OnInit{\r\n\r\n questionDetails: any;\r\n pdDetails: any;\r\n users: any;\r\n _personalForm: FormGroup;\r\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\r\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\r\n relationShipList:any=[];\r\n \r\n form_id:number;\r\n \r\n\r\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\r\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\r\n \r\n public mainApplicantDetails :any=[];\r\n public coApplicantDetails :any=[];\r\n \r\n errorMessage:any;\r\n //coItem:any;\r\n //mainItem:any;\r\n\r\n repeat:number=3;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n // this.getRelationMaster();\r\n \r\n \r\n \r\n }\r\n ngOnInit() {\r\n \r\n this.loadPDDetails();\r\n this.getRelationMaster();\r\n this.mainApplicantDetails = this.pdDetails.applicat_details\r\n .filter(item => item.applicant_type == 1);\r\n this.coApplicantDetails = this.pdDetails.applicat_details\r\n .filter(item => item.applicant_type == 0);\r\n }\r\n\r\n // load form pd details\r\n loadPDDetails(){\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\r\n \r\n this.qustCat.retiverForm(records).subscribe(\r\n data => {\r\n if (data['status'] == 200) {\r\n this.loadFormWithIDData(data['records']);\r\n \r\n }\r\n else{\r\n let defaultMainApp=[];\r\n let defaultCoApp=[];\r\n // generate default main applicant form details\r\n if(this.mainApplicantDetails.length>0){ \r\n for(let j=0;j this.errorMessage = error);\r\n}\r\n\r\nloadDataStatus: boolean = false;\r\n\r\nloadFormWithIDData(data) {\r\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\r\n return data.main_applicant_details[key];\r\n});\r\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\r\n return data.co_applicant_details[key];\r\n});\r\n\r\n // main applicant\r\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\r\n name_ans:new FormControl(item.name_ans, Validators.required),\r\n age_ans:new FormControl(item.age_ans, Validators.required),\r\n entity_ans:new FormControl(item.entity_ans, Validators.required),\r\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\r\n earning_ans:new FormControl(item.earning_ans, Validators.required),\r\n })));\r\n // co applicant\r\n let iterateCoApp=[];\r\n \r\n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\r\n name_ans:new FormControl(item.name_ans, Validators.required),\r\n age_ans:new FormControl(item.age_ans, Validators.required),\r\n entity_ans:new FormControl(item.entity_ans, Validators.required),\r\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\r\n earning_ans:new FormControl(item.earning_ans, Validators.required),\r\n relation_ans:new FormControl(item.relation_ans, Validators.required),\r\n\r\n })));\r\n \r\n this._personalForm = this._fb.group({\r\n pdid:null,\r\n form_id:null,\r\n mainItem: mainApplicantGroup,\r\n coItem: coApplicantGroup,\r\n personal_info_form_remark: [data.personal_info_form_remark]\r\n });\r\n this.loadDataStatus = true;\r\n}\r\n\r\n loadFormData(mainApp,coApp){\r\n // main applicant\r\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\r\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\r\n name_ans:new FormControl(item.applicant_name, Validators.required),\r\n name_id:new FormControl(0),\r\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\r\n age_id:new FormControl(1),\r\n age_ans:new FormControl(null, Validators.required),\r\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\r\n entity_id: new FormControl(2),\r\n entity_ans:new FormControl(null, Validators.required),\r\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\r\n qualification_id: new FormControl(3),\r\n qualification_ans:new FormControl(null, Validators.required),\r\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\r\n earning_id: new FormControl(4),\r\n earning_ans:new FormControl(null, Validators.required),\r\n \r\n })));\r\n // co applicant\r\n let iterateCoApp=[];\r\n \r\n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\r\n name_ques:new FormControl(this.coApplicantQuestions[0]),\r\n name_ans:new FormControl(item.applicant_name, Validators.required),\r\n name_id:new FormControl(0),\r\n age_ques:new FormControl(this.coApplicantQuestions[1]),\r\n age_id:new FormControl(1),\r\n age_ans:new FormControl(null, Validators.required),\r\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\r\n entity_id: new FormControl(2),\r\n entity_ans:new FormControl(null, Validators.required),\r\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\r\n qualification_id: new FormControl(3),\r\n qualification_ans:new FormControl(null, Validators.required),\r\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\r\n earning_id: new FormControl(4),\r\n earning_ans:new FormControl(null, Validators.required),\r\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\r\n relation_id:new FormControl(5),\r\n relation_ans:new FormControl(null, Validators.required),\r\n\r\n })));\r\n \r\n this._personalForm = this._fb.group({\r\n pdid:null,\r\n form_id:null,\r\n mainItem: mainApplicantGroup,\r\n coItem: coApplicantGroup,\r\n personal_info_form_remark:null\r\n });\r\nthis.loadDataStatus = true;\r\n }\r\n\r\n //get pd main applicant array values \r\n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\r\n\r\n // get pd co applicant array values\r\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\r\n\r\n // get relation master details\r\n getRelationMaster(){\r\n let relation =\"RELATIONSHIPS\";\r\n this.qustCat.getcommondrop(relation).subscribe(\r\n data => {\r\n if (data['status'] == 200) {\r\n this.relationShipList=data['records'];\r\n \r\n }\r\n}, error => this.errorMessage = error);\r\n}\r\n\r\n// submit forms details\r\nsubmitPersonalForm(formData:any) {\r\n if(this._personalForm.valid){\r\n let main_applicantDetails:any=[];\r\n let co_applicantDetails:any=[];\r\n\r\n formData.mainItem.forEach((element,key) => {\r\n if(key==0){\r\n main_applicantDetails.push({\r\n \"name_ans\":element.name_ans,\r\n \"age_ans\":element.age_ans,\r\n \"entity_ans\":element.entity_ans,\r\n \"qualification_ans\":element.qualification_ans,\r\n \"earning_ans\":element.earning_ans, \r\n })\r\n }\r\n \r\n });\r\n formData.coItem.forEach((Coelement,Cokey) => {\r\n co_applicantDetails.push({\r\n\r\n \"name_ans\":Coelement.name_ans,\r\n \"age_ans\":Coelement.age_ans,\r\n \"qualification_ans\":Coelement.qualification_ans,\r\n \"entity_ans\":Coelement.entity_ans,\r\n \"earning_ans\":Coelement.earning_ans, \r\n \"relation_ans\":Coelement.relation_ans, \r\n })\r\n \r\n });\r\n\r\n let save_details:any={\r\n \"pdid\" : this.pdDetails.pd_id,\r\n \"formid\" : '341',\r\n \"fk_createdby\":this.users,\r\n \"main_applicant_details\":main_applicantDetails,\r\n \"co_applicant_details\":co_applicantDetails,\r\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\r\n };\r\n this.qustCat.saveForm(save_details).subscribe(result => {\r\n if (result['dataStatus']==true) {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n // this.notifier.notify('success', 'Success.');\r\n }\r\n else {\r\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\r\n }\r\n }, error => {\r\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\r\n });\r\n }\r\n}\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionRentalInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-rental-info',\r\n templateUrl: 'pd-question-rental-info.html',\r\n})\r\nexport class PdQuestionRentalInfoPage {\r\n\r\n users: any;\r\n pdDetails: any;\r\n FormId: any;\r\n rentalForms:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public fb:FormBuilder) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n this.rentalForms = this.fb.group(\r\n {\r\n person_met:[null,Validators.compose([Validators.required])],\r\n property_own:[null,Validators.compose([Validators.required])],\r\n nature_property:[null,Validators.compose([Validators.required])],\r\n nature_others:[null],\r\n rental_home:this.fb.array([])\r\n })\r\n this.getRentalDetails();\r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\r\n }\r\n\r\n createrentalHome()\r\n {\r\n return this.fb.group(\r\n {\r\n complete_add:[null,Validators.compose([Validators.required])],\r\n area_of_property:[null,Validators.compose([Validators.required])],\r\n structure_property:[null,Validators.compose([Validators.required])],\r\n total_room:[null,Validators.compose([Validators.required])],\r\n is_rent:[null,Validators.compose([Validators.required])],\r\n date_agreement:[null,Validators.compose([Validators.required])],\r\n date_validity:[null,Validators.compose([Validators.required])],\r\n rent_agreement:[null,Validators.compose([Validators.required])],\r\n actual_rent:[null,Validators.compose([Validators.required])],\r\n photo_areegment:[null,Validators.compose([Validators.required])],\r\n property_photographs:[null],\r\n bank:[null,Validators.compose([Validators.required])],\r\n cash:[null,Validators.compose([Validators.required])],\r\n rent_each_floor:[null,Validators.compose([Validators.required])],\r\n total_rent:[null,Validators.compose([Validators.required])],\r\n related_doc_owner:[null,Validators.compose([Validators.required])],\r\n details_tenants:this.fb.array([]),\r\n third_party_check:[null,Validators.compose([Validators.required])],\r\n })\r\n }\r\n\r\n createTenantsDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n name:[null,Validators.compose([Validators.required])],\r\n mobile_no:[null,Validators.compose([Validators.required])],\r\n tenants_seen:[null,Validators.compose([Validators.required])],\r\n tenants_con_owner:[null,Validators.compose([Validators.required])],\r\n rent_paid:[null,Validators.compose([Validators.required])],\r\n staying_since:[null,Validators.compose([Validators.required])],\r\n \r\n });\r\n }\r\n\r\n addrentalHome()\r\n {\r\n const control = this.rentalForms.get('rental_home') as FormArray;\r\n control.push(this.createrentalHome());\r\n this.addTenantsDetails(0);\r\n }\r\n\r\n addTenantsDetails(i)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\r\n \r\n // control.controls.splice(0);\r\n control.push(this.createTenantsDetails());\r\n\r\n }\r\n\r\n deleteTenantsDetails(rentIndex,TenantsIndex)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\r\n \r\n control.removeAt(TenantsIndex);\r\n }\r\n\r\n deleterentalHome(i)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']) as FormArray;\r\n if(control.length==1)\r\n {\r\n this.rentalForms.controls['rental_home'].reset();\r\n }else\r\n {\r\n control.removeAt(i);\r\n }\r\n }\r\n saveRentalDetails(answerData)\r\n {\r\n let records:any={}\r\n \r\n \r\n// if(this.rentalForms.valid){\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.person_met = answerData.person_met;\r\n records.property_own = answerData.property_own;\r\n records.nature_property = answerData.nature_property;\r\n if(answerData.nature_property=='others')\r\n {\r\n records.nature_others = answerData.nature_others\r\n }\r\n records.rental_home = answerData.rental_home;\r\n Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\r\n\r\n this.qustCat.saveForm(records).subscribe(res=>\r\n { \r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter All Field');\r\n // }\r\n }\r\n\r\n getRentalDetails()\r\n {\r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let rentalDetails = res['records'];\r\n var rentalData = Object.keys(res['records'].rental_home\r\n ).map(function(key) {\r\n return res['records'].rental_home\r\n [key];\r\n\r\n });\r\n var tanantsData = [];\r\n var control = (this.rentalForms.controls['rental_home']) as FormArray;\r\n var tanantscontrol; \r\n rentalData.forEach((val,index)=>\r\n {\r\n \r\n // this.addrentalHome();\r\n // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\r\n // {\r\n \r\n \r\n // return val.details_tenants[key];\r\n // }));\r\n rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\r\n {\r\n \r\n \r\n return val.details_tenants[key];\r\n });\r\n control.push(this.createrentalHome()); \r\n tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \r\n \r\n rentalData[index].details_tenants.forEach((val,key)=>\r\n {\r\n //rentalData[index].details_tenants = val;\r\n \r\n // rentalData[index].details_tenants = [key];\r\n tanantscontrol.push(this.createTenantsDetails());\r\n });\r\n \r\n // control[index].details_tenants =tanantscontrol; \r\n });\r\n this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\r\n this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\r\n this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\r\n if(rentalDetails.nature_property=='others'){\r\n this.rentalForms.controls['nature_others'].\r\n setValue(rentalDetails.nature_others);\r\n }\r\n \r\n this.rentalForms.controls['rental_home'].setValue(rentalData); \r\n }else\r\n {\r\n this.addrentalHome();\r\n // this.addTenantsDetails(0);\r\n }\r\n })\r\n }\r\n createTenantsDetailswithData(index,data)\r\n {\r\n return this.fb.group(\r\n {\r\n name:[data.name],\r\n mobile_no:[data.mobile_no],\r\n tenants_seen:[data.tenants_seen],\r\n tenants_con_owner:[data.tenants_con_owner],\r\n rent_paid:[data.rent_paid],\r\n staying_since:[data.staying_since]\r\n });\r\n }\r\n\r\n validateAllFormFields(formGroup: any) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n \r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { \r\n this.validateAllFormFields(control);\r\n } else if (control instanceof FormArray) { \r\n this.validateAllFormFields(control);\r\n }\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\r\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\r\nimport { FormatWidth } from '@angular/common';\r\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\r\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\r\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\r\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\r\n\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-info',\r\n templateUrl: 'pd-question-assessed-info.html',\r\n})\r\nexport class PdQuestionAssessedInfoPage {\r\n\r\n grossProfitForm:FormGroup\r\n check__purchse_type:any=[{'id':'1','name':'Yes'},{'id':'2','name':'No'}]\r\n busissnessIncome: any;\r\n mode: any;\r\n grossprofitCalc: any;\r\n houseHold_details: any;\r\n grandHouseExpenseTotal: any;\r\n houseannual: any=[];\r\n businessExpenses_details: any;\r\n grandExpenseTotal: any;\r\n expenseannual: any=[];\r\n businessExpenses: any;\r\n purchse_details: any;\r\n sales_item_month_value: any=[];\r\n sales_wise_month_headers:any = [];\r\n sales_month_wise_data:any = [];\r\n sales_item_value: any;\r\n grandpurchaseTotal: any=null;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n users: any;\r\n pageId: any;\r\n pdDetails: any;\r\n assessedForm:FormGroup;\r\n FormName:any;\r\n annual:any = [];\r\n rawMaterialForm:FormGroup;\r\n BuissnessForm:FormGroup;\r\n houseHoldForm:FormGroup;\r\n activateMarginCalculation:boolean=false\r\n SaleAmtInwords: any=[];\r\n marginAmtInwords: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pageId = this.navParams.get('pageId');\r\n\r\n switch(this.pageId)\r\n {\r\n case 1:\r\n this.FormName = \"Sales Page\";\r\n break;\r\n case 2:\r\n this.FormName = \"Purchase Page\";\r\n break;\r\n case 3:\r\n this.FormName = \"Business Expense Page\";\r\n break;\r\n case 4:\r\n this.FormName = \"House Hold Page\";\r\n break;\r\n default:\r\n this.FormName = \"Question Page\";\r\n break;\r\n }\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n sdc_id:[null],\r\n sales_declared_by_customer:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n margin_per:[null],\r\n margin_value:[null],\r\n isactive:[1],\r\n fk_createdby:[this.users],\r\n \r\n });\r\n this.grossProfitForm=this.fb.group({\r\n calc_type_id:[''],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n mode:['',Validators.compose([Validators.required])],\r\n margin:[''],\r\n })\r\n \r\n \r\n \r\n \r\n // this.getdropList();\r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\r\n }\r\n\r\n\r\n \r\n \r\n\r\n ionViewDidEnter() {\r\n \r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getAssessedDetails(); \r\n }\r\n\r\n\r\n \r\n \r\n changeOptions(values: any){\r\n // console.log('values',values);\r\n this.grossProfitForm.controls['margin'].setValue('');\r\n /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2\r\n * Refer => check_sales_type **/\r\n if(values.mode == 2){\r\n // console.log('2');\r\n this.grossProfitForm.controls['margin'].setValue('2');\r\n }\r\n }\r\n\r\n //PURCHASE DETAILS SUBMIT\r\n // submitDetails(records: any){\r\n // if (this.grossProfitForm.invalid) {\r\n \r\n // this.toast.pdTriggerappmessage(\"Please Check All Manatory Fields..\");\r\n // return;\r\n // }\r\n // // let datas:any;\r\n // // datas=records;\r\n\r\n // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => {\r\n // this.toast.pdTriggerappmessage('Saved Successfully.');\r\n // //this.loadAssessedForms.next('1');\r\n // }, error => {\r\n // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n // // this.loadAssessedForms.next('1');\r\n // });\r\n // } \r\n \r\n\r\n getMarginCalc()\r\n {\r\n \r\n let margin_per = this.assessedForm.controls['margin_per'].value;\r\n console.log(\"Margin Per\",margin_per)\r\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\r\n if(margin_per !=null && sales_declared_by_customer !=null)\r\n {\r\n let value = sales_declared_by_customer * (margin_per/100);\r\n this.assessedForm.controls['margin_value'].setValue(value);\r\n }\r\n }\r\n\r\n saveData(answerData)\r\n {\r\n let records:any = {};\r\n\r\n records ={'records':answerData};\r\n console.log(records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\r\n {\r\n // console.log(res);\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.getAssessedDetails();\r\n }\r\n })\r\n }\r\n salesCalculation(values): void {\r\n if(values.sales_declared_by_customer !=''){this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer);}\r\n if(values.margin_per !='' && values.sales_declared_by_customer !='')\r\n {\r\n \r\n this.assessedForm.controls['margin_value'].setValue(values.sales_declared_by_customer * (values.margin_per/100));\r\n this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per/100));\r\n }\r\n }\r\n \r\n getAssessedDetails()\r\n {\r\n this.sales_item_month_value = [];\r\n this.sales_month_wise_data = [];\r\n this.sales_item_value= [];\r\n let records = {'pd_id':this.pdDetails.pd_id};\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let sales_value = res['records'].sales_declared_by_customer[0];\r\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\r\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\r\n this.purchse_details = res['records'].purchase_details; \r\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]\r\n this.mode = this.grossprofitCalc.mode;\r\n\r\n var lenOfGrossProfit=res['records'].gross_profit_calculation_type.length\r\n console.log(\"len\",lenOfGrossProfit)\r\n this.activateMarginCalculation=res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].margin==2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].mode ==2 ?true : false\r\n console.log(this.activateMarginCalculation);\r\n var result = this.purchse_details.reduce(function(p, c) {\r\n \r\n return p;\r\n },[]);\r\n console.log(result);\r\n\r\n\r\n this.businessExpenses_details = res['records'].business_expenses;\r\n this.houseHold_details = res['records'].house_hold_expenses;\r\n this.busissnessIncome = res['records'].othre_business_income;\r\n // console.log(this.sales_item_month_value);\r\n // this.getpurchaseDetails(this.purchse_details);\r\n \r\n \r\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross)\r\n\r\n // const control=this.grossProfitForm['controls']\r\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode);\r\n // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin)\r\n // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id)\r\n \r\n \r\n \r\n \r\n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\r\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\r\n let listItems: any=[];\r\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\r\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\r\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\r\n })\r\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\r\n \r\n let convertYear : number = 12 / listItems.length;\r\n let footerMessage: any=[];\r\n footerMessage.push({\r\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\r\n month_value:calculateAllItemsTotal,\r\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\r\n year_value: calculateAllItemsTotal * convertYear,\r\n })\r\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id});\r\n });\r\n\r\n\r\n console.log(this.sales_month_wise_data);\r\n if(sales_value!==undefined){\r\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\r\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\r\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\r\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\r\n \r\n }\r\n \r\n }\r\n })\r\n\r\n }\r\n grossProfitWithData(data:any){\r\n return this.fb.group({\r\n calc_type_id:[data.calc_type_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n company_id:[data.company_id],\r\n mode:[data.mode],\r\n margin:[data.margin],\r\n})\r\n }\r\n /**\r\n * Add Assessed Forms\r\n */\r\n\r\n AddAssessedForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'margin_calculation_status':this.activateMarginCalculation}); \r\n \r\n }\r\n\r\n editDetails(salesCal)\r\n {\r\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\r\n console.log(salesData);\r\n // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'margin_calculation_status':this.activateMarginCalculation}); \r\n \r\n }\r\n editAllDetails(AllsalesData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'margin_calculation_status':this.activateMarginCalculation}); \r\n }\r\n\r\n /**Assessed Daily Form Details */\r\n\r\n AddAssessedDailyForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'margin_calculation_status':this.activateMarginCalculation})\r\n }\r\n editAssessedDailyForm(simId)\r\n {\r\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\r\n console.log(dailySaleDetails);\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'margin_calculation_status':this.activateMarginCalculation})\r\n \r\n }\r\n\r\n /**purchase Details Forms */\r\n AddPurchaseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \r\n \r\n }\r\n\r\n editPurchaseDetails(purchaseCal)\r\n {\r\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \r\n \r\n }\r\n editPurchaseAllDetails(AllpurchaseData)\r\n {\r\n console.log('260',AllpurchaseData);\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \r\n }\r\n \r\n\r\n /**Business Expense */\r\n AddExpenseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \r\n \r\n }\r\n\r\n editExpenseDetails(expenseCal)\r\n {\r\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \r\n \r\n }\r\n editExpenseAllDetails(AllexpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \r\n }\r\n \r\n\r\n /** Household Expenses Details */\r\n AddHouseExpenseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \r\n \r\n }\r\n\r\n editHouseExpenseDetails(expenseCal)\r\n {\r\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \r\n \r\n }\r\n editHouseExpenseAllDetails(AllExpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \r\n }\r\n\r\n /**\r\n * Income Details\r\n */\r\n AddIncomeForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \r\n \r\n }\r\n\r\n editIncomeDetails(expenseCal)\r\n {\r\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \r\n \r\n }\r\n editIncomeAllDetails(AllexpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \r\n }\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedSalesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-sales',\r\n templateUrl: 'pd-question-assessed-sales.html',\r\n})\r\nexport class PdQuestionAssessedSalesPage {\r\n\r\n grossprofitCalc: any;\r\n salesData: any =[];\r\n annual: any=[];\r\n grandTotal: any;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n assessedForm: FormGroup;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n annualSaleAmtInwords: any=[];\r\n marginAmtInwords: any=[];\r\n marginFinalAmtInwords:any =[];\r\n ratePerUnitAmtInwords: any=[];\r\n margin_calculation_status:any=[]\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n //this.grossprofitCalc = this.navParams.get('grossprofit');\r\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n \r\n salesCalItemwise:this.fb.array([]),\r\n });\r\n this.salesData = this.navParams.get('sales');\r\n if(this.salesData!=null)\r\n {\r\n this.getSalesItemData(this.salesData);\r\n }else\r\n {\r\n this.addSalesCal();\r\n }\r\n // this.addSalesCal();\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\r\n }\r\n\r\n getdropList()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\r\n }\r\n });\r\n }\r\n\r\n createSalesCal()\r\n {\r\n return this.fb.group(\r\n {\r\n sci_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n\r\n sales_item:[null,Validators.compose([Validators.required])],\r\n sales_qty:[null,Validators.compose([Validators.required])],\r\n fk_uom_id:[null,Validators.compose([Validators.required])],\r\n rate_per_unit:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_sale_value:[null],\r\n margin_per:[null],\r\n margin_per_uom:[null],\r\n margin_final_value:[null],\r\n comments:[null]\r\n });\r\n }\r\n\r\n addSalesCal()\r\n {\r\n if(this.assessedForm.valid){\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n control.push(this.createSalesCal());\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the all fields');\r\n }\r\n }\r\n \r\n removeSalesCal(i)\r\n {\r\n this.annual.splice(i,1);\r\n \r\n // this.annual[i].spl\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n console.log(this.grandTotal);\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n if(control.length==1)\r\n {\r\n control.removeAt(i);\r\n this.addSalesCal(); \r\n } else{\r\n control.removeAt(i);\r\n }\r\n }\r\n /**\r\n * frequency Type \r\n * 1.Weekly no need\r\n * 2.Daily 250\r\n * 3.Yearly \r\n * 4.Hourly no need\r\n * 5.Monthly 12\r\n * 6.none\r\n * 7.none\r\n * 8.none\r\n */\r\n salecalculat(indexVal,values)\r\n {\r\n // console.log(\"Det\",details);\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let salesQty = details.value.sales_qty;\r\n // let UOM = details.value.rate_per_unit;\r\n // // console.log(frequencyId,salesQty,UOM,index);\r\n // // console.log(frequencyId);\r\n // let annual\r\n // if(salesQty!=null && UOM!=null){\r\n // if(frequencyId==1)\r\n // {\r\n\r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (salesQty*UOM*250);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_sale_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (salesQty*UOM);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_sale_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (salesQty*UOM*12);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_sale_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n\r\n // }else if(frequencyId==7)\r\n // {\r\n\r\n // }else if(frequencyId==8)\r\n // {\r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n // }else\r\n // {\r\n // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\r\n // }\r\n \r\n \r\n \r\n \r\n // console.log(this.annual);\r\n\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n if(values.rate_per_unit!=''&& values.rate_per_unit != null ){\r\n console.log(\"Rate Per value\",values.rate_per_unit);\r\n this.inWords(values.rate_per_unit,indexVal,4)\r\n }\r\n \r\n if(values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\r\n console.log(\"Frequency\",values.fk_frequency_id);\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n let AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)\r\n control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(AnnualSalesValue,indexVal,1)\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\r\n }\r\n if(this.margin_calculation_status===true) {\r\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\r\n }\r\n }\r\n salesMarginPerCalculation(indexVal: number,values: any): void {\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\r\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\r\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\r\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_final_value'].setValue('');\r\n }\r\n }\r\n salesMarginAmtCalculation(indexVal: number,values: any): void {\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n control.controls[indexVal].controls['margin_per'].setValue('');\r\n if(values.margin_per_uom!='' && values.margin_per_uom != null){\r\n this.inWords(values.margin_per_uom,indexVal,2)\r\n }\r\n \r\n if(values.margin_per_uom!='' && values.sales_qty!='' && values.margin_per_uom!=null && values.sales_qty!=null) {\r\n let MarginFinalValue = parseInt(values.sales_qty) * parseInt(values.margin_per_uom);\r\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.sales_qty) * parseInt(values.margin_per_uom));\r\n this.inWords(MarginFinalValue,indexVal,3)\r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_final_value'].setValue('');\r\n }\r\n }\r\n getSalesCalc(indexVal,values)\r\n {\r\n // // console.log(details);\r\n // let margin_per = details.value.margin_per;\r\n // let margin_amount = details.value.margin_per_uom;\r\n // let annual_sale_value = details.value.annual_sale_value;\r\n // let sales_qty = details.value.sales_qty;\r\n // // console.log(sales_qty,margin_amount);\r\n // let value:any = '';\r\n // if(margin_per !=null || margin_amount !=null){\r\n // if(margin_per !=null)\r\n // {\r\n // value = +annual_sale_value * (+margin_per/100);\r\n // }else\r\n // {\r\n // console.log('else');\r\n // value = +sales_qty* +margin_amount;\r\n // }\r\n // console.log(value);\r\n // details.controls['margin_final_value'].setValue(value);\r\n // }\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\r\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\r\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\r\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_final_value'].setValue('');\r\n }\r\n }\r\n \r\n inWords(value,inx,flag){\r\n switch(flag){\r\n case 1 : \r\n this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n case 2 : \r\n this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n case 3 : \r\n this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n case 4 : \r\n console.log(\"Rate\",value);\r\n this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n default:break;}\r\n }\r\n saveData(answerData)\r\n {\r\n let records = {'records':answerData.salesCalItemwise};\r\n console.log(records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n })\r\n }\r\n \r\n getSalesItemData(salesData)\r\n {\r\n console.log(salesData);\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n\r\n salesData.forEach((sale,index)=>{\r\n \r\n this.annual[index] = sale.annual_sale_value\r\n control.push(this.createSaleswithData(sale));\r\n\r\n this.ratePerUnitAmtInwords[index]=this.cons.convertNumberToWords(sale.rate_per_unit)\r\n this.annualSaleAmtInwords[index]=this.cons.convertNumberToWords(sale.annual_sale_value)\r\n this.marginAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_per_uom)\r\n this.marginFinalAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_final_value)\r\n })\r\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\r\n // console.log(control);\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n }\r\n\r\n createSaleswithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n sci_id:[data.sci_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\r\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\r\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\r\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_sale_value:[data.annual_sale_value],\r\n margin_per:[data.margin_per],\r\n margin_per_uom:[data.margin_per_uom],\r\n margin_final_value:[data.margin_final_value],\r\n comments:[data.comments]\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\nimport {DatePipe} from '@angular/common'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDailySalesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-daily-sales',\r\n templateUrl: 'pd-question-assessed-daily-sales.html',\r\n})\r\nexport class PdQuestionAssessedDailySalesPage {\r\n pipe = new DatePipe('en-US');\r\n\r\n currentDate: string;\r\n grossprofitCalc: any;\r\n salesDaily: any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n salesDailyForm: FormGroup;\r\n margin_calculation_status:any\r\n Value: any=[];\r\n marginAmtInwords: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.salesDaily = this.navParams.get('salesDaily');\r\n // this.grossprofitCalc = this.navParams.get('grossprofit');\r\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\r\n this.users = this.aws.getlocale();\r\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\r\n \r\n this.salesDailyForm = this.fb.group(\r\n {\r\n sales_product: this.fb.array([]),\r\n })\r\n if (this.salesDaily != null) {\r\n this.getDailySalesData(this.salesDaily);\r\n } else {\r\n this.adddailySalaesProduct();\r\n\r\n }\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\r\n }\r\n\r\n createdailysalesProduct() {\r\n return this.fb.group(\r\n {\r\n sim_id: [null],\r\n sales_item: [null, Validators.compose([Validators.required])],\r\n child: this.fb.array([]),\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n margin_per: [null],\r\n margin_value: [null],\r\n comments:[null],\r\n fk_createdby: [this.users],\r\n isactive: ['1'],\r\n });\r\n }\r\n createdailyChildSaleProduct() {\r\n return this.fb.group({\r\n simc_id: [null],\r\n fk_sim_id: [null],\r\n sales_date: [null, Validators.compose([Validators.required])],\r\n sales_value: [null, Validators.compose([Validators.required])],\r\n isactive: ['1'],\r\n })\r\n }\r\n temparr = [];\r\n tempdate = [];\r\n getSalesCalc(subchild,child,key) {\r\n \r\n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\r\n let totalitemmargin = child.value.margin_per;\r\n \r\n if (totalitemmargin != null && subchild.value.sales_value !=null) {\r\n let loopAccess = false;\r\n let loopindex = 0;\r\n if (this.tempdate.length != 0) {\r\n for (var i = 0; i < this.tempdate.length; i++) {\r\n\r\n if (this.tempdate[i].month == saledate) {\r\n loopAccess = true;\r\n loopindex = i;\r\n }\r\n }\r\n\r\n if (loopAccess) {\r\n\r\n \r\n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\r\n this.temparr.push(subchild.value.sales_value);\r\n loopAccess = false;\r\n loopindex = 0;\r\n \r\n } else {\r\n \r\n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\r\n }\r\n\r\n\r\n } else {\r\n \r\n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\r\n this.temparr.push(subchild.value.sales_value);\r\n }\r\n\r\n let totalMonth = 12 / this.tempdate.length;\r\n \r\n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\r\n \r\n // let value = tempgrandTotal * (totalitemmargin / 100);\r\n let value = tempgrandTotal*totalMonth ;\r\n \r\n let grandValue = value * (totalitemmargin / 100);\r\n child.controls['margin_value'].setValue(grandValue);\r\n \r\n }\r\n \r\n }\r\n salesCalculation(indexVal: number,values: any): void {\r\n console.log(\"Date check\",values)\r\n if(this.margin_calculation_status===true){\r\n let control:any = this.salesDailyForm.controls['sales_product'];\r\n if(values.child.length>0 && values.margin_per!=''){\r\n let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{\r\n mval.custum_date = this.pipe.transform(mval.sales_date, 'yyyy-MM');\r\n console.log(mval);\r\n return mval;\r\n });\r\n if(transformData.length>0) {\r\n let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\r\n .filter((fVal,fIndex,fArray)=>{\r\n return fIndex === fArray.indexOf(fVal);\r\n });\r\n let getTotalValueCounts = transformData.map(val=>val.sales_value)\r\n .reduce((sum, curr) => parseInt(sum) + parseInt(curr));\r\n control.controls[indexVal].controls['margin_value'].setValue(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)));\r\n this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)),indexVal,2);\r\n }\r\n else{\r\n \r\n control.controls[indexVal].controls['margin_value'].setValue('');\r\n \r\n }\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_value'].setValue('');\r\n \r\n }\r\n }\r\n \r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.constant.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.marginAmtInwords[c] = this.constant.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n adddailySalaesProduct() {\r\n this.tempdate = [];\r\n if (this.salesDailyForm.valid) {\r\n const control = this.salesDailyForm.get('sales_product') as FormArray;\r\n control.push(this.createdailysalesProduct());\r\n \r\n this.adddailyChildSaleProduct(control.length - 1);\r\n }\r\n }\r\n adddailyChildSaleProduct(index) {\r\n // if(this.salesDailyForm.valid){\r\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\r\n\r\n control.push(this.createdailyChildSaleProduct());\r\n // }\r\n }\r\n\r\n deletedailySalesProduct(index) {\r\n \r\n this.tempdate.slice(index,1);\r\n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\r\n if (control.length == 1) {\r\n this.salesDailyForm.controls['sales_product'].reset();\r\n } else {\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n deletedailyChildSaleProduct(saleIndex, saleChildIndex) {\r\n this.tempdate = [];\r\n const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\r\n if(control.length==1)\r\n {\r\n control.removeAt(saleChildIndex);\r\n this.adddailyChildSaleProduct(saleIndex); \r\n }else{\r\n control.removeAt(saleChildIndex);\r\n }\r\n }\r\n saveData(answerData) {\r\n if (this.salesDailyForm.valid) {\r\n let records = { 'records': answerData.sales_product };\r\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\r\n if (res['dataStatus'] == true) {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n });\r\n }\r\n\r\n\r\n }\r\n getDailySalesData(dailySalesData) {\r\n \r\n const control = this.salesDailyForm.get('sales_product') as FormArray;\r\n let salesChildControl;\r\n let salesChildControlarr = [];\r\n dailySalesData.forEach((val, index) => {\r\n\r\n control.push(this.dailySalesWithData(val));\r\n this.marginAmtInwords[index]=this.constant.convertNumberToWords(val.margin_value)\r\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\r\n\r\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\r\n\r\n salesChildControlarr[index].forEach((vals, i) => {\r\n vals.forEach((item, key) => {\r\n let saleDate = new Date(item.sales_date);\r\n\r\n item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() + 1)).slice(-2);\r\n //console.log(\"sale data\",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy')))\r\n console.log(\"sale\",item.sales_date)\r\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id));\r\n this.Value[key]=this.constant.convertNumberToWords(item.sales_value)\r\n })\r\n\r\n\r\n\r\n });\r\n\r\n });\r\n }\r\n\r\n dailySalesWithData(data) {\r\n\r\n return this.fb.group(\r\n {\r\n sim_id: [data.sim_id],\r\n sales_item: [data.sales_item, Validators.compose([Validators.required])],\r\n child: this.fb.array([]),\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n fk_createdby: [this.users],\r\n isactive: ['1'],\r\n margin_per: [data.margin_per],\r\n margin_value: [data.margin_value],\r\n comments:[data.comments]\r\n })\r\n }\r\n dailySalesChildWithData(data, fk_id) {\r\n\r\n\r\n return this.fb.group(\r\n {\r\n simc_id: [data.simc_id],\r\n fk_sim_id: [fk_id],\r\n sales_date: [data.sales_date, Validators.compose([Validators.required])],\r\n // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])],\r\n sales_value: [data.sales_value, Validators.compose([Validators.required])],\r\n isactive: ['1'],\r\n })\r\n\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedPurchasePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-purchase',\r\n templateUrl: 'pd-question-assessed-purchase.html',\r\n})\r\nexport class PdQuestionAssessedPurchasePage {\r\n purchaseDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n businessExpenses: any;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n annual: any = [];\r\n grandpurchaseTotal: any;\r\n rawMaterialForm:FormGroup;\r\n RateOfPurchase: any=[];\r\n AnnualPurchase: any=[];\r\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.purchaseDetails = this.navParams.get('purchase');\r\n console.log(\"purchase\",this.purchaseDetails)\r\n console.log(\"pd\",this.pdDetails);\r\n this.users = this.aws.getlocale();\r\n this.rawMaterialForm = this.fb.group(\r\n {\r\n purchase:this.fb.array([]),\r\n });\r\n \r\n if(this.purchaseDetails!=null)\r\n {\r\n this.getpurchaseDetails(this.purchaseDetails);\r\n }else\r\n {\r\n this.addPurchaseDetails();\r\n }\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\r\n }\r\n\r\n\r\n createPurchaseDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n purchase_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n purchase_item:[null,Validators.compose([Validators.required])],\r\n purchase_qty:[null,Validators.compose([Validators.required])],\r\n fk_uom_id:[null,Validators.compose([Validators.required])],\r\n uom_other:[null],\r\n rate_per_unit:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_purchase_value:[null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n\r\n getdropList()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\r\n }\r\n })\r\n }\r\n addPurchaseDetails()\r\n {\r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\r\n control.push(this.createPurchaseDetails());\r\n }\r\n\r\n deletePurchaseDetails(i)\r\n {\r\n this.annual.splice(i,1);\r\n \r\n // this.annual[i].spl\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\r\n control.removeAt(i); \r\n }\r\n\r\n\r\n purchaseCalculation(indexVal,values)\r\n {\r\n\r\n let control:any = this.rawMaterialForm.controls['purchase'];\r\n if(values.purchase_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.purchase_qty!=null && values.rate_per_unit!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_purchase_value'].setValue(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n\r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_purchase_value'].setValue(null);\r\n }\r\n // console.log(this.grandpurchaseTotal);\r\n // console.log(details,index);\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let purchaseQty = details.value.purchase_qty;\r\n // let UOM = details.value.rate_per_unit;\r\n // console.log(frequencyId,purchaseQty,UOM,index);\r\n // // console.log(frequencyId);\r\n // let annual\r\n // if(purchaseQty!=null && UOM!=null){\r\n // if(frequencyId==1)\r\n // {\r\n\r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (purchaseQty*UOM*250);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_purchase_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (purchaseQty*UOM);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_purchase_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (purchaseQty*UOM*12);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_purchase_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n\r\n // }else if(frequencyId==7)\r\n // {\r\n\r\n // }else if(frequencyId==8)\r\n // {\r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\r\n // }\r\n }\r\n savepurchaseData(answerData)\r\n {\r\n if(this.rawMaterialForm.valid){\r\n let records = {'records':answerData.purchase};\r\n console.log('data',records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.getAssessedDetails();\r\n \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter All Field');\r\n }\r\n }\r\n\r\n getpurchaseDetails(purchaseDetails)\r\n {\r\n console.log('function in',purchaseDetails);\r\n \r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \r\n console.log(control); \r\n if(purchaseDetails.length ==0)\r\n {\r\n console.log('if');\r\n this.addPurchaseDetails();\r\n }else{\r\n console.log('else');\r\n purchaseDetails.forEach((val,index)=>\r\n {\r\n // console.log(index);\r\n control.push(this.createPurchasewithData(val));\r\n this.annual[index] = val.annual_purchase_value;\r\n });\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\r\n }\r\n // console.log(control); \r\n \r\n }\r\n\r\n createPurchasewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n purchase_id:[data.purchase_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\r\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\r\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\r\n uom_other:[data.uom_other],\r\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.RateOfPurchase[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualPurchase[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n/**\r\n * Generated class for the PdQuestionAssessedBusinessPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-business',\r\n templateUrl: 'pd-question-assessed-business.html',\r\n})\r\nexport class PdQuestionAssessedBusinessPage {\r\n m_freqOfPurchase: any;\r\n expenseDetails: any;\r\n Value: any=[];\r\n AnnualExpenses: any=[];\r\n grandpurchaseTotal(arg0: any): any {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n grandExpenseTotal: any=[];\r\n expenseannual: any=[];\r\n users: any;\r\n pdDetails: any;\r\n BuissnessForm:FormGroup;\r\n businessExpenses:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.expenseDetails = this.navParams.get('expense');\r\n this.users = this.aws.getlocale();\r\n this.BuissnessForm = this.fb.group(\r\n {\r\n busExpense:this.fb.array([]),\r\n });\r\n\r\n if(this.expenseDetails!=null)\r\n {\r\n this.getBuisnessExpenses(this.expenseDetails);\r\n }else\r\n {\r\n this.addBusinessDetails();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n \r\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\r\n } \r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\r\n }\r\n\r\n\r\n createBusinessDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n pd_expense_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n expense_item_id:[null,Validators.compose([Validators.required])],\r\n expense_value:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_expenses_value:[null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n\r\n\r\n businessCalculation(indexVal: number,values: any): void {\r\n let control:any = this.BuissnessForm.controls['busExpense'];\r\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_expenses_value'].setValue(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_expenses_value'].setValue(null);\r\n }\r\n }\r\n \r\n addBusinessDetails()\r\n {\r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\r\n control.push(this.createBusinessDetails());\r\n }\r\n\r\n deleteBuisnessDetails(i)\r\n {\r\n this.expenseannual.splice(i,1); \r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n \r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\r\n control.removeAt(i);\r\n }\r\n\r\n busExpensecalculat(index,details)\r\n {\r\n \r\n \r\n let frequencyId = details.value.fk_frequency_id;\r\n let expenseValue = details.value.expense_value;\r\n let UOM = details.value.rate_per_unit;\r\n \r\n let annual\r\n if(expenseValue!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (expenseValue*250);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual); \r\n this.inWords(annual,index,2) \r\n }else if(frequencyId==3)\r\n {\r\n annual = (expenseValue);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual);\r\n this.inWords(annual,index,2)\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (expenseValue*12);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual);\r\n this.inWords(annual,index,2)\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n }\r\n }\r\n\r\n saveBusinessData(answerData)\r\n {\r\n \r\n if(this.BuissnessForm.valid){\r\n let records = {'records':answerData.busExpense};\r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n \r\n }\r\n\r\n getBuisnessExpenses(expenseDetails)\r\n {\r\n if(expenseDetails.length==0)\r\n {\r\n this.addBusinessDetails();\r\n }else\r\n {\r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \r\n expenseDetails.forEach((val,index)=>\r\n {\r\n this.expenseannual[index] = val.annual_expenses_value;\r\n control.push(this.createBusinessExpensewithData(val));\r\n if(val.expense_value != null){\r\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\r\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expenses_value)\r\n }\r\n })\r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createBusinessExpensewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_expense_id:[data.pd_expense_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\r\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedHouseholdPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-household',\r\n templateUrl: 'pd-question-assessed-household.html',\r\n})\r\nexport class PdQuestionAssessedHouseholdPage {\r\n\r\n m_freqOfPurchase: any;\r\n expenseDetails: any;\r\n houseExpenseDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n houseannual: any =[];\r\n grandHouseExpenseTotal: any=[];\r\n houseHoldForm:FormGroup;\r\n Value: any=[];\r\n AnnualExpenses: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.houseExpenseDetails = this.navParams.get('FormId');\r\n this.expenseDetails = this.navParams.get('expense');\r\n this.users = this.aws.getlocale();\r\n this.houseHoldForm = this.fb.group(\r\n {\r\n houseExpense:this.fb.array([]),\r\n });\r\n if(this.expenseDetails !=null)\r\n {\r\n this.getHouseholdExpense(this.expenseDetails);\r\n }else\r\n {\r\n this.addHouseExpenses();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n createHouseExpense()\r\n {\r\n return this.fb.group(\r\n {\r\n household_expense_id:[null],\r\n\t\t fk_pd_id:[this.pdDetails.pd_id] ,\r\n\t\t expense_item: [null,Validators.compose([Validators.required])],\r\n\t\t expense_value: [null,Validators.compose([Validators.required])],\r\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\r\n annual_expense_value: [null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n\t\t isactive: [\"1\"],\r\n\t\t fk_createdby: [this.users]\r\n })\r\n }\r\n\r\n addHouseExpenses()\r\n {\r\n \r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\r\n\r\n control.push(this.createHouseExpense());\r\n }\r\n\r\n deleteHouseExpense(i)\r\n {\r\n this.houseannual.splice(i,1); \r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\r\n control.removeAt(i) \r\n }\r\n houseExpensecalculat(indexVal,values)\r\n {\r\n\r\n let control:any = this.houseHoldForm.controls['houseExpense'];\r\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_expense_value'].setValue(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_expense_value'].setValue(null);\r\n }\r\n \r\n //OLD CALCULATION\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let expenseValue = details.value.expense_value;\r\n // // let UOM = details.value.rate_per_unit;\r\n // // console.log(frequencyId,purchaseQty,UOM,index);\r\n // // console.log(details);\r\n // let annual\r\n // if(expenseValue!=null){\r\n // if(frequencyId==1)\r\n // {\r\n\r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (expenseValue*250);\r\n // this.houseannual[index] = annual;\r\n // details.controls['annual_expense_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (expenseValue);\r\n // this.houseannual[index] = annual;\r\n // details.controls['annual_expense_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (expenseValue*12);\r\n // this.houseannual[index] = annual;\r\n // details.controls['annual_expense_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n\r\n // }else if(frequencyId==7)\r\n // {\r\n\r\n // }else if(frequencyId==8)\r\n // {\r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n // console.log(this.grandHouseExpenseTotal); \r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n // }\r\n }\r\n saveHouseExpenseData(answerData)\r\n {\r\n if(this.houseHoldForm.valid)\r\n {\r\n let records = {'records':answerData.houseExpense};\r\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\r\n { \r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n }\r\n\r\n getHouseholdExpense(houseExpesneDetails)\r\n {\r\n if(houseExpesneDetails.length==0)\r\n {\r\n this.addHouseExpenses(); \r\n }else\r\n {\r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \r\n houseExpesneDetails.forEach((val,index)=>\r\n {\r\n this.houseannual[index] = val.annual_expense_value;\r\n control.push(this.createHouseholdwithData(val));\r\n if(val.expense_value != null){\r\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\r\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expense_value)\r\n }\r\n \r\n });\r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createHouseholdwithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n household_expense_id:[data.household_expense_id],\r\n\t\t fk_pd_id:[this.pdDetails.pd_id] ,\r\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\r\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\r\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n\t\t isactive: [\"1\"],\r\n\t\t fk_createdby: [this.users]\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedBusinessIncomePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-business-income',\r\n templateUrl: 'pd-question-assessed-business-income.html',\r\n})\r\nexport class PdQuestionAssessedBusinessIncomePage {\r\n m_freqOfPurchase: any = [];\r\n expenseDetails: any;\r\n \r\n grandIncomeTotal: any=[];\r\n incomeannual: any=[];\r\n users: any;\r\n pdDetails: any;\r\n BuissnessForm:FormGroup;\r\n businessIncome:any;\r\n Value: any=[];\r\n AnnualExpenses: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.expenseDetails = this.navParams.get('income');\r\n \r\n this.users = this.aws.getlocale();\r\n this.BuissnessForm = this.fb.group(\r\n {\r\n busIncome:this.fb.array([]),\r\n });\r\n\r\n if(this.expenseDetails!=null)\r\n {\r\n this.getBuisnessExpenses(this.expenseDetails);\r\n }else\r\n {\r\n this.addBusinessDetails();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n \r\n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\r\n } \r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\r\n }\r\n createBusinessDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n pd_business_income_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n business_income_id:[null,Validators.compose([Validators.required])],\r\n income_value:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_income_value:[null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n isactive:['1'],\r\n fk_createdby:[this.users],\r\n other_income_item:[null],\r\n other_frequncy_item:[null],\r\n })\r\n }\r\n\r\n addBusinessDetails()\r\n {\r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\r\n control.push(this.createBusinessDetails());\r\n }\r\n\r\n deleteBuisnessDetails(i)\r\n {\r\n this.incomeannual.splice(i,1); \r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n \r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\r\n control.removeAt(i);\r\n }\r\n\r\n busIncomecalculate(indexVal,values)\r\n {\r\n let control:any = this.BuissnessForm.controls['busIncome'];\r\n if(values.income_value!='' && values.fk_frequency_id!='' && values.income_value!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n\r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_income_value'].setValue('');\r\n }\r\n //OLD CALCULATION\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let incomeValue = details.value.income_value;\r\n // // let UOM = details.value.rate_per_unit;\r\n \r\n // let annual:any;\r\n // if(incomeValue!=null && incomeValue !=null){\r\n // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \r\n // if(frequencyId==1)\r\n // {\r\n \r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual);\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==7)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==8)\r\n // {\r\n // annual = (incomeValue);\r\n // this.incomeannual[index] = annual; \r\n // details.controls['annual_income_value'].setValue(annual); \r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n // }\r\n }\r\n\r\n saveBusinessData(answerData)\r\n {\r\n \r\n if(this.BuissnessForm.valid){\r\n let records = {'records':answerData.busIncome};\r\n \r\n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n \r\n }\r\n\r\n getBuisnessExpenses(expenseDetails)\r\n {\r\n if(expenseDetails.length==0)\r\n {\r\n this.addBusinessDetails();\r\n }else\r\n {\r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \r\n expenseDetails.forEach((val,index)=>\r\n {\r\n this.incomeannual[index] = val.annual_income_value;\r\n control.push(this.createBusinessExpensewithData(val));\r\n if(val.income_value != null){\r\n this.Value[index]=this.cons.convertNumberToWords(val.income_value)\r\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_income_value)\r\n }\r\n })\r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createBusinessExpensewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_business_income_id:[data.pd_business_income_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\r\n income_value:[data.income_value,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n isactive:['1'],\r\n fk_createdby:[this.users],\r\n other_income_item:[data.other_income_item],\r\n other_frequncy_item:[data.other_frequncy_item],\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\n\n/**\n * Generated class for the PdQuestionAssessedSummaryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-summary',\n templateUrl: 'pd-question-assessed-summary.html',\n})\nexport class PdQuestionAssessedSummaryPage {\n\n constructor(public navCtrl: NavController, public navParams: NavParams) {\n }\n\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSummaryPage');\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionLenderRepresentativePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-lender-representative',\r\n templateUrl: 'pd-question-lender-representative.html',\r\n})\r\nexport class PdQuestionLenderRepresentativePage {\r\n\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n representativeForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.users = this.aws.getlocale();\r\n this.representativeForm = this.fb.group({\r\n pdid:[this.pdDetails.pd_id],\r\n formid:[this.FormId.form_id],\r\n fk_createdby:[this.users],\r\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\r\n representative_remarks: ['', Validators.compose([Validators.required])],\r\n lender_representative_details: this.fb.array([]),\r\n });\r\n this.getLenderReDetails();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\r\n }\r\n \r\n createlenReDetails()\r\n {\r\n return this.fb.group({\r\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\r\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\r\n });\r\n }\r\n\r\n selectedLoanChanges(e): void {\r\n if (e.value == 'Yes') {\r\n const control = this.representativeForm.controls['lender_representative_details'];\r\n control.push(this.createlenReDetails());\r\n } else if (e.value == 'No') {\r\n const arr = this.representativeForm.controls.lender_representative_details;\r\n arr.removeAt(0);\r\n }\r\n }\r\n\r\n sumbitData(answerData)\r\n { \r\n if(this.representativeForm.valid)\r\n {\r\n let records = this.representativeForm.value;\r\n \r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n });\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter All Field');\r\n }\r\n }\r\n\r\n getLenderReDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let lenderReDetails = res['records'];\r\n if(lenderReDetails.lender_representative_accompany=='Yes'){\r\n\r\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\r\n\r\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\r\n\r\n\r\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\r\n {\r\n return res['records'].lender_representative_details[key];\r\n });\r\n \r\n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \r\n lender_represent_details.forEach(val=>\r\n {\r\n control.push(this.createlenReDetails());\r\n })\r\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\r\n\r\n }else\r\n {\r\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\r\n\r\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\r\n }\r\n }\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","import { Component,ViewChild,ElementRef } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\r\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\r\nimport { DatePipe} from '@angular/common';\r\nimport {PdPipe} from './../../../pipes/pd/pd';\r\nimport { removeSummaryDuplicates } from '@angular/compiler';\r\nimport { DataSource } from '@angular/cdk/table';\r\n\r\n/**\r\n * Generated class for the PdQuestionGeneralInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-general-info',\r\n templateUrl: 'pd-question-general-info.html',\r\n providers:[PdPipe],\r\n})\r\nexport class PdQuestionGeneralInfoPage {\r\n pipe=new DatePipe('en-US');\r\n // person_name:any;\r\n qualification_name:any;\r\n individuals_order_id:any;\r\n is_new:any;\r\n pd_co_applicant_id:any;\r\n lengthv:any;\r\n qual_name:any;\r\n curr_qualification_name;\r\n curr_business_name;\r\n \r\n\r\n applicant_name: any;\r\n otherapp: any;\r\n fetch_related_details: any = [];\r\n checkApplicantExist: any;\r\n pd_applicants_details: any = [];\r\n companyRelationShipList: any;\r\n qualificationList:any;\r\n businessEntityTypeList:any;\r\n relationShipList: any;\r\n titleList:any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n generalForm:FormGroup;\r\n list_value:FormArray;\r\n fulldata:any\r\n public buttonClick:boolean;\r\n public h_companies:boolean\r\n \r\n datav:any;\r\n individualsListBothCase:any;\r\n individualsList:any;\r\n companyList:any;\r\n i:number;\r\n data_all:any;\r\n maxDate:any;\r\n OldData:any=[];\r\n OldData_indi:any=[];\r\n updateIndex_indi:any;\r\n public addComp:boolean\r\n public addIndi:boolean\r\n updateIndex_comp: any;\r\n@ViewChild('remark') nameField: ElementRef;\r\n customer_segment_abbr: any;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController) {\r\n this.maxDate = new Date();\r\n this.pd_applicants_details = []; \r\n this.pd_applicants_details.pop(); \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n console.log(this.pdDetails)\r\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\r\n //this.maxDate=new Date(get_max_date)\r\n this.FormId = this.navParams.get('FormId');\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n this.users = this.aws.getlocale();\r\n this.getdropdown();\r\n \r\n this.generalForm = this.fb.group({\r\n pdid:this.pdDetails.pd_id,\r\n formid:this.FormId.form_id,\r\n applicant_list: this.fb.array([]),\r\n applicant_relation: this.fb.array([]),\r\n list_value:this.fb.array([]),\r\n company_value:this.fb.array([]),\r\n individuals:this.fb.array([]),\r\n companies:this.fb.array([]),\r\n persons_with_relationships:this.fb.array([]),\r\n company_with_relationships:this.fb.array([]),\r\n rental_income_rcv_in_years:[''],\r\n rental_income_rcv_in_month:[''],\r\n \r\n general_remark:''\r\n });\r\n \r\n //this.initIndividuals();\r\n this.pd_applicants_details = this.pdDetails.applicat_details;\r\n \r\n \r\n \r\n // this.getcoapplicantDetails();\r\n this.buttonClick=false;\r\n this.h_companies=false;\r\n this.addIndi=false\r\n this.addComp=false\r\n // this.initCompanies()\r\n this.datav=[{\r\n name:\"fairoj\",\r\n id:1\r\n },\r\n {\r\n name:\"ff\",\r\n id:2\r\n }\r\n \r\n ]\r\n //this.fulldata=this.generalForm.value\r\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\r\n let control=this.generalForm.controls['list_value'];\r\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\r\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\r\n this.fulldata=control.value;\r\n //control.controls.length\r\n //control.push()\r\n });\r\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\r\n let control=this.generalForm.controls['company_value'];\r\n this.companyList=control.value.filter(element=>element.company_name )\r\n })\r\n this.i=0;\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n // this.pd_applicants_details.pop();\r\n console.log('ionViewDidLoad PdQuestionGeneralInfoPage');\r\n this.getGeneralForm()\r\n \r\n }\r\n ionViewLoaded() {\r\n\r\n // setTimeout(() => {\r\n // this.generalForm.controls['general_remark']['controls'].setFocus();\r\n // },150);\r\n }\r\n\r\n initlistv(data,purpose) :void\r\n {\r\n const control=this.generalForm.controls['list_value'];\r\n console.log(\"control\",control.length)\r\n if(purpose=='ins')\r\n {\r\n for(let val of data)\r\n {\r\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\r\n let formData:FormGroup=this.fb.group({\r\n applicant_title_name:[val.applicant_title_name],\r\n applicant_name:[val.applicant_name],\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:[val.age],\r\n qualification:[val.qualification],\r\n course_name:[val.course_name],\r\n \r\n individuals_order_id:[control.length+1],\r\n is_new:true,\r\n is_active:true,\r\n pd_co_applicant_id:[control.length+1], \r\n \r\n qualification_name:[c_qualification_name]\r\n \r\n\r\n });\r\n control.push(formData);\r\n this.buttonClick=false;\r\n // this.generalForm.value.individuals.value=\"\"\r\n }\r\n }\r\n if(purpose=='get'){\r\n for(let val of data)\r\n {\r\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\r\n let formData:FormGroup=this.fb.group({\r\n applicant_title_name:[val.applicant_title_name],\r\n applicant_name:[val.applicant_name],\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:[val.age],\r\n qualification:[val.qualification],\r\n course_name:[val.course_name],\r\n \r\n individuals_order_id:[val.individuals_order_id],\r\n is_new:[val.is_new],\r\n is_active:[val.is_active],\r\n pd_co_applicant_id:[val.pd_co_applicant_id] , \r\n \r\n \r\n \r\n \r\n\r\n qualification_name:[c_qualification_name]\r\n \r\n\r\n });\r\n control.push(formData);\r\n this.buttonClick=false;\r\n // this.generalForm.value.individuals.value=\"\"\r\n }\r\n }\r\n}\r\n\r\n qualificationById(data):string{\r\n for(let i of this.qualificationList){\r\n if(data==i.qualification_id){\r\n this.qual_name=i.qualification_name\r\n return this.qual_name\r\n }\r\n }\r\n \r\n }\r\n initCompanyValue(data,purpose):void{\r\n const control=this.generalForm.controls['company_value'];\r\n if(purpose=='ins')\r\n {\r\n for(let val of data)\r\n {\r\n var c_business_name=''\r\n if(val.business_entity_type!=1){\r\n c_business_name=this.businessEntityById(val.business_entity_type)\r\n }\r\n if(val.business_entity_type==1){\r\n c_business_name=val.business_entity_type_other\r\n }\r\n \r\n let formData:FormGroup=this.fb.group({\r\n company_name:[val.company_name],\r\n // pd_co_applicant_id:[this.i+1],\r\n // company_order_id:[this.lengthv.companies.length+1],\r\n company_order_id:[control.length+1],\r\n is_company_applicant:[val.is_company_applicant],\r\n business_entity_type:[val.business_entity_type],\r\n business_entity_type_other:[val.business_entity_type_other],\r\n is_new:true,\r\n is_active:true,\r\n company_messrs_name:['M/s'],\r\n \r\n business_years:[val.business_years],\r\n business_month:[val.business_month],\r\n business_date_object:[val.business_date_object],\r\n\r\n business_entity_type_name:[c_business_name]\r\n });\r\n control.push(formData);\r\n this.h_companies=false;\r\n }\r\n }\r\n if(purpose=='get')\r\n {\r\n for(let val of data)\r\n {\r\n \r\n var c_business_name=''\r\n if(val.business_entity_type!=1){\r\n c_business_name=this.businessEntityById(val.business_entity_type)\r\n }\r\n if(val.business_entity_type==1){\r\n c_business_name=val.business_entity_type_other\r\n }\r\n\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[val.company_name],\r\n // pd_co_applicant_id:[this.i+1],\r\n company_order_id:[val.company_order_id],\r\n is_company_applicant:[val.is_company_applicant],\r\n business_entity_type:[val.business_entity_type],\r\n business_entity_type_other:[val.business_entity_type_other],\r\n is_new:[val.is_new],\r\n is_active:[val.is_active],\r\n company_messrs_name:[val.company_messrs_name],\r\n \r\n business_years:[val.business_years],\r\n business_month:[val.business_month],\r\n business_date_object:[val.business_date_object],\r\n\r\n business_entity_type_name:[c_business_name]\r\n });\r\n control.push(formData);\r\n this.h_companies=false;\r\n }\r\n }\r\n }\r\n businessEntityById(val):string{\r\n for(let v of this.businessEntityTypeList){\r\n if(val==v.business_entity_type_id){\r\n var name=v.business_entity_type_name\r\n return name\r\n }\r\n }\r\n \r\n }\r\n \r\n\r\n initIndividuals(data):void{\r\n \r\n const control=this.generalForm.controls['individuals'];\r\n control.controls=[]\r\n if(data==null){\r\n let formData : FormGroup=this.fb.group({\r\n applicant_name:['',Validators.required],\r\n is_person_met:false,\r\n is_applicant:false,\r\n age:['',Validators.required],\r\n qualification:['',Validators.required],\r\n course_name:[''],\r\n applicant_title_name:['']\r\n\r\n });\r\n control.push(formData);\r\n }\r\n else{\r\n let formData : FormGroup=this.fb.group({\r\n \r\n \r\n applicant_name:[data.applicant_name,Validators.required],\r\n is_person_met:data.is_person_met,\r\n is_applicant:data.is_applicant,\r\n age:[data.age,Validators.required],\r\n qualification:[data.qualification,Validators.required],\r\n course_name:[data.course_name],\r\n applicant_title_name:[data.applicant_title_name]\r\n \r\n \r\n });\r\n this.buttonClick=!this.buttonClick;\r\n control.push(formData);\r\n\r\n }\r\n \r\n \r\n \r\n \r\n }\r\n initCompanies(data):void{\r\n const control=this.generalForm.controls['companies'];\r\n control.controls=[]\r\n if(data == null){\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[''],\r\n is_company_applicant:false,\r\n business_entity_type:[''],\r\n business_entity_type_other:[''],\r\n business_years:[''],\r\n business_month:[''],\r\n business_date_object:['']\r\n });\r\n control.controls=[]\r\n control.push(formData)\r\n \r\n }\r\n else{\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[data.company_name],\r\n is_company_applicant:data.is_company_applicant,\r\n business_entity_type:[data.business_entity_type],\r\n business_entity_type_other:[data.business_entity_type_other],\r\n business_years:[data.business_years],\r\n business_month:[data.business_month],\r\n business_date_object:[data.business_date_object]\r\n })\r\n this.h_companies=!this.h_companies\r\n \r\n control.push(formData)\r\n }\r\n }\r\n initPersonRelationship(value):void{\r\n const control=this.generalForm.controls['persons_with_relationships'];\r\n if(value=='')\r\n {\r\n \r\n let formData:FormGroup=this.fb.group({\r\n pd_co_applicant_id:[''],\r\n applicant_name:[''],\r\n relationship:[''],\r\n relation_to:[''],\r\n individuals_order_id:[control.length+1],\r\n \r\n });\r\n \r\n control.push(formData);\r\n }\r\n else{\r\n for(let val of value)\r\n {\r\n let formData:FormGroup=this.fb.group({\r\n pd_co_applicant_id:[val.pd_co_applicant_id],\r\n applicant_name:[val.applicant_name],\r\n relationship:[val.relationship],\r\n relation_to:[val.relation_to],\r\n });\r\n \r\n control.push(formData);\r\n }\r\n }\r\n \r\n }\r\n initCompanyRelationShip(value):void{\r\n if(value=='')\r\n {\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[''],\r\n company_relationship:[''],\r\n relation_to_company:[''],\r\n });\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.push(formData);\r\n }\r\n else{\r\n for(let val of value){\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[val.applicant_name],\r\n company_relationship:[val.company_relationship],\r\n relation_to_company:[val.relation_to_company],\r\n });\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.push(formData);\r\n }\r\n }\r\n \r\n }\r\n\r\n \r\n \r\n add():void{\r\n \r\n this.initIndividuals(null);\r\n }\r\ndata:any;\r\ncart=[];\r\ndatajson:any;\r\ndataobj:any;\r\n\r\n addRec(v){\r\n if(v=='1')\r\n {\r\n this.addIndi=true;\r\n this.buttonClick=!this.buttonClick;\r\n this.initIndividuals(null);\r\n }\r\n if(v=='2')\r\n {\r\n console.log(\"companies\",this.h_companies);\r\n this.addComp=true\r\n // this.h_companies=true;\r\n this.h_companies=!this.h_companies;\r\n console.log(\"companies\",this.h_companies);\r\n this.initCompanies(null);\r\n }\r\n }\r\n editIndividuals(index){\r\n let values=this.generalForm.controls.list_value.value[index]\r\n console.log(values)\r\n this.addIndi=false\r\n this.updateIndex_indi=index;\r\n this.initIndividuals(values);\r\n // this.nameField.nativeElement.focus();\r\n\r\n }\r\n editCompanies(index){\r\n console.log(\"index\",index);\r\n let values=this.generalForm.controls.company_value.value[index]\r\n console.log(values)\r\n this.updateIndex_comp=index\r\n this.addComp=false\r\n //this.\r\n this.initCompanies(values)\r\n }\r\n update(v){\r\n console.log(\"index\",v)\r\n if(v=='1'){\r\n if(!this.generalForm.controls['individuals'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\r\n }\r\n else{\r\n let val=this.generalForm.controls.individuals.value[0]\r\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\r\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\r\n // const control=this.list_value\r\n var c_qualification_name=this.qualificationById(val.qualification) \r\n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\r\n control.patchValue({\r\n \r\n applicant_title_name:val.applicant_title_name,\r\n applicant_name:val.applicant_name,\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:val.age,\r\n qualification:val.qualification,\r\n course_name:val.course_name,\r\n \r\n individuals_order_id:old.individuals_order_id,\r\n is_new:old.is_new,\r\n is_active:old.is_active,\r\n pd_co_applicant_id:old.pd_co_applicant_id, \r\n \r\n qualification_name:c_qualification_name\r\n });\r\n this.buttonClick=false;\r\n console.log(this.generalForm.controls.list_value['controls'])\r\n // this.generalForm.controls.list_value.value.scrollToTop();\r\n // this.generalForm.controls['list_value']._scrollContent;\r\n //this.myinput._scrollContent();\r\n \r\n \r\n console.log(\"values\",val)\r\n console.log(\"old\",old);\r\n console.log(control);\r\n \r\n }\r\n }\r\n else if(v=='2'){\r\n if(!this.generalForm.controls['companies'].valid)\r\n {\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\r\n }\r\n else{\r\n let val=this.generalForm.controls.companies.value[0]\r\n var c_business_name=this.businessEntityById(val.business_entity_type)\r\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\r\n control.patchValue({\r\n company_name:val.company_name,\r\n // company_order_id:[control.length+1],\r\n is_company_applicant:val.is_company_applicant,\r\n business_entity_type:val.business_entity_type,\r\n business_entity_type_other:val.business_entity_type_other,\r\n // is_new:true,\r\n // is_active:true,\r\n //company_messrs_name:['M/s'],\r\n \r\n business_years:val.business_years,\r\n business_month:val.business_month,\r\n business_date_object:val.business_date_object,\r\n\r\n business_entity_type_name:c_business_name\r\n })\r\n this.h_companies=false\r\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\r\n }\r\n }\r\n \r\n\r\n }\r\n \r\n delete(v):void{\r\n // const control=this.generalForm.controls['individuals'];\r\n //control.removeAt(i);\r\n //this.data=this.generalForm.value.individuals;\r\n this.cart.push(this.generalForm.value.individuals);\r\n this.data=Object.assign(this.cart);\r\n // this.data=Object.assign(this.generalForm.value.individuals)\r\n this.datajson=JSON.stringify(this.cart)\r\n if(v=='1')\r\n {\r\n if(!this.generalForm.controls['individuals'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n this.initlistv(this.generalForm.value.individuals,'ins')\r\n this.initPersonRelationship('');\r\n }\r\n }\r\n else if(v=='2')\r\n {\r\n if(!this.generalForm.controls['companies'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n this.initCompanyValue(this.generalForm.value.companies,'ins')\r\n }\r\n }\r\n \r\n }\r\n removeList(i,index){\r\n if(index=='1')\r\n {\r\n //For List List_value(Individuals)\r\n const control=this.generalForm.controls['list_value'];\r\n control.value[i].is_active=false;\r\n this.OldData_indi.push(control.value[i])\r\n control.removeAt(i);\r\n //For Person RelationShip auto Delete\r\n const control1=this.generalForm.controls['persons_with_relationships'];\r\n control1.removeAt(i);\r\n \r\n }\r\n if(index==2){\r\n //For Company_values(Companies)\r\n const control=this.generalForm.controls['company_value']\r\n control.value[i].is_active=false\r\n var vla=control.value[i]\r\n this.OldData.push(vla);\r\n control.removeAt(i);\r\n \r\n\r\n // let control: any = this.generalForm.get('companies') as FormArray;\r\n //this.generalForm.controls['companies']\r\n //control.controls['is_active'].setValue(false);\r\n //control.controls[i].clearValidators();\r\n //control.controls[i].updateValueAndValidity();\r\n //control.clear\r\n // control.controls[i].is_active.setValue(false);\r\n /* control.controls[i].controls.company_name.clearValidators();\r\n control.controls[i].controls.company_name.updateValueAndValidity();\r\n control.controls[i].controls.business_years.clearValidators();\r\n control.controls[i].controls.business_years.updateValueAndValidity();\r\n control.controls[i].controls.business_entity_type.clearValidators();\r\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\r\n }\r\n if(index==\"companyrel\")\r\n {\r\n //For company_relationship\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.removeAt(i);\r\n }\r\n }\r\n \r\n \r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\r\n if(res['dataStatus']==true)\r\n {\r\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\r\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\r\n });\r\n\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.titleList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n }\r\n\r\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\r\n {\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n \r\n \r\n if(checkApplicantExist.length > 0)\r\n {\r\n checkApplicantExist.forEach(val => {\r\n applicantControl.push(this.createApplicant(val));\r\n });\r\n \r\n }\r\n if(exist_applicant_relation.length > 0){\r\n exist_applicant_relation.forEach(val => {\r\n relationControl.push(this.createApplicantRelation(val));\r\n //push related to details\r\n this.fetch_related_details.push(val.applicant_name);\r\n });\r\n }\r\n }\r\n\r\n createApplicant(elementValue:any){\r\n return this.fb.group({\r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name],\r\n company_name: [elementValue.company_name],\r\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\r\n });\r\n }\r\n\r\n coapplicantChange(event,index,item)\r\n {\r\n \r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n \r\n if(item.exist_status.value)\r\n {\r\n if(item.pd_co_applicant_id.value==0){\r\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\r\n modal.onDidDismiss(data => {\r\n if(data!=1){\r\n data.otherName.forEach(val=>\r\n {\r\n\r\n let applicant_details: any= {'pd_co_applicant_id':val.pd_co_applicant_id,'applicant_name':val.applicant_name,'applicant_relation_to':'','relation':'','company_name':'','company_relation':''};\r\n relationControl.push(this.createApplicantRelation(applicant_details));\r\n // push related to details\r\n this.fetch_related_details.push(val.applicant_name);\r\n });\r\n }else\r\n {\r\n applicantControl.at(index).get('exist_status').setValue(false);\r\n \r\n \r\n }\r\n });\r\n modal.present();\r\n }else\r\n {\r\n \r\n let applicant_details: any= {'pd_co_applicant_id':item.pd_co_applicant_id.value,'applicant_name':item.applicant_name.value,'applicant_relation_to':'','relation':'','company_name':item.company_name.value,'company_relation':''};\r\n relationControl.push(this.createApplicantRelation(applicant_details));\r\n // push related to details\r\n this.fetch_related_details.push(item.applicant_name.value);\r\n }\r\n }\r\n else\r\n {\r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n let pos_id = relationControl.value.map(e=> \r\n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\r\n if(item.pd_co_applicant_id.value !=0){\r\n relationControl.removeAt(pos_id);\r\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\r\n this.fetch_related_details.splice(pos_name, 1); \r\n }else\r\n {\r\n applicantControl.at(index).get('exist_status').setValue(false);\r\n \r\n }\r\n // remove related to details\r\n \r\n }\r\n\r\n }\r\n\r\n createApplicantRelation(elementValue: any) {\r\n return this.fb.group({\r\n \r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name],\r\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\r\n company_relationship: [elementValue.company_relationship],\r\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\r\n relationship: [elementValue.relationship],\r\n });\r\n }\r\n // temparr=[];\r\n removereferance(index)\r\n {\r\n \r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n \r\n \r\n \r\n \r\n relationControl.removeAt(index);\r\n // this.temparr = [];\r\n \r\n }\r\n // createApplicateOthers()\r\n // {\r\n // return this.fb.group(\r\n // {\r\n // Name:\r\n // })\r\n // }\r\n ConvertMonthintoYearforBusiness(e,controlIndex,flag){\r\n \r\n\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\nif(flag==1){\r\n let control: any = this.generalForm.get('companies') as FormArray;\r\n control = control.controls[controlIndex];\r\n let business_year = control.controls.business_years.value;\r\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n control.controls.business_month.setValue(Math.floor(converted_month));\r\n }\r\n else if(flag==2){\r\n let ri_year = this.generalForm.controls.rental_income_rcv_in_years.value;\r\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year));\r\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month));\r\n }\r\n}\r\ngetDateObjects(values: any, controlIndex) {\r\n let control: any = this.generalForm.get('companies') as FormArray;\r\n control.controls['business_years']=''\r\n control.controls['business_month']=''\r\n control = control.controls[controlIndex];\r\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\r\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\r\n let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\r\n let diff: number = Math.floor(diffInMs / 1000);\r\n diff /= (60 * 60 * 24 * 30);\r\n diff=Math.abs(Math.round(diff));\r\n control.controls['business_years'].setValue(0);\r\n control.controls['business_month'].setValue(0);\r\n \r\n if(diff){\r\n control.controls['business_years'].setValue(Math.floor(diff / 12));\r\n control.controls['business_month'].setValue(Math.floor(diff % 12));\r\n }\r\n\r\n}\r\ntemp: number = 0;\r\n\r\n submitData(answerData)\r\n {\r\nconsole.log('1)',this.temp);\r\n let saveRecords:any={}\r\n var valuesData_indi:any=[]\r\n\r\n var valuesData:any=[]\r\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\r\n return answerData.list_value[key]\r\n })\r\n existData_indi.forEach((element)=>{\r\n valuesData_indi.push(element)\r\n })\r\n if(this.OldData_indi.length>0){\r\n this.OldData_indi.forEach((element)=>{\r\n valuesData_indi.push(element)\r\n })\r\n }\r\n\r\n var existData=Object.keys(answerData.company_value).map(function(key){\r\n return answerData.company_value[key]\r\n })\r\n existData.forEach((element)=>{\r\n valuesData.push(element)\r\n })\r\n if(this.OldData.length>0){\r\n this.OldData.forEach((element)=>{\r\n valuesData.push(element)\r\n })\r\n }\r\n \r\n if (valuesData_indi.length > 0) {\r\n console.log('2)',this.temp);\r\n valuesData_indi.forEach((val, index) => {\r\n if (val.is_person_met == false) {\r\n this.temp++;\r\n }\r\n console.log('3)',this.temp);\r\n });\r\n console.log('4)',this.temp,'length',valuesData_indi.length);\r\n if (this.temp == valuesData_indi.length) {\r\n console.log('5)',this.temp);\r\n this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');\r\n this.temp = 0;\r\n console.log('6)',this.temp);\r\n return;\r\n }\r\n }\r\n\r\n saveRecords.individuals=valuesData_indi;\r\n saveRecords.companies=valuesData\r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.fk_createdby=this.users;\r\n \r\n \r\n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\r\n saveRecords.company_with_relationships=answerData.company_with_relationships\r\n saveRecords.general_remark=answerData.general_remark;\r\n \r\n \r\n \r\n \r\n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\r\n if(dataResult['dataStatus']==true){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },3000);\r\n \r\n\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Error');\r\n }\r\n })\r\n \r\n /* Old Data\r\n if(this.generalForm.valid)\r\n {\r\n let saveRecords:any = {}\r\n let applicantList:any=[];\r\n let applicantRelationList:any=[];\r\n // this for applicant list for selected\r\n answerData.applicant_list.forEach((element,key) => {\r\n if(element.exist_status==1){\r\n applicantList.push({\r\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\r\n \"applicant_name\":element.applicant_name,\r\n }) \r\n }\r\n });\r\n // this is for selected applicant relation \r\n answerData.applicant_relation.forEach((element,key) => {\r\n applicantRelationList.push({\r\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\r\n \"applicant_name\":element.applicant_name,\r\n \"company_name\":element.company_name,\r\n \"company_relationship\":element.company_relationship,\r\n \"applicant_relation_to\":element.applicant_relation_to,\r\n \"relationship\":element.relationship,\r\n }) \r\n });\r\n \r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.general_remark=answerData.general_remark;\r\n saveRecords.selected_applicant=applicantList;\r\n saveRecords.applicant_relation=applicantRelationList;\r\n saveRecords.fk_createdby = this.users;\r\n this.qustCat.saveForm(saveRecords).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n } \r\n })\r\n }*/\r\n }\r\n\r\n getGeneralForm()\r\n {\r\n let records={'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>{\r\n this.data_all=res['records'];\r\n let exist_companies:any;\r\n let exist_company_with_relationship:any;\r\n let companyControl = this.generalForm.get('company_value') as FormArray;\r\n companyControl.controls=[]\r\n this.lengthv=this.data_all;\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n \r\n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\r\n //\r\n\r\n var arrlist_indi:any=[] \r\n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\r\n return res['records'].individuals[key];\r\n }) \r\n if(exist_individuals.length>0){\r\n exist_individuals.forEach((element)=>{\r\n if(element.is_active != false){\r\n arrlist_indi.push(element);\r\n }\r\n else{\r\n this.OldData_indi.push(element)\r\n }\r\n })\r\n }\r\n this.initlistv(arrlist_indi,'get')\r\n \r\n \r\n if(this.data_all.persons_with_relationships != ''){\r\n this.initPersonRelationship(this.data_all.persons_with_relationships);\r\n }\r\n //Create Company with Relationship\r\n exist_company_with_relationship=Object.keys(res['records'].company_with_relationships).map(function(key){\r\n return res['records'].company_with_relationships[key];\r\n })\r\n \r\n if(this.customer_segment_abbr !='SE-RI')\r\n {\r\n if(exist_company_with_relationship.length>0){\r\n exist_company_with_relationship.forEach(key=>{\r\n this.initCompanyRelationShip(key)\r\n })\r\n }\r\n else if(exist_company_with_relationship.length==0){\r\n this.initCompanyRelationShip('');\r\n }\r\n //create Companies\r\n exist_companies=Object.keys(res['records'].companies).map(function(key){\r\n return res['records'].companies[key];\r\n })\r\n var arraylis:any=[]\r\n if(exist_companies.length>0){\r\n exist_companies.forEach((element,cindex)=>{\r\n if(element.is_active!=false){\r\n arraylis.push(element);\r\n }\r\n else{\r\n this.OldData.push(element);\r\n }\r\n })\r\n \r\n }\r\n this.initCompanyValue(arraylis,'get');\r\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(null);\r\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(null);\r\n }\r\n else if(this.customer_segment_abbr == 'SE-RI'){\r\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years:'');\r\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month:'');\r\n\r\n }\r\n\r\n // var arraylis:any=[]\r\n \r\n \r\n // if(exist_companies.length>0){\r\n // exist_companies.forEach((element,cindex)=>{\r\n // if(element.is_active!=false){\r\n // arraylis.push(element);\r\n // }\r\n // else{\r\n // this.OldData.push(element);\r\n // }\r\n // })\r\n \r\n // }\r\n // this.initCompanyValue(arraylis,'get');\r\n \r\n \r\n\r\n // if(this.data_all.company_with_relationships != ''){\r\n // this.initCompanyRelationShip(this.data_all.company_with_relationships);\r\n // }\r\n \r\n }\r\n else{\r\n console.log(\"Else data\",this.pd_applicants_details)\r\n this.pd_applicants_details.forEach((datas,index)=>{\r\n datas.is_applicant=true,\r\n datas.is_person_met = false;\r\n datas.is_new = false;\r\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\r\n datas.is_active = true;\r\n datas.individuals_order_id = index + 1;\r\n // company_order_id = index+1,\r\n datas.age = '',\r\n datas.qualification = '',\r\n datas.course_name = ''\r\n if (datas.company_name != '' && datas.company_name != null) {\r\n console.log(\"company\");\r\n let setCompanyValues: any = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true }\r\n companyControl.push(this.createCompanies(setCompanyValues))\r\n }\r\n });\r\n \r\n // this.lengthv.push(\"individuals\")\r\n // this.lengthv.push(\"companies\")\r\n // this.lengthv.push('persons_with_relationships')\r\n //this.lengthv.push(\"\")\r\n console.log(\"applicant\",this.lengthv)\r\n this.initlistv(this.pd_applicants_details,'get');\r\n this.initPersonRelationship(this.pd_applicants_details)\r\n // this.initCompanyValue(this.pd_applicants_details,'get');\r\n this.initCompanyRelationShip('')\r\n\r\n }\r\n })\r\n /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\r\n \r\n let generalDetails = res['records'];\r\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\r\n\r\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\r\n {\r\n return res['records'].applicant_relation[key];\r\n });\r\n\r\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\r\n {\r\n return res['records'].selected_applicant[key].pd_co_applicant_id;\r\n });\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n \r\n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\r\n let checkApplicantExist =actual_applicant.map((id, index) => {\r\n if (selected_applicant.indexOf(id) < 0) {\r\n this.pd_applicants_details[index].exist_status=0;\r\n return this.pd_applicants_details[index];\r\n }\r\n else{\r\n this.pd_applicants_details[index].exist_status=1;\r\n this.pd_applicants_details[index].applicant_relation_to='';\r\n this.pd_applicants_details[index].relation='';\r\n return this.pd_applicants_details[index];\r\n }\r\n }).filter(item => item != undefined);\r\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\r\n }else\r\n {\r\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\r\n \r\n }\r\n })*/\r\n }\r\n createCompanies(elementValue:any) {\r\n var name=this.businessEntityById(elementValue.business_entity_type)\r\n return this.fb.group({\r\n company_order_id: [elementValue.company_order_id],\r\n company_name: [elementValue.company_name,],\r\n company_messrs_name: ['M/s'],\r\n is_company_applicant:[elementValue.is_company_applicant],\r\n business_entity_type :[elementValue.business_entity_type,Validators.required],\r\n business_years: [elementValue.business_years, Validators.required],\r\n business_month: [elementValue.business_month],\r\n business_date_object: [elementValue.business_date_object],\r\n is_active: [elementValue.is_active],\r\n is_new:[elementValue.is_new],\r\n business_entity_type_name:[name]\r\n \r\n });\r\n }\r\n \r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionGeneralOtherApplicantPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-general-other-applicant',\r\n templateUrl: 'pd-question-general-other-applicant.html',\r\n})\r\nexport class PdQuestionGeneralOtherApplicantPage {\r\n otherForm:FormGroup;\r\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\r\n this.otherForm = this.fb.group(\r\n {\r\n otherName:this.fb.array([]),\r\n })\r\n this.addmore();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\r\n }\r\n\r\n createName(elementValue:any)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name, Validators.required],\r\n })\r\n }\r\n\r\n addmore()\r\n {\r\n if(this.otherForm.valid)\r\n {\r\n const control = this.otherForm.controls['otherName'];\r\n control.push(this.createName(this.applicantInfo));\r\n }\r\n }\r\n\r\n deleteappdata(index)\r\n {\r\n const control = this.otherForm.controls['otherName'];\r\n if(control.length==1){\r\n control.reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n closeModal(){\r\n this.viewCtrl.dismiss(1); \r\n }\r\n submitData(answerData)\r\n {\r\n if(this.otherForm.valid){\r\n this.viewCtrl.dismiss(this.otherForm.value);\r\n }\r\n }\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n/**\r\n * Generated class for the PdPipe pipe.\r\n *\r\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\r\n */\r\n@Pipe({\r\n name: 'pdPipe',\r\n})\r\nexport class PdPipe implements PipeTransform {\r\n /**\r\n * Takes a value and makes it lowercase.\r\n */\r\n transform(value: any, searchItem:any):any {\r\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\r\n if(findExistIndex.length>0){\r\n let check = value.filter(function(fVal){\r\n return !findExistIndex.some(function(sVal){\r\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\r\n });\r\n })\r\n return check;\r\n }\r\n else {\r\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\r\n }\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionNeighbourHoodPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-neighbour-hood',\r\n templateUrl: 'pd-question-neighbour-hood.html',\r\n})\r\nexport class PdQuestionNeighbourHoodPage {\r\n\r\n frequency: any;\r\n relationBusiness: any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n neighbourhoodForm:FormGroup;\r\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\r\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\r\n {'id': 2,'name': \"Negative\"},\r\n {'id': 3,'name': \"Insufficient information provided\"}];\r\n\r\n // amtInWords:any=[];\r\n applicants:any;\r\n isDisplay:any = [];\r\n isDisplay2:any = [];\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n isOrganisationOwner: any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder, public constant: ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2);\r\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\r\n this.neighbourhoodForm = this.fb.group(\r\n {\r\n pdid:this.pdDetails.pd_id,\r\n formid:this.FormId.form_id,\r\n check_type:0,\r\n neighbourhood_list: this.fb.array([]),\r\n neighbourhood_status:[''],\r\n referencecheck_list: this.fb.array([]),\r\n neighbour_reference_remark:'' \r\n })\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n this.getdropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionNeighbourHoodPage');\r\n this.getneighbourhood();\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus==true){\r\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\r\n console.log(this.existCompanyList)\r\n }\r\n let modifyCompanyList:any=[]\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList=this.existCompanyList.map(element=>{\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\r\n \r\n }\r\n let modifyApplicantList:any=[]\r\n if(this.applicants.length>0){\r\n modifyApplicantList=this.applicants.map(element=>{\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n })\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\r\n })\r\n }\r\n inWords(val,i)\r\n {\r\n // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\r\n }\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e,flag){\r\n if(flag == 2){\r\n\r\n let year = itemrow.controls.year_relation_applicant.value;\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\r\n }\r\n else if(flag == 1){\r\n \r\n let year = itemrow.controls.how_long_do_know_in_year.value;\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\r\n }\r\n}\r\n\r\ntoggleVisibility(e,index,flag){ \r\n let val\r\n \r\n if(flag == 1){\r\n this.isDisplay[index] = e;\r\n }\r\n else if(flag==2){\r\n this.isDisplay2[index] = e;\r\n }\r\n}\r\n\r\ncheckOthers(values){\r\n if(values!=null) {\r\n return values==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n}\r\ncompareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n}\r\n\r\n\r\ngetOtherOrganisationOwner(value,i) {\r\n //console.log('value',value,'I',i);\r\nlet Ctrls = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n //console.log('ParCtrls',Ctrls);\r\nlet ChdCtrls:any = Ctrls.controls[i];\r\n // console.log('ChdCtrls',ChdCtrls);\r\n // return;\r\n\r\n\r\nlet Avaliablity = 1;\r\nconsole.log('val',value);\r\nif(value.length>0){\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n}\r\nif(Avaliablity == 0){\r\n// console.log('if Avaliablity',Avaliablity);\r\n\r\n ChdCtrls.controls.other_organisation_owner.setValidators([Validators.required]);\r\n this.isOrganisationOwner[i] = true;\r\n}else if(Avaliablity == 1){\r\n// console.log('else Avaliablity',Avaliablity);\r\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n ChdCtrls.controls.other_organisation_owner.setValue('');\r\n ChdCtrls.controls.other_organisation_owner.clearValidators();\r\n this.isOrganisationOwner[i] = false;\r\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n}\r\n \r\nChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); \r\n}\r\n createreferance()\r\n {\r\n return this.fb.group({\r\n reference_name: [null],\r\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n statecode:[null],\r\n landline: [null],\r\n location:[null],\r\n relationship_with:[null],\r\n others:[null],\r\n year_relation_applicant:[null],\r\n months_relation_applicant:[null],\r\n business_volume_amount:[null],\r\n business_volume_unit:[null],\r\n others_unit:[null],\r\n reference_final_remarks:[null],\r\n specify_final_remark:[null]\r\n });\r\n }\r\n addreferance()\r\n {\r\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\r\n control.push(this.createreferance());\r\n }\r\n\r\n removereferance(i)\r\n {\r\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\r\n if(control.length==1)\r\n {\r\n control.reset();\r\n }else{\r\n control.removeAt(i);\r\n }\r\n }\r\n\r\n createNeighbourhood(){\r\n return this.fb.group({\r\n neighbourhood_name: [null],\r\n do_know: [''],\r\n \r\n how_long_do_know_in_year: [''],\r\n how_long_do_know_in_month:[''],\r\n organisation_owner: [''],\r\n is_applicant_owner:[''],\r\n other_organisation_owner:[''],\r\n did_not_know_the_business_operation:[''],\r\n did_not_know_the_owner:[''],\r\n });\r\n }\r\n\r\n addneighbourhood()\r\n {\r\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n control.push(this.createNeighbourhood());\r\n }\r\n\r\n removeneighbourhood(i)\r\n {\r\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n if(control.length==1)\r\n {\r\n control.reset();\r\n }else{\r\n control.removeAt(i);\r\n }\r\n }\r\n\r\n submitData(answerData)\r\n {\r\n \r\n const neighbourhoodControl : FormGroup = this.neighbourhoodForm.controls['neighbourhood_list'] as FormGroup;\r\n let NbhdCtrlLength: any = neighbourhoodControl.controls.length;\r\n if (NbhdCtrlLength > 0) {\r\n let Ncnt = 0;\r\n while(Ncnt < NbhdCtrlLength){\r\n\r\n let nbhdChildCtrl : any = neighbourhoodControl.controls[Ncnt]; \r\n\r\n nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]);\r\n nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity();\r\n\r\n nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]);\r\n nbhdChildCtrl.controls['do_know'].updateValueAndValidity();\r\n if(nbhdChildCtrl.controls.do_know.value != ''){\r\n // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\r\n if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false){\r\n // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\r\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]);\r\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([Validators.required]);\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \r\n }\r\n else if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true){\r\n // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\r\n nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue('');\r\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators();\r\n nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue('');\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators();\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \r\n }\r\n\r\n if(nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false){\r\n nbhdChildCtrl.controls['organisation_owner'].setValidators([Validators.required]);\r\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\r\n }\r\n else if(nbhdChildCtrl.controls.did_not_know_the_owner.value == true){\r\n nbhdChildCtrl.controls['organisation_owner'].setValue('');\r\n nbhdChildCtrl.controls['organisation_owner'].clearValidators();\r\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\r\n }\r\n }\r\n Ncnt++;\r\n }\r\n this.neighbourhoodForm.controls.neighbourhood_status.setValidators([Validators.required]);\r\n this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity();\r\n }\r\n\r\n\r\n if (this.neighbourhoodForm.invalid) {\r\n // this.validateAllFormFields(this._neighbourhoodForm);\r\n this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!');\r\n return;\r\n }\r\n \r\n let saveRecords:any = {}\r\n let referencecheck_list:any=[];\r\n let neighbourhood_list:any=[];\r\n // if(answerData.check_type==0){\r\n answerData.neighbourhood_list.forEach((element,key) => {\r\n neighbourhood_list.push({\r\n \"neighbourhood_name\":element.neighbourhood_name,\r\n \"do_know\":element.do_know,\r\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\r\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\r\n \"is_applicant_owner\":element.is_applicant_owner,\r\n \"organisation_owner\":element.organisation_owner,\r\n \"other_organisation_owner\":element.other_organisation_owner,\r\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\r\n \"did_not_know_the_owner\":element.did_not_know_the_owner\r\n }) \r\n });\r\n saveRecords.neighbourhood_list=neighbourhood_list;\r\n \r\n // }\r\n // else{\r\n // this for referencecheck_list for selected\r\n answerData.referencecheck_list.forEach((element,key) => {\r\n referencecheck_list.push({\r\n \"reference_name\":element.reference_name,\r\n \"mobile\":element.mobile,\r\n \"landline\":element.statecode+'-'+element.landline,\r\n \"location\":element.location,\r\n \"relationship_with\":element.relationship_with,\r\n \"others\":element.others,\r\n \"year_relation_applicant\":element.year_relation_applicant,\r\n \"months_relation_applicant\":element.months_relation_applicant,\r\n \"business_volume_amount\":element.business_volume_amount,\r\n \"business_volume_unit\":element.business_volume_unit,\r\n \"others_unit\":element.others_unit,\r\n \"reference_final_remarks\":element.reference_final_remarks,\r\n \"specify_final_remark\":element.specify_final_remark\r\n }) \r\n });\r\n saveRecords.referencecheck_list=referencecheck_list;\r\n \r\n // }\r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n // saveRecords.check_type=answerData.check_type;\r\n saveRecords.fk_createdby = this.users;\r\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\r\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\r\n\r\n this.qustCat.saveForm(saveRecords).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n \r\n }\r\n\r\n getneighbourhood()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \r\n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let neighbourDetails = res['records'];\r\n // neighbourDetails.neighbourhood_list.=''\r\n \r\n // if(neighbourDetails.check_type==0)\r\n // {\r\n \r\n this.neighbourhoodForm.controls['check_type'].setValue(0);//this one for mobile only\r\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\r\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\r\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\r\n {\r\n return res['records'].neighbourhood_list[key];\r\n });\r\n console.log('neighbourhood_list',neighbourhood_list);\r\n console.log('length',neighbourhood_list.length);\r\n if(neighbourhood_list.length > 0){\r\n\r\n \r\n neighbourhood_list.forEach((element,index)=>\r\n {\r\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\r\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\r\n neicontrol.push(this.createNeighbourhood());\r\n this.getOtherOrganisationOwner(element.organisation_owner,index)\r\n });\r\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\r\n \r\n\r\n }else\r\n {\r\n this.addneighbourhood();\r\n }\r\n // if(neighbourDetails.check_type==1)\r\n // {\r\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\r\n {\r\n return res['records'].referencecheck_list[key];\r\n });\r\n console.log('referencecheck_list',referencecheck_list);\r\n console.log('length',referencecheck_list.length);\r\n if(referencecheck_list.length > 0){\r\n // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\r\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\r\n referencecheck_list.forEach((val,index)=>\r\n {\r\n let statecodesearch = val.landline.search(\"-\");\r\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\r\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\r\n control.push(this.createreferance());\r\n // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\r\n });\r\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\r\n \r\n }else\r\n {\r\n this.addreferance();\r\n }\r\n }else\r\n {\r\n this.addneighbourhood();\r\n this.addreferance();\r\n }\r\n })\r\n }\r\n\r\n\r\n}\r\n \n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,Validators,FormArray} from '@angular/forms';\r\n// import { t } from '@angular/core/src/render3';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n/**\r\n * Generated class for the PdQuestionFinalRemarkPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-final-remark',\r\n templateUrl: 'pd-question-final-remark.html',\r\n})\r\nexport class PdQuestionFinalRemarkPage {\r\n\r\n m_remarkTypeCustomerBehaviour:any=[];\r\n\r\n users:any;\r\n pdDetails:any;\r\n pdid:any;\r\n FormId:any;\r\n _finalRemarkForm:FormGroup;\r\n m_recommendationList: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder, public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id\r\n this.FormId=this.navParams.get('FormId');\r\n this.users=aws.getlocale()\r\n \r\n this._finalRemarkForm=this.fb.group({\r\n fk_createdby:[this.users],\r\n pdid:[this.pdid],\r\n formid:[this.FormId.form_id],\r\n final_custormer_remark_type:[null],\r\n final_other_customer_behaviour:[null],\r\n is_service_provided:[null],\r\n final_form_remarks:[null],\r\n pd_officers_recommendation:[null],\r\n others_pd_officers_recommendation:[''],\r\n // reason_for_positive:[''],\r\n // reason_for_negative:[''],\r\n // reason_for_refer_to_credit:[''],\r\n recommendation_positive:this.fb.array([]),\r\n recommendation_negative:this.fb.array([]),\r\n recommendation_refer_to_credit:this.fb.array([])\r\n \r\n })\r\n this.getDropDown();\r\n \r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\r\n this.getFinalRemark();\r\n \r\n }\r\ngetDropDown(){\r\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\r\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\r\n })\r\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\r\n this.m_recommendationList=res['records']\r\n })\r\n}\r\ncreateRecomendationPositive(data){\r\n console.log(\"val\",data)\r\n return this.fb.group({\r\n reason_for_positive: data != null ? [data.reason_for_positive] : ['']\r\n })\r\n}\r\naddRecomendationPositive(){\r\n const control= this._finalRemarkForm.controls['recommendation_positive'];\r\n control.push(this.createRecomendationPositive(null))\r\n}\r\nremoveRecomendationPositive(index){\r\n const control= this._finalRemarkForm.controls['recommendation_positive'];\r\n control.removeAt(index);\r\n}\r\ncreateRecomendationNegative(data){\r\n return this.fb.group({\r\n reason_for_negative:data !=null ? [data.reason_for_negative] : ['']\r\n })\r\n}\r\naddRecomendationNegative(){\r\n const control= this._finalRemarkForm.controls['recommendation_negative']\r\n control.push(this.createRecomendationNegative(null))\r\n}\r\nremoveRecomendationNegative(index){\r\n const control= this._finalRemarkForm.controls['recommendation_negative']\r\n control.removeAt(index)\r\n}\r\ncreateRecomendationCreditRefer(data){\r\n return this.fb.group({\r\n reason_for_refer_to_credit:data!=null ? [data.reason_for_refer_to_credit] : ['']\r\n })\r\n}\r\naddRecomendationCreditRefer(){\r\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\r\n control.push(this.createRecomendationCreditRefer(null));\r\n}\r\nremoveRecomendationCreditRefer(index){\r\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\r\n control.removeAt(index)\r\n}\r\n\r\nRecommendationChange(e) {\r\n // console.log('Event',e);\r\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\r\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\r\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\r\n\r\n if (e == 1) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]);\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n\r\n recommendationNegativeCtrl.removeAt(i + 1);\r\n\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\r\n\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\r\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n\r\n\r\n }\r\n }\r\n\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl.removeAt(i + 1);\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n recommendationReferToCredit.removeAt(i + 1);\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n }\r\n }\r\n \r\n\r\n }\r\n if (e == 2) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n recommendationReferToCredit.removeAt(i + 1);\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([Validators.required]);\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n\r\n recommendationNegativeCtrl.removeAt(i + 1);\r\n\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\r\n\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\r\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n\r\n }\r\n\r\n if (e == 3) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n recommendationReferToCredit.removeAt(i + 1);\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl.removeAt(i + 1);\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i];\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([Validators.required]);\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n }\r\n }\r\n // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\r\n\r\n }\r\n if (e == 4) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[i];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n\r\n recommendationNegativeCtrl.removeAt(i + 1);\r\n\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\r\n\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\r\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl.removeAt(i + 1);\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n }\r\n}\r\n getFinalRemark(){\r\n let saveRecords={'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\r\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\r\n if(data['dataStatus']==true){\r\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\r\n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\r\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\r\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\r\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\r\n // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\r\n // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\r\n // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\r\n if(data['records'].recommendation_positive.length>0){\r\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\r\n data['records'].recommendation_positive.forEach((val,index)=>{\r\n console.log(\"for\",val);\r\n if(val.reason_for_positive != null){\r\n let obj={'reason_for_positive':val.reason_for_positive};\r\n recommendationPositiveCtrl.push(this.createRecomendationPositive(obj));\r\n }\r\n })\r\n }\r\n if(data['records'].recommendation_negative.length>0){\r\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\r\n data['records'].recommendation_negative.forEach((val,index)=>{\r\n console.log(\"for\",val);\r\n let obj={'reason_for_negative':val.reason_for_negative};\r\n recommendationNegativeCtrl.push(this.createRecomendationNegative(obj))\r\n })\r\n }\r\n if(data['records'].recommendation_refer_to_credit.length>0){\r\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\r\n data['records'].recommendation_refer_to_credit.forEach(val=>{\r\n let obj={'reason_for_refer_to_credit':val.reason_for_refer_to_credit};\r\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(obj))\r\n })\r\n }\r\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\r\n }\r\n else{\r\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\r\n recommendationPositiveCtrl.push(this.createRecomendationPositive(null));\r\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\r\n recommendationNegativeCtrl.push(this.createRecomendationNegative(null));\r\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\r\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(null));\r\n }\r\n })\r\n }\r\n saveFinalRemark(){\r\n if(this._finalRemarkForm.invalid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\r\n }\r\n else{\r\n var answerData=this._finalRemarkForm.value\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n this.qustcat.saveForm(answerData).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n });\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\r\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\r\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\r\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\r\nimport {PdQuestionAssessedDashPage} from '../../../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessGroupPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-group',\r\n templateUrl: 'pd-question-business-group.html',\r\n})\r\nexport class PdQuestionBusinessGroupPage {\r\n \r\n FormId: any;\r\n pdDetails: any = [];\r\n existCompanyList: any = [];\r\n waitLoading:boolean;\r\n\r\n constructor(public navCtrl: NavController, \r\n public navParams: NavParams,\r\n public qustCat:QuestionCategoryProvider){\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.getCompanyListForBusiness();\r\n\r\n }\r\n \r\n /** To Get General Form's Company List */\r\n getCompanyListForBusiness(): void{\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\r\n if(data.dataStatus){\r\n this.existCompanyList = data.records.filter(val =>val.is_active);\r\n this.waitLoading = true;\r\n }\r\n else {\r\n this.waitLoading = false;\r\n }\r\n })\r\n }\r\n\r\n /** To Get Related Form Details */\r\n OnSelectBusinessGroupForms(details: any, company: any) {\r\n \r\n this.pdDetails.company_id = company.company_order_id;\r\n this.pdDetails.company_name = company.company_name;\r\n this.pdDetails.business_entity_type = company.business_entity_type;\r\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\r\n this.pdDetails.business_years = company.business_years;\r\n this.pdDetails.business_month = company.business_month;\r\n console.log(details.form_id);\r\n \r\n if(details.form_id==1){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n }\r\n if(details.form_id==2){\r\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==11){\r\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==13){\r\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==14){\r\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==15){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==21){\r\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==22){\r\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==16){\r\n this.navCtrl.push(PdQuestionAssessedDashPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n }\r\n\r\n\r\n}\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { FormBuilder, FormGroup,FormArray, Validators, FormControl } from '@angular/forms';\r\nimport { createPipe } from '@angular/compiler/src/core';\r\nimport { elementAt } from 'rxjs/operators';\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-info',\r\n templateUrl: 'pd-question-business-info.html',\r\n})\r\nexport class PdQuestionBusinessInfoPage {\r\n stateList:any=[];\r\n users: any;formdetails:any;\r\n FormId: any;\r\n pdDetails: any;\r\n businessForm:FormGroup;\r\n applicants:any=[];\r\n businessEntityTypeList: any ={\r\n business_entity_type_id:String,\r\n business_entity_type_name:String,\r\n sourcsection_labeleName:String\r\n }; \r\n generalExistEntityType:string\r\n generalExistEntityType_other:string;\r\n generalExistBusinessYear:Number;\r\n generalExistBusinessMonth:Number;\r\n pdid:any;\r\n step:number\r\n\r\n relationData: any = [];\r\n industryData: any = [];\r\n activityData: any = [];\r\n relativeNames: any;\r\n companyRelationShipList:any=[]\r\n countryDataList:any=[]\r\n exist_status:any;\r\n \r\n filterCityList : any = [];\r\n errorMessage:any=[];\r\n appxSalaryAmtInwords:any;\r\n titleData:any=[]\r\n personsList:any=[]\r\n \r\n ManufacturingChecked: boolean;\r\n RetailedChecked: boolean;\r\n WholeSalesChecked: boolean;\r\n ServiceChecked: boolean;\r\n ExportFlag: boolean=false;\r\n bankList: any=[];\r\n temp_additiondetailofposmachine:any=[]\r\n isreadonlyyear: any=[];\r\n isreadonlymonth: any=[];\r\n EntityTypeFlag:boolean=false\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.getStateCityDet();\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id\r\n \r\n this.formdetails = this.navParams.get('formDetails');\r\n \r\n this.FormId = this.formdetails.form_id;\r\n this.users = this.aws.getlocale();\r\n \r\n this.applicants=this.pdDetails.applicat_details;\r\n \r\n this.generalExistEntityType=this.pdDetails.business_entity_type\r\n this.generalExistEntityType_other=this.pdDetails.business_entity_type_other\r\n this.generalExistBusinessYear=this.pdDetails.business_years\r\n this.step=0\r\n \r\n \r\n \r\n // this.initBusinessForm();\r\n // this.getBuisnessDetails();\r\n \r\n this.businessForm=this.fb.group({\r\n fk_createdby:[this.users],\r\n pdid:[this.pdid],\r\n formid:[this.FormId],\r\n company_id: this.pdDetails.company_id,\r\n partners:this.fb.array([]),\r\n persons_with_relationships:this.fb.array([]),\r\n select_business_activity_type:this.fb.array([]),\r\n manufacturing_activity_details:this.fb.array([]),\r\n retail_trading_activity_details:this.fb.array([]),\r\n wholesale_trading_activity_details:this.fb.array([]),\r\n service_provider_activity_details:this.fb.array([]),\r\n others_activity_details:this.fb.array([]),\r\n export_sale_of_total_sales:[''],\r\n // applicant_use_mobile_wallets:[''],\r\n // applicant_use_pos_machines:[''],\r\n // no_of_pos_machines:[''],\r\n seasonality:[''],\r\n employees_total: ['', Validators.compose([Validators.required])],\r\n employees_permanent: ['', Validators.compose([Validators.required])],\r\n employees_temporary: ['', Validators.compose([Validators.required])],\r\n employees_appx_salary:[''],\r\n was_the_company_name_board_sighted:['',Validators.compose([Validators.required])],\r\n officer_total: ['', Validators.compose([Validators.required])],\r\n shop_eat_act_cert: [''],\r\n gst_Regn_cert: [''],\r\n //export_import_cert: [''],\r\n // factory_cert: [''],\r\n //practice_cert: [''],\r\n pf_regn: [''],\r\n esic_regn: [''],\r\n other_documents: [''],\r\n documents: this.fb.array([]),\r\n business_remarks:['']\r\n\r\n\r\n\r\n \r\n })\r\n this.getdropdown();\r\n \r\n// this.initBusinessForm();\r\n\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\r\n \r\n \r\n \r\n }\r\n getdropdown() {\r\n \r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1) {\r\n this.relationData.push(val);\r\n }\r\n })\r\n });\r\n \r\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1) {\r\n this.industryData.push(val);\r\n }\r\n })\r\n });\r\n \r\n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\r\n this.activityData.push(val);\r\n }\r\n })\r\n });\r\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data=>{\r\n let filterList = data['records'].filter(val=>val.business_entity_type_id==this.generalExistEntityType);\r\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id==1;\r\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id!=1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\r\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id!=1 ? filterList[0].section_label : this.generalExistEntityType_other;\r\n \r\n if(this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship'){ \r\n this.EntityTypeFlag = true;\r\n }\r\n\r\n\r\n });\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data=>{\r\n this.companyRelationShipList=data['records'].filter(val=>val.isactive==1);\r\n \r\n });\r\n \r\n \r\n \r\n this.qustCat.getcommondrop('COUNTRY').subscribe(data=>{\r\n this.countryDataList=data['records'].filter(val=>val.isactive==1);\r\n \r\n });\r\n this.qustCat.getcommondrop('TITLES').subscribe(data=>{\r\n this.titleData=data['records'].filter(val=>val.isactive==1);\r\n })\r\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data=>{\r\n if(data.dataStatus){\r\n \r\n this.personsList=data['record'].filter(val=>val.applicant_type==1)\r\n \r\n }\r\n })\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data=>{\r\n this.bankList=data['records'].filter(val=>val.isactive ==1 && val.lender_type == 1);\r\n })\r\n \r\n}\r\ngetStateCityDet(){\r\nthis.qustCat.getStateCityDetails().subscribe(data=>{\r\n \r\n\r\n this.stateList=data.records\r\n \r\n this.getDetails();\r\n });\r\n \r\n \r\n}\r\nchangeOfStartedBusiness(members,i,e){\r\n if(e == 'yes'){\r\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\r\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\r\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\r\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\r\n }\r\n else{\r\n this.isreadonlyyear[i] =false;\r\n this.isreadonlymonth[i] = false;\r\n }\r\n }\r\n getDetails(){\r\n \r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = 13\r\n params.company_id = this.pdDetails.company_id;\r\n this.qustCat.retiverForm(params).subscribe(data=>{\r\n let businessVal=data['records']\r\n let constVal: any;\r\n \r\n \r\n const Partnr:any = this.businessForm.controls['partners'];\r\n \r\n const control1:any = this.businessForm.controls['persons_with_relationships'];\r\n \r\n const business_activity:any = this.businessForm.controls['select_business_activity_type'];\r\n \r\n const manufacture_details:any= this.businessForm.controls['manufacturing_activity_details'];\r\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\r\n const wholesaleControl:any=this.businessForm.controls['wholesale_trading_activity_details'];\r\n const serviceProviderControl:any=this.businessForm.controls['service_provider_activity_details'];\r\n const othersControl:any=this.businessForm.controls['others_activity_details'];\r\n const otherDoc = this.businessForm.controls['documents'];\r\n //retailControl.push(this.manufactureDetails());\r\n //manufacture_details.push(this.manufactureDetails())\r\n \r\n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\r\n //india_sales.push(this.indiaSalesDone())\r\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\r\n // country_sale.push(this.createCountrySale());\r\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\r\n //max_sale_state.push(this.maxSaleState())\r\n\r\n if(data['status']==200){\r\n let DocArray: any;\r\n let PartnrArray=Object.keys(data['records'].partners).map(function(key){\r\n return data['records'].partners[key];\r\n })\r\n \r\n if(PartnrArray.length==0){\r\n Partnr.push(this.createPartners())\r\n }\r\n else{\r\n PartnrArray.forEach((datas,key) => {\r\n Partnr.push(this.createPartners());\r\n if(datas.partner_name=='Others') {\r\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\r\n }\r\n if(parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\r\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\r\n }\r\n else {\r\n Partnr.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n });\r\n }\r\n if(data['records'].persons_with_relationships){\r\n let PartnrArray1=Object.keys(data['records'].persons_with_relationships).map(function (key){\r\n return data['records'].persons_with_relationships[key];\r\n })\r\n if(PartnrArray1.length>0){\r\n PartnrArray1.forEach((datas,key)=>{\r\n control1.push(this.createRelationShip());\r\n })\r\n businessVal.persons_with_relationships=PartnrArray1\r\n \r\n }\r\n else{\r\n //control1.push(this.createRelationShip());\r\n businessVal.persons_with_relationships=[]\r\n }\r\n }\r\n else{\r\n businessVal.persons_with_relationships=[]\r\n \r\n }\r\n \r\n\r\n if (data['records'].other_documents == 'yes') {\r\n DocArray = Object.keys(data['records'].documents).map(function (key) {\r\n return data['records'].documents[key];\r\n });\r\n DocArray.forEach(datas => {\r\n otherDoc.push(this.createDocument());\r\n });\r\n } else {\r\n DocArray = [{document: ''}];\r\n otherDoc.push(this.createDocument());\r\n }\r\n\r\n businessVal.pdid = this.pdid;\r\n businessVal.formid = 13;\r\n businessVal.company_id = this.pdDetails.company_id;\r\n businessVal.fk_createdby = this.users;\r\n //businessVal.designation = DesgnArray;\r\n businessVal.partners = PartnrArray;\r\n // businessVal.persons_with_relationships=PartnrArray1\r\n businessVal.documents=DocArray\r\n \r\n if(businessVal.employees_appx_salary){\r\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\r\n }\r\n \r\n \r\n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\r\n // this.businessForm.setValue(businessVal);\r\n //this.businessForm.value.seasonality\r\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id}))\r\n let exist_activity_data: any=[];\r\n if(data['records'].select_business_activity_type){\r\n exist_activity_data=Object.keys(data['records'].select_business_activity_type).map(function(key) {\r\n return data['records'].select_business_activity_type[key].type_of_activity_id;\r\n });\r\n }\r\n \r\n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\r\n let check_exist_businees_activity =actual_businees_activity.map((id, index) => {\r\n if (exist_activity_data.indexOf(id) < 0) {\r\n activityData[index].exist_status=0;\r\n return activityData[index];\r\n }\r\n else{\r\n activityData[index].exist_status=1;\r\n return activityData[index];\r\n }\r\n }).filter(item => item != undefined);\r\n \r\n if(check_exist_businees_activity.length > 0)\r\n {\r\n check_exist_businees_activity.forEach((val,index) => {\r\n business_activity.push(this.createBusinessActivity(val));\r\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\r\n \r\n });\r\n \r\n businessVal.select_business_activity_type=check_exist_businees_activity;\r\n }\r\n // business_activity.push(this.createBusinessActivity())\r\n \r\n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\r\n \r\n if(data['records'].manufacturing_activity_details){\r\n let selectedManufacturing=Object.keys(data['records'].manufacturing_activity_details).map(function(key){\r\n return data['records'].manufacturing_activity_details[key];\r\n });\r\n if(selectedManufacturing.length>0){\r\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\r\n \r\n selectedManufacturing.forEach((element,index)=>{\r\n this.CheckExport(element.area_of_sale,'MActivity',index)\r\n manufacture_details.push(this.manufactureDetails())\r\n if(element.area_of_sale=='Within India'){\r\n manufacture_details.controls[index].addControl('india_where_sale_done',this.fb.array([]))\r\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n })\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n\r\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n \r\n }\r\n });\r\n businessVal.manufacturing_activity_details=selectedManufacturing;\r\n \r\n \r\n }\r\n else{\r\n \r\n businessVal.manufacturing_activity_details=[];\r\n }\r\n }\r\n else{\r\n \r\n businessVal.manufacturing_activity_details=[];\r\n }\r\n \r\n if(data['records'].retail_trading_activity_details){ \r\n\r\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\r\n return data['records'].retail_trading_activity_details[key];\r\n });\r\n if(selectedRetail.length > 0) {\r\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n selectedRetail.forEach((element,index)=>{\r\n this.CheckExport(element.area_of_sale,'RActivity',index)\r\n retailControl.push(this.manufactureDetails());\r\n if(element.area_of_sale=='Within India'){\r\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n });\r\n businessVal.retail_trading_activity_details=selectedRetail;\r\n }\r\n else{\r\n businessVal.retail_trading_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.retail_trading_activity_details=[];\r\n }\r\n \r\n\r\n // update whole sale details\r\n if(data['records'].wholesale_trading_activity_details){ \r\n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\r\n return data['records'].wholesale_trading_activity_details[key];\r\n });\r\n if(selectedWholesale.length > 0) {\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n selectedWholesale.forEach((element,index)=>{\r\n this.CheckExport(element.area_of_sale,'WActivity',index)\r\n wholesaleControl.push(this.manufactureDetails());\r\n if(element.area_of_sale=='Within India'){\r\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n \r\n });\r\n businessVal.wholesale_trading_activity_details=selectedWholesale;\r\n }\r\n else{\r\n businessVal.wholesale_trading_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.wholesale_trading_activity_details=[];\r\n\r\n } \r\n \r\n \r\n if(data['records'].service_provider_activity_details){\r\n let selectedService=Object.keys(data['records'].service_provider_activity_details).map(function (key){\r\n return data['records'].service_provider_activity_details[key];\r\n })\r\n if(selectedService.length > 0) {\r\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\r\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n \r\n selectedService.forEach((element,index)=>{\r\n this.CheckExport(element.area_of_sale,'SPActivity',index)\r\n serviceProviderControl.push(this.manufactureDetails());\r\n \r\n if(element.area_of_sale=='Within India'){\r\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n \r\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n\r\n \r\n }\r\n });\r\n \r\n \r\n businessVal.service_provider_activity_details=selectedService;\r\n \r\n }\r\n else{\r\n businessVal.service_provider_activity_details=[];\r\n \r\n } \r\n }\r\n else {\r\n businessVal.service_provider_activity_details=[];\r\n\r\n }\r\n \r\n if(data['records'].others_activity_details){ \r\n\r\n // update others activity details\r\n let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\r\n return data['records'].others_activity_details[key];\r\n });\r\n if(selectedOthers.length > 0) {\r\n selectedOthers.forEach((element,index)=>{\r\n othersControl.push(this.createOthersActivity());\r\n });\r\n businessVal.others_activity_details=selectedOthers;\r\n }\r\n else{\r\n businessVal.others_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.others_activity_details=[];\r\n\r\n } \r\n \r\n // dynamically add form group control\r\n if(data['dataStatus']){\r\n \r\n if(data['records'].seasonality.toUpperCase()=='YES'){\r\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\r\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)); }\r\n\r\n } \r\n\r\n // this.businessForm.controls['partners'].setValue(PartnrArray);\r\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\r\n \r\n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\r\n if(businessVal.applicant_use_pos_machines == 'yes'){\r\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\r\n const posControl: any = this.businessForm.controls['pos_machines_details'];\r\n for(let i = 1; i<= businessVal.no_of_pos_machines; i++ ){\r\n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\r\n }\r\n }\r\n \r\n this.businessForm.setValue(businessVal);\r\n \r\n \r\n }\r\n else{\r\n Partnr.push(this.createPartners());\r\n control1.push(this.createRelationShip())\r\n \r\n //otherDoc.push(this.createDocument());\r\n\r\n // find business activity type businees activity type list\r\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id,exist_status:0}))\r\n if(activityData.length > 0)\r\n {\r\n activityData.forEach(val => {\r\n business_activity.push(this.createBusinessActivity(val));\r\n });\r\n }\r\n\r\n }\r\n})\r\n // change business sessional\r\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\r\n val.toUpperCase()=='YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\r\n val.toUpperCase()=='YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\r\n });\r\n \r\n \r\n }\r\n\r\n filterCity(datasource: any,filterid:number) {\r\n \r\n \r\n if(filterid){\r\n let filter = this.stateList.filter(x=>x.state_id==filterid);\r\n return filter.length > 0 ? filter[0].cities : [];\r\n }\r\n}\r\n\r\n // filter max sale options\r\n filterMaxSaleState(datasource: any,filterValues:any){\r\n this.filterCityList = filterValues;\r\n if(filterValues){\r\n let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n let getStateValues = filterValues.filter(val =>val.state_name).map(mapVal => mapVal.state_name);\r\n let setStateFilter: any=[];\r\n setStateFilter = getStateValues.map(x => {\r\n let findIndex = getOriginalStateList.indexOf(x);\r\n return datasource[findIndex];\r\n });\r\n return setStateFilter.length > 0 ? setStateFilter : [];\r\n }\r\n }\r\n filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \r\n let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\r\n existCities = [].concat.apply([], existCities);\r\n if(filterValues){\r\n let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n \r\n let setCityFilter = filterValues.map(x => {\r\n let findIndex = getOriginalStateList.indexOf(x);\r\n findIndex = datasource[findIndex].cities;\r\n return findIndex;\r\n });\r\n \r\n let merged = [].concat.apply([], setCityFilter);\r\n \r\n if(merged.length>0){\r\n let check: any = merged.filter(function(fVal){\r\n return existCities.some(function(sVal){\r\n return fVal.city_id==sVal;\r\n });\r\n })\r\n return check;\r\n }\r\n else {\r\n return [];\r\n }\r\n }\r\n else {\r\n return [];\r\n }\r\n}\r\n\r\n\r\ncheckTotalEmployee(FormData){\r\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent ||0)+(+FormData.value.employees_temporary||0));\r\n }\r\n checkWithExistBusinessYear(e,i){\r\n if(e > this.generalExistBusinessYear){\r\n this.errorMessage[i] = \"Higher than Business Vintage\";\r\n }\r\n else{\r\n this.errorMessage[i] = '';\r\n }\r\n }\r\n\r\n// businees activity type change event\r\nchangeBusinessActivity(event: any){\r\n \r\n if(event.value.exist_status==true && event.value.type_of_activity_id==2){\r\n this.ManufacturingChecked = event.value.exist_status;\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.controls = [];\r\n manufacturingControl.setValue([]); \r\n \r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==2){\r\n this.ManufacturingChecked = event.value.exist_status;\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.push(this.manufactureDetails());\r\n \r\n \r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==3){\r\n this.RetailedChecked=event.value.exist_status\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.controls = [];\r\n retailControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==3){\r\n this.RetailedChecked=event.value.exist_status\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.push(this.manufactureDetails());\r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==4){\r\n this.WholeSalesChecked=event.value.exist_status\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.controls = [];\r\n wholesaleControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==4){\r\n this.WholeSalesChecked=event.value.exist_status\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.push(this.manufactureDetails());\r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==5){\r\n this.ServiceChecked=event.value.exist_status\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.controls = [];\r\n serviceControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==5){\r\n this.ServiceChecked=event.value.exist_status\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.push(this.manufactureDetails());\r\n }\r\n\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==1){\r\n let othersControl = this.businessForm.controls['others_activity_details'];\r\n othersControl.controls = [];\r\n othersControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\r\n let othersControl = this.businessForm.controls['others_activity_details'];\r\n othersControl.push(this.createOthersActivity());\r\n }\r\n // check activity type for make dosument sighted filed dynamically\r\n this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl(this.businessForm.value.export_import_cert, Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl(this.businessForm.value.factory_cert, Validators.required)) : this.businessForm.removeControl('factory_cert');\r\n this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');\r\n // check activity for extra question make dynamic\r\n \r\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n \r\n\r\n if(this.ManufacturingChecked || this.ManufacturingChecked==undefined && this.RetailedChecked || this.RetailedChecked==undefined && this.WholeSalesChecked ||this.WholeSalesChecked==undefined && this.ServiceChecked || this.ServiceChecked==undefined){\r\n this.ExportFlag = false;\r\n }\r\n}\r\n\r\n\r\nchangeManufacturingAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n // change retail options\r\n changeRetailAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n// change whole options\r\nchangeWholesaleAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n// change service provider \r\nchangeServiceArea(getDetails: any, getIndex) {\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n\r\nchangePanIndiaOptions(type,selectedIndex,value) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n \r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==3){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==4){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n}\r\n\r\n // update partner group other form control\r\n changePartnerGroup(value,key) {\r\n let control: any = this.businessForm.get('partners') as FormArray;\r\n value=='Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\r\n }\r\n\r\n createDesignation(): FormGroup {\r\n return this.fb.group({\r\n sec_name: ['', Validators.compose([Validators.required])],\r\n sec_designation: ['', Validators.compose([Validators.required])],\r\n });\r\n}\r\nkeyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n getWorkExperience(event, key) {\r\n let current_experience = event.current_business_experiance_year=='' ? 0 : parseInt(event.current_business_experiance_year);\r\n let total_experience = event.total_business_experiance=='' ? 0 : parseInt(event.total_business_experiance);\r\n let control: any = this.businessForm.get('partners') as FormArray;\r\n if(total_experience > current_experience) {\r\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\r\n }\r\n else if(total_experience < current_experience) {\r\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\r\n control.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n\r\n else {\r\n control.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n // let total ;\r\n // if(control.length > 0){\r\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\r\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\r\n // this.businessForm.controls.business_years.updateValueAndValidity();\r\n // }\r\n}\r\nConvertMonthintoYear(itemrow,e){\r\n\r\n let year = itemrow.controls.current_business_experiance_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n\r\n\r\n\r\ncreatePartners(): FormGroup {\r\n return this.fb.group({\r\n partner_name: ['', Validators.compose([Validators.required])],\r\n // partner_other_name:[''],\r\n shareholding:[''],\r\n started_business:[''],\r\n current_business_experiance_year:[''],\r\n current_business_experiance_month:[''],\r\n total_business_experiance:[''],\r\n total_business_previous_experience:['']\r\n /* shareholding: ['', Validators.compose([Validators.required])],\r\n current_business_experiance: ['', Validators.compose([Validators.required])],\r\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\r\n });\r\n}\r\ncreateRelationShip(): FormGroup {\r\n return this.fb.group({\r\n family_member_salutation:[''],\r\n family_member_name:[''],\r\n other_family_relationship_id:[''],\r\n relation_to_id:[''],\r\n relationship_with_company_id:[''],\r\n started_business:['']\r\n });\r\n}\r\ncreateBusinessActivity(details):FormGroup {\r\n return this.fb.group({\r\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\r\n name: [details.name, Validators.compose([Validators.required])],\r\n exist_status:[details.exist_status==1 ? true : false]\r\n });\r\n}\r\ncreateServiceActivity(): FormGroup {\r\n return this.fb.group({\r\n main_products: ['', Validators.compose([Validators.required])],\r\n area_of_sale: ['', Validators.compose([Validators.required])],\r\n description: ['']\r\n });\r\n}\r\ncreateOthersActivity(): FormGroup {\r\n return this.fb.group({\r\n others_details: ['', Validators.compose([Validators.required])]\r\n });\r\n}\r\nmanufactureDetails():FormGroup{\r\n return this.fb.group({\r\n main_products:[''],\r\n area_of_sale:[''],\r\n description:['']\r\n // pan_india_options:[''],\r\n // india_where_sale_done:this.fb.array([]),\r\n //max_sale_state_name:this.fb.array([]),\r\n //countries_where_export_done:this.fb.array([])\r\n })\r\n}\r\nindiaSalesDone():FormGroup{\r\n return this.fb.group({\r\n state_name:[''],\r\n city_name:['']\r\n })\r\n}\r\nmaxSaleState():FormGroup{\r\n return this.fb.group({\r\n state_name:[''],\r\n city_name:['']\r\n })\r\n}\r\ncreateDocument() {\r\n return this.fb.group({\r\n document: ['']\r\n });\r\n}\r\naddDesignation() {\r\n const control = this.businessForm.controls['designation'];\r\n control.push(this.createDesignation());\r\n}\r\ndeleteDesignation(index) {\r\n const control = this.businessForm.controls['designation'];\r\n if(control.length==1){\r\n this.businessForm.controls['designation'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\naddPartnerDetails(event) {\r\n const control = this.businessForm.controls['partners'];\r\n event.stopPropagation()\r\n let length = control.length;\r\n this.step = length;\r\n \r\n control.push(this.createPartners());\r\n}\r\naddPersonRelationship(event){\r\n event.stopPropagation()\r\n const control=this.businessForm.controls['persons_with_relationships']\r\n let length=control.length\r\n this.step=length\r\n control.push(this.createRelationShip());\r\n}\r\ndeletePersonRelationship(index){\r\n const control=this.businessForm.controls['persons_with_relationships'];\r\n control.removeAt(index)\r\n}\r\ndeletePartnerDetails(index) {\r\n const control = this.businessForm.controls['partners'];\r\n if(control.length==1){\r\n this.businessForm.controls['partners'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\naddMoreManufacturing() {\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.push(this.manufactureDetails());\r\n}\r\nremoveManufacturing(index){\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n if(manufacturingControl.length>1){\r\n manufacturingControl.removeAt(index)\r\n }\r\n else{\r\n manufacturingControl.reset();\r\n }\r\n}\r\naddMoreRetail(){\r\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.push(this.manufactureDetails());\r\n}\r\nremoveRetail(index){\r\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\r\n if(retailControl.length>1){\r\n retailControl.removeAt(index)\r\n }\r\n else{\r\n retailControl.reset();\r\n }\r\n}\r\naddMoreWholesale() {\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.push(this.manufactureDetails());\r\n}\r\nremoveWholesale(index){\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n if(wholesaleControl.length>1){\r\n wholesaleControl.removeAt(index)\r\n }\r\n else{\r\n wholesaleControl.reset();\r\n }\r\n}\r\naddMoreServiceprovider() {\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.push(this.manufactureDetails());\r\n}\r\nremoveServiceProvider(index){\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n if(serviceControl.length>1){\r\n serviceControl.removeAt(index)\r\n }\r\n else{\r\n serviceControl.reset();\r\n }\r\n}\r\naddMoreOthersActivity(){\r\n let othersControl = this.businessForm.controls['others_activity_details'];\r\n othersControl.push(this.createOthersActivity());\r\n}\r\ncreateCountrySale() {\r\n return this.fb.group({\r\n country_name: ['',Validators.compose([Validators.required])],\r\n approx_sale: ['', Validators.compose([Validators.required])]\r\n }); \r\n}\r\n\r\naddMoreState(mindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n \r\n\r\n}\r\nremoveState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n\r\naddRetailMoreState(rindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n}\r\nremoveRetailState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n// add more whole sale state\r\naddWholesaleMoreState(windex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n\r\n}\r\n// remove for whole sale\r\nremoveWholesaleState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n // add more service provider\r\n addServiceMoreState(sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n }\r\n \r\n // remove service provider\r\n\r\nremoveServiceState(mindex,sindex,type){\r\n if(type==1){\r\n let control:any=this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control=control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control1:any=this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control1=control1.controls[mindex].get('countries_where_export_done') as FormArray\r\n control1.removeAt(sindex)\r\n }\r\n}\r\naddDocuments() {\r\n const control = this.businessForm.controls['documents'];\r\n control.push(this.createDocument());\r\n}\r\ndeleteDocuments(index) {\r\n const control = this.businessForm.controls['documents'];\r\n if(control.length==1){\r\n this.businessForm.controls['documents'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\n\r\nrelationChanged(event) {\r\n this.relativeNames = [];\r\n event.value.forEach(option => {\r\n this.relativeNames.push({member: option});\r\n });\r\n}\r\ncreatePOSMachinesDetails(data){\r\n if(data==null){\r\n return this.fb.group({\r\n pos_machines_financial_institution_name: [''],\r\n tid_no_of_pos_machine: [''],\r\n })\r\n }\r\n else{\r\n return this.fb.group({\r\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\r\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\r\n })\r\n }\r\n}\r\n\r\n public initBusinessForm(): void {\r\n this.businessForm = this.fb.group({\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId.form_id,\r\n fk_createdby: this.users,\r\n profession_name: ['', Validators.compose([Validators.required])],\r\n business_years: ['', Validators.compose([Validators.required])],\r\n industry: ['', Validators.compose([Validators.required])],\r\n type_of_activity: ['', Validators.compose([Validators.required])],\r\n seasonality: ['', Validators.compose([Validators.required])],\r\n designation: this.fb.array([]),\r\n partners: this.fb.array([]),\r\n employees_total: ['', Validators.compose([Validators.required])],\r\n employees_permanent: ['', Validators.compose([Validators.required])],\r\n employees_temporary: ['', Validators.compose([Validators.required])],\r\n officer_total: ['', Validators.compose([Validators.required])],\r\n officer_permanent: ['', Validators.compose([Validators.required])],\r\n officer_temporary: ['', Validators.compose([Validators.required])],\r\n invested_amount: ['', Validators.compose([Validators.required])],\r\n working_capital: ['', Validators.compose([Validators.required])],\r\n is_service_provided: ['', Validators.compose([Validators.required])],\r\n ownership_setup: ['', Validators.compose([Validators.required])],\r\n ownership_others: [''],\r\n rent_paid: [''],\r\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\r\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\r\n export_import_cert: ['', Validators.compose([Validators.required])],\r\n factory_cert: ['', Validators.compose([Validators.required])],\r\n practice_cert: ['', Validators.compose([Validators.required])],\r\n pf_regn: ['', Validators.compose([Validators.required])],\r\n esic_regn: ['', Validators.compose([Validators.required])],\r\n other_documents: ['', Validators.compose([Validators.required])],\r\n documents: this.fb.array([]),\r\n business_remarks: ['', Validators.compose([Validators.required])],\r\n who_started: ['', Validators.compose([Validators.required])],\r\n main_person: ['', Validators.compose([Validators.required])],\r\n other_main_person: [''],\r\n family_members_involved: ['', Validators.compose([Validators.required])],\r\n before_business: ['', Validators.compose([Validators.required])],\r\n any_delays: ['', Validators.compose([Validators.required])],\r\n });\r\n}\r\n\r\nsubmitDetails() {\r\n\r\n if(this.EntityTypeFlag == true){\r\n let control: any = this.businessForm.controls['partners'];\r\n let control2:any = control.controls[0];\r\n\r\n control2.controls['shareholding'].clearValidators();\r\n control2.controls['shareholding'].updateValueAndValidity();\r\n control2.controls['shareholding'].setValue('100');\r\n\r\n \r\n // control.controls[0].removeControl('shareholding');\r\n // control.controls[0].removeControl('started_business');\r\n // control.controls[0].removeControl('current_business_experiance_year');\r\n // control.controls[0].removeControl('current_business_experiance_month');\r\n // control.controls[0].removeControl('total_business_experiance');\r\n \r\n control2.controls['started_business'].setValue('');\r\n\r\n control2.controls['current_business_experiance_year'].clearValidators();\r\n control2.controls['current_business_experiance_year'].updateValueAndValidity();\r\n control2.controls['current_business_experiance_year'].setValue('');\r\n\r\n control2.controls['current_business_experiance_month'].setValue('');\r\n\r\n control2.controls['total_business_experiance'].clearValidators();\r\n control2.controls['total_business_experiance'].updateValueAndValidity();\r\n control2.controls['total_business_experiance'].setValue('');\r\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\r\n // control2.controls['total_business_previous_experience'].clearValidators();\r\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\r\n // control2.controls['total_business_previous_experience'].setValue('0');\r\n // }\r\n\r\n }\r\n\r\n \r\n let family: any = [];\r\n \r\n let design: any;\r\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\r\n let records:any;\r\n // records.pdid = this.pdDetails.pd_id;\r\n // records.formid = this.FormId;\r\n // records.fk_createdby = this.users;\r\n records=this.businessForm.value;\r\n\r\n //if(records.persons_with_relationships=='')\r\n if (records.other_documents == 'no') {\r\n delete records.documents;\r\n }\r\n if (records.rent_paid == '') {\r\n delete records.rent_paid;\r\n }\r\n if (records.ownership_others == '') {\r\n delete records.ownership_others;\r\n }\r\n // records.family_members_involved = this.relativeNames;\r\n \r\n\r\n let validationFlag : number = 0;\r\n\r\n //type 1: Checking manufacturing_activity_details \r\n if(records.manufacturing_activity_details.length > 0){\r\n\r\n records.manufacturing_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale!= \"Within India\"){ \r\n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n \r\n }\r\n\r\n //type 3 checking wholesale_trading_activity_details\r\n if(records.wholesale_trading_activity_details.length > 0){\r\n\r\n records.wholesale_trading_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){ \r\n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n //type 2 checking retail_trading_activity_details\r\n if(records.retail_trading_activity_details.length > 0){\r\n\r\n records.retail_trading_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){ \r\n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n\r\n //type 4 checking service_provider_activity_details\r\n if(records.service_provider_activity_details.length > 0){\r\n\r\n records.service_provider_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){\r\n \r\n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n //validationFlag is greater then 0 means its display the notifer as warning\r\n if(validationFlag > 0){\r\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\r\n return;\r\n }\r\n\r\n records.select_business_activity_type = records.select_business_activity_type.filter(value=>value.exist_status==1);\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },3000);\r\n }\r\n });\r\n}\r\n getBuisnessDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}; \r\n this.qustCat.retiverForm(records).subscribe(data => {\r\n let businessVal = data['records'];\r\n \r\n let constVal: any;\r\n const Desgn = this.businessForm.controls['designation'];\r\n const Partnr = this.businessForm.controls['partners'];\r\n const otherDoc = this.businessForm.controls['documents'];\r\n\r\n if (data['status'] == 200) {\r\n let DocArray: any;\r\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\r\n return data['records'].designation[key];\r\n });\r\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\r\n return data['records'].partners[key];\r\n });\r\n\r\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\r\n return data['records'].family_members_involved[key];\r\n });\r\n let enduse: any = [];\r\n let existRelative: any =[];\r\n selectedMembers.forEach(val => {\r\n enduse.push(val.member);\r\n existRelative.push(val);\r\n });\r\n this.relativeNames = existRelative;\r\n if (DesgnArray.length == 0) {\r\n Desgn.push(this.createDesignation());\r\n } else {\r\n DesgnArray.forEach(datas => {\r\n Desgn.push(this.createDesignation());\r\n });\r\n \r\n }\r\n if (PartnrArray.length == 0) {\r\n Partnr.push(this.createPartners());\r\n } else {\r\n PartnrArray.forEach(datas => {\r\n Partnr.push(this.createPartners());\r\n });\r\n }\r\n if (data['records'].other_documents == 'yes') {\r\n DocArray = Object.keys(data['records'].documents).map(function (key) {\r\n return data['records'].documents[key];\r\n });\r\n DocArray.forEach(datas => {\r\n otherDoc.push(this.createDocument());\r\n });\r\n } else {\r\n DocArray = [{document: ''}];\r\n otherDoc.push(this.createDocument());\r\n }\r\n if (data['records'].ownership_setup != 'others') {\r\n businessVal.ownership_others = '';\r\n }\r\n if (data['records'].ownership_setup != 'rented') {\r\n businessVal.rent_paid = '';\r\n }\r\n businessVal.family_members_involved = enduse;\r\n businessVal.pdid = this.pdDetails.pd_id;\r\n businessVal.formid = this.FormId.form_id;\r\n businessVal.fk_createdby = this.users;\r\n businessVal.designation = DesgnArray;\r\n businessVal.partners = PartnrArray;\r\n businessVal.documents = DocArray;\r\n\r\n this.businessForm.setValue(businessVal);\r\n } else {\r\n Desgn.push(this.createDesignation());\r\n Partnr.push(this.createPartners());\r\n otherDoc.push(this.createDocument());\r\n }\r\n\r\n });\r\n }\r\n setStep(index: number) {\r\n this.step = index;\r\n}\r\ninWords(e,flag){\r\n switch(flag){\r\n case 1 : \r\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n }\r\n }\r\n ManufacturingCounterArray: any = [];\r\nRetailCounterArray: any = [];\r\nWholeSaleCounterArray: any = [];\r\nServiceCounterArray: any = [];\r\n\r\n CheckExport(value,stringFlag,index){\r\n //this.ExportFlag=false\r\n const parentControl = this.businessForm.controls['select_business_activity_type'];\r\n const childControl = parentControl.controls[0];\r\n\r\n\r\n // childControl.forEach((datas,index) => {\r\n \r\n \r\n // // exist_status==true && event.value.type_of_activity_id\r\n\r\n // });\r\n\r\n \r\n\r\n \r\n \r\n if(!this.ManufacturingChecked){\r\n // console.log(\"Manu\")\r\n if(stringFlag == 'MActivity' && value == \"Both\"){\r\n this.ManufacturingCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'MActivity' && value != \"Both\"){\r\n this.ManufacturingCounterArray[index] = 0;\r\n }\r\n }else if (this.ManufacturingChecked && stringFlag == 'MActivity'){\r\n // console.log(\"manu\");\r\n this.ManufacturingCounterArray[index] = 0;\r\n }\r\n\r\n if(!this.RetailedChecked){ \r\n if(stringFlag == 'RActivity' && value == \"Both\"){\r\n this.RetailCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'RActivity' && value != \"Both\"){\r\n this.RetailCounterArray[index] = 0;\r\n }\r\n }\r\n else if(stringFlag == 'RActivity' && this.RetailedChecked){\r\n this.RetailCounterArray[index] = 0;\r\n }\r\n\r\n if(!this.WholeSalesChecked){\r\n if(stringFlag == 'WActivity' && value == \"Both\"){\r\n this.WholeSaleCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'WActivity' && value != \"Both\"){\r\n this.WholeSaleCounterArray[index] = 0;\r\n }\r\n }\r\n else if(stringFlag == 'WActivity' && this.WholeSalesChecked){\r\n this.WholeSaleCounterArray[index] = 0;\r\n }\r\n \r\n if(!this.ServiceChecked){\r\n \r\n if(stringFlag == 'SPActivity' && value == \"Both\")\r\n { \r\n this.ServiceCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'SPActivity' && value != \"Both\"){\r\n this.ServiceCounterArray[index] = 0;\r\n }\r\n\r\n }else if(stringFlag == 'SPActivity'){\r\n this.ServiceCounterArray[index] = 0;\r\n } \r\n\r\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n\r\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter ;\r\n \r\n\r\n this.ExportFlag = overallCounter > 0 ? true : false ;\r\n // console.log(this.ExportFlag);\r\n //console.log(overallCounter)\r\n\r\n}\r\nchangePOSMachinesAvailablity(e, flag) {\r\nconsole.log(e)\r\n e == 'yes'\r\n ? this.businessForm.addControl('no_of_pos_machines', new FormControl(''))\r\n : this.businessForm.removeControl('no_of_pos_machines');\r\n\r\n if (flag == 2) {\r\n e == 'yes'\r\n ? this.businessForm.controls.no_of_pos_machines.setValue('')\r\n : this.businessForm.removeControl('no_of_pos_machines');\r\n }\r\n\r\n}\r\ntoGetPOSMachinesDetails(e,flag){\r\n\r\n if(flag == 1){ this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\r\n const control = this.businessForm.controls['pos_machines_details'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n\r\n if(e > 0 ){\r\n if(flag == 1){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n control.push(this.createPOSMachinesDetails(null));\r\n }\r\n }\r\n else if(flag == 2){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\r\n }\r\n }\r\n }\r\n }\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\r\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessAssetsPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-assets',\r\n templateUrl: 'pd-question-business-assets.html',\r\n})\r\nexport class PdQuestionBusinessAssetsPage {\r\n currentYear:any=new Date().getFullYear();\r\n\r\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\r\n {'value': \"no\",'viewValue': \"No\"},\r\n {'value': \"nan\",'viewValue': \"NA\"}]\r\n\r\n company_id:any;\r\n pdDetails:any;\r\n formDetails : any;\r\n users:any;\r\n _businessAssetsQuesFrom:FormGroup;\r\n m_assets_type:any;\r\n m_propertyType:any;\r\n AssetValueInwords:any=[];\r\n appxMarketAmtInwords:any=[];\r\n RentAmtInwords:any=[]\r\n mergeCompanyApplicant:any=[];\r\n existCompanyList:any=[]\r\n applicants:any;\r\n data_all:any;\r\n CustSegAbbr: any;\r\n generalExistBusinessYear:Number;\r\n generalExistBusinessMonth:Number;\r\n yearErrorMessage: any=[];\r\n monthErrorMessage: any=[];\r\n addressLabel: any=[];\r\n placeholderName : any = []\r\n m_address_type:any=[]\r\n pageTitle: string;\r\n main_applicant: any;\r\n lender_applicant_id: any;\r\n subproduct_abbr: any;\r\n customer_segment_abbr: any;\r\n RentAmtInwordsForAddress: any =[];\r\n appxMarketAmtInwordsForAddress: any =[];\r\n isOtherOwnerForAddress : boolean = false;\r\n isOtherOwner: boolean = false;\r\n public m_vehicle_type = [];\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,public cons:ConstantsProvider,public toast:ToastProvider) {\r\n \r\n \r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.users=this.aws.getlocale();\r\n this.company_id=this.pdDetails.company_id;\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n this.generalExistBusinessYear = this.pdDetails.business_years;\r\n this.generalExistBusinessMonth = this.pdDetails.business_month;\r\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\r\n this.main_applicant = this.pdDetails.applicant_name;\r\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\r\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n this.getDropDown()\r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\r\n this.getDetails()\r\n //this.getAddress()\r\n }\r\n getAddress(){\r\n let params:any={};\r\n params.pd_id=this.pdDetails.pd_id;\r\n params.pd_form_id='5'\r\n\r\n this.qustcat.retiverForm(params).subscribe(data => {\r\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n if(data['status'] == 200) {\r\n \r\n \r\n if(data['records'].addresses.length > 0){\r\n data['records'].addresses.forEach((data,inx)=>{\r\n\r\n \r\n this.addressLabel[inx] = '';\r\n \r\n let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\r\n let address = data.address;\r\n let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\r\n \r\n this.placeholderName[inx] = 'Was any business activity seen at the '+addressType+' during PD visit?';\r\n let addressLabel = \" : \"+address+' / '+addressType ;\r\n let values={\r\n address_label:addressLabel,\r\n business_years: '',\r\n business_month: '',\r\n business_address_availability: '',\r\n business_is_pd_visited: '',\r\n business_pd_visited_remark: '', \r\n business_approximate_market_value: '',\r\n business_ownership_type: '',\r\n business_monthly_rented_amt: '',\r\n business_name_of_the_owner: '',\r\n business_name_of_the_other_owner: '',\r\n business_vintage: '',\r\n business_purchase_year: '',\r\n business_emi: ''\r\n }\r\n control.push(this.initBusinessDetailsWithdata(values));\r\n })\r\n }\r\n else{\r\n control.push(this.initBusinessDetails())\r\n }\r\n }\r\n else{\r\n control.push(this.initBusinessDetails());\r\n }\r\n });\r\n }\r\n getDropDown(){\r\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\r\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\r\n })\r\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\r\n data => {\r\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\r\n })\r\n \r\n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\r\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\r\n \r\n })\r\n\r\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\r\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\r\n })\r\n\r\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\r\n if(data.dataStatus){\r\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\r\n \r\n }\r\n \r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n }\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n })\r\n\r\n \r\n \r\n }\r\n apiLoadFinish:boolean=false\r\n getDetails(){\r\n let params:any={};\r\n params.pd_id=this.pdDetails.pd_id\r\n params.company_id=this.company_id\r\n params.pd_form_id=22\r\n this.qustcat.retiverForm(params).subscribe(res=>{\r\n \r\n if(res['dataStatus']==true){\r\n \r\n //this.data_all=res['records']\r\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\r\n return res['records'].business_assets_details[key]\r\n });\r\n \r\n //this.formLoadData(assestArray)\r\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\r\n if(assestArray.length>0){\r\n for(let val of assestArray){\r\n let formData={\r\n business_assets_mode: val.business_assets_mode,\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_purchase_year: val. business_purchase_year,\r\n business_vintage : val.business_vintage,\r\n business_emi: val.business_emi,\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetailsWithdata(formData));\r\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\r\n }\r\n }*/\r\n this.formLoadData(res['records'])\r\n }\r\n\r\n \r\n else{\r\n this.formLoadData(null);\r\n }\r\n this.apiLoadFinish=true\r\n \r\n \r\n })\r\n //this.formLoadData(null);\r\n \r\n }\r\n \r\n formLoadData(data){\r\n if(data==null){\r\n this._businessAssetsQuesFrom=this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n /* formid: ['22'],*/\r\n formid: [this.formDetails.form_id],\r\n company_id : [this.company_id],\r\n fk_createdby:[this.users],\r\n \r\n business_assets_for_address: this.fb.array([]),\r\n //this.createBusinessAssetsForAddress(),\r\n business_assets_details : this.fb.array([\r\n this.initBusinessDetails(),\r\n ]),\r\n business_assets_form_remark:['']\r\n });\r\n this.getAddress();\r\n this.loadDetails=true;\r\n }\r\n else{\r\n \r\n let value=data;\r\n this._businessAssetsQuesFrom=this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n /* formid: ['22'],*/\r\n formid: [this.formDetails.form_id],\r\n company_id : [this.company_id],\r\n fk_createdby:[this.users],\r\n // business_years:[value.business_years],\r\n // business_month:[value.business_month],\r\n // business_address_availability:[value.business_address_availability],\r\n // business_is_pd_visited:[value.business_is_pd_visited],\r\n // business_pd_visited_remark:[value.business_pd_visited_remark],\r\n business_assets_for_address: this.fb.array([]),\r\n business_assets_details : this.fb.array([]),\r\n business_assets_form_remark:[value.business_assets_form_remark || '']\r\n });\r\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\r\n \r\n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\r\n // }\r\n // else {\r\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n // control.push(this.createBusinessAssetsForAddress());\r\n // } \r\n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\r\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\r\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\r\n }\r\n\r\n this.loadDetails=true\r\n }\r\n\r\n initBusinessDetails(){\r\n return this.fb.group({\r\n address_label:[''],\r\n business_assets_mode:[''],\r\n business_details: this.fb.array([]),\r\n \r\n business_years:[''],\r\n business_month:[''],\r\n business_address_availability:[''],\r\n business_is_pd_visited:[''],\r\n business_pd_visited_remark:[''],\r\n \r\n business_approximate_market_value: [''],\r\n business_ownership_type:[''],\r\n business_monthly_rented_amt:[''],\r\n business_name_of_the_owner: [],\r\n business_name_of_the_other_owner: [],\r\n business_vintage: [''],\r\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: [''],\r\n \r\n })\r\n }\r\n loadProperty() {\r\n return this.fb.group({\r\n property_type: [''],\r\n other_property_type: [''],\r\n address_of_the_property: ['']\r\n });\r\n }\r\n load_Four_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [''],\r\n vehicle_type: [''],\r\n other_vehicle_type: ['']\r\n });\r\n }\r\n loadEquipmentManufacturingDescription() {\r\n return this.fb.group({\r\n equipment_manufacturing_description: ['']\r\n });\r\n }\r\n otherBusinessAssetsDescription() {\r\n return this.fb.group({\r\n any_other_assets: [''],\r\n any_other_asset_value : [''],\r\n any_other_asset_loan : [''], \r\n });\r\n }\r\n\r\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\r\n addAssetDetails(e) {\r\n \r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetails());\r\n \r\n }\r\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\r\n removeAssetsDetails(i: number) {\r\n \r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.removeAt(i);\r\n\r\n}\r\n\r\ncreateBusinessAssetsForAddress(): FormGroup {\r\n return this.fb.group({\r\n address_label:[''],\r\n business_years:[''],\r\n business_month:[''],\r\n business_address_availability:[''],\r\n business_is_pd_visited:[''],\r\n business_pd_visited_remark:[''],\r\n\r\n business_approximate_market_value: [''],\r\n business_ownership_type: [''],\r\n business_monthly_rented_amt: [''],\r\n business_name_of_the_owner: [''],\r\n business_name_of_the_other_owner: [''],\r\n business_vintage: [''],\r\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: ['']\r\n });\r\n}\r\n\r\n selectedAssetsType(e: any, i: any): void {\r\n let val = i;\r\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\r\n arr.controls.splice(0);\r\n \r\n switch (e.value) {\r\n case '1': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.otherBusinessAssetsDescription());\r\n break;\r\n }\r\n case '2': {\r\n let val = i;\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadProperty());\r\n break;\r\n }\r\n case '3': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.load_Four_Weeler());\r\n break;\r\n }\r\n case '4': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadEquipmentManufacturingDescription());\r\n break;\r\n }\r\n \r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n loadPropertyWithData(data) { \r\n return this.fb.group({\r\n property_type: [data.property_type],\r\n other_property_type: [data.other_property_type],\r\n address_of_the_property: [data.address_of_the_property],\r\n });\r\n }\r\n load_Four_WeelerWithData(data){\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\r\n vehicle_type: [data.vehicle_type],\r\n other_vehicle_type: [data.other_vehicle_type]\r\n })\r\n }\r\n\r\n loadEquipmentManufacturingDescriptionWithData(data) {\r\n return this.fb.group({\r\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\r\n });\r\n }\r\n otherBusinessAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n any_other_asset_loan : [data.any_other_asset_loan],\r\n });\r\n }\r\n\r\n loadDetails:boolean\r\n addBusinessAssetsForAddress(data) {\r\n var result = Object.keys(data).map(function (key) {\r\n return data[key];\r\n });\r\n if (result.length > 0) {\r\n result.forEach((datas, index) => {\r\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\r\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\r\n let Avaliablity = 1;\r\n \r\n if(datas.business_name_of_the_owner.length > 0){\r\n datas.business_name_of_the_owner.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){\r\n Avaliablity = option.id;\r\n }\r\n });\r\n }\r\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\r\n });\r\n\r\n for (let val of result) {\r\n let vals = {\r\n address_label:val.address_label,\r\n business_years:val.business_years,\r\n business_month:val.business_month,\r\n business_address_availability:val.business_address_availability,\r\n business_is_pd_visited:val.business_is_pd_visited,\r\n business_pd_visited_remark:val.business_pd_visited_remark,\r\n\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_ownership_type: val.business_ownership_type,\r\n business_monthly_rented_amt: val.business_monthly_rented_amt,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_vintage: val.business_vintage,\r\n business_purchase_year: val.business_purchase_year,\r\n business_emi: val.business_emi\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.push(this.createBusinessAssetsForAddressWithData(vals));\r\n }\r\n } else {\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.push(this.createBusinessAssetsForAddress());\r\n }\r\n }\r\n addBusinessAssetsDetailsWithData(supp_data){\r\n var result=Object.keys(supp_data).map(function(key){\r\n return supp_data[key];\r\n })\r\n \r\n if(result.length>0){\r\n result.forEach((datas,index)=>{\r\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\r\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\r\n });\r\n for(let val of result){\r\n let formData={\r\n address_label:val.address_label,\r\n business_assets_mode: val.business_assets_mode,\r\n\r\n business_years:val.business_year,\r\n business_month:val.business_month,\r\n business_address_availability:val.business_address_availability,\r\n business_is_pd_visited:val.business_is_pd_visited,\r\n business_pd_visited_remark:val.business_pd_visited_remark,\r\n\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_ownership_type:val.business_ownership_type,\r\n business_monthly_rented_amt:val.business_monthly_rented_amt,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_purchase_year: val. business_purchase_year,\r\n business_vintage : val.business_vintage,\r\n business_emi: val.business_emi,\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetailsWithdata(formData));\r\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\r\n }\r\n \r\n }\r\n this.loadDetails=true\r\n }\r\n\r\n createBusinessAssetsForAddressWithData(data): FormGroup {\r\n return this.fb.group({\r\n address_label:[data.address_label],\r\n business_years:[data.business_years],\r\n business_month:[data.business_month],\r\n business_address_availability:[data.business_address_availability],\r\n business_is_pd_visited:[data.business_is_pd_visited],\r\n business_pd_visited_remark:[data.business_pd_visited_remark],\r\n\r\n business_approximate_market_value: [data.business_approximate_market_value],\r\n business_ownership_type: [data.business_ownership_type],\r\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\r\n business_name_of_the_owner: [data.business_name_of_the_owner],\r\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\r\n business_vintage: [data.business_vintage],\r\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: [data.business_emi]\r\n });\r\n }\r\n\r\n initBusinessDetailsWithdata(data) {\r\n \r\n\r\n let formGroup= this.fb.group({\r\n address_label:[data.address_label],\r\n business_assets_mode: [data.business_assets_mode],\r\n \r\n business_years:[data.business_year],\r\n business_month:[data.business_month],\r\n business_address_availability:[data.business_address_availability],\r\n business_is_pd_visited:[data.business_is_pd_visited],\r\n business_pd_visited_remark:[data.business_pd_visited_remark],\r\n\r\n business_details: this.fb.array([]),\r\n business_approximate_market_value: [data.business_approximate_market_value],\r\n business_ownership_type : [data.business_ownership_type],\r\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\r\n business_name_of_the_owner: [data.business_name_of_the_owner],\r\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\r\n // relation: [data.relation || ''],\r\n business_vintage: [data. business_vintage],\r\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n // purchase_month: [data.purchase_month],\r\n business_emi: [data.business_emi || ''],\r\n });\r\n return formGroup;\r\n }\r\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\r\n \r\n let val = i;\r\n let data = datas;\r\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\r\n control.controls.splice(0);\r\n\r\n switch (assets_details_mode) {\r\n case '2': {\r\n let business_property_datas : any;\r\n data.forEach((datas,i) => {\r\n business_property_datas = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadPropertyWithData(business_property_datas));\r\n break;\r\n }\r\n case '3': {\r\n let business_Four_Weeler_datas : any;\r\n data.forEach((datas,i) => {\r\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\r\n break;\r\n }\r\n case '4': {\r\n let equipment_manufacturing_description_datas : any;\r\n data.forEach((datas,i) => {\r\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\r\n break;\r\n }\r\n \r\n case '1': {\r\n let array_datas : any;\r\n data.forEach((datas,i) => {\r\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\r\n array_datas = {\r\n 'any_other_assets': datas.any_other_assets,\r\n // 'any_other_asset_value': datas.any_other_asset_value,\r\n 'any_other_asset_loan': datas.any_other_asset_loan,\r\n };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n public paymentModeTextBox: number;\r\n selectedPM(e) {\r\n this.paymentModeTextBox = e.value;\r\n // this.f.supplier_details.controls.get('payment_mode_value');\r\n }\r\n\r\n public freqPurchaseTextBox: number;\r\n selectedFreqPurchase(e) {\r\n this.freqPurchaseTextBox = e.value;\r\n }\r\n \r\n\r\n onSubmit(){\r\n var answerData=this._businessAssetsQuesFrom.value;\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n\r\n this.qustcat.saveForm(answerData).subscribe(result=>{\r\n if(result['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\r\n }\r\n })\r\n \r\n }\r\n // calculate vintage and purchase {}\r\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\r\n if (type == 1) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 2) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\r\n }\r\n if (type == 3) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 4) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\r\n }\r\n }\r\n\r\n\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n\r\n // // check others\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n\r\n\r\n setRequiredValidation(value, item, flag,i) {\r\n\r\n if (flag == 1) {\r\n if (value == 'yes') {\r\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\r\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\r\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\r\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\r\n }\r\n else {\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\r\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\r\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\r\n }\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\r\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\r\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\r\n\r\n\r\n }\r\n // if(flag == 2){\r\n // value==1\r\n // ? item.controls.premises_type_others.setValidators([Validators.required])\r\n // : item.controls.premises_type_others.clearValidators();\r\n // item.controls.premises_type_others.updateValueAndValidity();\r\n // }\r\n if (flag == 3) {\r\n if (value == 'owned') {\r\n item.controls.business_monthly_rented_amt.clearValidators();\r\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\r\n }\r\n else {\r\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\r\n item.controls.business_name_of_the_owner.clearValidators();\r\n }\r\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\r\n item.controls.business_name_of_the_owner.updateValueAndValidity();\r\n }\r\n if (flag == 4) {\r\n let Avaliablity = 1;\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n if(Avaliablity == 0){\r\n \r\n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\r\n this.isOtherOwner = true;\r\n }else{\r\n \r\n item.controls.business_name_of_the_other_owner.setValue('');\r\n item.controls.business_name_of_the_other_owner.clearValidators();\r\n this.isOtherOwner = false;\r\n }\r\n \r\n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n\r\n // value == 0\r\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\r\n // : item.controls.business_name_of_the_other_owner.clearValidators();\r\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n }\r\n if (flag == 5) {\r\n value == 1\r\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\r\n : item.controls.other_vehicle_type.clearValidators();\r\n item.controls.other_vehicle_type.updateValueAndValidity();\r\n }\r\n if (flag == 6) {\r\n value == 1\r\n ? item.controls.other_property_type.setValidators([Validators.required])\r\n : item.controls.other_property_type.clearValidators();\r\n item.controls.other_property_type.updateValueAndValidity();\r\n\r\n value != ''\r\n ? item.controls.address_of_the_property.setValidators([Validators.required])\r\n : item.controls.address_of_the_property.clearValidators();\r\n item.controls.address_of_the_property.updateValueAndValidity();\r\n }\r\n if (flag == 7) {\r\n if (value == 'owned') {\r\n item.controls.business_monthly_rented_amt.clearValidators();\r\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\r\n }\r\n else {\r\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\r\n item.controls.business_name_of_the_owner.clearValidators();\r\n }\r\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\r\n item.controls.business_name_of_the_owner.updateValueAndValidity();\r\n }\r\n if(flag == 8){\r\n let Avaliablity = 1;\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){\r\n \r\n Avaliablity = option.id;\r\n }\r\n });\r\n // isOtherOwner: boolean = false;\r\n if(Avaliablity == 0){\r\n \r\n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\r\n this.isOtherOwnerForAddress = true;\r\n }else{\r\n \r\n item.controls.business_name_of_the_other_owner.setValue('');\r\n item.controls.business_name_of_the_other_owner.clearValidators();\r\n this.isOtherOwnerForAddress = false;\r\n }\r\n \r\n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n \r\n }\r\n\r\n }\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(e,ind){\r\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\r\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\r\n \r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n let Year = +business_year + +Math.floor(converted_year);\r\n \r\n if(Year > this.generalExistBusinessYear){\r\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\r\n \r\n }\r\n else{\r\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\r\n {\r\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\r\n \r\n }else{\r\n this.monthErrorMessage[ind] = '';\r\n this.yearErrorMessage[ind] = '';\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\r\n }\r\n }\r\n }\r\n\r\n checkWithExistBusinessYear(e,ind){\r\n \r\n if(+e > this.generalExistBusinessYear){\r\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n \r\n }\r\n else{\r\n this.yearErrorMessage[ind] = '';\r\n }\r\n }\r\n\r\n\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1:\r\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 : \r\n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 3:\r\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 9:\r\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 10:\r\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\r\n// import { QueryState } from '@angular/core/src/render3/interfaces';\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\n\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessBankingPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-banking',\r\n templateUrl: 'pd-question-business-banking.html',\r\n})\r\nexport class PdQuestionBusinessBankingPage {\r\npdDetails:any;\r\nm_btLenderList: any;\r\napplicants: any \r\nsalaryField: boolean;\r\nformDetails: any;\r\nform_id:any;\r\naccountType: any;\r\nusers: any;\r\nbankingForm:FormGroup;\r\npublic pd_cus_segment:string\r\ncompany_id:any;\r\n\r\npdid:any;\r\nitemRows:FormArray;\r\n\r\nexistCompanyList: any=[];\r\nmergeCompanyApplicant: any=[];\r\nstep:number\r\n amtInwords: any=[];\r\n emiAmtInwords: any=[];\r\n limitCaseFlag: any=[];\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider,public toast:ToastProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails')\r\n \r\n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\r\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\r\n this.pdid=this.pdDetails.pd_id;\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.form_id = this.formDetails.form_id;\r\n this.company_id=this.pdDetails.company_id\r\n \r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \r\n\r\n this.users = this.aws.getlocale();\r\n this.step=0\r\n this.bankingForm = this.fb.group(\r\n {\r\n itemRows:this.fb.array([]),\r\n banking_form_remark:[''],\r\n });\r\n \r\n \r\n \r\n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\r\n \r\n \r\n this.getdropdown();\r\n this.retiveBankDetails();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\r\n }\r\n getdropdown(){\r\n \r\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.accountType=res['records'];\r\n }\r\n });\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n }\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n selectedAccTypeChanges(event: any,i){\r\n \r\n if(event == 2 || event == 1) {\r\n this.limitCaseFlag[i] = false;\r\n \r\n // const control = this.bankingForm.controls['itemRows'];\r\n \r\n // control.controls[0].get('limit').clearValidators();\r\n // control.controls[0].get('limit').updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.limitCaseFlag[i] = true;\r\n }\r\n\r\n}\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e){\r\n \r\n \r\n let year = itemrow.controls.vintage_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n /** Amount InWords */\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 :\r\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n setRequiredValidation(value,item,flag) {\r\n \r\n \r\n if(flag == 1){\r\n value==0\r\n ? item.controls.other_applicant.setValidators([Validators.required])\r\n : item.controls.other_applicant.clearValidators();\r\n item.controls.other_applicant.updateValueAndValidity();\r\n }\r\n if(flag == 2){\r\n value==1\r\n ? item.controls.other_bank.setValidators([Validators.required])\r\n : item.controls.other_bank.clearValidators();\r\n item.controls.other_bank.updateValueAndValidity();\r\n }\r\n \r\n }\r\n\r\n createBankItem(name) {\r\n \r\n return this.fb.group({\r\n applicant_name: [''],\r\n \r\n bank_name: [''],\r\n \r\n account_type: [''],\r\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\r\n limit: [''],\r\n other_bank:[''],\r\n other_applicant:[''],\r\n is_main: [''],\r\n vintage_year: [''],\r\n vintage_month: [''],\r\n \r\n });\r\n\r\n }\r\n addBankDetails(index,event) {\r\n // if(this.pd.valid){\r\n \r\n // if(this.items.length !=0)\r\n // {\r\n // this.neighbourAccess = true;\r\n // }\r\n \r\n event.stopPropagation()\r\n const control = this.bankingForm.controls['itemRows'];\r\n let length = control.length;\r\n this.step = length;\r\n \r\n control.push(this.createBankItem(''));\r\n \r\n \r\n \r\n }\r\n\r\n addmoreBankDetils()\r\n {\r\n \r\n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\r\n \r\n this.itemRows.push(this.createBankItem('')); \r\n }\r\n\r\n removebank(i){\r\n const control = this.bankingForm.controls['itemRows'];\r\n if(control.length==1){\r\n control.reset();\r\n }\r\n else\r\n \r\n \r\n control.removeAt(i);\r\n }\r\n \r\n setStep(index: number) {\r\n this.step = index;\r\n }\r\n\r\n retiveBankDetails(){\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\r\n const control = this.bankingForm.controls['itemRows'];\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n var result = Object.keys(res['records'].banking_details).map(function(key) {\r\n return res['records'].banking_details[key];\r\n });\r\n \r\n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\r\n \r\n \r\n if(result.length == 0){\r\n \r\n control.push(this.createBankItem(''))\r\n }else\r\n {\r\n \r\n result.forEach((datas,index)=>\r\n {\r\n this. selectedAccTypeChanges(datas.account_type,index);\r\n if(datas.limit != ''){\r\n \r\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \r\n }\r\n this. selectedAccTypeChanges(datas.account_type,index);\r\n control.push(this.createBankItem(''));\r\n })\r\n \r\n this.bankingForm.controls['itemRows'].setValue(result);\r\n } \r\n }else\r\n {\r\n \r\n control.push(this.createBankItem(''));\r\n }\r\n });\r\n \r\n }\r\n\r\n savepdBank(answerData)\r\n {\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.form_id;\r\n records.fk_createdby = this.users;\r\n records.company_id=this.company_id;\r\n records.banking_details = answerData.itemRows;\r\n records.banking_form_remark = answerData.banking_form_remark;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n })\r\n \r\n }\r\n \r\n\r\n \r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { CameraProvider } from '../../providers/common-provider/camera';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdGeneralImagesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-general-images',\r\n templateUrl: 'pd-general-images.html',\r\n})\r\nexport class PdGeneralImagesPage {\r\n\r\n cameraArr:any = [];\r\n applicatentDetails: any;\r\n count:any = 0;\r\n saveAccess:boolean =false;\r\n FormId:any = '';\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n\r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdGeneralImagesPage');\r\n }\r\n \r\n takePicture()\r\n {\r\n this.camera.getpicture().then(image=>\r\n {\r\n this.count = this.count+1;\r\n \r\n this.cameraArr.push({'image':image,'name':''});\r\n });\r\n }\r\n\r\n removeimage(i)\r\n {\r\n this.count = this.count - 1; \r\n this.cameraArr.splice(i,1);\r\n }\r\n\r\n docnames(doc,i,img)\r\n {\r\n \r\n this.cameraArr[i] = {'image':img,'Name':doc};\r\n // console.log(JSON.stringify(this.pddocdata)); \r\n }\r\n savePDImages()\r\n {\r\n \r\n this.saveAccess = true;\r\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\r\n records.images = this.cameraArr;\r\n this.qustCat.savePDImages(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.saveAccess = false;\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n } \r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { PdListPage } from '../../pd-list/pd-list';\r\nimport {ToastProvider} from '../../../providers/common-provider/toast'\r\n\r\n/**\r\n * Generated class for the BouncedRejectPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-bounced-reject',\r\n templateUrl: 'bounced-reject.html',\r\n})\r\nexport class BouncedRejectPage {\r\n\r\n users: any;\r\n bounseMaster: any;\r\n pdDetails: any;\r\n status: any;\r\n bounce_reason:any;\r\n bounce_reason_others:any = '';\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\r\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\r\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\r\n // this.pdDetails = this.navParams.get('appdetails');\r\n // this.status = this.navParams.get('status');\r\n this.pdDetails=this.navParams.get('details')\r\n // console.log(this.pdDetails)\r\n this.users = this.aws.getlocale();\r\n this.getDropdown();\r\n \r\n }\r\n\r\n getDropdown()\r\n {\r\n \r\n \r\n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\r\n console.log(this.bounseMaster);\r\n }\r\n })\r\n \r\n }\r\n updatePDStatus()\r\n {\r\n if(this.bounce_reason !=null && this.bounce_reason !=1)\r\n {\r\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\r\n // console.log(this.bounce_reason)\r\n // console.log(this.bounce_reason_others);\r\n console.log(data);\r\n this.toast.pdTriggerappmessage(\"Thank You\");\r\n this.pdservice.updatepdStatus(data).subscribe(res=>\r\n {\r\n // this.updateStatus = res;\r\n if(res['dataStatus'] == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\r\n {\r\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\r\n // console.log(this.bounce_reason)\r\n // console.log(this.bounce_reason_others);\r\n console.log(data);\r\n this.toast.pdTriggerappmessage(\"Thank You\");\r\n this.pdservice.updatepdStatus(data).subscribe(res=>\r\n {\r\n // this.updateStatus = res;\r\n if(res['dataStatus'] == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n \r\n \r\n\r\n else{\r\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\r\n/*\r\n Generated class for the DatabaseProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class DatabaseProvider {\r\n database:SQLiteObject;\r\n constructor(public http: HttpClient,public sql:SQLite) {\r\n console.log('Hello DatabaseProvider Provider');\r\n this.createnewdb();\r\n }\r\n\r\n createnewdb()\r\n {\r\n // alert('function in');\r\n this.sql.create(\r\n {\r\n name:'sinnedge',\r\n location:'defalut',\r\n }).then((db:SQLiteObject)=>\r\n {\r\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \r\n {\r\n // alert('db create');\r\n this.getuserDetails();\r\n })\r\n .catch(e => console.log(e));\r\n })\r\n }\r\n getuserDetails()\r\n {\r\n // alert('getusers');\r\n this.sql.create(\r\n {\r\n name:'sineedge',\r\n location:'default',\r\n }).then((db:SQLiteObject)=>\r\n {\r\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\r\n {\r\n console.log(res);\r\n })\r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\n/**\r\n * Generated class for the PasswordPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-password',\r\n templateUrl: 'password.html',\r\n})\r\nexport class PasswordPage {\r\n commonImage: string;\r\n newpassword: any;\r\n confirmPassword: any;\r\n pin:any;\r\n Username:any;\r\n Password:any;\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.Username = this.navParams.get('Username');\r\n this.Password = this.navParams.get('Password');\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PasswordPage');\r\n }\r\n setNewPassword(newpass)\r\n {\r\n if(newpass !='' && newpass !=null && newpass !== undefined){\r\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\r\n console.log(auth);\r\n this.aws.dologin(auth).subscribe(res => {\r\n console.log(res);\r\n this.navCtrl.setRoot(PdListPage);\r\n // this.router.navigate(['/home']);\r\n }, err => {\r\n this.toast.pdTriggerappmessage(err.message);\r\n // alert(err.message);\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the new Password');\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\r\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\n\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\n\r\nimport { LoadingProvider } from '../../providers/common-provider/loading';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\n/**\r\n * Generated class for the AuthPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n \r\n\r\n@Component({\r\n selector: 'page-auth',\r\n templateUrl: 'auth.html',\r\n})\r\nexport class AuthPage {\r\n pinAccess: any;\r\n newpindetails: any;\r\n userDetails: any;\r\npin:any;\r\n mpinaccess:boolean =false;\r\n newpassword:any;\r\n ConfirmPassword:any;\r\n commonImage:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public Menu:MenuController,public fb:FormBuilder,public shared:CognitoServiceProvider,public toast:ToastProvider,public faio:FingerprintAIO,public aws:AwsServiceProvider,public loadingCtrl:LoadingProvider,public commonconstant:ConstantsProvider) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.shared.refresh();\r\n this.getuserDetails();\r\n \r\n\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad AuthPage');\r\n }\r\n ionViewDidEnter(){\r\n this.Menu.enable(false);\r\n }\r\n ionViewWillLeave(){\r\n this.Menu.enable(true);\r\n }\r\n getuserDetails()\r\n {\r\n this.loadingCtrl.pdloader('loading...');\r\n let userid = this.aws.getlocale();\r\n this.aws.getuserprofile(userid).subscribe(res=>{\r\n this.userDetails = res;\r\n if(this.userDetails.dataStatus == true)\r\n { \r\n this.loadingCtrl.loading.dismiss();\r\n this.userDetails = this.userDetails.records;\r\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\r\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\r\n if(this.userDetails[0].mpin ==null)\r\n {\r\n \r\n this.mpinaccess = true;\r\n \r\n }else\r\n {\r\n this.mpinaccess = false;\r\n }\r\n }else{\r\n \r\n this.toast.pdTriggerappmessage('This App only for PD Officers');\r\n localStorage.clear();\r\n }\r\n }else{\r\n this.toast.pdTriggerappmessage('')\r\n }\r\n //console.log(this.mpinaccess);\r\n });\r\n }\r\n setnewpin(newpin)\r\n {\r\n console.log(\"set Pin\")\r\n this.aws.userpinupdate(newpin).subscribe(res=>\r\n {\r\n this.newpindetails = res;\r\n if(this.newpindetails.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n /**Finger print */\r\n \r\n checkpin(pin) {\r\n console.log(\"Check pin\",pin);\r\n if(pin !='' && pin !=null)\r\n {\r\n if(this.userDetails[0].mpin == pin)\r\n {\r\n console.log(\"Entering List page\")\r\n this.navCtrl.setRoot(PdListPage);\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\r\n }\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The PIN');\r\n }\r\n\r\n \r\n \r\n }\r\n checkfingerprint()\r\n {\r\n console.log(\"Check Finger\");\r\n this.faio.show({\r\n clientId: 'Fingerprint-Demo',\r\n clientSecret: 'password', // Only Android\r\n localizedFallbackTitle: 'Use Pin', // Only iOS\r\n localizedReason: 'Please authenticate',\r\n disableBackup:true,\r\n })\r\n .then((result: any) => {\r\n this.navCtrl.setRoot(PdListPage);\r\n })\r\n .catch((error: any) => {\r\n this.toast.pdTriggerappmessage('err: '+ error);\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { LoadingController } from 'ionic-angular';\r\n/*\r\n Generated class for the LoadingProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class LoadingProvider {\r\n\r\n loading: any;\r\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\r\n console.log('Hello LoadingProvider Provider');\r\n }\r\n\r\n pdloader(content)\r\n {\r\n this.loading = this.loadingCtrl.create({\r\n content: content\r\n });\r\n\r\n this.loading.present();\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app.module';\r\nimport { enableProdMode } from '@angular/core';\r\nenableProdMode();\r\nplatformBrowserDynamic().bootstrapModule(AppModule);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\r\nimport { ErrorHandler, NgModule } from '@angular/core';\r\nimport { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';\r\n\r\nimport { MyApp } from './app.component';\r\n\r\n\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\r\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\r\nimport { SQLite } from '@ionic-native/sqlite';\r\nimport { DatabaseProvider } from '../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\nimport {\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatButtonToggleModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatRadioModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatStepperModule\r\n} from '@angular/material';\r\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { AuthGuard } from '../providers/_guard/auth.guard';\r\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\r\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\r\nimport { ConstantsProvider } from '../providers/constants/constants';\r\nimport { AuthPage } from '../pages/auth/auth';\r\nimport { LoginPage } from '../pages/login/login';\r\nimport { PdListPage } from '../pages/pd-list/pd-list';\r\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\r\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\r\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\r\nimport { PasswordPage } from '../pages/password/password';\r\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\r\nimport { InputPage } from '../pages/input/input';\r\nimport { ToastProvider } from '../providers/common-provider/toast';\r\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\r\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\r\n\r\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\r\nimport { OtpPage } from '../pages/otp/otp';\r\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\r\n\r\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\r\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\r\nimport { CameraProvider } from '../providers/common-provider/camera';\r\nimport { LoadingProvider } from '../providers/common-provider/loading';\r\nimport { Camera } from '@ionic-native/camera';\r\n\r\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\r\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\r\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\r\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\r\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\r\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\r\n\r\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\r\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\r\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\r\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { Geolocation } from '@ionic-native/geolocation';\r\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\r\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\n// import { DatePicker } from '@ionic-native/date-picker';\r\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\r\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\r\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\r\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\r\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\r\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\r\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\r\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\r\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\r\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\r\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\r\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\r\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\r\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\r\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\r\n\r\nimport { PdQuestionBusinessPage } from '../pages/pd-question/pd-question-business/pd-question-business'\r\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\r\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\r\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\r\nimport { PdPipe } from '../pipes/pd/pd';\r\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\r\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\r\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\nimport {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'\r\n\r\n@NgModule({\r\n declarations: [\r\n MyApp,\r\n AuthPage,\r\n LoginPage,\r\n PdListPage,\r\n PdQuestionCategoryPage,\r\n PdQuestionPage,\r\n GoogleplaytabPage,\r\n PasswordPage,\r\n PdAllocationPage,\r\n InputPage,\r\n OtpPage,\r\n PdQuestionAddressPage,\r\n PdQuestionAssestsPage,\r\n PdQuestionBankingPage,\r\n PdQuestionCurrentLoansPage,\r\n PdQuestionEmpInfoPage,\r\n PdQuestionFamilyPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionLoansPage,\r\n PdQuestionFinancialInfoPage,\r\n PdQuestionOtherIncomePage,\r\n PdQuestionSupplierInfoPage,\r\n PdQuestionPersonalInfoPage,\r\n PdQuestionStockInfoPage,\r\n PdQuestionClientInfoPage,\r\n PdQuestionRentalInfoPage,\r\n PdQuestionAssessedInfoPage,\r\n PdQuestionAssessedDailySalesPage,\r\n PdQuestionAssessedSalesPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionAssessedHouseholdPage,\r\n PdQuestionAssessedPurchasePage,\r\n PdQuestionAssessedDashPage,\r\n BouncedRejectPage,\r\n PdQuestionAssessedBusinessPage,\r\n PdQuestionLenderRepresentativePage,\r\n PdQuestionGeneralInfoPage,\r\n PdQuestionGeneralOtherApplicantPage,\r\n PdQuestionNeighbourHoodPage,\r\n PdQuestionFinalRemarkPage,\r\n PdQuestionBusinessPage,\r\n PdQuestionBusinessGroupPage,\r\n PdQuestionBusinessAssetsPage,\r\n PdQuestionBusinessBankingPage,\r\n PdQuestionAssessedBusinessIncomePage,\r\n PdGeneralImagesPage,\r\n PdQuestionSalaryInfoPage,\r\n PdQuestionAssessedSummaryPage\r\n ],\r\n imports: [\r\n BrowserModule,ReactiveFormsModule,FormsModule,\r\n IonicModule.forRoot(MyApp),\r\n BrowserAnimationsModule,\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatButtonToggleModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,MatListModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatRadioModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatStepperModule,HttpClientModule,IonicImageViewerModule\r\n ],\r\n bootstrap: [IonicApp],\r\n entryComponents: [\r\n MyApp,\r\n AuthPage,\r\n LoginPage,\r\n PdListPage,\r\n PdQuestionCategoryPage,\r\n PdQuestionPage,\r\n GoogleplaytabPage,\r\n PasswordPage,\r\n PdAllocationPage,\r\n InputPage,\r\n OtpPage,\r\n PdQuestionAddressPage,\r\n PdQuestionAssestsPage,\r\n PdQuestionBankingPage,\r\n PdQuestionCurrentLoansPage,\r\n PdQuestionEmpInfoPage,\r\n PdQuestionFamilyPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionLoansPage,\r\n PdQuestionFinancialInfoPage,\r\n PdQuestionOtherIncomePage,\r\n PdQuestionSupplierInfoPage,\r\n PdQuestionPersonalInfoPage,\r\n PdQuestionStockInfoPage,\r\n PdQuestionClientInfoPage,\r\n PdQuestionRentalInfoPage,\r\n PdQuestionAssessedInfoPage,\r\n PdQuestionAssessedDailySalesPage,\r\n PdQuestionAssessedSalesPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionAssessedHouseholdPage,\r\n PdQuestionAssessedPurchasePage,\r\n PdQuestionAssessedDashPage,\r\n BouncedRejectPage,\r\n PdQuestionAssessedBusinessPage,\r\n PdQuestionLenderRepresentativePage,\r\n PdQuestionGeneralInfoPage,\r\n PdQuestionGeneralOtherApplicantPage,\r\n PdQuestionNeighbourHoodPage,\r\n PdQuestionFinalRemarkPage,\r\n PdQuestionBusinessPage,\r\n PdQuestionBusinessGroupPage,\r\n PdQuestionBusinessAssetsPage,\r\n PdQuestionBusinessBankingPage,\r\n PdQuestionAssessedBusinessIncomePage,\r\n PdGeneralImagesPage,\r\n PdQuestionSalaryInfoPage,\r\n PdQuestionAssessedSummaryPage\r\n \r\n ],\r\n providers: [\r\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\r\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,\r\n {\r\n provide:HTTP_INTERCEPTORS,\r\n useClass: TokenInterceptor,\r\n multi: true\r\n },\r\n {\r\n provide: ErrorHandler,\r\n useClass: IonicErrorHandler\r\n },LaunchNavigator,\r\n AwsServiceProvider,\r\n QuestionCategoryProvider,\r\n CameraProvider,Camera,\r\n PdPipe,LocationAccuracy,\r\n LoadingProvider,Geolocation,\r\n DatabaseProvider\r\n ]\r\n})\r\nexport class AppModule {}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { Nav, Platform } from 'ionic-angular';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport { LoginPage } from '../pages/login/login';\r\nimport { PdListPage } from '../pages/pd-list/pd-list';\r\nimport { MethodCall } from '@angular/compiler';\r\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\r\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\r\nimport { PasswordPage } from '../pages/password/password';\r\nimport { AuthPage } from '../pages/auth/auth';\r\nimport {AlertController} from 'ionic-angular'\r\nimport { platformBrowser } from '@angular/platform-browser';\r\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\n\r\n@Component({\r\n templateUrl: 'app.html'\r\n})\r\nexport class MyApp {\r\n userDetails: any;\r\n userAccess:boolean = false;\r\n @ViewChild(Nav) nav: Nav;\r\n\r\n rootPage: any = LoginPage;\r\n public alertShown:boolean=false\r\n\r\n pages: Array<{title: string,icon:any, method: any}>;\r\n\r\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\r\n ,public alertCtrl:AlertController) {\r\n this.initializeApp();\r\n\r\n // used for an example of ngFor and navigation\r\n this.pages = [ \r\n // { title: 'Home', component: HomePage, icon: 'home' },\r\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\r\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)}\r\n ];\r\n\r\n\r\n }\r\n\r\n initializeApp() {\r\n this.platform.ready().then(() => {\r\n // Okay, so the platform is ready and our plugins are available.\r\n // Here you can do any higher level native things you might need.\r\n this.statusBar.styleDefault();\r\n if (this.platform.is('android')) {\r\n this.statusBar.overlaysWebView(false);\r\n this.statusBar.backgroundColorByHexString('#db4437');\r\n \r\n }\r\n this.splashScreen.hide();\r\n\r\n this.shared.getAccessToken().then(()=>{\r\n this.getuserDetails();\r\n this.rootPage = AuthPage\r\n }).catch(()=>{\r\n setTimeout(() => {\r\n this.rootPage = LoginPage;\r\n }, 1000);\r\n });\r\n \r\n });\r\n this.platform.registerBackButtonAction(()=>{\r\n if(this.nav.length()==1){\r\n if(this.alertShown==false){\r\n //this.presentConfirm(); \r\n let alert=this.alertCtrl.create({\r\n title:'Confirm Exit',\r\n message:'Do You Want Exit ?',\r\n buttons:[\r\n {\r\n text:'Cancel',\r\n role:'cancel',\r\n handler:()=>{\r\n console.log(\"Cancel clicked\");\r\n this.alertShown=false\r\n alert.dismiss\r\n }\r\n },\r\n {\r\n text:'Yes',\r\n handler:()=>{\r\n console.log(\"Exit\");\r\n this.platform.exitApp();\r\n }\r\n }\r\n ]\r\n });\r\n alert.present();\r\n this.alertShown=true\r\n }\r\n }\r\n else{\r\n this.nav.pop()\r\n }\r\n });\r\n }\r\n\r\n presentConfirm(){\r\nlet alert=this.alertCtrl.create({\r\n title:'Confirm Exit',\r\n message:'Do You Want Exit ?',\r\n buttons:[\r\n {\r\n text:'Cancel',\r\n role:'cancel',\r\n handler:()=>{\r\n console.log(\"Cancel clicked\");\r\n // this.alertShown=false\r\n alert.dismiss\r\n }\r\n },\r\n {\r\n text:'Yes',\r\n handler:()=>{\r\n console.log(\"Exit\");\r\n this.platform.exitApp();\r\n }\r\n }\r\n ]\r\n});\r\n alert.present();\r\n // this.alertShown=true;\r\n }\r\n getuserDetails()\r\n {\r\n \r\n let userid = this.aws.getlocale();\r\n this.aws.getuserprofile(userid).subscribe(res=>{\r\n this.userDetails = res;\r\n if(this.userDetails.dataStatus == true)\r\n { \r\n this.userAccess = true;\r\n this.userDetails = this.userDetails.records[0];\r\n \r\n }\r\n \r\n });\r\n }\r\n menulist(id){\r\n //alert();\r\n switch(id)\r\n {\r\n case 1:\r\n this.nav.setRoot(PdListPage);\r\n break;\r\n case 2:\r\n this.AWS.logout().subscribe(()=>{\r\n \r\n this.nav.setRoot(LoginPage);\r\n });\r\n break;\r\n case 3:\r\n break;\r\n case 4:\r\n break;\r\n}\r\n}\r\n logout()\r\n {\r\n // this.aws.logout();\r\n this.nav.setRoot(LoginPage);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\r\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n\r\n\r\n\r\n@Injectable()\r\nexport class AuthGuard {\r\n \r\n constructor() { \r\n\r\n \r\n }\r\n\r\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n // // if (this.shared.getToken()) {\r\n // alert(\"if\");\r\n // // this.router.navigate(['']);\r\n // return true\r\n // } else {\r\n // alert(\"else\");\r\n // this.router.navigate(['/login']);\r\n // return false;\r\n // }\r\n // }\r\n getlogin(){\r\n // if (this.shared.getToken()) {\r\n // // alert(\"if\");\r\n // //alert();\r\n // return true;\r\n // } else {\r\n // // alert(\"else\");\r\n \r\n // //this.myGlobalServiceNav.setRoot(LoginPage);\r\n // this.shared.isloggin = false;\r\n // return false;\r\n \r\n \r\n // }\r\n }\r\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\r\n \r\n \r\n // }\r\n\r\n // public getToken(): string {\r\n // return localStorage.getItem('token');\r\n // }\r\n\r\n // public logOut() {\r\n // localStorage.clear();\r\n // if(localStorage.getItem('token') === null){\r\n // this.router.navigate(['/login']);\r\n // }\r\n // }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\r\nimport {\r\n HttpRequest,\r\n HttpHandler,\r\n HttpEvent,\r\n HttpInterceptor,\r\n HttpHeaders\r\n} from '@angular/common/http';\r\n// import { AuthGuard } from './auth.guard';\r\nimport { Observable, of} from 'rxjs';\r\n\r\n// import { Router } from '@angular/router';\r\n\r\nimport { catchError, map, tap } from 'rxjs/operators';\r\nimport { HttpErrorResponse } from \"@angular/common/http\";\r\n\r\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\r\n\r\n@Injectable()\r\nexport class TokenInterceptor implements HttpInterceptor{\r\n constructor(public shared:CognitoServiceProvider ) {\r\n \r\n }\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n // request = request.clone({\r\n // setHeaders: {\r\n // Authorization: `${this.auth.getToken()}`\r\n // }\r\n // });\r\n let token:any;\r\n this.shared.refresh();\r\n token = this.shared.getToken() || null;\r\n \r\n token = token.getIdToken().getJwtToken();\r\n \r\n //console.log(token);\r\n let requests = request.clone({\r\n headers:new HttpHeaders({\r\n \r\n 'Authorization': 'sparqvenba2018',\r\n 'Token':token,\r\n 'From':'1',\r\n \r\n \r\n }) \r\n \r\n });\r\n \r\n return next.handle(requests).pipe(\r\n catchError(this.handleError('role', []))\r\n )\r\n }\r\n\r\n private handleError (operation = 'operation', result?: T) {\r\n return (error: any): Observable => {\r\n if(error instanceof HttpErrorResponse){\r\n console.error(\"Error: \" + error.status);\r\n if(error.status == 401){\r\n localStorage.clear();\r\n // this.router.navigate(['/authentication/login']);\r\n }\r\n return of(result as T);\r\n }\r\n };\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\r\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the GoogleplaytabPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-googleplaytab',\r\n templateUrl: 'googleplaytab.html',\r\n})\r\nexport class GoogleplaytabPage {\r\n\r\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\r\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\r\n\r\n SwipedTabsIndicator :any= null;\r\n tabTitleWidthArray :any= [];\r\n tabElementWidth_px :number= 50;\r\n screenWidth_px :number= 0;\r\n isRight :boolean= true;\r\n isLeft:boolean= true;\r\n tabs:any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\r\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\r\n console.log('Width: ' + platform.width());\r\n this.screenWidth_px=platform.width();\r\n \r\n}\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad GoogleplaytabPage');\r\n }\r\n ionViewDidEnter() {\r\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\r\n for (let i in this.tabs)\r\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\r\n\r\n this.selectTab(0);\r\n }\r\n\r\n scrollIndicatiorTab()\r\n {\r\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\r\n }\r\n\r\n selectTab(index)\r\n {\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n this.SwipedTabsSlider.slideTo(index);\r\n }\r\n\r\n calculateDistanceToSpnd(index)\r\n {\r\n var result=0;\r\n for (var _i = 0; _i < index; _i++) {\r\n result=result+this.tabTitleWidthArray[_i];\r\n }\r\n return result;\r\n }\r\n\r\n updateIndicatorPosition() {\r\n var index=this.SwipedTabsSlider.getActiveIndex();\r\n if( this.SwipedTabsSlider.length()==index)\r\n index=index-1;\r\n\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n\r\n }\r\n\r\n updateIndicatorPositionOnTouchEnd()\r\n {\r\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\r\n }\r\n\r\n animateIndicator($event)\r\n {\r\n\r\n this.isLeft=false;\r\n this.isRight=false;\r\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\r\n if($event.progress < currentSliderCenterProgress)\r\n {\r\n this.isLeft=true;\r\n this.isRight=false;\r\n\r\n } if($event.progress > currentSliderCenterProgress)\r\n {\r\n this.isLeft=false;\r\n this.isRight=true;\r\n }\r\n\r\n if(this.SwipedTabsSlider.isEnd())\r\n this.isRight=false;\r\n\r\n if( this.SwipedTabsSlider.isBeginning())\r\n this.isLeft=false;\r\n\r\n if(this.isRight)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\r\n +'px,0,0)';\r\n\r\n if(this.isLeft)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\r\n +'px,0,0)';\r\n\r\n if(!this.isRight && !this.isLeft)\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\r\n\r\n }\r\n\r\n\r\n\r\n}\r\n\r\n \r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the PdAllocationPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-allocation',\r\n templateUrl: 'pd-allocation.html',\r\n})\r\nexport class PdAllocationPage {\r\npdFullDetails:any = [];\r\n constructor(public navCtrl: NavController, public navParams: NavParams) {\r\n \r\n this.pdFullDetails = this.navParams.get('pdDetails');\r\n console.log(this.pdFullDetails);\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdAllocationPage');\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category'\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business',\r\n templateUrl: 'pd-question-business.html',\r\n})\r\nexport class PdQuestionBusinessPage {\r\n pdDetails:any;\r\n pdid:any;\r\n users:any;\r\n FormId:any;\r\n existCompanyList:any=[]\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId=this.navParams.get('FormId');\r\n this.users=this.aws.getlocale\r\n\r\n this.getDropDown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessPage');\r\n }\r\ngetDropDown(){\r\n this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(res=>{\r\n this.existCompanyList=res['records'].filter(data=>data.is_active == true && data.is_company_applicant == true);\r\n console.log(this.existCompanyList);\r\n })\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business/pd-question-business.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionSalaryInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-salary-info',\r\n templateUrl: 'pd-question-salary-info.html',\r\n})\r\nexport class PdQuestionSalaryInfoPage {\r\n\r\n salaryDetails:FormGroup\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\r\n \r\n this.salaryDetails = this.fb.group(\r\n {\r\n gross:[null],\r\n netTakeHome:[null],\r\n bounsIncentive:[null],\r\n salaryDate:[null],\r\n anydelays:[null], \r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { Injectable } from '@angular/core';\r\n\r\n// import { CanActivateChild, Router } from '@angular/router';\r\nimport {\r\n AuthenticationDetails,\r\n CognitoUserPool,\r\n CognitoUser,\r\n \r\n} from \"amazon-cognito-identity-js\";\r\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\r\n\r\n// import { environment } from '../../environments/environment';\r\n\r\nimport { BehaviorSubject,Observable,of } from 'rxjs';\r\n\r\nconst sineedge_poolData = { \r\n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\r\n};\r\nconst sineedgedev_poolData = {\r\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\r\n}\r\nconst lender_poolData = {\r\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\r\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\r\n};\r\nconst vendor_poolData = {\r\n UserPoolId: \"\",\r\n ClientId: \"\"\r\n}\r\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\r\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\r\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\r\n\r\n/**\r\n* Identity PoolID \r\n*/\r\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\r\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\r\nconst vendorIdenttiy = \"\";\r\n// serviceProvider\r\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\r\n// const apiurl = \"http://localhost/sparqapi/api/\";\r\n\r\n@Injectable()\r\n\r\nexport class CognitoServiceProvider {\r\n public loggedIn :boolean = false;\r\n // public static _REGION = environment.region;\r\n\r\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\r\n // public static _USER_POOL_ID = environment.UserPoolId;\r\n // public static _CLIENT_ID = environment.ClientId;\r\n\r\n // public static _POOL_DATA: any = {\r\n // UserPoolId: CognitoService._USER_POOL_ID,\r\n // ClientId: CognitoService._CLIENT_ID\r\n // };\r\n \r\n\r\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\r\nisloggin:boolean = false; \r\n\r\n\r\n \r\n\r\n \r\n constructor() { \r\n \r\n }\r\n getCurrentUser() {\r\n \r\n return sineedgedevUserpool.getCurrentUser();\r\n}\r\n get isLoggedIn() {\r\n if(sineedgedevUserpool.getCurrentUser() !=null){\r\n this.loggedIn = true;\r\n }else{\r\n this.loggedIn = false;\r\n }\r\n return this.loggedIn; // {2}\r\n }\r\n \r\nrefresh() {\r\n let tokenexp:boolean;\r\n \r\n if(this.getCurrentUser() !=null){\r\n \r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n }\r\n\r\n else {\r\n if (session.isValid()) {\r\n tokenexp = session.isValid();\r\n of(tokenexp)\r\n console.log(\"CognitoUtil: refreshed successfully\");\r\n \r\n } else {\r\n tokenexp = session.isValid();\r\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\r\n \r\n }\r\n }\r\n \r\n return tokenexp;\r\n \r\n });\r\n }else{\r\n this.loggedIn = false;\r\n }\r\n}\r\ngetAccessToken(){\r\n this.refresh();\r\n return new Promise((resolve, reject) => {\r\n let jwttoken = '';\r\n if (this.getCurrentUser() != null) {\r\n //console.log(JSON.stringify(this.getCurrentUser()));\r\n // console.log('76 if');\r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n jwttoken ='';\r\n // console.log('81 if')\r\n reject(err);\r\n }\r\n else {\r\n if (session.isValid()) {\r\n // console.log('85 else if');\r\n jwttoken = session;\r\n resolve();\r\n } else {\r\n \r\n }\r\n }\r\n });\r\n }\r\n else {\r\n //console.log(\"else\");\r\n reject();\r\n }\r\n});\r\n}\r\n\r\ngetToken():any {\r\n let isloggin = false;\r\n let jwttoken = '';\r\n if (this.getCurrentUser() != null) {\r\n \r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n isloggin = false;\r\n //console.log('81 if')\r\n }\r\n else {\r\n //alert('function else');\r\n if (session.isValid()) {\r\n // console.log('85 else if');\r\n jwttoken = session;\r\n isloggin = true;\r\n } else {\r\n \r\n isloggin = false;\r\n }\r\n }\r\n });\r\n }\r\n else {\r\n // console.log(\"else\");\r\n isloggin = false;\r\n }\r\n return jwttoken;\r\n}\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {\r\n AuthenticationDetails,\r\n CognitoUserPool,\r\n CognitoUser,\r\n \r\n} from \"amazon-cognito-identity-js\";\r\n\r\n\r\nimport { Observable } from \"rxjs/Observable\";\r\nimport \"rxjs/add/operator/map\";\r\nimport { CognitoServiceProvider } from './cognito.service';\r\nimport { ConstantsProvider } from '../constants/constants';\r\nimport { UrlResolver } from '@angular/compiler';\r\nconst sineedgedev_poolData = {\r\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\r\n}\r\nconst lender_poolData = {\r\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\r\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\r\n};\r\nconst vendor_poolData = {\r\n UserPoolId: \"ap-south-1_K57yPaWxV\",\r\n ClientId: \"\"\r\n}\r\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\r\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\r\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\r\n\r\n/**\r\n* Identity PoolID \r\n*/\r\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\r\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\r\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\r\n\r\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Injectable()\r\nexport class AwsServiceProvider {\r\napiurl:any;\r\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\r\n this.apiurl = con.apiurl();\r\n }\r\n\r\n dologin(authenticationData) {\r\n // alert();\r\n //(authenticationData);\r\n const authenticationDetails = new AuthenticationDetails(authenticationData);\r\n let Newpassword = authenticationData.newpassword;\r\n let attributesData = [];\r\n const userData = {\r\n Username: authenticationData.Username, // User email id\r\n Pool: sineedgedevUserpool // user Pool ID\r\n };\r\n let cognitoUser = new CognitoUser(userData);\r\n return Observable.create(observer => {\r\n cognitoUser.authenticateUser(authenticationDetails, {\r\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \r\n cognitoUser.completeNewPasswordChallenge(\r\n Newpassword,\r\n attributesData,\r\n {\r\n onSuccess: function (result) {\r\n observer.next(result);\r\n observer.complete();\r\n },\r\n onFailure: function (err) {\r\n //(err);\r\n observer.error(err);\r\n //LoginComponent.prototype.open();\r\n }\r\n }\r\n );\r\n },\r\n onSuccess: function (result) { // success user login\r\n // let accessToken = result.getAccessToken().getJwtToken();\r\n ////(result);\r\n //window.localStorage.setItem('Currentuser', '1');\r\n observer.next(result);\r\n observer.complete();\r\n this.shared.isloggin = true;\r\n },\r\n onFailure: function (err) { // error user login\r\n\r\n //alert(err.message);\r\n observer.error(err);\r\n }\r\n });\r\n });\r\n }\r\n userforgotpass(auth) {\r\n ////(auth);\r\n const userData = {\r\n Username: auth.Username,\r\n Pool: sineedgedevUserpool\r\n };\r\n let cognitoUser = new CognitoUser(userData);\r\n return Observable.create(observe => {\r\n cognitoUser.forgotPassword({\r\n onSuccess: function (data) {\r\n // successfully initiated reset password request\r\n //('CodeDeliveryData from forgotPassword: ' + data);\r\n observe.next(data);\r\n },\r\n onFailure: function (err) {\r\n alert(err.message || JSON.stringify(err));\r\n },\r\n //Optional automatic callback\r\n inputVerificationCode: function (data) {\r\n //('Code sent to: ' + data);\r\n var verificationCode = prompt('Please input verification code ', '');\r\n var newPassword = prompt('Enter new password ', '');\r\n cognitoUser.confirmPassword(verificationCode, newPassword, {\r\n onSuccess() {\r\n //('Password confirmed!');\r\n },\r\n onFailure(err) {\r\n //('Password not confirmed!');\r\n }\r\n });\r\n }\r\n });\r\n });\r\n\r\n\r\n }\r\n /**\r\n * End of the function \r\n */\r\n\r\n /**\r\n * Logout function\r\n */\r\n logout(){\r\n \r\n return Observable.create(observe=>{\r\n this.shared.getCurrentUser().signOut(); \r\n \r\n observe.next();\r\n \r\n observe.complete();\r\n });\r\n }\r\n\r\n\r\n /**\r\n * Config function\r\n */\r\n // getconfig() {\r\n // let session:any = this.shared.getAccessToken() || \"\";\r\n \r\n // let config = \"\";\r\n // config += AWS.config.region = \"ap-south-1\";\r\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\r\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\r\n // Logins: {\r\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\r\n // .getIdToken()\r\n // .getJwtToken()\r\n // }\r\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\r\n // });\r\n // return config;\r\n // }\r\n\r\n getlocale(){\r\n let session:any = this.shared.getToken() || null;\r\n let userid = session.idToken.payload.locale;\r\n return userid;\r\n }\r\n getuserprofile(userid)\r\n {\r\n \r\n \r\n // alert();\r\n \r\n //console.log(cogusers.idToken.payload.locale);\r\n let roles = {'userid':userid}; \r\n \r\n \r\n // let request = new RequestOptions({headers:headers});\r\n return this.http.post(this.apiurl+'getUsersDetails',roles);\r\n \r\n }\r\n\r\n userpinupdate(pin)\r\n {\r\n let userid = this.getlocale(); \r\n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\r\n let formdata = new FormData();\r\n \r\n formdata.append('records',JSON.stringify(records));\r\n return this.http.post(this.apiurl+'updateExistUser',formdata);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts","import { Component,ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\r\nimport { InputPage } from '../input/input';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { parseDate } from 'ionic-angular/util/datetime-util';\r\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\r\nimport { OtpPage } from '../otp/otp';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { DatabaseProvider } from '../../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n/**\r\n * Generated class for the PdListPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-list',\r\n templateUrl: 'pd-list.html',\r\n})\r\nexport class PdListPage {\r\n\r\n @ViewChild('slider') slider:Slides;\r\n searchinprogress: any;\r\n searchpast: any;\r\n pdschduleDetails: any;\r\n bgColorPast: any = [];\r\n bgColor: any = [];\r\n pdinprogress: any=[];\r\n pdlistdetails: any=[];\r\n viewchange: boolean;\r\n pdlist:any = \"0\";\r\n pdlistaccess:boolean = null;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\r\n //this.getlenderpddetails(); \r\n // this.getpdTriggerdetails();\r\n \r\n }\r\n selectedTab(ind)\r\n {\r\n this.slider.slideTo(ind)\r\n }\r\n moveButton(event){\r\n this.pdlist=event._snapIndex.toString();\r\n }\r\n\r\n ionViewDidLoad() {\r\n \r\n console.log('ionViewDidLoad PdListPage');\r\n this.db.getuserDetails();\r\n this.setpermission();\r\n }\r\n ionViewCanEnter()\r\n {\r\n console.log(\"Pd list ionViewCanEnter\")\r\n this.getpdTriggerdetails();\r\n }\r\n filter(view){\r\n if(!view){\r\n this.viewchange = true;\r\n }else{\r\n this.viewchange = false;\r\n this.pdinprogress = this.pdinprogress;\r\n this.pdschduleDetails = this.pdschduleDetails;\r\n }\r\n \r\n //alert(this.viewchange);\r\n }\r\n pdlistsearch(searchbar) {\r\n \r\n this.pdinprogress = this.searchinprogress;\r\n this.pdschduleDetails = this.searchpast;\r\n // reset countries list with initial call\r\n //this.pdinprogress = this.countriesInitial;\r\n // set q to the value of the searchbar\r\n var q = searchbar.target.value;\r\n\r\n // if the value is an empty string don't filter the items\r\n \r\n if(this.pdlist == \"inpro\"){\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n this.pdinprogress = this.searchinprogress.filter((v) => {\r\n if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n return true;\r\n }\r\n return false;\r\n })\r\n }\r\n }else\r\n {\r\n if (q.trim() == '') {\r\n \r\n return ;\r\n }else{\r\n this.pdschduleDetails = this.searchpast.filter((v) => {\r\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\r\n || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1|| v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n \r\n return true;\r\n }\r\n \r\n return false;\r\n })\r\n }\r\n \r\n}\r\n}\r\n newpage(){\r\n this.navCtrl.push(InputPage);\r\n }\r\n getpdTriggerdetails()\r\n {\r\n \r\n let userid = this.aws.getlocale();\r\n //.log(\"User\",userid)\r\n\r\n this.pdofficer.getpddetails(userid).subscribe(res=>\r\n {\r\n this.pdlistdetails = res;\r\n if(this.pdlistdetails.dataStatus == true)\r\n {\r\n \r\n \r\n this.pdlistaccess = true;\r\n this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status ==\"ACCEPTED\" || sch.pd_status ==\"SCHEDULED\" || sch.pd_status ==\"INITIATED\" || sch.pd_status ==\"STARTED\" || sch.pd_status ==\"INPROGRESS\" && sch.applicat_details);\r\n this.searchpast = this.pdschduleDetails;\r\n \r\n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\r\n this.searchinprogress = this.pdinprogress;\r\n \r\n this.random_bg_color();\r\n this.random_ng_past();\r\n }else\r\n {\r\n this.pdlistaccess = false;\r\n this.pdlistdetails = \"No Records Found\";\r\n }\r\n })\r\n }\r\n\r\n random_bg_color() {\r\n for(let id of this.pdinprogress){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n \r\n return this.bgColor;\r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.pdschduleDetails){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n doRefresh(refresher) {\r\n this.bgColor = [];\r\n this.pdschduleDetails = [];\r\n this.pdinprogress = [];\r\n \r\n this.shared.refresh();\r\n this.getpdTriggerdetails();\r\n setTimeout(() => {\r\n \r\n refresher.complete();\r\n }, 2000);\r\n }\r\n \r\n PdAllocation(pddetails)\r\n {\r\n \r\n if(pddetails.pd_status == 'STARTED')\r\n {\r\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\r\n }else if(pddetails.pd_status == 'INPROGRESS'){\r\n this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails});\r\n }else{\r\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\r\n }\r\n }\r\n\r\n setpermission()\r\n {\r\n // let permission = this.androidPermissions.PERMISSION; \r\n // let premission_list = [\r\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\r\n // permission.CAMERA,\r\n\r\n\r\n // ];\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {ConstantsProvider} from '../constants/constants';\r\n\r\n/*\r\n Generated class for the PdtriggerProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n\r\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\r\n@Injectable()\r\nexport class PdtriggerProvider {\r\n apiurl:any;\r\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\r\n this.apiurl = constants.apiurl();\r\n console.log('Hello PdtriggerProvider Provider');\r\n }\r\n\r\n \r\n\r\n /**get dropdonw list */\r\n\r\n /**Get list of PD Trigger */\r\n\r\n getpddetails(userid)\r\n { \r\n console.log(userid);\r\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\r\n }\r\n\r\n getFullPDdetails(pdid)\r\n {\r\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\r\n }\r\n\r\n updatepdStatus(dataStatus)\r\n {\r\n let records = {'records':dataStatus};\r\n return this.http.post(this.apiurl+'updatePDMaster',records);\r\n }\r\n\r\n saveCurrentLocation(data)\r\n {\r\n let records = {'records':data};\r\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\r\n }\r\n\r\n checkotp(otpDetails)\r\n {\r\n\r\n let records = {'records':otpDetails};\r\n \r\n return this.http.post(this.apiurl+'checkOTP',records); \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Toast, ToastController } from 'ionic-angular';\r\n\r\n/*\r\n Generated class for the ToastProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class ToastProvider {\r\n\r\n constructor(public http: HttpClient,public toast:ToastController) {\r\n console.log('Hello ToastProvider Provider');\r\n }\r\n pdTriggerappmessage(mess){\r\n let valalert = this.toast.create({\r\n message:mess, \r\n duration: 3000, \r\n position: 'bottom',\r\n dismissOnPageChange: true,\r\n });\r\n\r\n valalert.present();\r\n} \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["../../src/providers/question-category/question-category.ts","../../src/pages/pd-question-category/pd-question-category.ts","../../src/providers/constants/constants.ts","../../src/pages/otp/otp.ts","../../src/providers/common-provider/camera.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","../../src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","../../node_modules/@angular/core/esm5 lazy","../../src lazy","../../src/pages/login/login.ts","../../src/pages/input/input.ts","../../src/pages/pd-question/pd-question.ts","../../src/pages/pd-question/pd-question-address/pd-question-address.ts","../../src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","../../src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","../../src/pages/pd-question/pd-question-loans/pd-question-loans.ts","../../src/pages/pd-question/pd-question-banking/pd-question-banking.ts","../../src/pages/pd-question/pd-question-family/pd-question-family.ts","../../src/pages/pd-question/pd-question-assests/pd-question-assests.ts","../../src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","../../src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","../../src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","../../src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","../../src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","../../src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","../../src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","../../src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","../../src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","../../src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","../../src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","../../src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","../../src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","../../src/pipes/pd/pd.ts","../../src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","../../src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","../../src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","../../src/pages/pd-general-images/pd-general-images.ts","../../src/pages/input/bounced-reject/bounced-reject.ts","../../src/providers/database/database.ts","../../src/pages/password/password.ts","../../src/pages/auth/auth.ts","../../src/providers/common-provider/loading.ts","../../src/app/main.ts","../../src/app/app.module.ts","../../src/app/app.component.ts","../../src/providers/_guard/auth.guard.ts","../../src/providers/_guard/token.interceptor.ts","../../src/pages/googleplaytab/googleplaytab.ts","../../src/pages/pd-allocation/pd-allocation.ts","../../src/pages/pd-question/pd-question-business/pd-question-business.ts","../../src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","../../src/providers/aws-service/cognito.service.ts","../../src/providers/aws-service/aws-service.ts","../../src/pages/pd-list/pd-list.ts","../../src/providers/pdtrigger/pdtrigger.ts","../../src/providers/common-provider/toast.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;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AAI,CAAC,KAAK,CAAC,MAAM,CAAC;YAC/B,OAAO,EAAC,IAAI;YACZ,QAAQ,EAAE,IAAI;YACd,QAAQ,EAAE,QAAQ;YAClB,mBAAmB,EAAE,IAAI;SAC5B,CAAC,CAAC;QAEH,QAAQ,CAAC,OAAO,EAAE,CAAC;IACrB,CAAC;IAdY,aAAa;QADzB,yEAAU,EAAE;yCAGc,wEAAU,EAAc,sEAAe;OAFrD,aAAa,CAezB;IAAD,oBAAC;CAAA;AAfyB","file":"main.js","sourcesContent":["import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { ConstantsProvider } from '../constants/constants';\r\n\r\n/*\r\n Generated class for the QuestionCategoryProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class QuestionCategoryProvider {\r\napiurl:any;\r\n constructor(public http: HttpClient,public constant:ConstantsProvider) {\r\n console.log('Hello QuestionCategoryProvider Provider');\r\n this.apiurl = constant.apiurl();\r\n }\r\n \r\n \r\n getLoadTemplate(pdid)\r\n {\r\n return this.http.get(this.apiurl+'loadFullTemplate?pd_id='+pdid);\r\n }\r\n saveQusetion(saveData)\r\n {\r\n let records = {'records':[saveData]};\r\n return this.http.post(this.apiurl+'savePDQuestions',records);\r\n }\r\n\r\n \r\n getAnswerTemplate(qustDetails)\r\n {\r\n return this.http.post(this.apiurl+'getAnswersForPD',qustDetails);\r\n }\r\n\r\n /***\r\n * Get PD Questions dropdown api\r\n * sriram\r\n */\r\n getcommondrop(tableName)\r\n {\r\n let masters = {'master_name':tableName}\r\n return this.http.post(this.apiurl+'getListOfMaster',masters);\r\n }\r\n\r\n saveForm(records)\r\n { let record = {'records':records};\r\n return this.http.post(this.apiurl+'savePDFormDetails',record);\r\n }\r\n\r\n retiverForm(records)\r\n {\r\n return this.http.post(this.apiurl+'getPDFormDetails',records);\r\n }\r\n\r\n /**Assessed Form Details API */\r\n saveassessedForms(api,saveData)\r\n {\r\n return this.http.post(this.apiurl+api,saveData);\r\n }\r\n\r\n retiverassessedForm(api,records)\r\n {\r\n return this.http.post(this.apiurl+api,records);\r\n }\r\n\r\n updatePdApplicant(editData: any) {\r\n // editData.fk_updatedby = this._aws.getlocale();\r\n // editData.updatedon = currentdate;\r\n return this.http.post(this.apiurl + \"updatePDApplicants\", {\"pd_applicant_details\": editData})\r\n\r\n \r\n}\r\n\r\ngetEndUseForLoan(pdid:any,subproduct){\r\n return this.http.post(this.apiurl+ \"getEndUseOfLoan\",{ \"records\":{ \"pd_id\" : pdid,\"sub_product_id\":subproduct}})\r\n}\r\ngetCompaniesListsForBusiness(pdid:any){\r\n return this.http.post(this.apiurl+ \"getCompaniesListsForBusiness\", { \"records\":{ \"pd_id\" : pdid}})\r\n}\r\ngetStateWiseCities(stateid:any){\r\n return this.http.post(this.apiurl + \"getListOfStatesAndCities\", { \"records\":{ \"state_id\" : stateid}})\r\n}\r\ngetAllPersonsName(pdid:any){\r\n return this.http.post(this.apiurl + \"getAllPersonsName\", {\"pd_id\" : pdid})\r\n \r\n}\r\ngetStateCityDetails(){\r\n return this.http.post(this.apiurl + \"getListOfStatesCities\",\"\")\r\n}\r\ngetAssetsWithLoanFromBusiness(pdid:any){\r\n return this.http.post(this.apiurl + \"getAssetsWithLoanFromBusiness\",{ \"pd_id\" : pdid})\r\n\r\n}\r\n\r\n\r\ngetTypeofActivityForSuppliedInfoForm(pd_id: any,company_id:any){\r\n return this.http.post(this.apiurl+\"getTypeOfActivetyFromBusinessForm\", {\"records\": { \"pd_id\" : pd_id,\"company_id\":company_id }});\r\n}\r\n\r\n/** For Stock Details \r\n * To Get The Products With TypeofActivity From Business \r\n **/\r\nstockFormAccess(pdid: any,companyid: any) {\r\n // { \"pd_id\":\"104\",\"company_id\":\"1\"}\r\n return this.http.post(this.apiurl + \"getProductsFromBusiness\", {\"pd_id\" : pdid ,\"company_id\":companyid });\r\n}\r\n\r\n\r\n\r\n/*****Save Images */\r\nsavePDImages(imagesDetails)\r\n{ \r\n let record = {'records':imagesDetails};\r\n return this.http.post(this.apiurl+'savePDPhotos',record);\r\n}\r\ngetFamilyDetails(pdid:any){\r\n return this.http.post(this.apiurl+'getFamilyDetails',{\"pd_id\":pdid})\r\n}\r\ngetAddressDetails(pdid:any){\r\n return this.http.post(this.apiurl+'getPDAddress',{'pd_id':pdid})\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/question-category/question-category.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { GoogleplaytabPage } from '../googleplaytab/googleplaytab';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { PdQuestionPage } from '../pd-question/pd-question';\r\nimport Chart from 'chart.js';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { PdQuestionAddressPage } from '../pd-question/pd-question-address/pd-question-address';\r\nimport { PdQuestionEmpInfoPage } from '../pd-question/pd-question-emp-info/pd-question-emp-info';\r\nimport { PdQuestionCurrentLoansPage } from '../pd-question/pd-question-current-loans/pd-question-current-loans';\r\nimport { PdQuestionLoansPage } from '../pd-question/pd-question-loans/pd-question-loans';\r\n\r\nimport { PdQuestionBankingPage } from '../pd-question/pd-question-banking/pd-question-banking';\r\nimport { PdQuestionFamilyPage } from '../pd-question/pd-question-family/pd-question-family';\r\nimport { PdQuestionAssestsPage } from '../pd-question/pd-question-assests/pd-question-assests';\r\nimport { PdQuestionOtherIncomePage } from '../pd-question/pd-question-other-income/pd-question-other-income';\r\nimport { PdQuestionSupplierInfoPage } from '../pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { PdQuestionPersonalInfoPage } from '../pd-question/pd-question-personal-info/pd-question-personal-info';\r\nimport { PdQuestionStockInfoPage } from '../pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionFinancialInfoPage } from '../pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\r\nimport { PdQuestionClientInfoPage } from '../pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\nimport { PdQuestionRentalInfoPage } from '../pd-question/pd-question-rental-info/pd-question-rental-info';\r\nimport { PdQuestionAssessedInfoPage } from '../pd-question/pd-question-assessed-info/pd-question-assessed-info';\r\nimport { PdQuestionAssessedDashPage } from '../pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\r\nimport { PdQuestionLenderRepresentativePage } from '../pd-question/pd-question-lender-representative/pd-question-lender-representative';\r\nimport { PdQuestionGeneralInfoPage } from '../pd-question/pd-question-general-info/pd-question-general-info';\r\nimport { PdQuestionNeighbourHoodPage } from '../pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\r\nimport { PdQuestionFinalRemarkPage } from '../pd-question/pd-question-final-remark/pd-question-final-remark';\r\nimport { PdQuestionBusinessPage } from '../pd-question/pd-question-business/pd-question-business'\r\nimport { PdQuestionBusinessGroupPage } from '../pd-question/pd-question-business-group/pd-question-business-group'\r\n/**\r\n * Generated class for the PdQuestionCategoryPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-category',\r\n templateUrl: 'pd-question-category.html',\r\n})\r\nexport class PdQuestionCategoryPage {\r\n searchTempForm: any;\r\n searchQuestion: any;\r\n viewchange: boolean;\r\n templateAccess: boolean;\r\n bgColortempForm: any=[];\r\n bgColorqustCat: any=[];\r\n dis_forms:any;\r\n // @ViewChild('doughnutCanvas') doughnutCanvas;\r\n pdinfo: any;\r\nquestionList:any;\r\nquestionCate:any;\r\nquestionCateAccess:boolean = null;\r\nquestionfinishedList:any =[];\r\npddetails:any;\r\noverallqustioncountAccess:boolean = true;\r\ndoughnutChart: any;\r\ncompletedAccess:any;\r\nsearchitem:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public templateget:QuestionCategoryProvider,public aws:AwsServiceProvider, public shared:CognitoServiceProvider,public toast:ToastProvider,public pdstatusprovide:PdtriggerProvider) {\r\n this.pddetails = this.navParams.get('pdDetails');\r\n \r\n \r\n }\r\n\r\n ionViewCanEnter()\r\n {\r\n this.getcategoryList(); \r\n }\r\n // doughuntChart()\r\n // {\r\n // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, {\r\n \r\n // type: 'doughnut',\r\n // data: {\r\n // // labels: [\"Red\", \"Blue\", \"Yellow\", \"Green\", \"Purple\", \"Orange\"],\r\n // datasets: [{\r\n // label: '# of Votes',\r\n // data: [12],\r\n // backgroundColor: [\r\n // // 'rgba(255, 99, 132, 0.2)',\r\n // 'rgba(54, 162, 235, 0.2)',\r\n // // 'rgba(255, 206, 86, 0.2)',\r\n // // 'rgba(75, 192, 192, 0.2)',\r\n // // 'rgba(153, 102, 255, 0.2)',\r\n // // 'rgba(255, 159, 64, 0.2)'\r\n // ],\r\n // hoverBackgroundColor: [\r\n // \"#FF6384\",\r\n // \"#36A2EB\",\r\n // \"#FFCE56\",\r\n // \"#FF6384\",\r\n // \"#36A2EB\",\r\n // \"#FFCE56\"\r\n // ]\r\n // }]\r\n // }\r\n\r\n // });\r\n // }\r\n ionViewDidLoad() {\r\n this.shared.refresh();\r\n //this.doughuntChart();\r\n console.log('ionViewDidLoad PdQuestionCategoryPage');\r\n }\r\n \r\n getcategoryList()\r\n {\r\n let j = 1;\r\n this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(res=>\r\n {\r\n this.questionCate = res;\r\n if(this.questionCate.dataStatus == true)\r\n {\r\n \r\n this.questionCate = this.questionCate.records;\r\n this.random_ng_past(); \r\n if(this.questionCate.question_answers !='' && this.questionCate.template_forms!='')\r\n {\r\n this.questionCateAccess = true;\r\n this.templateAccess = true;\r\n this.questionCate = this.questionCate;\r\n this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\r\n this.searchQuestion = this.questionCate.question_answers;\r\n\r\n if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\r\n {\r\n this.overallqustioncountAccess = false;\r\n }else\r\n {\r\n this.overallqustioncountAccess = true;\r\n }\r\n \r\n \r\n \r\n \r\n \r\n }else if(this.questionCate.template_forms!='')\r\n {\r\n this.templateAccess = true;\r\n this.questionCate = this.questionCate\r\n this.dis_forms=this.questionCate.template_forms.filter(val=>val.isAnswerable==true );\r\n console.log(\"temp\",this.questionCate);\r\n this.searchTempForm = this.questionCate.template_forms\r\n // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count)\r\n // {\r\n // this.overallqustioncountAccess = false;\r\n // }else\r\n // {\r\n // this.overallqustioncountAccess = true;\r\n // }\r\n }\r\n else\r\n {\r\n this.questionCateAccess = false;\r\n this.templateAccess = false; \r\n this.questionCate = \"No Template Available\";\r\n }\r\n }\r\n })\r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.questionCate.question_answers){\r\n var a = Math.floor(Math.random() * 256);\r\n var b = Math.floor(Math.random() * 256);\r\n var c = Math.floor(Math.random() * 256);\r\n this.bgColorqustCat.push(\"rgb(\" + a + \",\" + b + \",\" + c + \")\");\r\n \r\n }\r\n for(let id of this.questionCate.template_forms){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColortempForm.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n questionsTag(categroyId){\r\n \r\n this.pdinfo = this.pddetails; \r\n \r\n this.questionCate = this.questionCate.question_answers.filter(cate=>cate.fk_question_category_id == categroyId)[0];\r\n // if(this.questionCate.questions.length !=\"0\"){\r\n this.navCtrl.push(PdQuestionPage,{'questionDetails':this.questionCate,'pdDetails':this.pdinfo});\r\n \r\n // }else\r\n // {\r\n // this.getcategoryList();\r\n // this.toast.pdTriggerappmessage('No Question Available');\r\n // }\r\n }\r\n\r\n tempQustionTag(categroyId)\r\n {\r\n this.pdinfo = this.pddetails; \r\n let formName = this.questionCate.template_forms.filter(temp=>temp.form_id==categroyId)[0];\r\n if(categroyId ==5)\r\n {\r\n this.navCtrl.push(PdQuestionAddressPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n \r\n }else if(categroyId==12){\r\n this.navCtrl.push(PdQuestionEmpInfoPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n }else if(categroyId==10)\r\n {\r\n this.navCtrl.push(PdQuestionLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==8){\r\n this.navCtrl.push(PdQuestionCurrentLoansPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==13)\r\n {\r\n this.navCtrl.push(PdQuestionBusinessGroupPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n \r\n }else if(categroyId==7)\r\n {\r\n this.navCtrl.push(PdQuestionBankingPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n\r\n }else if(categroyId==6)\r\n {\r\n this.navCtrl.push(PdQuestionFamilyPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId ==4){\r\n this.navCtrl.push(PdQuestionAssestsPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==9){\r\n this.navCtrl.push(PdQuestionOtherIncomePage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==1){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==3){\r\n this.navCtrl.push(PdQuestionPersonalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==11)\r\n {\r\n this.navCtrl.push(PdQuestionStockInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==14)\r\n {\r\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId ==2)\r\n {\r\n this.navCtrl.push(PdQuestionClientInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId ==17)\r\n {\r\n this.navCtrl.push(PdQuestionRentalInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }\r\n else if(categroyId==16)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedDashPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==15)\r\n {\r\n this.navCtrl.push(PdQuestionLenderRepresentativePage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n \r\n }else if(categroyId==18)\r\n {\r\n this.navCtrl.push(PdQuestionGeneralInfoPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }else if(categroyId==19)\r\n {\r\n this.navCtrl.push(PdQuestionNeighbourHoodPage,{'FormId':formName,'pdDetails':this.pdinfo}); \r\n }\r\n else if(categroyId==20)\r\n {\r\n this.navCtrl.push(PdQuestionFinalRemarkPage,{'FormId':formName,'pdDetails':this.pdinfo});\r\n }\r\n }\r\n filter(view){\r\n if(!view){\r\n this.viewchange = true;\r\n }else{\r\n this.viewchange = false;\r\n }\r\n //alert(this.viewchange);\r\n }\r\n pdlistsearch(searchbar) {\r\n // this.questionCate = this.searchQuestion;\r\n // this.questionCate.template_forms = this.searchTempForm;\r\n // reset countries list with initial call\r\n //this.pdinprogress = this.countriesInitial;\r\n // set q to the value of the searchbar\r\n var q = searchbar.target.value;\r\n\r\n // if the value is an empty string don't filter the items\r\n if(this.searchQuestion !== undefined){\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n // this.questionCate.question_answers = this.searchQuestion.filter((v) => {\r\n // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n // return true;\r\n // }\r\n // })\r\n }\r\n }else\r\n {\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n// this.questionCate.template_forms = this.searchTempForm.filter((v) => {\r\n// if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n// return true;\r\n// }\r\n// })\r\n }\r\n }\r\n}\r\n completed()\r\n {\r\n let users = this.aws.getlocale();\r\n \r\n let data = {'pd_id':this.questionCate.pdmaster_details.pd_id,'pd_status':'COMPLETED','fk_updatedby':users,'updatedon':currentdate};\r\n \r\n this.pdstatusprovide.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.completedAccess = res;\r\n if(this.completedAccess.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage);\r\n }\r\n })\r\n }\r\n doRefresh(refresher) {\r\n this.questionCate = [];\r\n this.questionfinishedList = [];\r\n this.shared.refresh();\r\n this.getcategoryList();\r\n setTimeout(() => {\r\n refresher.complete();\r\n }, 2000);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question-category/pd-question-category.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\n\r\n/*\r\n Generated class for the ConstantsProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class ConstantsProvider {\r\npublic commonimage = \"http://ssa.sineedge.com/sparqapi/logo/avatar.jpg\";\r\n constructor(public http: HttpClient) {\r\n console.log('Hello ConstantsProvider Provider');\r\n }\r\n\r\n apiurl()\r\n {\r\n let testapiurl = 'http://ssa.sineedge.com/sparqtest/api/';\r\n let devapiurl = 'http://ssa.sineedge.com/sparqapi/api/';\r\n let localapiurl = 'http://192.168.0.9/sparqapi/api/';\r\n return testapiurl;\r\n }\r\n\r\n getcurrentDate()\r\n {\r\n var today = new Date();\r\n var time = today.getHours() + \":\" + today.getMinutes() + \":\" + today.getSeconds();\r\n var date = today.getFullYear()+'-'+(today.getMonth()+1)+'-'+today.getDate();\r\n var time = today.getHours() + \":\" + today.getMinutes();\r\n let CurrentDate = date+\"T00:00\";\r\n return CurrentDate.toString();\r\n }\r\n \r\n convertNumberToWords(amount) {\r\n var words = new Array();\r\n words[0] = '';\r\n words[1] = 'One';\r\n words[2] = 'Two';\r\n words[3] = 'Three';\r\n words[4] = 'Four';\r\n words[5] = 'Five';\r\n words[6] = 'Six';\r\n words[7] = 'Seven';\r\n words[8] = 'Eight';\r\n words[9] = 'Nine';\r\n words[10] = 'Ten';\r\n words[11] = 'Eleven';\r\n words[12] = 'Twelve';\r\n words[13] = 'Thirteen';\r\n words[14] = 'Fourteen';\r\n words[15] = 'Fifteen';\r\n words[16] = 'Sixteen';\r\n words[17] = 'Seventeen';\r\n words[18] = 'Eighteen';\r\n words[19] = 'Nineteen';\r\n words[20] = 'Twenty';\r\n words[30] = 'Thirty';\r\n words[40] = 'Forty';\r\n words[50] = 'Fifty';\r\n words[60] = 'Sixty';\r\n words[70] = 'Seventy';\r\n words[80] = 'Eighty';\r\n words[90] = 'Ninety';\r\n amount = amount.toString();\r\n var atemp = amount.split(\".\");\r\n var number = atemp[0].split(\",\").join(\"\");\r\n var n_length = number.length;\r\n let value:any = \"\";\r\n var words_string = \"\";\r\n if (n_length <= 9) {\r\n var n_array:any = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);\r\n var received_n_array = new Array();\r\n for (var i = 0; i < n_length; i++) {\r\n received_n_array[i] = number.substr(i, 1);\r\n }\r\n for (var i = 9 - n_length, j = 0; i < 9; i++, j++) {\r\n n_array[i] = received_n_array[j];\r\n }\r\n for (var i = 0, j = 1; i < 9; i++, j++) {\r\n if (i == 0 || i == 2 || i == 4 || i == 7) {\r\n if (n_array[i] == 1) {\r\n n_array[j] = 10 + parseInt(n_array[j]);\r\n n_array[i] = 0;\r\n }\r\n }\r\n }\r\n value = \"\";\r\n for (var i = 0; i < 9; i++) {\r\n if (i == 0 || i == 2 || i == 4 || i == 7) {\r\n value = n_array[i] * 10;\r\n } else {\r\n value = n_array[i];\r\n }\r\n if (value != 0) {\r\n words_string += words[value] + \" \";\r\n }\r\n if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Crores \";\r\n }\r\n if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Lakhs \";\r\n }\r\n if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) {\r\n words_string += \"Thousand \";\r\n }\r\n if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) {\r\n words_string += \"Hundred and \";\r\n } else if (i == 6 && value != 0) {\r\n words_string += \"Hundred \";\r\n }\r\n }\r\n words_string = words_string.split(\" \").join(\" \");\r\n }\r\n return words_string;\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/constants/constants.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController, AlertController } from 'ionic-angular';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { Geolocation } from '@ionic-native/geolocation'; \r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\n/**\r\n * Generated class for the OtpPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-otp',\r\n templateUrl: 'otp.html',\r\n})\r\nexport class OtpPage {\r\n\r\n \r\n timeLimit: any;\r\n reason_otp: any;\r\n users: any;\r\n timerOn: boolean = true;\r\n balance_time: string;\r\n otpStatus: any;\r\n pin:any;\r\n otpStatusAccess:boolean = true;\r\n applicatentDetails: any;\r\n commonImage:any;\r\n maxtime: any=30;\r\n \r\n reasonForm:FormGroup\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public pddetails:PdtriggerProvider,public toast:ToastProvider,public Menu:MenuController,public commonconstant:ConstantsProvider,public aws:AwsServiceProvider,public alertCtrl:AlertController,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public geolocation:Geolocation,public androidPermissions:AndroidPermissions) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n console.log(\"user\",this.users)\r\n this.reasonForm = this.fb.group(\r\n {\r\n reason:[null,Validators.compose([Validators.required])],\r\n others_reason:[null],\r\n })\r\n \r\n this.getDropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad OtpPage');\r\n }\r\n ionViewDidEnter(){\r\n //this.Menu.enable(false);\r\n this.setPermission();\r\n this.timer(120);\r\n \r\n }\r\n\r\n setPermission()\r\n {\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n ionViewWillLeave(){\r\n //this.Menu.enable(true);\r\n clearTimeout(this.timeLimit);\r\n }\r\n getDropdown()\r\n {\r\n this.qustCat.getcommondrop('OTPREJECTION').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.reason_otp = res['records'].filter(otp=>otp.isactive==1);\r\n console.log(this.reason_otp);\r\n \r\n }\r\n })\r\n }\r\n checkotp(otp)\r\n {\r\n //console.log(\"Otp\",otp)\r\n let data = {'pd_id':this.applicatentDetails.pd_id,'OTP':otp,'fk_updatedby':this.users};\r\n this.pddetails.checkotp(data).subscribe(res=>\r\n {\r\n //console.log(\"Otp\",res)\r\n this.otpStatus = res;\r\n if(this.otpStatus.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Correct OTP');\r\n }\r\n })\r\n }\r\n\r\n timer(remaining) {\r\n // console.log(remaining);\r\n let m:any = Math.floor(remaining / 60);\r\n let s:any = remaining % 60;\r\n \r\n m = m < 10 ? '0' + m : m;\r\n s = s < 10 ? '0' + s : s;\r\n // var balance_time = m + ':' + s;\r\n this.balance_time = m + ':' + s;\r\n remaining -=1;\r\n // console.log(this.balance_time);\r\n if(remaining >= 0 && this.timerOn) {\r\n this.timeLimit = setTimeout(()=> {\r\n this.timer(remaining);\r\n }, 1000);\r\n return;\r\n }\r\n \r\n if(!this.timerOn) {\r\n // Do validate stuff here\r\n return;\r\n }\r\n \r\n // Do timeout stuff here\r\n \r\n let data:any;\r\n let alert = this.alertCtrl.create({\r\n title: 'OTP Expired ',\r\n message: 'Do you want sure resend OTP',\r\n buttons: [\r\n {\r\n text: 'OTP Without Start',\r\n \r\n handler: () => {\r\n \r\n this.otpStatusAccess = false;\r\n }\r\n },\r\n {\r\n text: 'Resend OTP',\r\n handler: () => {\r\n \r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n let currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n data = {'pd_id':this.applicatentDetails.pd_id,'pd_status':'STARTED','mobile_no':this.applicatentDetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'link':currentPosPDofficer};\r\n console.log(data);\r\n this.pddetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.timer(60);\r\n })\r\n });\r\n // console.log('Buy clicked');\r\n \r\n } \r\n }\r\n \r\n ]\r\n \r\n });\r\n alert.present();\r\n }\r\n \r\n saveotpreasno()\r\n {\r\n console.log(this.reasonForm.value);\r\n if(this.reasonForm.valid)\r\n {\r\n let data = {'pd_id':this.applicatentDetails.pd_id,'reason':this.reasonForm.value.reason,'other_reason':this.reasonForm.value.others_reason,'fk_updatedby':this.users};\r\n this.pddetails.checkotp(data).subscribe(res=>\r\n {\r\n this.otpStatus = res;\r\n if(this.otpStatus.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.applicatentDetails});\r\n }else\r\n {\r\n // this.toast.pdTriggerappmessage('Enter the Correct OTP');\r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/otp/otp.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Camera } from '@ionic-native/camera';\r\n/*\r\n Generated class for the CameraProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class CameraProvider {\r\n\r\n constructor(public http: HttpClient,public camera:Camera) {\r\n console.log('Hello CameraProvider Provider');\r\n }\r\n getpicture() \r\n {\r\n const options = {\r\n quality: 100,\r\n destinationType: this.camera.DestinationType.DATA_URL,\r\n targetWidth: 500,\r\n targetHeight: 500,\r\n correctOrientation: true\r\n };\r\n\r\n // If set to crop, restricts the image to a square of 600 by 600\r\n \r\n\r\n return this.camera.getPicture(options).then(imageData => {\r\n const base64Image = 'data:image/png;base64,' + imageData;\r\n // console.log(base64Image);\r\n return base64Image;\r\n }, error => {\r\n console.log('CAMERA ERROR -> ' + JSON.stringify(error));\r\n });\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/camera.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionSupplsierInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-supplier-info',\r\n templateUrl: 'pd-question-supplier-info.html',\r\n})\r\n\r\nexport class PdQuestionSupplierInfoPage {\r\n users: any;\r\n pdDetails: any;\r\n formDetails: any;\r\n company_id: any;\r\n form_id: any;\r\n questionDetails: any;\r\n supplierInfoForm: FormGroup;\r\n\r\n business_manufacturingProducts: any = [];\r\n business_tradingProducts: any = [];\r\n m_titleList: any = [];\r\n m_paymentList: any = [];\r\n m_companyRelationShipList: any = [];\r\n\r\n noRecordsFound: Boolean = false;\r\n public submitted = false;\r\n errorMessage: any = '';\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider) {\r\n\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.form_id = this.formDetails.form_id;\r\n this.company_id = this.pdDetails.company_id;\r\n this.users = this.aws.getlocale();\r\n\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(data => {\r\n\r\n if (data.dataStatus) {\r\n\r\n let datas = data.records;\r\n this.initFormLoadDetails(datas.type_of_activity);\r\n this.business_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\r\n // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\r\n\r\n let api = Object.keys(datas.type_of_activity).map(function (key) {\r\n return datas.type_of_activity[key];\r\n });\r\n\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 3) {\r\n if (val.prodcuts) {\r\n this.business_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n\r\n if (val.type_of_activity_id == 4) {\r\n if (val.prodcuts) {\r\n this.business_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n });\r\n }\r\n\r\n this.business_tradingProducts = [].concat.apply([], this.business_tradingProducts);\r\n\r\n } else {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = data.msg;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n })\r\n this.getdropList();\r\n }\r\n\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionSupplierInfoPage');\r\n }\r\n\r\n\r\n serviceProviderForm: Boolean = false;\r\n initFormLoadDetails(record) {\r\n let params: any = {};\r\n params.pd_id = this.pdDetails.pd_id;\r\n params.pd_form_id = this.form_id;\r\n params.company_id = this.company_id;\r\n\r\n this.qustCat.retiverForm(params).subscribe(\r\n data => {\r\n if (data['dataStatus'] == true) {\r\n let dataForm = data['records'];\r\n if (dataForm !== undefined) {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\r\n // return dataForm.main_raw_materials[key];\r\n // });\r\n if(dataForm.manufacturing_details[0] != null){\r\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\r\n\r\n this.initManufacturingProductsDetails(api_main_raw_materials);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null)\r\n }\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\r\n // return dataForm.trading_products[key];\r\n // });\r\n if(dataForm.trade_details[0] != null){\r\n let api_trading_products = dataForm.trade_details[0].trading_products;\r\n this.initTradingProductsDetails(api_trading_products);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n this.noRecordsFound = true;\r\n } else {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null);\r\n }\r\n this.noRecordsFound = true;\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.serviceProviderForm = true;\r\n }\r\n } else {\r\n this.supplierInfoForm = this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n formid: [this.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n supplier_info_form_remark: []\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.serviceProviderForm = true;\r\n }\r\n this.noRecordsFound = true;\r\n }\r\n }, err => {\r\n\r\n }\r\n );\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n main_raw_materials: this.fb.array([]),\r\n main_raw_materials_total_payments_percent_on_credit: []\r\n })\r\n // }\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr.length > 0) {\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_products: this.fb.array([]),\r\n trading_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingProductsDetails(datas) {\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n control.push(this.initManufacturingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.manufacturing_payment_type, 1, inx);\r\n control.push(this.initManufacturingProducts(val));\r\n });\r\n }\r\n }\r\n\r\n initManufacturingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n manufacturing_raw_material_name: [''],\r\n manufacturing_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n manufacturing_contact_person_name: [''],\r\n manufacturing_contact_person_mobile_number: [''],\r\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n manufacturing_payment_type: [''],\r\n manufacturing_payment_mode: [''],\r\n manufacturing_credit_days_from: [''],\r\n manufacturing_credit_days_to: [''],\r\n manufacturing_frequency_of_purchase: [''],\r\n person_stdcode: [''],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [''],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n\r\n })\r\n } else {\r\n return this.fb.group({\r\n manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null],\r\n manufacturing_supplier_name: [records.manufacturing_supplier_name || null],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n other_person_designation: [records.other_person_designation || null],\r\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\r\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],\r\n //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\r\n manufacturing_payment_mode: [records.manufacturing_payment_mode],\r\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\r\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null],\r\n manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null],\r\n person_stdcode: [records.person_stdcode || null],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [records.person_landline || null],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n })\r\n }\r\n }\r\n\r\n initTradingProductsDetails(datas) {\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n if (datas === null) {\r\n control.push(this.initTradingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.trade_product_payment_type, 2, inx);\r\n control.push(this.initTradingProducts(val));\r\n });\r\n }\r\n }\r\n\r\n initTradingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n trade_product_name: [''],\r\n trade_supplier_name: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n other_person_designation: [''],\r\n trade_product_contact_person_name: [''],\r\n trade_product_contact_person_mobile_number: [''],\r\n //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n person_stdcode: [null],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [null],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n trade_product_payment_type: [''],\r\n trade_product_payment_mode: [''],\r\n trade_product_frequency_of_purchase: [''],\r\n trade_product_credit_days_from: [''],\r\n trade_product_credit_days_to: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n trade_product_name: [records.trade_product_name],\r\n person_title_name: [records.person_title_name],\r\n person_designation: [records.person_designation],\r\n other_person_designation: [records.other_person_designation],\r\n trade_supplier_name: [records.trade_supplier_name],\r\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\r\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],\r\n //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)])\r\n person_stdcode: [records.person_stdcode],\r\n //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])\r\n person_landline: [records.person_landline],\r\n //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])\r\n trade_product_payment_type: [records.trade_product_payment_type],\r\n trade_product_payment_mode: [records.trade_product_payment_mode],\r\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\r\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\r\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\r\n })\r\n }\r\n }\r\n\r\n addMoreRawMaterials(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n\r\n control.push(this.initManufacturingProducts(null));\r\n }\r\n\r\n removeRawMaterials(inx): void {\r\n const control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoretradeProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n control.push(this.initTradingProducts(null));\r\n }\r\n\r\n removeTradingProduct(inx): void {\r\n const control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n\r\n getdropList() {\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n this.m_companyRelationShipList = data['records']\r\n //.filter(data => data.isactive == 1); \r\n // because in general no need of \"other\" option but in supplier others option needed - in DB others option changed into inactive\"\r\n });\r\n\r\n this.qustCat.getcommondrop('TITLES').subscribe(\r\n data => {\r\n this.m_titleList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\r\n data => {\r\n this.m_paymentList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n\r\n\r\n saveSupplierInfo(FormValues) {\r\n\r\n var answerFormValues = FormValues;\r\n\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n\r\n }\r\n\r\n selectedPersonDesignation(items, e, flag) {\r\n if (flag == 1) {\r\n e == 1 ? '' : '';\r\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\r\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 2) {\r\n e == 1 ? '' : '';\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n mfgCreditCardFlag: boolean = false;\r\n trdCreditCardFlag: boolean = false;\r\n mfgCounter: any = [];\r\n trdCounter: any = [];\r\n checkCard(e, flag, index) {\r\n if (flag == 2 && e == 3) {\r\n this.trdCounter[index] = 1;\r\n }\r\n else if (flag == 2 && e != 3) {\r\n this.trdCounter[index] = 0;\r\n }\r\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\r\n this.trdCreditCardFlag = TRD > 0 ? true : false;\r\n\r\n if (flag == 1 && e == 3) {\r\n this.mfgCounter[index] = 1;\r\n }\r\n else if (flag == 1 && e != 3) {\r\n this.mfgCounter[index] = 0;\r\n }\r\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\r\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\r\n }\r\n\r\n selectedPaymentTerms(items, e, flag) {\r\n if (flag == 2) {\r\n if (e == 3) {\r\n // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]);\r\n // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n items.controls['trade_product_credit_days_from'].clearValidators();\r\n items.controls['trade_product_credit_days_from'].setValue('');\r\n items.controls['trade_product_credit_days_to'].clearValidators();\r\n items.controls['trade_product_credit_days_to'].setValue('');\r\n }\r\n items.controls['trade_product_credit_days_from'].updateValueAndValidity();\r\n items.controls['trade_product_credit_days_to'].updateValueAndValidity();\r\n }\r\n else if (flag == 1) {\r\n if (e == 3) { //items.controls['manufacturing_credit_days_from'].setValidators([Validators.required]);\r\n //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]);\r\n }\r\n else {\r\n items.controls['manufacturing_credit_days_from'].clearValidators();\r\n items.controls['manufacturing_credit_days_from'].setValue('');\r\n items.controls['manufacturing_credit_days_to'].clearValidators();\r\n items.controls['manufacturing_credit_days_to'].setValue('');\r\n }\r\n items.controls['manufacturing_credit_days_from'].updateValueAndValidity();\r\n items.controls['manufacturing_credit_days_to'].updateValueAndValidity();\r\n }\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { FormArray, FormGroup, FormBuilder } from '@angular/forms';\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants';\r\n\r\n/**\r\n * Generated class for the PdQuestionStockInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-stock-info',\r\n templateUrl: 'pd-question-stock-info.html',\r\n})\r\nexport class PdQuestionStockInfoPage {\r\n\r\n uomData: any;\r\n rawmaterial: any;\r\n users: any;\r\n formDetails: any;\r\n pdDetails: any;\r\n company_id : any;\r\n pdid:any;\r\n stockForm: FormGroup;\r\n noRecordsFound: Boolean;\r\n errorMessage: any = '';\r\n M_rawValueInWords : any = []; \r\n M_goodsValueInWords : any = [];\r\n R_tradedGoodsValueInWords : any = [];\r\n T_tradedGoodsValueInWords : any = [];\r\n mrmCommentFlag:any=[];\r\n mfgCommentFlag:any=[];\r\n rtrdCommentFlag:any=[];\r\n wtrdCommentFlag:any=[];\r\n serviceProviderForm: Boolean = false;\r\n suppliers_raw_materials : any = [];\r\n suppliers_retail_trade_details : any = [];\r\n suppliers_wholesale_trade_details : any = [];\r\n suppliers_finished_goods : any =[];\r\n\r\n RMCommentCard: boolean = false;\r\n TGCommentCard: boolean = false\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.company_id=this.pdDetails.company_id;\r\n this.pdid=this.pdDetails.pd_id;\r\n this.qustCat.stockFormAccess(this.pdid,this.company_id).subscribe(data => {\r\n if(data.dataStatus == true){\r\n this.initstockForm(data.record);\r\n }\r\n else if(data.dataStatus == false)\r\n {\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID '+ this.company_id ); \r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id +'! ....';\r\n return;\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID '+ this.company_id ); \r\n this.noRecordsFound = false;\r\n this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + this.company_id +'! ....';\r\n return;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n })\r\n this.getdropdown();\r\n }\r\n\r\n public initstockForm(record){\r\n let api = Object.keys(record.from_business).map(function (key) {\r\n return record.from_business[key];\r\n });\r\n\r\n let type3 = record.from_business.filter(data => data.type_of_activity_id == 3);\r\n let type3length = type3[0].hasOwnProperty(\"products\") ? type3[0].products.length : 0;\r\n let type4 = record.from_business.filter(data => data.type_of_activity_id == 4);\r\n let type4length = type4[0].hasOwnProperty(\"products\") ? type4[0].products.length : 0;\r\n\r\n\r\n let rm_api = record.from_supplier;\r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = this.formDetails.form_id;\r\n params.company_id = this.company_id;\r\n this.qustCat.retiverForm(params).subscribe(value => {\r\n if (value['status'] == 200) {\r\n let dataForm = value['records']; \r\n if(dataForm !== undefined) {\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [dataForm.stock_remarks],\r\n\r\n // is_sufficiant_raw:[dataForm.is_sufficiant_raw],\r\n // rawmaterial_remarks:[dataForm.rawmaterial_remarks],\r\n is_sufficiant_finished_and_traded_goods:[dataForm.is_sufficiant_finished_and_traded_goods],\r\n finished_and_traded_goods_remarks:[dataForm.finished_and_traded_goods_remarks],\r\n\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(type3length)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n // if(dataForm.manufacturing_details[0].manufacturing_finished_goods ){this.finishedAndTradedGoodsCommentCard = true;}\r\n let manufacturing_temparr = [];\r\n manufacturing_temparr['manufacturing_raw_materials'] = dataForm.manufacturing_details[0].manufacturing_raw_materials; \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw),\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks);\r\n manufacturing_temparr['manufacturing_finished_goods'] = dataForm.manufacturing_details[0].manufacturing_finished_goods; \r\n this.initManufacturingDetails(manufacturing_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n let retail_temparr = [];\r\n retail_temparr['retail_traded_goods'] = dataForm.retail_details[0].retail_traded_goods;\r\n \r\n this.initRetailDetails(retail_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n let trading_temparr = [];\r\n trading_temparr['trading_traded_goods'] = dataForm.trade_details[0].trading_traded_goods;\r\n console.log(\"Trade\",trading_temparr)\r\n this.initTradingDetails(trading_temparr);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n this.serviceProviderForm = true;\r\n }\r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n else{\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [''],\r\n // is_sufficiant_raw:[''],\r\n // rawmaterial_remarks:[''],\r\n is_sufficiant_finished_and_traded_goods:[''],\r\n finished_and_traded_goods_remarks:[''],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(type3length)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_finished_goods = val.products;\r\n this.initManufacturingDetails(null); \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm.manufacturing_details[0].is_sufficiant_raw.value || null),\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm.manufacturing_details[0].rawmaterial_remarks || null); \r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_retail_trade_details = val.products;\r\n this.initRetailDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_wholesale_trade_details =val.products;\r\n this.initTradingDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n // this.suppliers_service_product = val.products;\r\n this.serviceProviderForm = true;\r\n } \r\n }\r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n }\r\n else {\r\n console.log(\"Record\",record)\r\n this.stockForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby:[this.users],\r\n stock_remarks: [''],\r\n\r\n // is_sufficiant_raw:[''],\r\n // rawmaterial_remarks:[''],\r\n is_sufficiant_finished_and_traded_goods:[''],\r\n finished_and_traded_goods_remarks:[''],\r\n \r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n retail_details : this.fb.array([this.retailFormCreation(type3length)]),\r\n \r\n trade_details: this.fb.array([this.tradingFormCreation(type4length)]),\r\n });\r\n if(api.length > 0){ \r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 2) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_finished_goods = val.products;\r\n this.suppliers_raw_materials = rm_api;\r\n this.initManufacturingDetails(null); \r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null);\r\n this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 3) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_retail_trade_details= val.products;\r\n this.initRetailDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 4) {\r\n if(val.products){\r\n // this.finishedAndTradedGoodsCommentCard = true;\r\n this.suppliers_wholesale_trade_details = val.products;\r\n this.initTradingDetails(null);\r\n }\r\n }\r\n if (val.type_of_activity_id == 5) {\r\n if(val.products){\r\n // this.suppliers_service_product = val.products;\r\n this.serviceProviderForm = true;\r\n } \r\n } \r\n });\r\n this.noRecordsFound = true;\r\n }\r\n }\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionStockInfoPage');\r\n }\r\n\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('UOM').subscribe(data => {\r\n if(data['dataStatus']==true){\r\n this.uomData = data['records'].filter(uom=>uom.isactive==1 && uom.is_land_uom == 0 || uom.is_land_uom == 2);\r\n }\r\n });\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(record) {\r\n let arr = record.from_business.filter(data => data.type_of_activity_id == 2);\r\n let rm_arr = record.from_supplier;\r\n //console.log(\"Manufacturing \",arr);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n is_sufficiant_raw: [],\r\n rawmaterial_remarks:[],\r\n manufacturing_raw_materials: this.fb.array([]),\r\n manufacturing_finished_goods: this.fb.array([]),\r\n })\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n retailForm: Boolean = false;\r\n retailFormCreation(val) {\r\n //let arr = val.filter(data => data.type_of_activity_id == 3);\r\n let arr=val\r\n console.log(\"retail Form \",arr);\r\n if (arr > 0) {\r\n // if(arr.products != undefined){\r\n this.retailForm = true;\r\n return this.fb.group({\r\n retail_traded_goods: this.fb.array([])\r\n }); \r\n // }else{\r\n // this.retailForm = false;\r\n // return;\r\n // } \r\n } else {\r\n return this.fb.group({\r\n retail_traded_goods: this.fb.array([])\r\n }); \r\n // return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n let arr=val\r\n //let arr = val.filter(data => data.type_of_activity_id == 4);\r\n \r\n if (arr > 0) {\r\n \r\n // if(arr.products === undefined){\r\n \r\n // this.tradingForm = false;\r\n // return;\r\n // }\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_traded_goods: this.fb.array([])\r\n }); \r\n } else {\r\n return this.fb.group({\r\n trading_traded_goods: this.fb.array([])\r\n }); \r\n // return;\r\n }\r\n }\r\n\r\n initManufacturingDetails(datas) {\r\n const rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n const finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; \r\n if(datas === null){\r\n if(this.suppliers_raw_materials.length > 0){\r\n this.suppliers_raw_materials.forEach(val => {\r\n let Ref_RawMaterials : any = {'raw_name': val,\r\n 'stock_observed':'',\r\n 'raw_quantity': '',\r\n 'raw_uom': '',\r\n 'other_uom': '',\r\n 'raw_value': '',\r\n 'is_sufficiant_raw': '',\r\n 'rawmaterial_remarks':''};\r\n rawMaterial.push(this.createRawmaterial(Ref_RawMaterials)); \r\n });\r\n }\r\n else{ \r\n rawMaterial.push(this.createRawmaterial(null)); \r\n } \r\n if(this.suppliers_finished_goods.length > 0){\r\n this.suppliers_finished_goods.forEach(val => {\r\n let Ref_Finished_Goods : any = {'goods_name': val,\r\n 'goods_observed': '',\r\n 'goods_quantity': '',\r\n 'goods_uom': '',\r\n 'goods_other_uom': '',\r\n 'goods_value': '',\r\n 'is_sufficiant_goods': '',\r\n 'finishedgoods_remarks':''};\r\n finishedGoods.push(this.createGoods(Ref_Finished_Goods)); \r\n });\r\n }\r\n else{ \r\n finishedGoods.push(this.createGoods(null)); \r\n }\r\n } else {\r\n if(datas.manufacturing_raw_materials != undefined){\r\n datas.manufacturing_raw_materials.forEach((val,index) => {\r\n if(val.raw_value){\r\n this.inWords(val.raw_value,1,index);\r\n }\r\n // this.checkComments(val.is_sufficiant_raw,1,index);\r\n this.checkComments(val.stock_observed, 1, index);\r\n rawMaterial.push(this.createRawmaterial(val)); \r\n });\r\n }\r\n else{\r\n rawMaterial.push(this.createRawmaterial(null)); \r\n }\r\n if(datas.manufacturing_finished_goods != undefined){ \r\n datas.manufacturing_finished_goods.forEach((val,index) => {\r\n if(val.goods_value){\r\n this.inWords(val.goods_value,2,index);\r\n }\r\n // this.checkComments(val.is_sufficiant_goods,2,index);\r\n this.checkComments(val.goods_observed, 2, index);\r\n finishedGoods.push(this.createGoods(val)); \r\n \r\n });\r\n }\r\n else{\r\n finishedGoods.push(this.createGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n createRawmaterial(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n raw_name: [''],\r\n stock_observed:[''],\r\n raw_quantity: [''],\r\n raw_uom: [''],\r\n other_uom : [''],\r\n raw_value: [''],\r\n is_sufficiant_raw: [''],\r\n rawmaterial_remarks:['']\r\n })\r\n } else { \r\n return this.fb.group({\r\n raw_name: [records.raw_name],\r\n stock_observed:[records.stock_observed],\r\n raw_quantity: [records.raw_quantity],\r\n raw_uom: [records.raw_uom],\r\n other_uom : [records.other_uom],\r\n raw_value: [records.raw_value],\r\n is_sufficiant_raw: [records.is_sufficiant_raw],\r\n rawmaterial_remarks:[records.rawmaterial_remarks]\r\n })\r\n }\r\n }\r\n \r\n initRetailDetails(datas) {\r\n const tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n if(datas === null){\r\n if(this.suppliers_retail_trade_details.length > 0){\r\n // this.rawMaterialAccess = true;\r\n this.suppliers_retail_trade_details.forEach(val => {\r\n let Ref_Trade_Goods : any = {\r\n 'traded_goods_name': val,\r\n 'traded_goods_observed': '',\r\n 'traded_goods_quantity': '',\r\n 'traded_goods_uom': '',\r\n 'traded_goods_other_uom': '',\r\n 'estimated_traded_goods_value': '',\r\n 'is_sufficiant_traded_goods': '',\r\n 'traded_goods_remarks':''};\r\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods)); \r\n });\r\n }\r\n else{ \r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n } else {\r\n if(datas.retail_traded_goods !== undefined){\r\n datas.retail_traded_goods.forEach((val,index) => {\r\n if(val.estimated_traded_goods_value){\r\n this.inWords(val.estimated_traded_goods_value,3,index);\r\n }\r\n // this.checkComments(val.is_sufficiant_traded_goods,3,index);\r\n this.checkComments(val.traded_goods_observed, 3, index);\r\n tradedGoods.push(this.createTradedGoods(val)); \r\n });\r\n }\r\n else{\r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n\r\n createGoods(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n goods_name: [''],\r\n goods_observed: [''],\r\n goods_quantity: [''],\r\n goods_uom: [''],\r\n goods_other_uom: [''],\r\n goods_value: [''],\r\n is_sufficiant_goods: [''],\r\n finishedgoods_remarks:['']\r\n });\r\n }\r\n else {\r\n return this.fb.group({\r\n goods_name: [records.goods_name],\r\n goods_observed: [records.goods_observed],\r\n goods_quantity: [records.goods_quantity],\r\n goods_uom: [records.goods_uom],\r\n goods_other_uom: [records.goods_other_uom],\r\n goods_value: [records.goods_value],\r\n is_sufficiant_goods: [records.is_sufficiant_goods],\r\n finishedgoods_remarks:[records.finishedgoods_remarks]\r\n })\r\n }\r\n }\r\n\r\n initTradingDetails(datas) {\r\n const tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; \r\n if(datas === null){\r\n if(this.suppliers_wholesale_trade_details.length > 0){\r\n this.suppliers_wholesale_trade_details.forEach(val => {\r\n let Ref_Trade_Goods : any = {\r\n 'traded_goods_name': val,\r\n 'traded_goods_observed': '',\r\n 'traded_goods_quantity': '',\r\n 'traded_goods_uom': '',\r\n 'traded_goods_other_uom': '',\r\n 'estimated_traded_goods_value': '',\r\n 'is_sufficiant_traded_goods': '',\r\n 'traded_goods_remarks':''};\r\n tradedGoods.push(this.createTradedGoods(Ref_Trade_Goods)); \r\n });\r\n }\r\n else{ \r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n\r\n } else {\r\n if(datas.trading_traded_goods !==undefined)\r\n {\r\n datas.trading_traded_goods.forEach((val,index) => { \r\n if(val.estimated_traded_goods_value){\r\n this.inWords(val.estimated_traded_goods_value,4,index);\r\n }\r\n // this.checkComments(val.is_sufficiant_traded_goods,4,index);\r\n this.checkComments(val.traded_goods_observed, 4, index);\r\n tradedGoods.push(this.createTradedGoods(val)); \r\n });\r\n }\r\n else{\r\n tradedGoods.push(this.createTradedGoods(null)); \r\n }\r\n }\r\n }\r\n\r\n createTradedGoods(records) {\r\n if(records === null) {\r\n return this.fb.group({\r\n traded_goods_name: [''],\r\n traded_goods_observed: [''],\r\n traded_goods_quantity: [''],\r\n traded_goods_uom: [''],\r\n traded_goods_other_uom: [''],\r\n estimated_traded_goods_value: [''],\r\n is_sufficiant_traded_goods: [''],\r\n traded_goods_remarks:['']\r\n });\r\n }\r\n else {\r\n return this.fb.group({\r\n traded_goods_name: [records.traded_goods_name],\r\n traded_goods_observed: [records.traded_goods_observed],\r\n traded_goods_quantity: [records.traded_goods_quantity],\r\n traded_goods_uom: [records.traded_goods_uom],\r\n traded_goods_other_uom: [records.traded_goods_other_uom],\r\n estimated_traded_goods_value: [records.estimated_traded_goods_value],\r\n is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods],\r\n traded_goods_remarks:[records.traded_goods_remarks]\r\n })\r\n }\r\n }\r\n \r\n /** Manufacturing -> To Add More Raw Material Details */\r\n addRawMaterials(flag) {\r\n if(flag==1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n control.push(this.createRawmaterial(null));\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Remove Raw Material Details */\r\n deleteRawMaterials(index,flag) {\r\n if(flag==1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials'];\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Add More Finished Goods */\r\n addGoods(flag) {\r\n if(flag == 1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n control.push(this.createGoods(null));\r\n }\r\n }\r\n\r\n /** Manufacturing -> To Remove Finished Goods */\r\n deleteGoods(index,flag) {\r\n if(flag == 1){\r\n const control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods'];\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n /**\r\n * Case 1 Retail Traded -> To Add More trade Goods\r\n * Case 2 wholesale Traded -> To Add More trade Goods\r\n */\r\n addTradedGoods(flag) {\r\n switch(flag){\r\n case 1: {\r\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n control.push(this.createTradedGoods(null));\r\n break;\r\n }\r\n case 2: {\r\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n control.push(this.createTradedGoods(null));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * Case 1 Retail Traded -> To remove trade Goods\r\n * Case 2 wholesale Traded -> To remove trade Goods\r\n */\r\n deleteTradedGoods(index,flag) {\r\n switch(flag){\r\n case 1: {\r\n const control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n case 2: {\r\n const control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods'];\r\n control.removeAt(index);\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n \r\n //const control = this.stockForm.controls['traded_goods'];\r\n\r\n }\r\n\r\n ManufacturingCounterArray: any = [];\r\n FinishedCounterArray: any = [];\r\n RetailCounterArray: any = [];\r\n WholeSaleCounterArray: any = [];\r\n\r\n checkComments(value, flag, index) {\r\n\r\n if (flag == 1) {\r\n this.ManufacturingCounterArray[index] = value == \"yes\" ? 1 : 0\r\n let RMOverallCount = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\r\n this.RMCommentCard = RMOverallCount > 0 ? true : false;\r\n }\r\n if (flag == 2) {\r\n this.FinishedCounterArray[index] = value == \"yes\" ? 1 : 0\r\n }\r\n if (flag == 3) {\r\n this.RetailCounterArray[index] = value == \"yes\" ? 1 : 0\r\n }\r\n if (flag == 4) {\r\n this.WholeSaleCounterArray[index] = value == \"yes\" ? 1 : 0\r\n }\r\n let FGOverallCount = this.FinishedCounterArray.reduce((sum, val) => sum + +val, 0);\r\n let RTGOverallCount = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\r\n let WTGOverallCount = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\r\n let TGOverallCount = FGOverallCount + RTGOverallCount + WTGOverallCount;\r\n this.TGCommentCard = TGOverallCount > 0 ? true : false;\r\n }\r\n\r\n /** To Save/Edited Popup Data */\r\n saveStockInfo(answerFormValues) {\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if(responsed['status'] == 200) { \r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }else{\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); \r\n }\r\n });\r\n }\r\n\r\n inWords(e,flag:number,i){\r\n switch(flag){\r\n case 1 :\r\n this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 2 : \r\n this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 3 : \r\n this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n case 4 : \r\n this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); \r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info.ts","import { Component,ViewEncapsulation } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\nimport {QuestionCategoryProvider} from '../../../../providers/question-category/question-category'\r\nimport { FormGroup,Validators,FormBuilder, FormArray } from '@angular/forms'\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionFinancialInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-financial-info',\r\n templateUrl: 'pd-question-financial-info.html',\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class PdQuestionFinancialInfoPage {\r\n \r\n public financialForm: FormGroup;\r\n\r\n pdDetails:any;\r\n FormId:any;\r\n users:any;\r\n company_id:any;\r\n isDisplay:boolean;\r\n customerCommentsFlag:boolean;\r\n FY_annualSalesInwords: any =[]\r\n FY_netProfitAmtInwords: any=[]\r\n FY_netLossAmtInwords: any=[]\r\n AV_annualSalesInwords: any=[]\r\n AV_netProfitAmtInwords: any=[]\r\n AV_netLossAmtInwords: any=[]\r\n AV_netProfitAmtFrmInwords: any=[]\r\n AV_netProfitAmtToInwords: any=[]\r\n AV_netLossAmtFrmInwords: any=[]\r\n AV_netLossAmtToInwords: any=[]\r\n AV_SalesFrmInwords: any=[]\r\n AV_SalesToInwords: any=[]\r\n AV_SalesInwords: any=[];\r\n AV_marginProfitAmtInwords: any=[];\r\n AV_marginLossAmtInwords: any=[];\r\n formDetails: any;\r\n\r\n av : any =[{id:6, name:'Letter of Credit'},\r\n {id:2, name:'Bank Guarantee'},\r\n {id:3, name:'Cash Credit Limit'},\r\n {id:7, name:'OD Limit'},\r\n {id:4, name:'Factoring'},\r\n {id:5, name:'Forfaiting'},\r\n {id:1, name:'Others'}]\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,\r\n public toast:ToastProvider, public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.FormId = this.formDetails.form_id;\r\n // this.FormId=this.navParams.get('FormId');\r\n this.company_id=this.pdDetails.company_id\r\n this.users=this.aws.getlocale();\r\n \r\n this.initFinancialForm()\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFinancialInfoPage');\r\n this.getDetails()\r\n }\r\n\r\n selectedStatement(e :any):void{\r\n\r\n if(e == 'yes'){\r\n\r\n this.isDisplay = true;\r\n this.financialForm.controls['is_financial_customer'].setValue('');\r\n \r\n }\r\n else if(e == 'no'){\r\n\r\n this.isDisplay = false;\r\n this.financialForm.controls['is_financial_customer'].setValue('no');\r\n // this.selectedFinancialCustomer('no');\r\n \r\n const statementControl = this.financialForm.controls['date_per_financial'];\r\n \r\n while (statementControl.length !== 0) {\r\n statementControl.removeAt(0);\r\n }\r\n const control = this.financialForm.controls['estimated_value'];\r\n control.push(this.createValue('')); \r\n this.financialForm.controls['financial_starting_year'].setValue('');\r\n this.financialForm.controls['financial_no_of_year'].setValue('');\r\n\r\n // alert((new Date()).getFullYear());\r\n // let year1 = (new Date()).getFullYear();\r\n // let year2 = ((new Date()).getFullYear() + 1); \r\n // let Year = year1 +'-'+ year2;\r\n \r\n }\r\n\r\n}\r\n /** fin customer data from Fin statement*/\r\n selectedFinancialCustomer(e: any): void {\r\n if(e == 'yes'){\r\n const control = this.financialForm.controls['estimated_value'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n }\r\n else if (e == 'no'){\r\n const control = this.financialForm.controls['estimated_value'];\r\n control.push(this.createValue('')); \r\n }\r\n }\r\n\r\n selectedProfitOrLossType(e,detail){\r\n \r\n if(e.value == 1){\r\n detail.controls.financial_net_loss.setValue('');\r\n detail.controls.financial_margin_of_loss.setValue('');\r\n }\r\n else if(e.value == 2){\r\n detail.controls.financial_net_profit.setValue('');\r\n detail.controls.financial_margin_of_profit.setValue('');\r\n }\r\n}\r\n\r\n\r\n /** For Auto-generating FinYear */\r\n dynamicalFinYear($event){\r\n \r\n let e = $event.target.value;\r\n if(e == 1){\r\n this.customerCommentsFlag = false;\r\n }\r\n else{\r\n this.customerCommentsFlag = true;\r\n }\r\n\r\n let startingYear = this.financialForm.controls['financial_starting_year'].value;\r\n\r\n const control = this.financialForm.controls['date_per_financial'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n\r\n if(e > 0 ){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n let Year = (+startingYear+(i-1)) +'-'+ ((+startingYear)+(+i));\r\n control.push(this.createDate(Year));\r\n }\r\n }\r\n}\r\n\r\n\r\n initFinancialForm(){\r\n this.financialForm = this.fb.group({\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId,\r\n company_id: this.company_id,\r\n fk_createdby: this.users,\r\n financial_remarks: [''],\r\n is_financial_statements:[''],\r\n is_financial_customer:[''],\r\n financial_starting_year : ['',Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n financial_no_of_year : [''],\r\n financial_reason: [''],\r\n financial_customer:[''],\r\n receive_the_money_in_days:[''],\r\n pay_the_money_in_days:[''],\r\n unsold_stock_lies_in_days:[''],\r\n is_there_working_capital_available:[''],\r\n working_capital_facilities_availed:[''],\r\n reason_for_working_capital_facilities_availed:[''],\r\n // same_as_financial_statements:[''],\r\n date_per_financial: this.fb.array([]),\r\n estimated_value: this.fb.array([])\r\n });\r\n }\r\n createDate(date){\r\n return this.fb.group({\r\n financial_year: [date, Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\r\n financial_annual_sale: ['', Validators.compose([Validators.pattern(/^[0-9\\(\\)]+$/)])],\r\n finanical_profit_or_loss:[''],\r\n financial_net_profit: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\r\n financial_net_loss: ['', Validators.compose([Validators.pattern(/^-?[1-9]\\d*|0$/)])],\r\n financial_margin_of_profit: [''],\r\n financial_margin_of_loss: [''],\r\n financial_variation: [''],\r\n financial_profit_to_sale_variation:[''],\r\n financial_annualsales_variation : [''],\r\n })\r\n }\r\n /** CREATING financial Customer ( financial_year AutoGenerate ) */\r\n createValue(date) {\r\n return this.fb.group({\r\n \r\n // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])],\r\n estimate_sales_from: [''],\r\n estimate_sales_to: [''],\r\n estimate_sales_average: [''],\r\n estimate_profit_or_loss:[''],\r\n estimate_net_margin_availablity:[''],\r\n estimate_profit_range_from:[''],\r\n estimate_profit_range_to:[''],\r\n estimate_profit_margin_percent:[''],\r\n estimate_profit_margin:[''],\r\n estimate_net_profit_from:[''],\r\n estimate_net_profit_to:[''],\r\n estimate_net_profit_percent:[''],\r\n estimate_net_profit:[''],\r\n estimate_loss_range_from:[''],\r\n estimate_loss_range_to:[''],\r\n estimate_loss_margin_percent:[''],\r\n estimate_loss_margin:[''],\r\n estimate_net_loss_from:[''],\r\n estimate_net_loss_to:[''],\r\n estimate_net_loss_percent:[''],\r\n estimate_net_loss:[''],\r\n estimate_reason_for_loss:[''],\r\n // estimate_receive_the_money_in_days:[''],\r\n // estimate_pay_the_money_in_days:[''],\r\n // estimate_unsold_stock_lies_in_days:[''],\r\n // estimate_working_capital_facilities_availed:[''],\r\n // reason_for_working_capital_facilities_availed:[''],\r\n // is_there_working_capital_available:['']\r\n\r\n });\r\n}\r\nsubmitDetails(){\r\n \r\n \r\n if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1){\r\n \r\n this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\r\n \r\n }else if(this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) {\r\n \r\n this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); \r\n \r\n this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity();\r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators();\r\n this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); \r\n \r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([Validators.required]);\r\n this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity();\r\n \r\n}\r\n let records=this.financialForm.value;\r\n this.qustCat.saveForm(records).subscribe(res=>{\r\n if(res['status']== 200){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Warning !! Something went Wrong\");\r\n }\r\n },err=>{\r\n this.toast.pdTriggerappmessage(\"Server is not Responding\");\r\n })\r\n}\r\n getDetails(){\r\n const financeDate=this.financialForm.controls['date_per_financial']\r\n //financeDate.push(this.createDate(''))\r\n const estimate= this.financialForm.controls['estimated_value']\r\n //estimate.push(this.createValue(''))\r\n let params:any={}\r\n params.pd_id=this.pdDetails.pd_id\r\n params.pd_form_id=this.FormId\r\n params.company_id=this.company_id\r\n this.qustCat.retiverForm(params).subscribe(value=>{\r\n if(value['dataStatus']==true){\r\n let retrieveData=value['records'];\r\n if(value['records'].is_financial_statements == 'yes'){\r\n let result=Object.keys(value['records'].date_per_financial).map(function(key) {\r\n return value['records'].date_per_financial[key]\r\n })\r\n if(result.length>0){\r\n this.customerCommentsFlag=result.length == 1 ? false : true\r\n result.forEach((val,index)=>{\r\n this.FY_annualSalesInwords[index]=this.cons.convertNumberToWords(val.financial_annual_sale);\r\n this.FY_netProfitAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_profit);\r\n this.FY_netLossAmtInwords[index]=this.cons.convertNumberToWords(val.financial_net_loss)\r\n financeDate.push(this.createDate(''));\r\n });\r\n retrieveData.date_per_financial=result;\r\n }\r\n else{\r\n financeDate.push(this.createDate(''))\r\n }\r\n }\r\n let result_val=Object.keys(value['records'].estimated_value).map(function(key){\r\n return value['records'].estimated_value[key]\r\n });\r\n if(result_val.length>0){\r\n result_val.forEach((val,index)=>{\r\n this.AV_SalesInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_average));\r\n this.AV_SalesFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_from));\r\n this.AV_SalesToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_sales_to));\r\n this.AV_marginProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netProfitAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_profit));\r\n this.AV_marginLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin));\r\n this.AV_netLossAmtFrmInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netLossAmtToInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin));\r\n this.AV_netLossAmtInwords[index] = this.cons.convertNumberToWords(Math.round(val.estimate_net_loss));\r\n estimate.push(this.createValue(''))\r\n });\r\n retrieveData.estimated_value=result_val\r\n }\r\n else{\r\n estimate.push(this.createValue(''));\r\n }\r\n retrieveData.pdid=this.pdDetails.pd_id\r\n retrieveData.company_id=this.company_id\r\n retrieveData.fk_createdby=this.users\r\n retrieveData.formid=this.FormId\r\n this.financialForm.setValue(retrieveData)\r\n }\r\n else {\r\n //financial_date.push(this.createDate());\r\n //estimated_val.push(this.createValue(''));\r\n }\r\n })\r\n }\r\n\r\n /**\r\n * New Calculation for Finanical Statement \r\n **/\r\n calculationForFinanicalStatement(){\r\n \r\n let parentArray = this.financialForm.controls['date_per_financial'];\r\n // let prev_annual_sale : any = '';\r\n // let prev_profit_margin : any = '';\r\n // let prev_loss_margin : any = '';\r\n // let prev_profit_amt : any = '';\r\n // let prev_loss_amt : any = '';\r\n // let profit_margin : any = '';\r\n // let loss_margin : any = '';\r\n // let annual_sale : any = '';\r\n // let profit_amt : any = '';\r\n // let loss_amt : any = '';\r\n let prev_annual_sale : any = '';\r\n let prev_profit_margin : any = [];\r\n let prev_loss_margin : any = [];\r\n let prev_profit_amt : any = '';\r\n let prev_loss_amt : any = '';\r\n let profit_margin : any = '';\r\n let loss_margin : any = '';\r\n let annual_sale : any = '';\r\n let profit_amt : any = '';\r\n let loss_amt : any = '';\r\n\r\n parentArray.value.forEach((val,index) => {\r\n\r\n let childArray : any = parentArray.controls[index];\r\n annual_sale = val.financial_annual_sale;\r\n \r\n /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) \r\n * Label name = \" Sale Variation from Previous Year in % \"\r\n */\r\n \r\n if (index != 0) { \r\n if(annual_sale != ''){\r\n let annual_sale_variation = (( annual_sale - prev_annual_sale)/prev_annual_sale) * 100 ;\r\n let final_annual_sale_variation = (annual_sale_variation!= Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2): 0.00 : 0.00;\r\n childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation);\r\n }\r\n }\r\n else{\r\n childArray.controls.financial_annualsales_variation.setValue(0.00);\r\n }\r\n \r\n\r\n prev_annual_sale = annual_sale;\r\n /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/\r\n\r\n\r\n profit_amt = val.financial_net_profit;\r\n loss_amt = val.financial_net_loss;\r\n\r\n /** Calculating Profit's Variation - STARTS HERE\r\n * Label name = \"Profit Variation from Previous Year in %\"\r\n */\r\n if((profit_amt != '' || loss_amt != '') && index != 0) {\r\n if(+profit_amt > +annual_sale){\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n } \r\n else{\r\n loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss;\r\n prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt ;\r\n\r\n let variation = (((profit_amt != '' ? profit_amt : loss_amt ) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt ))/ (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; \r\n let final_variation = variation!= Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00 ;\r\n childArray.controls.financial_variation.setValue(final_variation);\r\n\r\n }\r\n }\r\n prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0;\r\n prev_loss_amt = val.financial_net_loss !='' ? val.financial_net_loss : 0 ;\r\n /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/\r\n\r\n /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation \r\n * Label name = \"Net Profit to Sales in % (or) Net Loss to Sales in % \r\n **/\r\n let SelectedlossOrProfit = val.finanical_profit_or_loss;\r\n \r\n if(SelectedlossOrProfit == 1){\r\n\r\n loss_margin = '';\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n \r\n if (annual_sale != '' && val.financial_net_profit != '') {\r\n if(+profit_amt>+annual_sale){\r\n // alert(\"profit is greater than Annual Sale \");\r\n this.toast.pdTriggerappmessage(\"profit is greater than Annual Sale \")\r\n childArray.controls.financial_net_profit.setValue(0);\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n else{\r\n profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100;\r\n childArray.controls.financial_margin_of_profit.setValue(profit_margin!= Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2):0:0);\r\n \r\n }\r\n }\r\n }\r\n else if(SelectedlossOrProfit == 2){\r\n profit_margin = '';\r\n childArray.controls.financial_margin_of_profit.setValue('');\r\n \r\n if (annual_sale != '' && val.financial_net_loss != '') {\r\n if(+val.financial_net_loss>+annual_sale){\r\n // alert(\"Loss is greater than Annual Sale \");\r\n this.toast.pdTriggerappmessage(\"Loss is greater than Annual Sale \")\r\n childArray.controls.financial_net_loss.setValue(0);\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n if(+loss_amt>+annual_sale){\r\n childArray.controls.financial_net_loss.setValue(0);\r\n childArray.controls.financial_margin_of_loss.setValue('');\r\n childArray.controls.financial_profit_to_sale_variation.setValue('');\r\n childArray.controls.financial_variation.setValue('');\r\n }\r\n else{\r\n \r\n\r\n loss_margin = (val.financial_net_loss/val.financial_annual_sale) * 100 * (-1);\r\n\r\n\r\n childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0);\r\n \r\n }\r\n }\r\n }\r\n\r\n prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit: 0;\r\n prev_loss_margin[index] = val.financial_margin_of_loss !='' ? val.financial_margin_of_loss : 0 ;\r\n \r\n // if(index != 0 ){\r\n \r\n // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; \r\n \r\n // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0;\r\n \r\n // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent);\r\n\r\n // }\r\n\r\n /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/\r\n\r\n /** Calculating Sales's Profit Variation \r\n * Label name = \"Variation of Profit % over sales\"\r\n **/\r\n \r\n if ((profit_margin != '' || loss_margin != '') && index != 0) {\r\n \r\n\r\n loss_margin = loss_margin !== undefined ? loss_margin : 0;\r\n profit_margin = profit_margin !== undefined ? profit_margin:0;\r\n let temp_prev_loss_margin = prev_loss_margin[index-1] !== undefined ? prev_loss_margin[index-1] : 0 ;\r\n let temp_prev_profit_margin = prev_profit_margin[index-1] !== undefined ? prev_profit_margin[index-1] : 0 ;\r\n\r\n \r\n if(annual_sale != ''){\r\n\r\n \r\n let a = (profit_margin != '' ? profit_margin : loss_margin ) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin);\r\n let b = a / (temp_prev_profit_margin != 0 ? Math.abs(temp_prev_profit_margin) : Math.abs(temp_prev_loss_margin));\r\n let c = b * 100;\r\n \r\n let final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0 ;\r\n \r\n childArray.controls.financial_profit_to_sale_variation.setValue(final_percent);\r\n }\r\n }\r\n /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/\r\n\r\n\r\n });\r\n }\r\n\r\n confirmAlert(i, details){\r\n\r\n let estimate_sales_from = +details.value.estimate_sales_from;\r\n let estimate_sales_to = +details.value.estimate_sales_to;\r\n\r\n if (estimate_sales_from != null && estimate_sales_to != null){\r\n \r\n if(+estimate_sales_from>+estimate_sales_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_sales_to.setValue('');\r\n details.controls.estimate_sales_average.setValue('');\r\n return;\r\n }\r\n\r\n let C = (estimate_sales_to - estimate_sales_from)\r\n let D = (C / estimate_sales_from) * 100;\r\n \r\n if(estimate_sales_from <= 5000000){\r\n if(D > 20){\r\n var r = confirm(\"Given Sales Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else if(estimate_sales_from > 5000000 && estimate_sales_from <= 10000000){\r\n if(D > 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else if(estimate_sales_from > 10000000){\r\n if(D > 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0); \r\n }else{\r\n details.controls.estimate_sales_to.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n }\r\n else{\r\n details.controls.estimate_sales_to.setValue(estimate_sales_to!= Infinity ? estimate_sales_to:0);\r\n }\r\n\r\n // if(D >= 30){\r\n // var r = confirm(\"Given Sales Range is greater than 30%\");\r\n // if (r == true) {\r\n // details.controls.estimate_sales_to.setValue(estimate_sales_to); \r\n // }else{\r\n // details.controls.estimate_sales_to.setValue('');\r\n // return;\r\n // }\r\n // }\r\n // else{\r\n // details.controls.estimate_sales_to.setValue(estimate_sales_to);\r\n // }\r\n }\r\n this.calculateSalesAverage(i, details);\r\n }\r\n\r\n calculateSalesAverage(i, details){\r\n \r\n let estimate_sales_from = details.value.estimate_sales_from;\r\n let estimate_sales_to = details.value.estimate_sales_to;\r\n\r\n if(estimate_sales_from != '' && estimate_sales_to != ''){\r\n\r\n let range1 = +estimate_sales_from/10;\r\n \r\n let lower = (+estimate_sales_from)+range1;\r\n let higer = ((+estimate_sales_to + +estimate_sales_from) / 2);\r\n\r\n if(lower > higer){\r\n details.controls.estimate_sales_average.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_sales_average.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n }\r\n \r\n }\r\n else{\r\n details.controls.estimate_sales_average.setValue('');\r\n }\r\n\r\n }\r\n calculateMarginProfit( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_profit_range_from.setValue('');\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n let estimate_profit_range_from = details.value.estimate_profit_range_from;\r\n if(+estimate_profit_range_from > 100){\r\n // alert('Given Profit percent is More Than 100');\r\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\r\n details.controls.estimate_profit_range_from.setValue('');\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n let estimate_profit_range_to = details.value.estimate_profit_range_to;\r\n \r\n if(+estimate_profit_range_to > 100){\r\n // alert('Given Profit percent is More Than 100');\r\n this.toast.pdTriggerappmessage(\"Given Profit percent is More Than 100\")\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n\r\n if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != ''){\r\n if(+estimate_profit_range_from>+estimate_profit_range_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n let profit_percent = (estimate_profit_range_to + estimate_profit_range_from)/2; \r\n let Profit_Average = (profit_percent*sales_average)/100;\r\n let difference = (estimate_profit_range_to - estimate_profit_range_from);\r\n\r\n if(difference > 3){\r\n var r = confirm(\"Given Profit Percent Range is greater than 3\");\r\n if (r == true) {\r\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\r\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\r\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \r\n }else{\r\n details.controls.estimate_profit_range_to.setValue('');\r\n details.controls.estimate_profit_margin.setValue('');\r\n details.controls.estimate_profit_margin_percent.setValue('');\r\n return;\r\n }\r\n }\r\n \r\n details.controls.estimate_profit_margin.setValue(Profit_Average!= Infinity ? Math.round(Profit_Average):0);\r\n details.controls.estimate_profit_margin_percent.setValue(profit_percent!= Infinity ? profit_percent.toFixed(2):0);\r\n this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); \r\n // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average));\r\n // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2));\r\n \r\n \r\n \r\n }\r\n \r\n }\r\n\r\n\r\n calculateProfitAmount( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n //alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_net_profit_from.setValue('');\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n\r\n let estimate_net_profit_from = details.value.estimate_net_profit_from;\r\n let estimate_net_profit_to = details.value.estimate_net_profit_to;\r\n\r\n if(+estimate_net_profit_to>+sales_average){\r\n \r\n //alert(\"Given Profit is Greater than Sales\");\r\n this.toast.pdTriggerappmessage(\"Given Profit is Greater than Sales\")\r\n details.controls.estimate_net_profit_from.setValue('');\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n\r\n\r\n if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != ''){\r\n if(+estimate_net_profit_from>+estimate_net_profit_to){\r\n // alert(\"Given To value is lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is lower than From Value\")\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n \r\n let C = (estimate_net_profit_to - estimate_net_profit_from)\r\n let D = (C / estimate_net_profit_from) * 100;\r\n \r\n let range1 = +estimate_net_profit_from/10;\r\n \r\n let lower = (+estimate_net_profit_from)+range1;\r\n let higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2);\r\n\r\n if(estimate_net_profit_from <= 5000000){\r\n if(D >= 20){\r\n var r = confirm(\"Given Profit Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0);\r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else if(estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000){\r\n if(D >= 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n \r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n\r\n }\r\n else if(estimate_net_profit_from > 10000000){\r\n if(D >= 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }else{\r\n details.controls.estimate_net_profit_to.setValue('');\r\n details.controls.estimate_net_profit.setValue('');\r\n details.controls.estimate_net_profit_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else{\r\n details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to!= Infinity ? estimate_net_profit_to:0); \r\n if(lower > higer){\r\n details.controls.estimate_net_profit.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let Profit_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_profit.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let Profit_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(Profit_percent!= Infinity ? Profit_percent.toFixed(2):0);\r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n \r\n }\r\n \r\n}\r\n\r\ncalculateMarginLoss( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n // else{\r\n let estimate_loss_range_from = details.value.estimate_loss_range_from;\r\n if(+estimate_loss_range_from > 100){\r\n // alert('Given Loss Percent is more than 100');\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n let estimate_loss_range_to = details.value.estimate_loss_range_to;\r\n if(+estimate_loss_range_to > 100){\r\n // alert('Given Loss Percent is more than 100');\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100 \")\r\n details.controls.estimate_loss_range_from.setValue('');\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n\r\n }\r\n \r\n\r\n if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != ''){\r\n \r\n if(+estimate_loss_range_from>+estimate_loss_range_to){\r\n //alert(\"Given Loss Percent is more than 100\");\r\n this.toast.pdTriggerappmessage(\"Given Loss Percent is more than 100\")\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n \r\n let loss_percent = (estimate_loss_range_to + estimate_loss_range_from)/2;\r\n let loss_Average = (loss_percent*sales_average)/100;\r\n let difference = (estimate_loss_range_to - estimate_loss_range_from)\r\n\r\n // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average));\r\n // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2));\r\n \r\n // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n\r\n if(difference > 3){\r\n var r = confirm(\"Given Loss Percent Range is greater than 3\");\r\n if (r == true) {\r\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\r\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n \r\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n }else{\r\n details.controls.estimate_loss_range_to.setValue('');\r\n details.controls.estimate_loss_margin.setValue('');\r\n details.controls.estimate_loss_margin_percent.setValue('');\r\n return;\r\n }\r\n } \r\n \r\n details.controls.estimate_loss_margin.setValue(loss_Average!= Infinity ? Math.round(loss_Average):0);\r\n details.controls.estimate_loss_margin_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); \r\n }\r\n\r\n}\r\n\r\n\r\ncalculateLossAmount( i, details){\r\n\r\n let sales_average = details.value.estimate_sales_average;\r\n if(sales_average == ''){\r\n // alert(\"Considered Sales Average is Empty\");\r\n this.toast.pdTriggerappmessage(\"Considered Sales Average is Empty\")\r\n details.controls.estimate_net_loss_from.setValue('');\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n let estimate_net_loss_from = details.value.estimate_net_loss_from;\r\n let estimate_net_loss_to = details.value.estimate_net_loss_to;\r\n\r\n if(+estimate_net_loss_to > +sales_average){\r\n \r\n // alert(\"Given Loss is Greater than Sales\");\r\n this.toast.pdTriggerappmessage(\"Given Loss is Greater than Sales\")\r\n details.controls.estimate_net_loss_from.setValue('');\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != ''){\r\n if(+estimate_net_loss_from > +estimate_net_loss_to){\r\n //alert(\"Given To value is Lower than From Value\");\r\n this.toast.pdTriggerappmessage(\"Given To value is Lower than From Value\")\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n\r\n \r\n \r\n // if(+estimate_net_loss_to > +estimate_net_loss_from){\r\n // alert(\"loss is greater than sales\");\r\n // details.controls.estimate_net_loss_to.setValue('');\r\n // details.controls.estimate_net_loss.setValue('');\r\n // details.controls.estimate_net_loss_percent.setValue('');\r\n // return;\r\n // }\r\n \r\n \r\n let C = (estimate_net_loss_to - estimate_net_loss_from)\r\n let D = (C / estimate_net_loss_from) * 100;\r\n \r\n let range1 = +estimate_net_loss_from/10;\r\n \r\n let lower = (+estimate_net_loss_from)+range1;\r\n let higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2);\r\n\r\n if(estimate_net_loss_from <= 5000000){\r\n if(D >= 20){\r\n var r = confirm(\"Given Profit Range is greater than 20%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\r\n \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0);\r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n\r\n }\r\n else if(estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000){\r\n if(D >= 15){\r\n var r = confirm(\"Given Sales Range is greater than 15%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }\r\n\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_profit_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n }\r\n else if(estimate_net_loss_from > 10000000){\r\n if(D >= 10){\r\n var r = confirm(\"Given Sales Range is greater than 10%\");\r\n if (r == true) {\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n }else{\r\n details.controls.estimate_net_loss_to.setValue('');\r\n details.controls.estimate_net_loss.setValue('');\r\n details.controls.estimate_net_loss_percent.setValue('');\r\n return;\r\n }\r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n \r\n }\r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n } \r\n \r\n }\r\n else{\r\n details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to!= Infinity ? estimate_net_loss_to:0); \r\n if(lower > higer){\r\n details.controls.estimate_net_loss.setValue(higer!= Infinity ? higer.toFixed(2):0);\r\n let loss_percent = (higer/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); \r\n }\r\n else{\r\n details.controls.estimate_net_loss.setValue(lower!= Infinity ? lower.toFixed(2):0);\r\n let loss_percent = (lower/sales_average)*100;\r\n details.controls.estimate_net_loss_percent.setValue(loss_percent!= Infinity ? loss_percent.toFixed(2):0);\r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); \r\n }\r\n }\r\n \r\n }\r\n \r\n}\r\n\r\n \r\n\r\n\r\n \r\n\r\n /** On Key Press Event For Input Field */\r\n keyPress(event: any) {\r\n //const pattern = /[0-9\\-\\.\\ ]/;\r\n const pattern = /[0-9\\.]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n /** To Convert Amount into Words */\r\n inWords(e,i,flag:number){\r\n\r\n switch(flag){\r\n case 1 :\r\n this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n // this.placeholderName[i] = 'Weekly Instalment Amount'; break;\r\n break;\r\n case 2 : \r\n this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]);\r\n break;\r\n case 3 : \r\n this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]);\r\n break;\r\n case 4 : \r\n this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 5 : \r\n this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 6 : \r\n this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 7 : \r\n this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 8 : \r\n this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 9 : \r\n this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 10 : \r\n this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 11 : \r\n this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n case 12 : \r\n this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); \r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionClientInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-client-info',\r\n templateUrl: 'pd-question-client-info.html',\r\n})\r\nexport class PdQuestionClientInfoPage {\r\n\r\n users: any;\r\n pdDetails: any;\r\n formDetails: any;\r\n pdid: any;\r\n company_id: any;\r\n questionDetails: any;\r\n clientInfoForm: FormGroup;\r\n\r\n\r\n\r\n\r\n public submitted = false;\r\n\r\n public m_paymentType = [];\r\n\r\n companyRelationShipList: any = [];\r\n\r\n titleList: any = [];\r\n noRecordsFound: Boolean = false;\r\n errorMessage: any = '';\r\n m_manufacturingProducts: any = [];\r\n m_tradingProducts: any = [];\r\n m_suplierProducts: any = [];\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider, public fb: FormBuilder) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.formDetails = this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.pdid = this.pdDetails.pd_id;\r\n this.company_id = this.pdDetails.company_id;\r\n\r\n this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(data => {\r\n\r\n if (data.dataStatus) {\r\n\r\n let datas = data.records;\r\n this.m_manufacturingProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 2) { return data } }).map(data => [...data.prodcuts]);\r\n // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]);\r\n this.m_suplierProducts = datas.type_of_activity.filter(data => { if (data.type_of_activity_id == 5) { return data } }).map(data => [...data.prodcuts]);\r\n let api = Object.keys(datas.type_of_activity).map(function (key) {\r\n return datas.type_of_activity[key];\r\n });\r\n if (api.length > 0) {\r\n api.forEach(val => {\r\n if (val.type_of_activity_id == 3) {\r\n if (val.prodcuts) {\r\n this.m_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n\r\n if (val.type_of_activity_id == 4) {\r\n if (val.prodcuts) {\r\n this.m_tradingProducts.push(val.prodcuts);\r\n }\r\n }\r\n });\r\n }\r\n this.m_tradingProducts = [].concat.apply([], this.m_tradingProducts);\r\n\r\n this.initFormLoadDetails(datas.type_of_activity);\r\n\r\n } else {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = data.msg;\r\n }\r\n }, err => {\r\n this.toast.pdTriggerappmessage('No Category Records Found.!');\r\n this.noRecordsFound = false;\r\n this.errorMessage = 'No Records Found , Something went Wrong!';\r\n });\r\n\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionClientInfoPage');\r\n }\r\n\r\n initFormLoadDetails(record) {\r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = this.formDetails.form_id;\r\n params.company_id = this.company_id;\r\n this.qustCat.retiverForm(params).subscribe(\r\n data => {\r\n if (data['dataStatus']) {\r\n let dataForm = data['records'];\r\n if (dataForm !== undefined) {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n // Load form details for manufacturing\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n // if(dataForm.manufacturing_details[0].main_raw_materials){\r\n if (arr.length > 0) {\r\n // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) {\r\n // return dataForm.main_raw_materials[key];\r\n // });\r\n if(dataForm.manufacturing_details){\r\n console.log(dataForm)\r\n \r\n let api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials;\r\n\r\n this.initManufacturingProductsDetails(api_main_raw_materials);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n console.log(\"NO Data\",dataForm)\r\n this.initManufacturingProductsDetails(null)\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue( null);\r\n }\r\n }\r\n // }\r\n\r\n // Load form details for the wholeshale trading details\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) {\r\n // return dataForm.trading_products[key];\r\n // });\r\n if(dataForm.trade_details){\r\n let api_trading_products = dataForm.trade_details[0].trading_products;\r\n\r\n this.initTradingProductsDetails(api_trading_products);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue( null);\r\n }\r\n }\r\n\r\n // Load form details for the service provider prduct details \r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\r\n // return dataForm.service_products[key];\r\n // });\r\n if(dataForm.service_provider_details){\r\n let api_service_provider_products = dataForm.service_provider_details[0].service_products;\r\n this.initServiceProviderProductsDetails(api_service_provider_products);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm.service_provider_details[0].service_products_total_payments_percent_on_credit || null);\r\n }\r\n else{\r\n this.initServiceProviderProductsDetails(null)\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n } else {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: [dataForm.supplier_info_form_remark || null]\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) {\r\n return dataForm.service_products[key];\r\n });\r\n this.initServiceProviderProductsDetails(api_service_provider_products);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n }\r\n } else {\r\n this.clientInfoForm = this.fb.group({\r\n pdid: [this.pdid],\r\n formid: [this.formDetails.form_id],\r\n company_id: [this.company_id],\r\n fk_createdby: [this.users],\r\n manufacturing_details: this.fb.array([this.manufacturingFormCreation(record)]),\r\n trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n service_provider_details: this.fb.array([this.serviceProviderFormCreation(record)]),\r\n supplier_info_form_remark: []\r\n // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]),\r\n });\r\n let arr = record.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.initManufacturingProductsDetails(null);\r\n this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr1 = record.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr1.length > 0) {\r\n this.initTradingProductsDetails(null);\r\n this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n let arr2 = record.filter(data => data.type_of_activity_id == 5);\r\n if (arr2.length > 0) {\r\n this.initServiceProviderProductsDetails(null);\r\n this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null);\r\n }\r\n // Load form details for the retail trading details\r\n let arr3 = record.filter(data => data.type_of_activity_id == 3);\r\n // if (arr3.length > 0) {\r\n // this.retaildTradingForm = true;\r\n // }\r\n this.noRecordsFound = true;\r\n }\r\n }, err => {\r\n\r\n }\r\n );\r\n }\r\n\r\n manufacturingForm: Boolean = false;\r\n manufacturingFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 2);\r\n if (arr.length > 0) {\r\n this.manufacturingForm = true;\r\n return this.fb.group({\r\n main_raw_materials: this.fb.array([]),\r\n main_raw_materials_total_payments_percent_on_credit: []\r\n })\r\n // }\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n tradingForm: Boolean = false;\r\n tradingFormCreation(val) {\r\n // let arr = val.filter(data => data.type_of_activity_id == 4);\r\n let arr = val.filter(data => data.type_of_activity_id == 3 || data.type_of_activity_id == 4);\r\n if (arr.length > 0) {\r\n this.tradingForm = true;\r\n return this.fb.group({\r\n trading_products: this.fb.array([]),\r\n trading_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n serviceProviderForm: Boolean = false;\r\n serviceProviderFormCreation(val) {\r\n let arr = val.filter(data => data.type_of_activity_id == 5);\r\n if (arr.length > 0) {\r\n this.serviceProviderForm = true;\r\n return this.fb.group({\r\n service_products: this.fb.array([]),\r\n service_products_total_payments_percent_on_credit: []\r\n });\r\n } else {\r\n return;\r\n }\r\n }\r\n\r\n initManufacturingProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n if (datas === null) {\r\n control.push(this.initManufacturingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.manufacturing_payment_type, 1, inx);\r\n control.push(this.initManufacturingProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initManufacturingProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initManufacturingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n manufacturing_product_name: [''],\r\n manufacturing_client_name: [''],\r\n manufacturing_contact_person_name: [''],\r\n manufacturing_contact_person_mobile_number: [''],//,Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [''],\r\n manufacturing_payment_mode: [''],\r\n // manufacturing_credit_days: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n manufacturing_credit_days_from: [''],\r\n manufacturing_credit_days_to: ['']\r\n })\r\n } else {\r\n return this.fb.group({\r\n manufacturing_product_name: [records.manufacturing_product_name || null],\r\n manufacturing_client_name: [records.manufacturing_client_name || null],\r\n manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null],\r\n manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n manufacturing_payment_type: [records.manufacturing_payment_type || null],\r\n manufacturing_payment_mode: [records.manufacturing_payment_mode || null],\r\n manufacturing_credit_days: [records.manufacturing_credit_days || null],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null],\r\n manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null]\r\n })\r\n }\r\n }\r\n\r\n initTradingProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n if (datas === null) {\r\n control.push(this.initTradingProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.trade_product_payment_type, 2, inx);\r\n control.push(this.initTradingProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initTradingProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initTradingProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n trade_product_name: [''],\r\n trade_client_name: [''],\r\n trade_product_contact_person_name: [''],\r\n trade_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n trade_product_payment_type: [''],\r\n trade_product_payment_mode: [''],\r\n trade_product_frequency_of_purchase: [''],\r\n trade_product_credit_days_from: [''],\r\n trade_product_credit_days_to: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n trade_product_name: [records.trade_product_name],\r\n trade_client_name: [records.trade_client_name],\r\n trade_product_contact_person_name: [records.trade_product_contact_person_name],\r\n trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n trade_product_payment_type: [records.trade_product_payment_type],\r\n trade_product_payment_mode: [records.trade_product_payment_mode],\r\n trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase],\r\n trade_product_credit_days_from: [records.trade_product_credit_days_from],\r\n trade_product_credit_days_to: [records.trade_product_credit_days_to],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n })\r\n }\r\n }\r\n\r\n initServiceProviderProductsDetails(datas) {\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n if (datas === null) {\r\n control.push(this.initServiceProviderProducts(null));\r\n } else {\r\n datas.forEach((val, inx) => {\r\n this.checkCard(val.service_provider_product_payment_type, 3, inx);\r\n control.push(this.initServiceProviderProducts(val));\r\n });\r\n // for (let val of datas) {\r\n // control.push(this.initServiceProviderProducts(val));\r\n // }\r\n }\r\n }\r\n\r\n initServiceProviderProducts(records) {\r\n if (records === null) {\r\n return this.fb.group({\r\n service_provider_product_name: [''],\r\n service_provider_client_name: [''],\r\n service_provider_product_contact_person_name: [''],\r\n service_provider_product_contact_person_mobile_number: [''],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n service_provider_product_payment_type: [''],\r\n service_provider_product_payment_mode: [''],\r\n service_provider_product_frequency_of_purchase: [''],\r\n service_provider_product_credit_days_from: [''],\r\n service_provider_product_credit_days_to: [''],\r\n person_title_name: [''],\r\n person_designation: [''],\r\n person_stdcode: [''], //Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [''],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [''],\r\n })\r\n } else {\r\n return this.fb.group({\r\n service_provider_product_name: [records.service_provider_product_name],\r\n service_provider_client_name: [records.service_provider_client_name],\r\n service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name],\r\n service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number],//Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n service_provider_product_payment_type: [records.service_provider_product_payment_type],\r\n service_provider_product_payment_mode: [records.service_provider_product_payment_mode],\r\n service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase],\r\n service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from],\r\n service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to],\r\n person_title_name: [records.person_title_name || null],\r\n person_designation: [records.person_designation || null],\r\n person_stdcode: [records.person_stdcode || null],// Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')])],\r\n person_landline: [records.person_landline || null],// Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')])],\r\n other_person_designation: [records.other_person_designation || null],\r\n })\r\n }\r\n }\r\n\r\n addMoreRawMaterials(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n\r\n control.push(this.initManufacturingProducts(null));\r\n }\r\n\r\n removeRawMaterials(inx): void {\r\n const control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoretradeProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n\r\n control.push(this.initTradingProducts(null));\r\n }\r\n\r\n removeTradingProduct(inx): void {\r\n const control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n addMoreServiceProduct(e): void {\r\n // e.stropPropagation();\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n\r\n control.push(this.initServiceProviderProducts(null));\r\n }\r\n\r\n removeServiceProduct(inx): void {\r\n const control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products'];\r\n control.removeAt(inx);\r\n }\r\n\r\n getdropList() {\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n this.companyRelationShipList = data['records'];\r\n // .filter(data => data.isactive == 1);\r\n // because in general no need of \"other\" option but in client others option needed - in DB others option changed into inactive\"\r\n });\r\n\r\n this.qustCat.getcommondrop('TITLES').subscribe(\r\n data => {\r\n this.titleList = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('PAYMENTMODE').subscribe(\r\n data => {\r\n this.m_paymentType = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n // saveclientDetails(answerData)\r\n // {\r\n // let records:any ={};\r\n\r\n // records.pdid = this.pdDetails.pd_id;\r\n // records.formid = this.FormId.form_id;\r\n // records.fk_createdby = this.users;\r\n\r\n // records.client_details = answerData.clientArray;\r\n\r\n // this.qustCat.saveForm(records).subscribe(res=>\r\n // {\r\n // if(res['dataStatus']==true)\r\n // {\r\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.navCtrl.pop();\r\n // }\r\n // });\r\n\r\n\r\n // }\r\n /** To Save/Edited Popup Data */\r\n saveClientInfo(answerFormValues) {\r\n \r\n Object.keys(answerFormValues).forEach((key) => (answerFormValues[key] == null) && delete answerFormValues[key]);\r\n if (answerFormValues.manufacturing_details[0] == null) {\r\n delete answerFormValues['manufacturing_details'];\r\n }\r\n if (answerFormValues.trade_details[0] == null) {\r\n delete answerFormValues['trade_details'];\r\n }\r\n if (answerFormValues.service_provider_details[0] == null) {\r\n delete answerFormValues['service_provider_details'];\r\n }\r\n\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerFormValues).forEach((key) => { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { delete answerFormValues[key] }; });\r\n this.qustCat.saveForm(answerFormValues).subscribe(responsed => {\r\n if (responsed['status'] == 200) {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n } else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n });\r\n\r\n }\r\n\r\n selectedPersonDesignation(items, e, flag) {\r\n if (flag == 1) {\r\n // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required])\r\n // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 2) {\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n else if (flag == 3) {\r\n // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required])\r\n // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue('');\r\n // items.controls['other_person_designation'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n mfgCreditCardFlag: boolean = false;\r\n trdCreditCardFlag: boolean = false;\r\n spCreditCardFlag: boolean = false;\r\n mfgCounter: any = [];\r\n trdCounter: any = [];\r\n spCounter: any = [];\r\n checkCard(e, flag, index) {\r\n\r\n if (flag == 3 && e == 3) {\r\n this.spCounter[index] = 1;\r\n }\r\n else if (flag == 3 && e != 3) {\r\n this.spCounter[index] = 0;\r\n }\r\n let SP = this.spCounter.reduce((sum, val) => sum + +val, 0);\r\n this.spCreditCardFlag = SP > 0 ? true : false;\r\n\r\n if (flag == 2 && e == 3) {\r\n this.trdCounter[index] = 1;\r\n }\r\n else if (flag == 2 && e != 3) {\r\n this.trdCounter[index] = 0;\r\n }\r\n let TRD = this.trdCounter.reduce((sum, val) => sum + +val, 0);\r\n this.trdCreditCardFlag = TRD > 0 ? true : false;\r\n\r\n if (flag == 1 && e == 3) {\r\n this.mfgCounter[index] = 1;\r\n }\r\n else if (flag == 1 && e != 3) {\r\n this.mfgCounter[index] = 0;\r\n }\r\n let MFG = this.mfgCounter.reduce((sum, val) => sum + +val, 0);\r\n this.mfgCreditCardFlag = MFG > 0 ? true : false;\r\n\r\n }\r\n\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { PdQuestionAssessedInfoPage } from '../pd-question-assessed-info/pd-question-assessed-info';\r\nimport {PdQuestionAssessedSummaryPage} from '../pd-question-assessed-summary/pd-question-assessed-summary'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDashPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-dash',\r\n templateUrl: 'pd-question-assessed-dash.html',\r\n})\r\nexport class PdQuestionAssessedDashPage {\r\n\r\n businessIncome: boolean;\r\n grossAccess: boolean;\r\n finalAccess: boolean;\r\n finalExpense: any;\r\n finalIncome: any;\r\n finalData: any;\r\n houseExpenseData: boolean;\r\n businessData: boolean;\r\n salesData: boolean;\r\n purchaseData: boolean;\r\n grossprofit: any;\r\n assessedProcess: boolean;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n assessedForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('formDetails');\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n calc_type_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n mode:[null,Validators.compose([Validators.required])],\r\n margin:[2],\r\n fk_createdby:[null],\r\n fk_updatedby:[null],\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDashPage');\r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getassessedIncome(); \r\n }\r\n getViewPage(pageId)\r\n {\r\nif(pageId == 11){//Summary\r\n this.navCtrl.push(PdQuestionAssessedSummaryPage,{'pdDetails':this.pdDetails,'pageId':pageId})\r\n}\r\nelse{\r\n this.navCtrl.push(PdQuestionAssessedInfoPage,{'pdDetails':this.pdDetails,'pageId':pageId});\r\n}\r\n }\r\n\r\n saveAssessedForm(answerData)\r\n {\r\n \r\n \r\n if(this.assessedForm.valid)\r\n {\r\n if(answerData.mode.value == 1 ){\r\n this.assessedForm.controls['margin'].setValue(1)\r\n }\r\n else if(answerData.mode.value == 2 ){\r\n this.assessedForm.controls['margin'].setValue(2)\r\n }\r\n if(this.assessedForm.controls['calc_type_id'].value != null){\r\n this.assessedForm.controls['fk_updatedby'].setValue(this.users)\r\n }\r\n if(this.assessedForm.controls['fk_createdby'].value == null){\r\n this.assessedForm.controls['fk_createdby'].setValue(this.users);\r\n }\r\n \r\n let records = {'records':this.assessedForm.value};\r\n \r\n \r\n \r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.getassessedIncome();\r\n }else\r\n {\r\n\r\n }\r\n })\r\n \r\n }\r\n }\r\n\r\n getassessedIncome()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id};\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.assessedProcess = true;\r\n this.grossprofit = res['records'].gross_profit_calculation_type[0];\r\n if(res['records'].purchase_details.length !=0)\r\n {\r\n this.purchaseData = true;\r\n }\r\n if(res['records'].sales_items_by_monthwise.length !=0 || res['records'].sales_declared_by_customer.length !=0 || res['records'].sales_calculated_by_itemwise.length !=0)\r\n {\r\n this.salesData = true;\r\n }\r\n if(res['records'].business_expenses.length !=0)\r\n {\r\n this.businessData = true;\r\n }\r\n if(res['records'].house_hold_expenses.length !=0)\r\n {\r\n this.houseExpenseData = true;\r\n }\r\n if(res['records'].othre_business_income.length !=0)\r\n {\r\n this.businessIncome = true;\r\n }\r\n \r\n if(res['records'].final_data.length !=0){\r\n this.finalAccess = true;\r\n this.finalData = res['records'].final_data[0]; \r\n this.finalIncome = this.finalData.income;\r\n this.finalExpense = this.finalData.expense; \r\n }\r\n \r\n if(this.grossprofit !==undefined)\r\n {\r\n this.grossAccess = true;\r\n this.assessedForm.controls['mode'].setValue(this.grossprofit.mode);\r\n this.assessedForm.controls['margin'].setValue(this.grossprofit.margin);\r\n this.assessedForm.controls['calc_type_id'].setValue(this.grossprofit.calc_type_id);\r\n this.assessedForm.controls['fk_createdby'].setValue(this.grossprofit.fk_createdby);\r\n }\r\n \r\n }else\r\n {\r\n this.assessedProcess = false;\r\n }\r\n });\r\n }\r\n\r\n\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash.ts","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 247;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/@angular/core/esm5 lazy\n// module id = 247\n// module chunks = 0","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 290;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src lazy\n// module id = 290\n// module chunks = 0","import { Component,OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\r\nimport { AlertController } from 'ionic-angular';\r\n// import {Validators, FormBuilder, FormGroup } from '@angular/forms';\r\n// import { GridPage } from '../grid/grid';\r\n\r\n\r\nimport { FingerprintAIO ,FingerprintOptions} from '@ionic-native/fingerprint-aio';\r\nimport { Camera } from '@ionic-native/camera';\r\n// import { Component, OnInit, ViewEncapsulation } from '@angular/core';\r\n\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { FormBuilder, FormGroup, Validators, FormControl } from '@angular/forms';\r\n// import { CustomValidators } from 'ng2-validation';\r\n\r\nimport { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { PasswordPage } from '../password/password';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n\r\n\r\n@Component({\r\n selector: 'page-login',\r\n templateUrl: 'login.html',\r\n})\r\nexport class LoginPage {\r\n users: any;\r\nchangepass: FormGroup;\r\nemail: string;\r\npassword: string;\r\nnewpassword: any;\r\nconfirmPassword: any;\r\nchangePassword: any;\r\nstatus: Boolean = false;\r\nconfig: MatDialogConfig = {\r\n disableClose: false,\r\n width: '',\r\n height: '',\r\n position: {\r\n top: '',\r\n bottom: '',\r\n left: '',\r\n right: ''\r\n }\r\n};\r\nconstructor( public aws: AwsServiceProvider, public dialog: MatDialog,\r\npublic shared:CognitoServiceProvider,public navCtrl:NavController,public Menu:MenuController\r\n,public toast:ToastProvider) {\r\n \r\n}\r\nngOnInit(){\r\n //this.loggedInCheck();\r\n \r\n}\r\nionViewDidEnter(){\r\n this.Menu.enable(false);\r\n}\r\nionViewWillLeave(){\r\n this.Menu.enable(true);\r\n}\r\n/**\r\n* @param email\r\n* @param password\r\n* AWS login service\r\n*/\r\nlogin() {\r\n // console.log(this.email);\r\n if(this.email !==undefined && this.password !==undefined && this.email !='' && this.password !='' && this.email !=null && this.password !=null ){\r\n let auth = { 'Username': this.email, 'Password': this.password };\r\n this.aws.dologin(auth).subscribe(awsres => {\r\n let userid = this.aws.getlocale();\r\n \r\n this.aws.getuserprofile(userid).subscribe(usersres=>\r\n {\r\n this.users = usersres; \r\n \r\n if (this.users.dataStatus == true) {\r\n \r\n if(this.users.records[0].role_name == \"PD Officer\" || this.users.records[0].role_name == \"PD Executive\"){\r\n this.navCtrl.setRoot(PdListPage);\r\n \r\n }else\r\n {\r\n \r\n this.toast.pdTriggerappmessage('This App only for PD Officers');\r\n localStorage.clear();\r\n }\r\n\r\n \r\n }\r\n });\r\n }, err => {\r\n console.log(JSON.stringify(err.message));\r\n if (err.message == \"New password is required.\") {\r\n //console.log(\"if\");\r\n this.navCtrl.setRoot(PasswordPage,{'Username':this.email,'Password':this.password});\r\n } else {\r\n console.log(JSON.stringify(err.message));\r\n this.toast.pdTriggerappmessage(JSON.stringify(err.message));\r\n\r\n }\r\n //alert(err.message);\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter Email or Password');\r\n }\r\n}\r\n/**\r\n * New password set\r\n * Defalut aws function \r\n * @param email password,newpassword\r\n */\r\n// newpassopen() {\r\n// let dialogRef = this.dialog.open(NewPasswordDialog, this.config);\r\n// dialogRef.afterClosed().subscribe(result => {\r\n// if (result !== undefined) {\r\n// let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result };\r\n// console.log(auth);\r\n// this.aws.dologin(auth).subscribe(res => {\r\n// console.log(res);\r\n// // this.router.navigate(['/home']);\r\n// }, err => {\r\n// // alert(err.message);\r\n\r\n// })\r\n// }\r\n// });\r\n// }\r\n\r\nforgotopen() {\r\n this.status = true;\r\n}\r\n\r\n\r\nforgotpassword() {\r\n\r\n let auth = { 'Username': this.email };\r\n console.log(auth);\r\n // this.aws.userforgotpass(auth).subscribe(res => {\r\n // console.log(res);\r\n\r\n // })\r\n}\r\nloggedInCheck(){\r\n //alert(this.shared.isLoggedIn);\r\n if(this.shared.isLoggedIn){\r\n alert(\"if\");\r\n // this.router.navigate(['/home']);\r\n return false;\r\n }else{\r\n alert(\"else\");\r\n \r\n return true;\r\n }\r\n}\r\n\r\n}\r\n\r\n// ======================= END ==============================\r\n/**\r\n* New password Dialog\r\n*/\r\n\r\n// const newpassword = new FormControl('', Validators.required);\r\n// const confirmPassword = new FormControl('');\r\n\r\n// @Component({\r\n// selector: 'app-jazz-dialog',\r\n// template: `\r\n//
New Password Change.
\r\n\r\n// \r\n// \r\n \r\n// \r\n\r\n\r\n//
\r\n// \r\n// \r\n// \r\n\r\n// Passwords do not math.\r\n\r\n//
\r\n \r\n// \r\n \r\n \r\n// `\r\n// })\r\n// export class NewPasswordDialog {\r\n\r\n// newpassword: any = newpassword;\r\n// confirmPassword: any = confirmPassword;\r\n// jazzMessage = 'Jazzy jazz jazz';\r\n\r\n// constructor(public dialogRef: MatDialogRef) {\r\n\r\n// }\r\n\r\n\r\n// }\r\n\r\n\r\n\r\n// @Component({\r\n// selector: 'app-jazz-dialog',\r\n// template: `\r\n//
Forgot Password
\r\n\r\n// \r\n// \r\n \r\n// \r\n\r\n\r\n\r\n//
\r\n \r\n// \r\n \r\n \r\n// `\r\n// })\r\n// export class ForgotPass {\r\n\r\n// newpassword: any = newpassword;\r\n// confirmPassword: any = confirmPassword;\r\n// jazzMessage = 'Jazzy jazz jazz';\r\n\r\n// constructor(public dialogRef: MatDialogRef) {\r\n\r\n// }\r\n\r\n// }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/login/login.ts","import { Component, ElementRef,ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,AlertController, Content } from 'ionic-angular';\r\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\n// import {MomentDateAdapter} from '@angular/material-moment-adapter';\r\nimport {DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE} from '@angular/material/core';\r\nimport {MatDatepicker} from '@angular/material/datepicker';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport {LaunchNavigator,LaunchNavigatorOptions } from '@ionic-native/launch-navigator'; \r\nimport { AuthPage } from '../auth/auth';\r\n\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { OtpPage } from '../otp/otp';\r\n\r\nimport { Geolocation, PositionError, Geoposition } from '@ionic-native/geolocation';\r\nimport {DatePipe } from '@angular/common';\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { observable, Observable } from 'rxjs';\r\nimport { ERR_PLUGIN_NOT_INSTALLED } from '@ionic-native/core';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\nimport { PdGeneralImagesPage } from '../pd-general-images/pd-general-images';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\nimport {BouncedRejectPage} from '../../pages/input/bounced-reject/bounced-reject'\r\n\r\n\r\n/**\r\n * Generated class for the InputPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19);\r\n\r\n\r\n@Component({\r\n selector: 'page-input',\r\n templateUrl: 'input.html',\r\n})\r\n\r\n\r\nexport class InputPage {\r\n enableStartPD: boolean;\r\n diffInHours: number;\r\n updatestarted: any;\r\n updateinitiated: any;\r\n appdata: any;\r\n users: any;\r\n initiatedAccess: boolean = false;\r\n scheduleAccess: boolean = false;\r\napplicatentDetails:any;\r\nmaxdate :any;\r\npipe = new DatePipe('en-US');\r\nupdateStatus:any;\r\nscheduleDate:any;\r\nupdateSchedule:any;\r\nacceptedAccess:boolean = false;\r\nstartedAccess:boolean = false;\r\ntimeOut:any = 15*1000;\r\ntimeInterval:any;\r\ncurrentPosPDofficer:any;\r\nother_applicant:any;\r\n@ViewChild('focusinp') input_focus ;\r\n@ViewChild('scroll') scrolltop : Content;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public statusBar:StatusBar,public platform: Platform,public launchNavigator:LaunchNavigator,\r\n public aws:AwsServiceProvider,public pdDetails:PdtriggerProvider,public geolocation:Geolocation,\r\n public alertCtrl:AlertController,public locationAccuracy:LocationAccuracy,public toast:ToastProvider,\r\n public constant:ConstantsProvider,public androidPermissions:AndroidPermissions, ) {\r\n\r\n this.maxdate = this.pipe.transform(new Date(),'yyyy-MM-ddThh:mm').toString();\r\n \r\n /***Header value pass */\r\n this.statusBar.styleDefault();\r\n \r\n this.statusBar.overlaysWebView(false);\r\n this.statusBar.backgroundColorByHexString('#db4437');\r\n let timeStart:string = this.pipe.transform(new Date(),'dd/MM/yyyy hh:mm a');\r\n \r\n \r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n \r\n this.getFullPD();\r\n \r\n \r\n if(this.applicatentDetails.pd_status == 'ALLOCATED')\r\n {\r\n this.acceptedAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'ACCEPTED')\r\n {\r\n this.scheduleAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'SCHEDULED')\r\n {\r\n \r\n this.initiatedAccess = true;\r\n }\r\n //console.log(this.initiatedAccess);\r\n if(this.applicatentDetails.pd_status == 'INITIATED')\r\n {\r\n this.startedAccess = true;\r\n this.getenableAccuracy();\r\n \r\n }\r\n this.users = this.aws.getlocale();\r\n }\r\n\r\n \r\n ionViewDidLoad() {\r\n this.setPermission();\r\n \r\n }\r\n ionViewCanLeave()\r\n {\r\n clearInterval(this.timeInterval);\r\n }\r\n locationnavicate(address)\r\n {\r\n this.launchNavigator.navigate(address);\r\n }\r\n\r\n setPermission()\r\n {\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n\r\n getFullPD()\r\n {\r\n let records = {'pdid':this.applicatentDetails.pd_id};\r\n this.pdDetails.getFullPDdetails(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.other_applicant=res['records'].applicants_details\r\n console.log(this.other_applicant);\r\n let courrentDateTime: string = this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); \r\n let scheduledDateTime: string= res['records'].pd_master_details[0].scheduled_on_for_validation;\r\n let diffInMs: number = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime);\r\n let diffInHours: number = Math.floor(diffInMs / 1000 / 60 / 60);\r\n \r\n if(diffInHours <=-4){\r\n this.enableStartPD=true;\r\n }\r\n else\r\n {\r\n this.enableStartPD = false;\r\n }\r\n } \r\n })\r\n \r\n }\r\n pdStatus(status,appdetails)\r\n {\r\n let data :any;\r\n \r\n if(status == 'BOUNCED')\r\n {\r\n data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.navCtrl.push(BouncedRejectPage,{'details':data})\r\n // this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n // {\r\n // this.updateStatus = res;\r\n // if(this.updateStatus.dataStatus == true)\r\n // {\r\n // this.navCtrl.setRoot(PdListPage); \r\n // }\r\n // })\r\n }else if(status == 'ACCEPTED')\r\n {\r\n data = {'pd_id':appdetails.pd_id,'pd_status':status,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateStatus = res;\r\n if(this.updateStatus.dataStatus == true)\r\n {\r\n this.getNewpdupdate();\r\n this.scheduleAccess = true;\r\n \r\n }else\r\n {\r\n this.scheduleAccess = false;\r\n }\r\n })\r\n }\r\n \r\n }\r\n\r\n pdschedule(scheduledate,appdetails)\r\n {\r\n \r\n let data :any;\r\n console.log(scheduledate);\r\n if(scheduledate != undefined){\r\n let schDate = scheduledate.slice(0,19).replace('T',' ');\r\n console.log(schDate);\r\n data = {'pd_id':appdetails.pd_id,'pd_status':'SCHEDULED','scheduled_on':schDate,'fk_updatedby':this.users,'updatedon':currentdate};\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateSchedule = res;\r\n if(this.updateSchedule.dataStatus == true)\r\n {\r\n this.getNewpdupdate();\r\n this.initiatedAccess = true;\r\n }\r\n });\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Please Choose the Schedule Date\");\r\n this.input_focus.setFocus();\r\n //this.input_focus.scrollToTop();\r\n this.scrolltop.scrollTop;\r\n }\r\n}\r\n\r\n getenableAccuracy()\r\n {\r\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n this.getcurrentLocation();\r\n },\r\n error => alert('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n \r\n });\r\n }\r\n getcurrentLocation() \r\n {\r\n let data:any;\r\n let options = {\r\n frequency: 3000, \r\n enableHighAccuracy: true,\r\n timeOut:1000,\r\n };\r\n \r\n this.timeInterval = setInterval(()=>{\r\n this.currentPosPDofficer = '';\r\n this.geolocation.getCurrentPosition(options).then((resp) => {\r\n // resp.coords.latitude\r\n // resp.coords.longitude\r\n if((resp as Geoposition).coords !=undefined){\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n // this.toast.pdTriggerappmessage(this.currentPosPDofficer);\r\n console.log(this.currentPosPDofficer);\r\n data = {'pd_id':this.applicatentDetails.pd_id,'link':this.currentPosPDofficer};\r\n\r\n\r\n this.pdDetails.saveCurrentLocation(data).subscribe(res=>\r\n {\r\n // this.updateinitiated = res;\r\n // if(this.updateinitiated.dataStatus == true)\r\n // { \r\n // // this.getNewpdupdate();\r\n // // this.startedAccess = true;\r\n // }else\r\n // {\r\n // this.startedAccess = false;\r\n // }\r\n })\r\n }\r\n }).catch((error)=>{\r\n this.toast.pdTriggerappmessage(error.message);\r\n })\r\n \r\n },this.timeOut);\r\n }\r\n pdreschedule()\r\n {\r\n this.scheduleAccess = true;\r\n this.initiatedAccess = false;\r\n }\r\n pdinitiated(appdetails)\r\n { let data:any;\r\n\r\n this.locationAccuracy.canRequest().then((canRequest: boolean) => {\r\n\r\n if(canRequest) {\r\n // the accuracy option will be ignored by iOS\r\n this.locationAccuracy.request(this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(\r\n () => {\r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n // resp.coords.latitude\r\n // resp.coords.longitude\r\n \r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n data = {'pd_id':appdetails.pd_id,'pd_status':'INITIATED','mobile_no':appdetails.applicat_details[0].mobile_no,'officerName':appdetails.pd_allocated_to,'firstName':appdetails.applicat_details[0].applicant_name,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\r\n\r\n\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {\r\n this.updateinitiated = res;\r\n if(this.updateinitiated.dataStatus == true)\r\n { \r\n this.getNewpdupdate();\r\n this.getcurrentLocation();\r\n this.startedAccess = true;\r\n }else\r\n {\r\n this.startedAccess = false;\r\n }\r\n })\r\n }).catch((error) => {\r\n console.log('Error getting location', error);\r\n });\r\n },error => alert('Error requesting location permissions'+JSON.stringify(error))\r\n );\r\n }\r\n \r\n });\r\n }\r\n\r\n startPdDiscussion(appdetails)\r\n {\r\n let data:any;\r\n let alert = this.alertCtrl.create({\r\n title: 'Starting PD Officer',\r\n message: 'Are you starting the Discussions',\r\n buttons: [\r\n {\r\n text: 'No',\r\n role: 'cancel',\r\n handler: () => {\r\n \r\n // console.log('Cancel clicked');\r\n // this.toast.pdTriggerappmessage('')\r\n }\r\n },\r\n {\r\n text: 'YES',\r\n handler: () => {\r\n this.geolocation.getCurrentPosition().then((resp) => {\r\n this.currentPosPDofficer = resp.coords.latitude+\",\"+resp.coords.longitude;\r\n \r\n data = {'pd_id':appdetails.pd_id,'pd_status':'STARTED','mobile_no':appdetails.applicat_details[0].mobile_no,'fk_updatedby':this.users,'updatedon':currentdate,'link':this.currentPosPDofficer};\r\n console.log(data);\r\n this.pdDetails.updatepdStatus(data).subscribe(res=>\r\n {this.updatestarted = res;\r\n if(this.updatestarted.dataStatus == true)\r\n {\r\n clearInterval(this.timeInterval);\r\n this.navCtrl.setRoot(OtpPage,{'pdDetails':appdetails});\r\n }\r\n \r\n })\r\n // console.log('Buy clicked');\r\n })\r\n } \r\n }\r\n ]\r\n });\r\n alert.present();\r\n }\r\n getNewpdupdate()\r\n {\r\n this.acceptedAccess = false;\r\n this.initiatedAccess = false;\r\n this.scheduleAccess = false;\r\n this.startedAccess = false;\r\n this.pdDetails.getpddetails(this.users).subscribe(res=>\r\n {\r\n this.appdata = res;\r\n if(this.appdata.dataStatus == true)\r\n {\r\n this.applicatentDetails = this.appdata.records.filter(app=>app.pd_id == this.applicatentDetails.pd_id)[0];\r\n if(this.applicatentDetails.pd_status == 'ALLOCATED')\r\n {\r\n this.acceptedAccess = true;\r\n }\r\n if(this.applicatentDetails.pd_status == 'ACCEPTED')\r\n {\r\n this.scheduleAccess = true;\r\n this.toast.pdTriggerappmessage(\"Accepted Successfully\")\r\n }\r\n if(this.applicatentDetails.pd_status == 'SCHEDULED')\r\n {\r\n this.initiatedAccess = true;\r\n this.getFullPD();\r\n this.toast.pdTriggerappmessage(\"Scheduled Successfully\")\r\n }\r\n\r\n if(this.applicatentDetails.pd_status == 'INITIATED')\r\n {\r\n this.startedAccess = true;\r\n this.toast.pdTriggerappmessage(\"Initiated Successfully\")\r\n }\r\n }\r\n })\r\n }\r\n\r\n camerasetup()\r\n {\r\n this.navCtrl.push(PdGeneralImagesPage,{'pdDetails':this.applicatentDetails});\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/input.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,Slides , Content, Platform } from 'ionic-angular';\r\nimport { FormBuilder,FormGroup,FormArray, Validators} from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\n\r\nimport { CameraProvider } from '../../providers/common-provider/camera';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n/**\r\n * Generated class for the PdQuestionPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\nconst currentdate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question',\r\n templateUrl: 'pd-question.html',\r\n})\r\nexport class PdQuestionPage {\r\n \r\n docqustid: any;\r\n docName: any = [];\r\n docArray: any = [];\r\n imageArray:any = [];\r\n questionCate: any;\r\n qustCate: any;\r\n pdinfo: any;\r\n items: FormArray;\r\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\r\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\r\n\r\n SwipedTabsIndicator :any= null;\r\n tabTitleWidthArray :any= [];\r\n tabElementWidth_px :number= 50;\r\n screenWidth_px :number= 0;\r\n isRight :boolean= false;\r\n isLeft:boolean= false;\r\n tabs:any=[];\r\n \r\n questionDetails: any;\r\n questionAnswer:FormGroup;\r\n questionanotherData:FormGroup;\r\n userid:any;\r\n questionId:any;\r\n qustType:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform,public fb:FormBuilder,public qstDetails:QuestionCategoryProvider,public aws:AwsServiceProvider,public camera:CameraProvider,public toast:ToastProvider) {\r\n \r\n this.screenWidth_px=platform.width();\r\n\r\n \r\n this.questionAnswer = this.fb.group(\r\n {\r\n answerDetails:[null],\r\n items:this.fb.array([]),\r\n })\r\n this.questionanotherData = this.fb.group(\r\n {\r\n questionRemarks:[null]\r\n })\r\n this.getpdQuestionDetails();\r\n this.userid = this.aws.getlocale();\r\n}\r\n\r\n ionViewDidLoad() {\r\n }\r\n ionViewDidEnter() {\r\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\r\n for (let i in this.tabs)\r\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\r\n\r\n this.selectTab(0);\r\n }\r\n\r\n ionViewWillLeave() {\r\n this.navCtrl.setRoot(PdQuestionCategoryPage,{'pdDetails':this.pdinfo});\r\n }\r\n\r\n scrollIndicatiorTab()\r\n {\r\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\r\n // let answerDetails = this.questionAnswer.value;\r\n // let remarks = this.questionanotherData.value;\r\n if(this.isLeft)\r\n {\r\n //this.prev(answerDetails,remarks,this.questionDetails);\r\n }\r\n if(this.isRight)\r\n {\r\n //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails);\r\n }\r\n }\r\n\r\n selectTab(index)\r\n {\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n this.SwipedTabsSlider.slideTo(index);\r\n \r\n }\r\n\r\n calculateDistanceToSpnd(index)\r\n {\r\n var result=0;\r\n for (var _i = 0; _i < index; _i++) {\r\n result=result+this.tabTitleWidthArray[_i];\r\n }\r\n return result;\r\n }\r\n\r\n updateIndicatorPosition() {\r\n var index=this.SwipedTabsSlider.getActiveIndex();\r\n if( this.SwipedTabsSlider.length()==index)\r\n index=index-1;\r\n\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n \r\n }\r\n\r\n updateIndicatorPositionOnTouchEnd()\r\n {\r\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\r\n }\r\n\r\n animateIndicator($event)\r\n {\r\n \r\n this.isLeft=false;\r\n this.isRight=false;\r\n \r\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\r\n if($event.progress < currentSliderCenterProgress)\r\n {\r\n this.isLeft=true;\r\n this.isRight=false;\r\n\r\n } if($event.progress > currentSliderCenterProgress)\r\n {\r\n this.isLeft=false;\r\n this.isRight=true;\r\n }\r\n\r\n if(this.SwipedTabsSlider.isEnd())\r\n this.isRight=false;\r\n\r\n if( this.SwipedTabsSlider.isBeginning())\r\n this.isLeft=false;\r\n\r\n if(this.isRight)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\r\n +'px,0,0)';\r\n\r\n if(this.isLeft)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\r\n +'px,0,0)';\r\n\r\n if(!this.isRight && !this.isLeft)\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\r\n \r\n \r\n }\r\n /**\r\n * Pd Discussion Qustion Load\r\n */\r\n getpdQuestionDetails()\r\n {\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdinfo = this.navParams.get('pdDetails');\r\n for(let qustimage of this.questionDetails.questions)\r\n { \r\n if(qustimage.images !==undefined){\r\n for(let image of qustimage.images)\r\n {\r\n image.questionId = qustimage.fk_question_id; \r\n this.docArray.push(image);\r\n }\r\n for(let answers of qustimage.answers)\r\n {\r\n if(qustimage.fk_question_answertype == 3)\r\n {\r\n this.items = this.questionAnswer.get('items') as FormArray;\r\n \r\n this.items.push(this.getquestionAnswer(answers));\r\n \r\n \r\n }\r\n }\r\n }\r\n }\r\n for(let i=1;i<=this.questionDetails.questions_count;i++){\r\n let j = i.toString();\r\n this.tabs.push(j);\r\n }\r\n }\r\n\r\ngetquestionAnswer(answers)\r\n{\r\n return this.fb.group(\r\n {\r\n \"pd_detail_answer_id\":answers.pd_detail_answer_id,\r\n \"pd_answer_id\":answers.question_answer_id,\r\n \"pd_answer\": answers.answer,\r\n \"pd_answer_weightage\": answers.template_answer_weightage,\r\n \"fk_pd_id\":this.pdinfo.pd_id,\r\n \"fk_pd_detail_id\":answers.fk_pd_detail_id,\r\n \"checkbox\":(answers.isactive == null?false:true)\r\n \r\n \r\n })\r\n}\r\n // count = 0;\r\n getDocUpload(qustid)\r\n {\r\n // this.docqustid = qustId;\r\n this.camera.getpicture().then(res=>\r\n {\r\n if(res !== undefined){\r\n this.docArray.push({'pd_document_name':res,'pd_document_title':'','questionId':qustid});\r\n }\r\n });\r\n // this.count++;\r\n }\r\n docnames(name,id,image,qustid)\r\n {\r\n this.docArray[id] = {'pd_document_name':image,'pd_document_title':name,'questionId':qustid};\r\n }\r\n removeimage(index){\r\n //for(let i=0;i<=this.igrimage.length;i++){\r\n //if(this.igrimage[i]== this.igrimage[index]){\r\n this.docArray.splice(index,1);\r\n //}\r\n //}\r\n }\r\n saveQuestionDetails(answerDetails,questionRemarks,questionDetails)\r\n {\r\n \r\n for(let docs of this.docArray)\r\n {\r\n \r\n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\r\n // return true;\r\n }else\r\n {\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\r\n \r\n }\r\n }\r\n if(answerDetails.answerDetails !=null){\r\n //alert('answers');\r\n let pd_id = this.pdinfo.pd_id;\r\n let catid = questionDetails.fk_question_category_id;\r\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\r\n let qut_id = qt_id.fk_question_id;\r\n let qustName = qt_id.question;\r\n let qut_weightage = qt_id.question_weightage;\r\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\r\n let pd_answer = answerDetails.answerDetails.answer;\r\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\r\n let pd_remarks = questionRemarks.questionRemarks;\r\n let updatedby:any='';\r\n let updateon:any='';\r\n let createdby:any='';\r\n let createon:any='';\r\n let pd_details_id:any='';\r\n let pd_detail_answer_id:any = '';\r\n if(qt_id.pd_detail_id ==null)\r\n {\r\n createdby = this.userid;\r\n createon = currentdate;\r\n pd_details_id = '';\r\n }else\r\n {\r\n pd_details_id = qt_id.pd_detail_id;\r\n updatedby = this.userid;\r\n updateon = currentdate;\r\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\r\n }\r\n let saveRecords = \r\n {\r\n \"pd_detail_id\": pd_details_id,\r\n\t\t\"fk_pd_id\": pd_id,\r\n\t\t\"fk_category_id\": catid,\r\n\t\t\"fk_question_id\": qut_id,\r\n\t\t\"pd_question\": qustName,\r\n \"pd_question_weightage\": qut_weightage,\r\n \"question_remark\": pd_remarks,\r\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\r\n \"pd_answer_id\":ans_id,\r\n\t\t\"pd_answer\": pd_answer,\r\n\t\t\"pd_answer_weightage\": qut_weightage,\r\n \"fk_pd_id\":pd_id,\r\n \"fk_pd_detail_id\":pd_details_id,\r\n\r\n }],\r\n\t\t\r\n\t\t\"fk_createdon\": createon,\r\n\t\t\"createdby\": createdby,\r\n\t\t\"fk_updatedon\": updateon,\r\n \"updatedby\": updatedby,\r\n \"images\": this.imageArray || \"\",\r\n \r\n\r\n };\r\n \r\n // this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\r\n // {\r\n // this.qustCate = res;\r\n // if(this.qustCate.dataStatus == true){\r\n // this.SwipedTabsSlider.slideNext();\r\n // this.docArray = [];\r\n // this.getcategoryList(qt_id,pd_id);\r\n // }\r\n // })\r\n // }else\r\n // {\r\n \r\n // this.SwipedTabsSlider.slideNext(); \r\n }\r\n } \r\n\r\n getcategoryList(qustinfo,pdId)\r\n {\r\n let qustDetails = {\"question_id\":qustinfo.fk_question_id, \"pd_id\":pdId, \"template_id\":qustinfo.fk_template_id, \"category_id\":qustinfo.fk_template_question_category_id\r\n };\r\n let answerData:any;\r\n this.qstDetails.getAnswerTemplate(qustDetails).subscribe(res=>\r\n {\r\n answerData = res;\r\n if(answerData.dataStatus == true)\r\n {\r\n \r\n // answerData = answerData.records;\r\n // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0];\r\n // eachquestion['answers'] = answerData.answers; \r\n \r\n // this.questionDetails =\r\n // this.imageArray = answerData.images;\r\n // for(let docs of this.imageArray)\r\n // {\r\n // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''})\r\n // }\r\n this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark);\r\n }\r\n });\r\n }\r\n prev(answerDetails,questionRemarks,questionDetails) {\r\n for(let docs of this.docArray)\r\n {\r\n \r\n if(docs.pd_document_title !='' && docs.pd_document_title != null && docs.pd_document_title !== undefined){\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title});\r\n // return true;\r\n }else\r\n {\r\n //alert();\r\n this.imageArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':\"docNames\"});\r\n \r\n }\r\n }\r\n if(answerDetails.answerDetails !=null){\r\n //alert('answers');\r\n let pd_id = this.pdinfo.pd_id;\r\n let catid = questionDetails.fk_question_category_id;\r\n let qt_id = questionDetails.questions.filter(qst=>qst.template_question_id == answerDetails.answerDetails.fk_template_question_id)[0];\r\n let qut_id = qt_id.fk_question_id;\r\n let qustName = qt_id.question;\r\n let qut_weightage = qt_id.question_weightage;\r\n let ans_id = answerDetails.answerDetails.fk_question_answer_id;\r\n let pd_answer = answerDetails.answerDetails.answer;\r\n let ans_weightage = answerDetails.answerDetails.template_answer_weightage;\r\n let pd_remarks = questionRemarks.questionRemarks;\r\n let updatedby:any='';\r\n let updateon:any='';\r\n let createdby:any='';\r\n let createon:any='';\r\n let pd_details_id:any='';\r\n let pd_detail_answer_id:any = '';\r\n if(qt_id.pd_detail_id ==null)\r\n {\r\n createdby = this.userid;\r\n createon = currentdate;\r\n pd_details_id = '';\r\n }else\r\n {\r\n pd_details_id = qt_id.pd_detail_id;\r\n updatedby = this.userid;\r\n updateon = currentdate;\r\n pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id;\r\n }\r\n let saveRecords = \r\n {\r\n \"pd_detail_id\": pd_details_id,\r\n \"fk_pd_id\": pd_id,\r\n \"fk_category_id\": catid,\r\n \"fk_question_id\": qut_id,\r\n \"pd_question\": qustName,\r\n \"pd_question_weightage\": qut_weightage,\r\n \"question_remark\": pd_remarks,\r\n \"answers\":[{\"pd_detail_answer_id\": pd_detail_answer_id,\r\n \"pd_answer_id\":ans_id,\r\n \"pd_answer\": pd_answer,\r\n \"pd_answer_weightage\": qut_weightage,\r\n \"fk_pd_id\":pd_id,\r\n \"fk_pd_detail_id\":pd_details_id,\r\n\r\n }],\r\n \r\n \"fk_createdon\": createon,\r\n \"createdby\": createdby,\r\n \"fk_updatedon\": updateon,\r\n \"updatedby\": updatedby,\r\n \"images\": this.imageArray || \"\",\r\n \r\n\r\n };\r\n \r\n this.qstDetails.saveQusetion(saveRecords).subscribe(res=>\r\n {\r\n this.qustCate = res;\r\n if(this.qustCate.dataStatus == true){\r\n this.SwipedTabsSlider.slidePrev();\r\n this.docArray = [];\r\n this.getcategoryList(qt_id,pd_id);\r\n }\r\n })\r\n }else{\r\n if(this.SwipedTabsSlider.getActiveIndex()!=0){\r\n this.SwipedTabsSlider.slidePrev();\r\n }\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, AlertController } from 'ionic-angular';\r\nimport {FormBuilder,FormControl,FormArray, FormGroup,Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { Observable } from 'rxjs';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\nimport { timeInterval } from 'rxjs/operators';\r\n/**\r\n * Generated class for the PdQuestionAddressPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-address',\r\n templateUrl: 'pd-question-address.html',\r\n})\r\nexport class PdQuestionAddressPage {\r\n\r\n // additional_premises: any=[];\r\n // bussiness_address_type: any=[];\r\n // formPremisesCityArray: any=[];\r\n // tempArr: any[];\r\n // cityData: any = [];\r\n // PremisesLabel: any=[];\r\n // formPremisesArray: any=[];\r\n // z:number = 0;\r\n \r\n // PremisesOtherFlag: boolean;\r\n CITY: any;\r\n residence: any;\r\n FormId: any;\r\n getaddressDetails: any;\r\n users: any;\r\n address: string;\r\n custBehaviour: any;\r\n cmtlocality: any;\r\n\r\n //placeholderName : any = 'Estimated area of the (Address Type)';\r\n placeholderName:any=[];\r\n premisesRentAmtInwords:any=[];\r\n rentAmtInwords : any ;\r\n\r\n locality: any = [];\r\n pdlocation: any = [];\r\n pdDetails: any;\r\n questionDetails: any;\r\n pdQuestionAddress:FormGroup;\r\n addressTypes:any=[];\r\n addressRemarksAccess:boolean = false;\r\n items:FormArray;\r\n pdState: any;\r\n pdCity: any;\r\n pdPincode: any;\r\n pdOtherPincode: any;\r\n cityData: any=[];\r\n pincodeData: any=[];\r\n stateData: any=[];\r\n uomData: any=[];\r\n addressesList: any;\r\n // counts:number = 1;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider,public alerCtrl:AlertController,public constant:ConstantsProvider) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n \r\n this.FormId = this.navParams.get('FormId');\r\n\r\n this.users = this.aws.getlocale();\r\n\r\n // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){\r\n // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3;\r\n // }else{\r\n // this.address = this.pdDetails.addressline1+', - , -'; \r\n // }\r\n // this.pdState = this.pdDetails.fk_state;\r\n // this.getCityAndPincodeDetails(this.pdState);\r\n // this.pdCity = this.pdDetails.fk_city;\r\n // this.pdPincode = this.pdDetails.pincode_id;\r\n \r\n // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : '';\r\n \r\n this.getdropdownlist();\r\n\r\n this.pdQuestionAddress = this.fb.group(\r\n {\r\n addresses:this.fb.array([]),\r\n address_form_remark:['']\r\n // address_ownership:[null],\r\n // other_ownership:[null],\r\n // rent_amt:[null],\r\n // other_premises_bussiness_activity : [null],\r\n // bussiness_activity_remark:[null],\r\n // bussiness_activity:[null],\r\n // bussiness_address_type:[null],\r\n // bussiness_address_type_others:[null], \r\n // business_years:[null],\r\n // business_month:[null],\r\n // additional_address_units: this.fb.array([]),\r\n \r\n });\r\n this.getaddressForm(); \r\n //this.loadPD()\r\n }\r\n\r\n ionViewDidLoad() {\r\n //this.addUnits();\r\n console.log(\"ionViewDidLoad PdQuestionAddressPage\")\r\n \r\n }\r\n\r\n ionViewWillLeave()\r\n {\r\n \r\n\r\n // let method = this.alerCtrl.create({\t\t\t\r\n // message: 'Do You Want Save',\r\n // buttons: [\r\n // {\r\n // text: 'Save',\r\n // cssClass: 'method-color',\r\n // handler: () => {\r\n // \r\n // }\r\n // },\r\n // {\r\n // text: 'Cancel',\r\n // cssClass: 'method-color',\r\n // handler: () => {\r\n // \r\n // this.navCtrl.pop(); \r\n // }\r\n // }\r\n // ]\r\n // });\r\n // method.present()\r\n \r\n \r\n \r\n }\r\n\r\n /** To Get City And Pincode Data For Address Form \r\n * Param 'stateID' -> selected StateId\r\n */\r\n getCityAndPincodeDetails(stateID: string,i) {\r\n this.qustCat.getStateWiseCities(stateID).subscribe(data => {\r\n if (data.status == 200) {\r\n this.cityData[i] = data.records.cities;\r\n this.pincodeData[i] = data.records.pincode;\r\n }\r\n });\r\n }\r\n\r\n\r\n\r\n getdropdownlist()\r\n {\r\n // this.addressTypes = [\r\n \r\n // {'id':'Office','Name':'Office'},\r\n // {'id':'Clinic','Name':'Clinic'},\r\n // {'id':'Factory','Name':'Factory'},\r\n // {'id':'Warehouse','Name':'Warehouse'},\r\n // {'id':'Shop','Name':'Shop'},\r\n // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'},\r\n // {'id':'Residence','Name':'Residence'},\r\n // {'id':'OTHERS','Name':'OTHERS'}\r\n // ];\r\n\r\n \r\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.addressTypes = res['records'].filter(add=>add.isactive==1); \r\n }\r\n \r\n })\r\n \r\n this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(res=>\r\n {\r\n this.pdlocation = res;\r\n if(this.pdlocation.dataStatus == true)\r\n {\r\n this.pdlocation = this.pdlocation.records.filter(loca=>loca.isactive ==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(res=>\r\n {\r\n this.cmtlocality = res;\r\n if(this.cmtlocality.dataStatus ==true)\r\n {\r\n this.cmtlocality = this.cmtlocality.records.filter(loc=>loc.isactive ==1);\r\n }\r\n });\r\n\r\n \r\n // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>\r\n // {\r\n // this.custBehaviour = res;\r\n // if(this.custBehaviour.dataStatus == true)\r\n // {\r\n // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1);\r\n // }\r\n // })\r\n this.qustCat.getcommondrop('LOCALITY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.locality = res['records'].filter(loc=>loc.isactive==1);\r\n }\r\n })\r\n\r\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.residence = res['records'].filter(red=>red.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('CITY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.CITY = res['records'].filter(red=>red.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('STATE').subscribe(res=>{\r\n this.stateData=res['records'].filter(val=>val.isactive == 1);\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>{\r\n this.uomData=res['records'].filter(val=>val.isactive == 1 && val.is_land_uom != 0)\r\n })\r\n \r\n }\r\n\r\n // checkaddress(value)\r\n // {\r\n // \r\n // if(value==\"OTHERS\")\r\n // {\r\n // this.addressRemarksAccess = true;\r\n // }else\r\n // {\r\n // this.addressRemarksAccess = false;\r\n // }\r\n // }\r\n\r\n // createItem(): FormGroup {\r\n // return this.fb.group({\r\n // name: [null],\r\n // do_you_know: [null],\r\n // how_long: [null],\r\n // is_owner: [null],\r\n // });\r\n // };\r\n \r\n createUnits(val): FormGroup {\r\n if(val==null){\r\n return this.fb.group({\r\n no_of_additional_units: [''],\r\n premises_type: [''],\r\n premises_type_others: [''],\r\n premises_city: [''],\r\n // premises_ownership: [''],\r\n //premises_ownership_others: [''],\r\n //premises_rent_amt:[''],\r\n premises_remarks: [''],\r\n });\r\n }\r\n else{\r\n \r\n return this.fb.group({\r\n no_of_additional_units: [val.no_of_additional_units],\r\n premises_type: [val.premises_type],\r\n premises_type_others: [val.premises_type_others],\r\n premises_city: [val.premises_city],\r\n // premises_ownership: [val.premises_ownership],\r\n // premises_ownership_others: [val.other_ownership],\r\n // premises_rent_amt:[val.rent_amt],\r\n premises_remarks: [val.premises_remarks],\r\n });\r\n \r\n }\r\n }\r\n\r\n addUnits() {\r\n this.items = this.pdQuestionAddress.get('additional_address_units') as FormArray;\r\n this.items.push(this.createUnits(null));\r\n}\r\n\r\n\r\n removeUnits(i){\r\n this.items.removeAt(i);\r\n }\r\n\r\n ConvertMonthintoYear(e){\r\n \r\n let business_year = this.pdQuestionAddress.controls.business_years.value;\r\n\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month));\r\n \r\n }\r\n initAddress(AddressDetails){\r\n if(AddressDetails != null){\r\n return this.fb.group({\r\n address: [AddressDetails.address, Validators.compose([Validators.required])],\r\n address_type: [AddressDetails.address_type, Validators.compose([Validators.required])],\r\n address_type_others: [AddressDetails.address_type_others],\r\n state: [AddressDetails.state],\r\n city: [AddressDetails.city],\r\n pincode: [AddressDetails.pincode],/** ,Validators.compose([Validators.minLength(6),Validators.maxLength(6)]) */\r\n pincode_others: [AddressDetails.pincode_others, Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\r\n locality: [AddressDetails.locality, Validators.compose([Validators.required])],\r\n locality_others: [AddressDetails.locality_others],\r\n locality_mixuse: [AddressDetails.locality_mixuse],\r\n pd_location: [AddressDetails.pd_location, Validators.compose([Validators.required])],\r\n comment_locality: [AddressDetails.comment_locality, Validators.compose([Validators.required])],\r\n estimated_area: [AddressDetails.estimated_area],\r\n uom: [AddressDetails.uom],\r\n uom_others: [AddressDetails.uom_others] \r\n })\r\n }\r\n else{\r\n return this.fb.group({\r\n address: ['', Validators.compose([Validators.required])],\r\n address_type: ['', Validators.compose([Validators.required])],\r\n address_type_others: [''],\r\n state: [''],\r\n city: [''],\r\n pincode: [''],\r\n pincode_others: ['', Validators.compose([Validators.minLength(6), Validators.maxLength(6)])],\r\n locality: ['', Validators.compose([Validators.required])],\r\n locality_others: [''],\r\n locality_mixuse: [''],\r\n pd_location: ['', Validators.compose([Validators.required])],\r\n comment_locality: ['', Validators.compose([Validators.required])],\r\n estimated_area: [''],\r\n uom: [''],\r\n uom_others: [''] \r\n });\r\n }\r\n \r\n }\r\n /** On Key Press Event For Numbers */\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n \r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n inWords(e,i){ \r\n \r\n this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n \r\n }\r\n\r\n inWordsForRent(e){\r\n \r\n this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value);\r\n }\r\n\r\n selectedAddressType(e: any,i){\r\n this.placeholderName[i] = 'Estimated area of the ' + e;\r\n }\r\n\r\n\r\n savepdQuestion(answerData)\r\n {\r\n let records: any = {};\r\n // records.address = answerData.address;\r\n // if(answerData.address_type_others != null){\r\n // records.address_type_others = answerData.address_type_others;\r\n // }\r\n // // records.state =answerData.state\r\n // records.city = answerData.city\r\n\r\n // records.pincode = answerData.pincode\r\n // records.pincode_others = answerData.pincode== 1 ?\r\n // this.pdQuestionAddress.controls.pincode_others.value : '';\r\n\r\n // records.address_type = answerData.address_type;\r\n // records.locality = answerData.locality;\r\n \r\n // records.locality_others = answerData.locality == 1 ?\r\n // this.pdQuestionAddress.controls.locality_others.value : '';\r\n\r\n // records.locality_mixuse = answerData.locality == 5 ?\r\n // this.pdQuestionAddress.controls.locality_mixuse.value : '';\r\n\r\n // records.pd_location = answerData.pd_location;\r\n // records.comment_locality = answerData.comment_locality;\r\n // records.other_comment_locality = answerData.other_comment_locality;\r\n // records.estimated_area = answerData.estimated_area;\r\n\r\n // records.uom = answerData.uom;\r\n // records.uom_others = answerData.uom == 1 ?\r\n // this.pdQuestionAddress.controls.uom_others.value : '';\r\n // records.customer_behaviour = answerData.customer_behaviour;\r\n // records.neighbourhood = answerData.neighbourhood;\r\n console.log(\"Answer DAta\",answerData)\r\n records.addresses=answerData.addresses\r\n records.address_form_remark=answerData.address_form_remark\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.address_form_remark = answerData.address_form_remark;\r\n // records.address_ownership = answerData.address_ownership;\r\n // records.other_ownership = answerData.other_ownership;\r\n // records.rent_amt = answerData.rent_amt;\r\n // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity;\r\n // records.bussiness_activity = answerData.bussiness_activity;\r\n // records.bussiness_activity_remark = answerData.bussiness_activity_remark;\r\n // records.business_years = answerData.business_years;\r\n // records.business_month = answerData.business_month;\r\n \r\n // records.additional_address_units = answerData.additional_address_units;\r\n \r\n \r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n // let params: any = {};\r\n // params.pd_id = '250';\r\n // params.pd_form_id = '250';\r\n \r\n // setTimeout(function(){\r\n // this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // },5000)\r\n if(data['dataStatus']==true){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000); \r\n }\r\n },err=>{\r\n this.toast.pdTriggerappmessage('Something went wrong ');\r\n });\r\n }\r\n\r\n getaddressForm()\r\n {\r\n \r\n let res:any;\r\n\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.getaddressDetails = res;\r\n \r\n if(this.getaddressDetails.dataStatus ==true){\r\n if(this.getaddressDetails.records.addresses ){\r\n \r\n this.getaddressDetails = this.getaddressDetails.records.addresses;\r\n\r\n if(this.getaddressDetails.length == 0 ){\r\n control.push(this.initAddress(''));\r\n }\r\n else{\r\n this.getaddressDetails.forEach((datas,index)=>{\r\n \r\n let val={\r\n 'address': datas.address,\r\n 'address_type': datas.address_type,\r\n 'address_type_others': datas.address_type_others,\r\n 'state': datas.state,\r\n 'city': datas.city,\r\n 'pincode': datas.pincode,\r\n 'pincode_others': datas.pincode_others,\r\n 'locality': datas.locality,\r\n 'locality_others': datas.locality_others,\r\n 'locality_mixuse': datas.locality_mixuse,\r\n 'pd_location': datas.pd_location,\r\n 'comment_locality': datas.comment_locality,\r\n 'estimated_area': datas.estimated_area,\r\n 'uom': datas.uom,\r\n 'uom_others': datas.uom_others\r\n }\r\n this.getCityAndPincodeDetails(datas.state,index)\r\n let selectedAddressType = this.addressTypes.filter(element => element.address_type_id == datas.address_type)[0];\r\n this.selectedAddressType(selectedAddressType.address_type,index);\r\n if (datas.address_type == 1) {\r\n this.selectedAddressType(datas.address_type_others,index);\r\n }\r\n control.push(this.initAddress(val))\r\n })\r\n this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark);\r\n }\r\n // if(this.getaddressDetails.additional_address_units != null){\r\n // var result = Object.keys(res['records'].additional_address_units).map(function(key) {\r\n // // return res['records'].additional_address_units[key];\r\n // //for slicing the automatically created\r\n \r\n // });\r\n // //this.removeUnits(0);\r\n // }\r\n\r\n // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray;\r\n\r\n // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address);\r\n // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state)\r\n\r\n // if (this.getaddressDetails.state != '') {\r\n // this.getCityAndPincodeDetails(this.getaddressDetails.state);\r\n // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city);\r\n // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode);\r\n // if (this.getaddressDetails.pincode == 1) {\r\n // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others);\r\n // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]);\r\n // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity();\r\n // }\r\n // }\r\n // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location);\r\n // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type);\r\n // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type);\r\n // this.selectedAddressType(selectedAddressType);\r\n\r\n // if(this.getaddressDetails.address_type != null) {\r\n // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others);\r\n // this.selectedAddressType(this.getaddressDetails.address_type_others);\r\n // }\r\n\r\n // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality);\r\n\r\n // if(this.getaddressDetails.comment_locality != null){\r\n // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality);\r\n // }\r\n // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour);\r\n // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality);\r\n // if(this.getaddressDetails.locality == 1 ){\r\n // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others);\r\n // }\r\n // if(this.getaddressDetails.locality == 5){\r\n // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse)\r\n // }\r\n \r\n // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area);\r\n // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom);\r\n // if (this.getaddressDetails.uom == 1) {\r\n // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others);\r\n // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required])\r\n // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity();\r\n // }\r\n // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark);\r\n // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership);\r\n // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership);\r\n // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt);\r\n // if(this.getaddressDetails.rent_amt != null){\r\n // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt);\r\n // }\r\n // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\r\n // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) {\r\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity);\r\n // } \r\n // else{\r\n // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue('');\r\n // }\r\n // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity);\r\n\r\n // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years);\r\n // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month);\r\n \r\n \r\n \r\n\r\n /* if(this.getaddressDetails.bussiness_activity == 'yes') {\r\n \r\n if (result.length == 0) {\r\n \r\n control.push(this.createUnits(null));\r\n } else {*/\r\n \r\n //for(let val of this.getaddressDetails.additional_address_units){\r\n //control.push(this.createUnits(val));\r\n //}\r\n //result.forEach((datas,index) => {\r\n \r\n //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt);\r\n //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas);\r\n \r\n //});\r\n \r\n //}\r\n \r\n // }\r\n\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else\r\n this.loadPD();\r\n });\r\n }\r\n loadPD(){\r\n const control=this.pdQuestionAddress.controls['addresses']\r\n this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus == true){\r\n this.addressesList = res.records.filter(item => item.isactive == 1);\r\n console.log('this.addressesList',this.addressesList);\r\n if(this.addressesList.length > 0){\r\n this.addressesList.forEach((datas,index)=>{\r\n let obj ={\r\n 'address': datas.addressline1,\r\n 'address_type': '',\r\n 'address_type_others': '',\r\n 'state': datas.fk_state,\r\n 'city': datas.fk_city,\r\n 'pincode': datas.pincode_id,\r\n 'pincode_others': datas.other_pincode,\r\n 'locality': '',\r\n 'locality_others': '',\r\n 'locality_mixuse':'',\r\n 'pd_location': '',\r\n 'comment_locality': '',\r\n 'estimated_area': '',\r\n 'uom': '',\r\n 'uom_others': ''\r\n }\r\n this.getCityAndPincodeDetails(datas.fk_state,index)\r\n control.push(this.initAddress(obj))\r\n })\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n }\r\n else{\r\n control.push(this.initAddress(''))\r\n }\r\n })\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-address/pd-question-address.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport {FormBuilder,FormControl,FormArray, FormGroup} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\n/**\r\n * Generated class for the PdQuestionEmpInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-emp-info',\r\n templateUrl: 'pd-question-emp-info.html',\r\n})\r\nexport class PdQuestionEmpInfoPage {\r\n questionDetails: any;\r\n pdDetails: any;\r\n employmentForm:FormGroup;\r\n FormId: any;\r\n pd_cus_segment: string;\r\n customer_segment_abbr: string;\r\n users: any;\r\n pdid: any;\r\n frequency_data: any[];\r\n company_list: any[];\r\n person_met_list: any[];\r\n company_related_applicants_list: any[];\r\n company_relationship_list: any[];\r\n filtered_company_relationship_list: any[];\r\n \r\n mthlySlryAmtInWords\r\n grossMthlySlryAmtInWords\r\n netMthlySlryAmtInWords\r\n bonusIncentiveAmtInWords\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws: AwsServiceProvider, public toast: ToastProvider,public constant:ConstantsProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n this.pdid=this.pdDetails.pd_id;\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase();\r\n this.getDropDownList();\r\n this.getCompanyFromGeneralDetails();\r\n this.getEmploymentDetails();\r\n this.employmentForm = this.fb.group(\r\n {\r\n employer_name: [''],\r\n how_long_year: [''],\r\n how_long_month: [''],\r\n was_met: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n name_person_met: [''],\r\n designation_person_met: [''],\r\n confirm_salary: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n confirm_salary_amount: [''],\r\n total_business_experience: [''],\r\n total_business_previous_experience: [''],\r\n attendance_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n sal_reg_seen: [this.pd_cus_segment == 'SAL-CHQ' ? 'No' : ''],\r\n from_date_the_salary_is_rcv: [''],\r\n to_date_the_salary_is_rcv: [''],\r\n gross_monthly_salary: [''],\r\n net_monthly_salary: [''],\r\n bonus_incentive: [''],\r\n amount_paid_in_cash: [''],\r\n how_was_it_validated: [''],\r\n why_was_it_not_validated: [''],\r\n amount_paid_through_bank: [''],\r\n bonus_frequency: [''],\r\n bonus_type: [''],\r\n bonus_type_other: [''],\r\n any_delays: [''],\r\n employment_remarks: [''],\r\n // nameOfEmp:[null],\r\n // yearWithEmp:[null],\r\n // empMet:[null],\r\n // designationOfEmp:[null],\r\n // salaryConfirm:[null],\r\n // actualSalary:[null],\r\n // attRegisterSeen:[null],\r\n // salaryRegisterSeen:[null]\r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionEmpInfoPage');\r\n }\r\n\r\n getDropDownList()\r\n {\r\n\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.frequency_data = data['records'];\r\n this.frequency_data = this.frequency_data.filter(freq => freq.isactive == 1);\r\n }\r\n });\r\n\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.company_relationship_list = data['records'].filter(item => item.isactive == 1);\r\n this.company_relationship_list = data['records'].filter(item => item.name != 'Others');\r\n this.company_relationship_list.push({ 'company_relationship_id': 0, 'name': 'Not Applicable' });\r\n }\r\n });\r\n }\r\n\r\n getCompanyFromGeneralDetails(){\r\n \r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': '18' };\r\n \r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n this.company_list = value['records'].companies.filter(com => com.is_active == true);\r\n this.person_met_list = value['records'].individuals.filter(app => app.is_person_met == true && app.is_active == true);\r\n this.company_related_applicants_list = value['records'].company_with_relationships;\r\n } \r\n else {\r\n\r\n }\r\n })\r\n \r\n }\r\n \r\n saveEmpInfo(){\r\n if (!this.employmentForm.valid) {\r\n this.toast.pdTriggerappmessage('Form Invalid Try Again.!');\r\n return;\r\n }\r\n\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.employer_name = this.employmentForm.controls['employer_name'].value;\r\n records.how_long_year = this.employmentForm.controls['how_long_year'].value;\r\n records.how_long_month = this.employmentForm.controls['how_long_month'].value;\r\n records.was_met = this.employmentForm.controls['was_met'].value;\r\n if (this.employmentForm.controls['was_met'].value == 'yes') {\r\n records.name_person_met = this.employmentForm.controls['name_person_met'].value;\r\n records.designation_person_met = this.employmentForm.controls['designation_person_met'].value;\r\n }else{\r\n records.name_person_met = '';\r\n records.designation_person_met = '';\r\n }\r\n records.confirm_salary = this.employmentForm.controls['confirm_salary'].value;\r\n if (this.employmentForm.controls['confirm_salary'].value == 'yes') {\r\n records.confirm_salary_amount = this.employmentForm.controls['confirm_salary_amount'].value;\r\n records.total_business_experience = this.employmentForm.controls['total_business_experience'].value;\r\n records.total_business_previous_experience = this.employmentForm.controls['total_business_previous_experience'].value;\r\n }\r\n else{\r\n records.confirm_salary_amount = '';\r\n records.total_business_experience = '';\r\n records.total_business_previous_experience = '';\r\n }\r\n records.attendance_seen = this.employmentForm.controls['attendance_seen'].value;\r\n records.sal_reg_seen = this.employmentForm.controls['sal_reg_seen'].value;\r\n records.from_date_the_salary_is_rcv = this.employmentForm.controls['from_date_the_salary_is_rcv'].value;\r\n records.to_date_the_salary_is_rcv = this.employmentForm.controls['to_date_the_salary_is_rcv'].value;\r\n records.gross_monthly_salary = this.employmentForm.controls['gross_monthly_salary'].value;\r\n records.net_monthly_salary = this.employmentForm.controls['net_monthly_salary'].value;\r\n records.bonus_incentive = this.employmentForm.controls['bonus_incentive'].value;\r\n records.amount_paid_in_cash = this.employmentForm.controls['amount_paid_in_cash'].value;\r\n records.how_was_it_validated = this.employmentForm.controls['how_was_it_validated'].value;\r\n records.why_was_it_not_validated = this.employmentForm.controls['why_was_it_not_validated'].value;\r\n records.amount_paid_through_bank = this.employmentForm.controls['amount_paid_through_bank'].value;\r\n records.bonus_frequency = this.employmentForm.controls['bonus_frequency'].value;\r\n records.bonus_type = this.employmentForm.controls['bonus_type'].value;\r\n records.bonus_type_other = this.employmentForm.controls['bonus_type_other'].value;\r\n records.any_delays = this.employmentForm.controls['any_delays'].value;\r\n records.employment_remarks = this.employmentForm.controls['employment_remarks'].value;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n\r\n\r\n if(data['dataStatus']== true){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else {\r\n this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n }\r\n })\r\n }\r\n \r\n\r\n filtercompanyrelationship(companyid, applicantid) {\r\n var array = companyid.split(\"-\");\r\n let data = this.company_related_applicants_list.filter(cmpy => cmpy.relation_to_company == array[0] && cmpy.applicant_name == applicantid);\r\n if (data.length > 0) {\r\n this.filtered_company_relationship_list = this.company_relationship_list.filter(freq => freq.company_relationship_id == data[0].company_relationship);\r\n this.employmentForm.controls['designation_person_met'].setValue(this.filtered_company_relationship_list[0]['name'] + ' ' + array[1]);\r\n }\r\n else {\r\n this.employmentForm.controls['designation_person_met'].setValue('');\r\n }\r\n }\r\n\r\nConvertMonthintoYear(e) {\r\n\r\n let how_long_year = this.employmentForm.controls.how_long_year.value;\r\n\r\n let converted_month: number = e % 12;\r\n let converted_year: number = e / 12;\r\n\r\n this.employmentForm.controls.how_long_year.setValue(+how_long_year + +Math.floor(converted_year));\r\n this.employmentForm.controls.how_long_month.setValue(Math.floor(converted_month));\r\n\r\n}\r\n\r\ninWords(val,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.mthlySlryAmtInWords= this.constant.convertNumberToWords(val); \r\n break;\r\n case 2 : \r\n this.grossMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n case 3 :\r\n this.netMthlySlryAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n case 4 :\r\n this.bonusIncentiveAmtInWords = this.constant.convertNumberToWords(val); \r\n break;\r\n }\r\n }\r\n\r\n\r\n getEmploymentDetails(){\r\n \r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n\r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n let Emp = value['records'];\r\n console.log('emp',Emp);\r\n this.employmentForm.controls['employer_name'].setValue(Emp.employer_name);\r\n this.employmentForm.controls['how_long_year'].setValue(Emp.how_long_year);\r\n this.employmentForm.controls['how_long_month'].setValue(Emp.how_long_month);\r\n this.employmentForm.controls['was_met'].setValue(Emp.was_met);\r\n if (Emp.name_person_met) {\r\n this.employmentForm.controls['name_person_met'].setValue(Emp.name_person_met);\r\n }\r\n if (Emp.designation_person_met) {\r\n this.employmentForm.controls['designation_person_met'].setValue(Emp.designation_person_met);\r\n }\r\n this.employmentForm.controls['confirm_salary'].setValue(Emp.confirm_salary);\r\n console.log('Emp.confirm_salary_amount',Emp.confirm_salary_amount,Emp.confirm_salary);\r\n if (Emp.confirm_salary) {\r\n this.employmentForm.controls['confirm_salary_amount'].setValue(Emp.confirm_salary_amount);\r\n this.inWords(Emp.confirm_salary_amount,1);\r\n this.employmentForm.controls['total_business_experience'].setValue(Emp.total_business_experience);\r\n this.employmentForm.controls['total_business_previous_experience'].setValue(Emp.total_business_previous_experience);\r\n }\r\n this.employmentForm.controls['attendance_seen'].setValue(Emp.attendance_seen);\r\n this.employmentForm.controls['sal_reg_seen'].setValue(Emp.sal_reg_seen);\r\n this.employmentForm.controls['from_date_the_salary_is_rcv'].setValue(Emp.from_date_the_salary_is_rcv);\r\n this.employmentForm.controls['to_date_the_salary_is_rcv'].setValue(Emp.to_date_the_salary_is_rcv);\r\n this.employmentForm.controls['gross_monthly_salary'].setValue(Emp.gross_monthly_salary);\r\n this.employmentForm.controls['net_monthly_salary'].setValue(Emp.net_monthly_salary);\r\n this.employmentForm.controls['bonus_incentive'].setValue(Emp.bonus_incentive);\r\n this.employmentForm.controls['amount_paid_in_cash'].setValue(Emp.amount_paid_in_cash);\r\n this.employmentForm.controls['how_was_it_validated'].setValue(Emp.how_was_it_validated);\r\n this.employmentForm.controls['why_was_it_not_validated'].setValue(Emp.why_was_it_not_validated);\r\n this.employmentForm.controls['amount_paid_through_bank'].setValue(Emp.amount_paid_through_bank);\r\n this.employmentForm.controls['bonus_frequency'].setValue(Emp.bonus_frequency);\r\n this.employmentForm.controls['bonus_type'].setValue(Emp.bonus_type);\r\n this.employmentForm.controls['bonus_type_other'].setValue(Emp.bonus_type_other);\r\n this.employmentForm.controls['any_delays'].setValue(Emp.any_delays);\r\n this.employmentForm.controls['employment_remarks'].setValue(Emp.employment_remarks);\r\n \r\n this.inWords(Emp.gross_monthly_salary,2);\r\n this.inWords(Emp.net_monthly_salary,3);\r\n this.inWords(Emp.bonus_incentive,4);\r\n\r\n } \r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-emp-info/pd-question-emp-info.ts","import { Component, ApplicationInitStatus } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup,FormArray,FormBuilder,Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n/**\r\n * Generated class for the PdQuestionCurrentLoansPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-current-loans',\r\n templateUrl: 'pd-question-current-loans.html',\r\n})\r\n\r\nexport class PdQuestionCurrentLoansPage {\r\napplicants: any;\r\n placeholderName: any = [];\r\n lenderData: any;\r\n frequencyData: any;\r\n loanTypeData:any;\r\n FormId: any;\r\n users: any;\r\n pdDetails: any;\r\n questionDetails: any;\r\n currentLoans:FormGroup;\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n pdid:number;\r\n amtInwords: any=[];\r\n emiAmtInwords: any=[];\r\n dataFromAssets : any = [];\r\n labelArr : any = [];\r\n investmentTypeData: any=[];\r\n addressTypeData: any;\r\n propertyTypeData: any;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider, public aws:AwsServiceProvider,public constant:ConstantsProvider) {\r\n\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details.filter(val=>val.pd_co_applicant_id != 0);\r\n \r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n \r\n \r\n\r\n this.getdropdown();\r\n \r\n this.users = this.aws.getlocale();\r\n this.currentLoans = this.fb.group(\r\n {\r\n existing_loan: [null],\r\n currentloan_remarks:[null],\r\n loan_details: this.fb.array([])\r\n });\r\n \r\n \r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionCurrentLoansPage');\r\n this.getcurrentLoans()\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(res=>\r\n {\r\n this.lenderData = res['records'].filter(len=>len.isactive==1);\r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n this.frequencyData = res['records'].filter(frq=>frq.isactive==1);\r\n });\r\n this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(val=>{\r\n this.loanTypeData=val['records'].filter(loan=>loan.isactive == 1 );\r\n });\r\n\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n //modifyCompanyList.push({'id':\"0\",'name':'Others','group_id':1})\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n // modifyApplicantList.push()\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n\r\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(data => {\r\n this.investmentTypeData=data['records'].filter(val=>val.isactive == 1);\r\n \r\n \r\n });\r\n this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\r\n this.addressTypeData=data['records'].filter(val=>val.isactive ==1 );\r\n })\r\n this.qustCat.getcommondrop('PROPERTIES').subscribe(data=>{\r\n this.propertyTypeData=data['records'].filter(val=>val.isactive ==1);\r\n })\r\n }\r\n \r\n exitsCheck(val)\r\n { \r\n \r\n if(val ==\"Yes\")\r\n {\r\n \r\n this.addLoanDetails();\r\n }\r\n\r\n }\r\n createLoanDetail(data) {\r\n return this.fb.group({\r\n label: data == null ? [''] : [data.label],\r\n other_frequency:[''],\r\n loan_amount: [''],\r\n frequency:[''],\r\n emi: [''],\r\n loan_type: [''],\r\n others_loan_type:[''],\r\n loan_taken_by:[''],\r\n others_loan_taken:[''],\r\n lender: [''],\r\n others_lender:[''],\r\n original_tenure: [''],\r\n current_balance_tenure: [''],\r\n elapsed_tenure:[],\r\n });\r\n}\r\naddLoanDetails() {\r\n const control = this.currentLoans.controls['loan_details'];\r\n control.push(this.createLoanDetail(null));\r\n}\r\ndeleteLoanDetails(index) {\r\n const control = this.currentLoans.controls['loan_details'];\r\n if(control.length==1)\r\n {\r\n this.currentLoans.controls['loan_details'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\ncompareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n}\r\ncheckOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n}\r\ncheckTenure(details){\r\n let originalTenure = details.value.original_tenure;\r\n // alert(originalTenure);\r\n details.controls.current_balance_tenure.setValidators([Validators.required, Validators.max(+originalTenure)]);\r\n details.controls.current_balance_tenure.updateValueAndValidity();\r\n // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]);\r\n // details.controls.current_balance_tenure.updateValueAndValidity(); \r\n // let BalanceTenure = details.value.current_balance_tenure;\r\n // if( originalTenure < BalanceTenure){\r\n // alert('Greater');\r\n // details.controls.current_balance_tenure.setValue('');\r\n // alert('validation setted For');\r\n // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]);\r\n // details.controls.current_balance_tenure.updateValueAndValidity(); \r\n \r\n \r\n // }\r\n}\r\ncalculateTenure(details)\r\n{\r\n let ElapsedValues;\r\n \r\n if(details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != ''){\r\n ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure ;\r\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\r\n }\r\n\r\n}\r\nkeyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n}\r\ninWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 :\r\n this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n\r\nselectedfrequency(e,i){\r\n \r\n switch(+e){\r\n case 1: this.placeholderName[i] = 'Instalment Amount'; break;\r\n case 2: this.placeholderName[i] = 'Annual Instalment Amount'; break;\r\n case 3: this.placeholderName[i] = 'Halfyearly Instalment Amount'; break;\r\n case 4: this.placeholderName[i] = 'Fortnightly Instalment Amount'; break;\r\n case 5: this.placeholderName[i] = 'Daily Instalment Amount'; break;\r\n case 6: this.placeholderName[i] = 'Quarterly Instalment Amount'; break;\r\n case 7: this.placeholderName[i] = 'Monthly Instalment Amount'; break;\r\n default: this.placeholderName[i] = 'Instalment Amount'; break;\r\n}\r\n \r\n}\r\n\r\nsubmitCurrentloan(answerData) {\r\n \r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.existing_loan = answerData.existing_loan;\r\n records.loan_details = answerData.loan_details;\r\n records.currentloan_remarks = answerData.currentloan_remarks;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n });\r\n}\r\n getcurrentLoans()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n const control = this.currentLoans.controls['loan_details'];\r\n if(res['dataStatus']==true )\r\n {\r\n let currentLoanDetails = res['records'];\r\n \r\n if(res['records'].loan_details !== undefined && res['records'].loan_details !=null && res['records'].loan_details !=''){\r\n var result = Object.keys(res['records'].loan_details).map(function(key) {\r\n \r\n return res['records'].loan_details[key];\r\n \r\n });\r\n \r\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\r\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\r\n const control = this.currentLoans.controls['loan_details'];\r\n if(currentLoanDetails.existing_loan != 'No')\r\n {\r\n if(result.length ==0)\r\n {\r\n control.push(this.createLoanDetail(null));\r\n }else\r\n {\r\n result.forEach((datas,index)=>\r\n {\r\n control.push(this.createLoanDetail(null));\r\n this.selectedfrequency(datas.frequency,index);\r\n if(datas.loan_amount!=''){\r\n this.amtInwords[index]=this.constant.convertNumberToWords(datas.loan_amount);\r\n }\r\n if(datas.emi!=''){\r\n this.emiAmtInwords[index]=this.constant.convertNumberToWords(datas.emi);\r\n }\r\n })\r\n\r\n this.currentLoans.controls['loan_details'].setValue(result);\r\n \r\n }\r\n }\r\n }\r\n else\r\n {\r\n this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan);\r\n this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks);\r\n }\r\n\r\n }\r\n else {\r\n \r\n this.qustCat.getAssetsWithLoanFromBusiness(this.pdid).subscribe(data=>{\r\n \r\n\r\n if(data.dataStatus == true){\r\n \r\n \r\n \r\n let AssetData = data.record;\r\n \r\n \r\n \r\n if(AssetData.business_address_asset.length > 0){\r\n AssetData.business_address_asset.map(element=>{\r\n this.dataFromAssets.push({mode:0,\r\n mode_name:element.address_label,\r\n details:[],\r\n owner_name:element.business_name_of_the_owner,\r\n other_owner: element.business_name_of_the_other_owner,\r\n form_type:'Data From Bussiness Address'})\r\n })\r\n }\r\n\r\n if(AssetData.business_assets.length>0){\r\n AssetData.business_assets.map(element => {\r\n this.dataFromAssets.push({mode:element.business_assets_mode,\r\n mode_name:element.business_assets_mode_name,\r\n details:element.business_details,\r\n owner_name:element.business_name_of_the_owner,\r\n other_owner: element.business_name_of_the_other_owner,\r\n form_type:'Data From Business Assets'})\r\n });\r\n }\r\n\r\n if(AssetData.other_assests.length > 0){\r\n AssetData.other_assests.map(element => {\r\n this.dataFromAssets.push({mode:element.assets_mode,\r\n mode_name:element.assets_mode_name,\r\n details:element.details,\r\n owner_name:element.name_of_the_owner,\r\n other_owner: element.other_owner,\r\n form_type:'Data From Other Asset'\r\n })\r\n })\r\n }\r\n \r\n \r\n // id: \"4\", name: \"Equipments and machinaries\", isactive: \"1\", flag: \"1\", is_others: \"0\"\r\n // id: \"7\", name: \"Investments\", isactive: \"1\", flag: \"0\", is_others: \"0\"\r\n // id: \"6\", name: \"Life Insurance Policy\", isactive: \"1\", flag: \"0\", is_others: \"0\"\r\n // id: \"2\", name: \"Property\", isactive: \"1\", flag: \"1\", is_others: \"0\"\r\n // id: \"3\", name: \"Vehicle\", isactsive: \"1\", flag: \"1\", is_others: \"0\"\r\n // id: \"1\", name: \"Others\", isactive: \"1\", flag: \"1\", is_others: \"1\"}\r\n \r\n if(this.dataFromAssets.length > 0){ \r\n let labelarray : any = [];\r\n \r\n this.dataFromAssets.forEach((val,index) => {\r\n if(val.mode == 0){\r\n \r\n let owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n \r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name;\r\n } \r\n if(val.mode == 1){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.any_other_assets;\r\n });\r\n if(val.owner_name.length>0 ){\r\n owner = val.owner_name.map((e => {\r\n // return e.name.split(',')\r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 2){\r\n \r\n let owner: any = \"Owner Not Mentioned\";\r\n let data;\r\n val.details.forEach((v,index) => {\r\n data = v.property_type_name;\r\n if(v.property_type != 1){\r\n if(val.form_type == 'Data From Business Assets'){\r\n data = this.addressTypeData.filter(item => item.address_type_id == v.property_type)[0].address_type;\r\n }\r\n else if(val.form_type == 'Data From Other Asset'){\r\n data = this.propertyTypeData.filter(item => item.id == v.property_type)[0].name;\r\n }\r\n else{\r\n data = '';\r\n }\r\n }else{\r\n data=v.other_property_type;\r\n }\r\n if(val.owner_name.length>0){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n });\r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 3){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.manufacturer_model_vehicle;\r\n });\r\n if(val.owner_name.length>0){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 4){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.equipment_manufacturing_description;\r\n });\r\n if(val.owner_name.length>0 ){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : '+owner +' - '+ val.mode_name + description;\r\n }\r\n if(val.mode == 6){\r\n \r\n let owner:any=\"Owner Not Mentioned\";\r\n if(val.owner_name.length>0)\r\n {\r\n owner=val.owner_name.map((e=>{\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n labelarray[index] = ' : '+owner+' - '+ val.mode_name;\r\n }\r\n if(val.mode == 7){\r\n \r\n let data;\r\n let owner: any = \"Owner Not Mentioned\";\r\n val.details.forEach((v,index) => {\r\n data = v.investments_type != 1 \r\n ? this.investmentTypeData.filter(data => data.id == v.investments_type)[0].name \r\n : v.other_investments_type ;\r\n\r\n });\r\n if(val.owner_name.length>0){\r\n owner = val.owner_name.map((e => {\r\n \r\n return (e.name == 'Others' ? val.other_owner : e.name).split(',');\r\n }));\r\n }\r\n \r\n let description = data != '' ? '( '+ data +' )' : '';\r\n labelarray[index] = ' : ' + owner + ' - '+ val.mode_name + description;\r\n var vals= owner + ' - '+ val.mode_name \r\n \r\n }\r\n });\r\n const control = this.currentLoans.controls['loan_details'];\r\n this.labelArr = labelarray;\r\n let arr : any = [];\r\n if(this.labelArr.length > 0){\r\n this.currentLoans.controls['existing_loan'].setValue('Yes');\r\n this.labelArr.forEach((v,index) => {\r\n \r\n arr = { \r\n 'label': v,\r\n 'loan_amount': '',\r\n 'frequency':'',\r\n 'other_frequency':'',\r\n 'emi': '',\r\n 'loan_type': '',\r\n 'others_loan_type': '',\r\n 'loan_taken_by':'',\r\n 'others_loan_taken':'',\r\n 'lender': '',\r\n 'others_lender':'',\r\n 'original_tenure': '',\r\n 'current_balance_tenure': '',\r\n 'elapsed_tenure':''\r\n }\r\n control.push(this.createLoanDetail(arr));\r\n });\r\n // this.currentLoanForm.controls['existing_loan'].setValue(arr);\r\n }\r\n }\r\n else{\r\n \r\n control.push(this.createLoanDetail(null));\r\n }\r\n \r\n }\r\n });\r\n }\r\n })\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-current-loans/pd-question-current-loans.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormArray, FormBuilder, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\n\r\n/**\r\n * Generated class for the PdQuestionLoansPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-loans',\r\n templateUrl: 'pd-question-loans.html',\r\n})\r\nexport class PdQuestionLoansPage {\r\n enduse: any = [];\r\n propertyType: any;\r\n mortagetypeAccess: boolean;\r\n mortageAccess: boolean = false;\r\n mortageCardAccess: boolean;\r\n topUpAmtInWords: any;\r\n ownContributionInWords: any;\r\n valAsPerAgmtInWords: any;\r\n balTxrfAmtInWords: any;\r\n loanAmtInWords: any;\r\n\r\n emiAmtInWords:any;\r\n emvAmtInWords:any;\r\n\r\n m_btLenderList: any;\r\n applicants: any;\r\n m_endUseofLoad: any;\r\n m_sourceofamount: any;\r\n m_mortageTypeProperty: any;\r\n m_statusofCunstruction: any;\r\n ownerNames: any=[];\r\n isOtherPurpose: boolean=false;\r\n endUserList: any=[];\r\n pdDetails: any;\r\n FormId: any;\r\n productAbbr:any;\r\n loanDetailsForm: FormGroup;\r\n users: any;\r\n mergeCompanyApplicant:any=[];\r\n existCompanyList:any;\r\n m_endUseOFTopUpList:any=[]\r\n isContribution: boolean = false;\r\n\r\n \r\n isOtherSource: boolean = false;\r\n isPLSource: boolean = false;\r\n\r\n sourceList:any=[];\r\n pdid:number;\r\n m_endUseForLoan:any;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb: FormBuilder, public qustCat: QuestionCategoryProvider, public aws: AwsServiceProvider, public toast: ToastProvider,public constant:ConstantsProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.applicants = this.pdDetails.applicat_details\r\n this.productAbbr = this.pdDetails.product_abbr;\r\n this.users = this.aws.getlocale();\r\n this.pdid=this.pdDetails.pd_id;\r\n this.getDropdown();\r\n\r\n this.loanDetailsForm = this.fb.group({\r\n loan_amount: [this.pdDetails.loan_amount],\r\n loan_tenure:[''],\r\n sub_product:[''],\r\n end_use: ['', Validators.compose([Validators.required])],\r\n end_use_other: [''],\r\n is_transfer: ['', Validators.compose([Validators.required])],\r\n //is_topup: ['', Validators.compose([Validators.required])],\r\n // is_topup: [''],\r\n balance_transfer_amount: [''],\r\n topup_amount: [''],\r\n end_use_topup:[''],\r\n other_end_use_topup:[''],\r\n lender: [''],\r\n other_bt_lender : [''],\r\n own_contribution: ['', Validators.compose([Validators.required])],\r\n source: [''],\r\n //personal_loan_source:[''],\r\n other_source:[''],\r\n //lender_name_type: [''],\r\n emi_level: ['', Validators.compose([Validators.required])],\r\n property_type: ['', Validators.compose([Validators.required])],\r\n property_type_others:[''],\r\n owner_name: ['', Validators.compose([Validators.required])],\r\n construction_status: ['', Validators.compose([Validators.required])],\r\n //percentage_of_construction : [''],\r\n emv_per_customer: ['', Validators.compose([Validators.required])],\r\n //value_per_agreement: ['', Validators.compose([Validators.required])],\r\n loandetails_remarks: ['', Validators.compose([Validators.required])],\r\n });\r\n console.log(this.pdDetails.loanAmount)\r\n if(this.loanDetailsForm.controls['loan_amount'] !=null){\r\n this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount);\r\n }\r\n \r\n if(this.pdDetails.product_abbr !=\"BL\" || this.pdDetails.product_abbr !=\"PL\" || this.pdDetails.product_abbr !=\"LL\")\r\n {\r\n this.mortagetypeAccess = true;\r\n }else\r\n {\r\n this.mortagetypeAccess = false;\r\n }\r\n \r\n \r\n if(this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP'){\r\n this.isContribution = true;\r\n }\r\n \r\n }\r\n\r\n\r\n ionViewDidLoad() {\r\n console .log('ionViewDidLoad PdQuestionLoansPage');\r\n this.getLoanDetails();\r\n }\r\n\r\n\r\n getDropdown() {\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n })\r\n\r\n this.qustCat.getEndUseForLoan(this.pdid,this.pdDetails.fk_subproduct_id).subscribe(data=>{\r\n \r\n this.m_endUseForLoan=data['records'].filter(data=>data.isactive==1);\r\n \r\n });\r\n\r\n this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(\r\n data => {\r\n this.m_statusofCunstruction = data['records'].filter(data => data.isactive == 1);\r\n });\r\n\r\n this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n let that = this;\r\n this.m_mortageTypeProperty = data['records'].filter(\r\n function(data){\r\n \r\n if(that.pdDetails.product_abbr !=\"LAP\" && data.group_name==that.pdDetails.product_abbr && data.isactive==1 )\r\n {\r\n return data;\r\n \r\n }else if(that.pdDetails.product_abbr ==\"LAP\" && data.sub_group_name==that.pdDetails.subproduct_name)\r\n {\r\n return data;\r\n }else\r\n {\r\n return ;\r\n }\r\n });\r\n // this.mortage_type(this.propertyType);\r\n }\r\n });\r\n this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(\r\n data => {\r\n this.m_sourceofamount = data['records'].filter(data => data.isactive == 1);\r\n });\r\n this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(\r\n subdata => {\r\n if(subdata['dataStatus']==true){\r\n let that = this;\r\n this.m_endUseofLoad = subdata['records'].filter(\r\n function(data)\r\n {\r\n if(that.pdDetails.fk_product_id == data.fk_product_id && data.isactive==1)\r\n {\r\n return data;\r\n }\r\n });\r\n this.endUserChange(this.enduse);\r\n }\r\n });\r\n \r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n }\r\n })\r\n \r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n if(this.productAbbr != 'LAP'){\r\n this.mergeCompanyApplicant.push({groupName:'OTHERS',groupValues:[{id:0,name:'Not Yet Finalised',group_id:2}]})\r\n }\r\n }\r\n this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(data=>{\r\n this.m_endUseOFTopUpList=data['records'].filter(val=>val.is_active == 1)\r\n }) \r\n }\r\n\r\n selectedBalancesTransferChanges(event: any){\r\n // if(event.value == 'no') { \r\n // this.loanDetailsForm.controls['is_topup'].clearValidators();\r\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\r\n // this.loanDetailsForm.controls['is_topup'].setValue('');\r\n //}\r\n //else if(event.value == 'yes'){\r\n // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]);\r\n //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity();\r\n // }\r\n if (event.value == 'no') {\r\n this.loanDetailsForm.controls['source'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\r\n\r\n this.loanDetailsForm.controls['own_contribution'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\r\n \r\n this.loanDetailsForm.controls['other_bt_lender'].setValue('');\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); \r\n this.loanDetailsForm.controls['lender'].setValue('');\r\n this.loanDetailsForm.controls['topup_amount'].setValue('');\r\n this.loanDetailsForm.controls['end_use_topup'].setValue('');\r\n this.loanDetailsForm.controls['other_end_use_topup'].setValue('');\r\n this.topUpAmtInWords=''\r\n\r\n }\r\n else if (event.value == 'yes') {\r\n this.loanDetailsForm.controls['source'].setValue('');\r\n this.loanDetailsForm.controls['source'].clearValidators();\r\n this.loanDetailsForm.controls['source'].updateValueAndValidity();\r\n \r\n this.loanDetailsForm.controls['own_contribution'].setValue('');\r\n this.loanDetailsForm.controls['own_contribution'].clearValidators();\r\n this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity();\r\n \r\n this.isOtherSource = false;\r\n this.loanDetailsForm.controls['other_source'].setValue('');\r\n \r\n }\r\n\r\n}\r\n \r\n mortage_type(mortage_value)\r\n {\r\n \r\n let mortagetypes = this.m_mortageTypeProperty.filter(mor=>mor.mortage_property_id==mortage_value)[0];\r\n var property_name=mortagetypes.property_name\r\n if(property_name=='Others (Please Specify)')\r\n {\r\n this.mortageAccess = true;\r\n }else\r\n {\r\n this.mortageAccess = false; \r\n }\r\n \r\n \r\n }\r\n compareObjects(o1: any, o2: any){\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n \r\n }\r\n\r\n\r\n loanCalc()\r\n {\r\n let BtAmount = this.loanDetailsForm.value.balance_transfer_amount;\r\n let loanAmount = this.loanDetailsForm.value.loan_amount;\r\n let topupAmt ;\r\n if(BtAmount !=null && BtAmount !='' && loanAmount !=null && loanAmount!='')\r\n {if (loanAmount >= BtAmount) {\r\n topupAmt = loanAmount - BtAmount;\r\n this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\r\n \r\n this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt);\r\n } else {\r\n this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!');\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue('');\r\n this.balTxrfAmtInWords = '';\r\n this.loanDetailsForm.controls['topup_amount'].setValue('');\r\n this.topUpAmtInWords = '';\r\n } }\r\n //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt);\r\n }\r\n\r\n onChangeSubProduct(subproduct) {\r\n this.qustCat.getEndUseForLoan(this.pdid,subproduct).subscribe(\r\n data => {\r\n this.m_endUseForLoan = data['records'].filter(data => data.isactive == 1);\r\n });\r\n }\r\n\r\n endUserChange(event) {\r\n //this.endUserList = [];\r\n event.forEach(option => {\r\n let othresData = this.m_endUseForLoan.filter(sub=>sub.enduse_of_loan_id==option)[0];\r\n othresData = othresData.enduse_of_loan.substr(0,6).toLowerCase();\r\n this.endUserList.push({ end_use: option });\r\n if (othresData == 'others') {\r\n \r\n this.isOtherPurpose = true;\r\n return ;\r\n }else\r\n {\r\n this.isOtherPurpose = false;\r\n \r\n }\r\n });\r\n }\r\n ownerNameChange(event) {\r\n this.ownerNames = [];\r\n event.value.forEach(option => {\r\n this.ownerNames.push({ owner_name: option });\r\n });\r\n }\r\n sourceChange(evt) {\r\n\r\n // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ;\r\n // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ;\r\n\r\n this.isOtherSource = evt.some(e => e == 1) // this return true or false Only;\r\n this.isPLSource = evt.some(e => e == 3) // this return true or false Only;\r\n\r\n this.sourceList = [];\r\n\r\n evt.forEach(option => {\r\n this.sourceList.push({source: option});\r\n });\r\n}\r\n inWords(e,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 2 : \r\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 3 :\r\n this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 4 :\r\n this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 5 :\r\n this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); \r\n break;\r\n case 6:\r\n this.emiAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n break;\r\n case 7:\r\n this.emvAmtInWords=this.constant.convertNumberToWords(e.target.value);\r\n default:\r\n break;\r\n }\r\n}\r\n submitLoanDetails() {\r\n // if(this.loanDetailsForm.valid){\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value;\r\n records.loan_tenure=this.loanDetailsForm.controls['loan_tenure'].value;\r\n records.sub_product=this.loanDetailsForm.controls['sub_product'].value;\r\n // get end user final group data\r\n let dataEnd_user_data = [];\r\n this.loanDetailsForm.controls['end_use'].value.forEach(element => {\r\n dataEnd_user_data.push({end_use: element})\r\n });\r\n records.end_use_group = dataEnd_user_data;\r\n\r\n if (this.isOtherPurpose) {\r\n records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value;\r\n }\r\n records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value;\r\n // records.is_topup = this.loanDetailsForm.controls['is_topup'].value;\r\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\r\n records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value;\r\n }\r\n else if(this.loanDetailsForm.controls['is_transfer'].value == 'no'){\r\n records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value;\r\n \r\n let dataSource_list=[];\r\n if(this.loanDetailsForm.controls['source'].value != '')\r\n {\r\n \r\n this.loanDetailsForm.controls['source'].value.forEach(element => {\r\n dataSource_list.push({sources : element})\r\n });\r\n }\r\n records.source_group=dataSource_list;\r\n \r\n }\r\n //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') {\r\n records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value;\r\n //}\r\n if(records.topup_amount > 0){\r\n records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value;\r\n if(records.end_use_topup == 1){\r\n records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value;\r\n }\r\n }\r\n \r\n if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') {\r\n records.lender = this.loanDetailsForm.controls['lender'].value;\r\n }\r\n if(this.loanDetailsForm.controls['lender'].value == 1){\r\n records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value;\r\n } \r\n \r\n \r\n\r\n \r\n /* records.source = this.loanDetailsForm.controls['source'].value;\r\n if (this.loanDetailsForm.controls['source'].value == 'other') {\r\n records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value;\r\n }*/\r\n if(this.isOtherSource){\r\n records.other_source=this.loanDetailsForm.controls['other_source'].value;\r\n }\r\n else{\r\n records.other_source = ''; \r\n }\r\n \r\n records.emi_level = this.loanDetailsForm.controls['emi_level'].value;\r\n if(this.mortageCardAccess == true){\r\n records.property_type = this.loanDetailsForm.controls['property_type'].value;\r\n if(this.loanDetailsForm.value.property_type_others !='' && this.loanDetailsForm.value.property_type_others !=null){\r\n records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value;\r\n };\r\n // records.owner_name_group = this.ownerNames;\r\n if(this.loanDetailsForm.controls['owner_name'].value != ''){\r\n let dataOwner_name = [];\r\n this.loanDetailsForm.controls['owner_name'].value.forEach(element => {\r\n dataOwner_name.push({owner_name: element})\r\n });\r\n records.owner_name_group = dataOwner_name;\r\n }\r\n else{\r\n records.owner_name_group='';\r\n }\r\n \r\n records.construction_status = this.loanDetailsForm.controls['construction_status'].value;\r\n // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value;\r\n \r\n }else{\r\n records.property_type = null;\r\n records.property_type_others = null;\r\n records.owner_name_group = null;\r\n records.construction_status = null;\r\n records.emv_per_customer = null;\r\n }\r\n records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value;\r\n //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value;\r\n records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value;\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n if(data['dataStatus']== true){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Error');\r\n }\r\n // this.notifier.notify('success', 'Saved Successfully.');\r\n })\r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter The All Field');\r\n // }\r\n }\r\n\r\n getLoanDetails() {\r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n\r\n this.qustCat.retiverForm(records).subscribe(value => {\r\n if (value['dataStatus'] == true) {\r\n let loanDetails = value['records'];\r\n let result = Object.keys(loanDetails.end_use_group).map(function (key) {\r\n return loanDetails.end_use_group[key];\r\n });\r\n \r\n\r\n //this.enduse\r\n result.forEach(val => {\r\n this.enduse.push(val.end_use);\r\n //this.endUserList.push({'end_use':val.end_use});\r\n });\r\n let ownername: any = [];\r\n if(loanDetails.owner_name_group != null){\r\n let owner = Object.keys(loanDetails.owner_name_group).map(function (key) {\r\n return loanDetails.owner_name_group[key];\r\n });\r\n owner.forEach(val => {\r\n ownername.push(val.owner_name);\r\n this.ownerNames.push({'end_use':val.end_use});\r\n });\r\n }\r\n this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails.loan_amount);\r\n this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails.loan_tenure);\r\n if(loanDetails.loan_amount){ this.loanAmtInWords = this.constant.convertNumberToWords(loanDetails.loan_amount); }\r\n this.loanDetailsForm.controls['sub_product'].setValue(loanDetails.sub_product)\r\n this.loanDetailsForm.controls['end_use'].setValue(this.enduse);\r\n this.endUserChange(this.enduse);\r\n\r\n if (loanDetails.end_use_other!='') {\r\n //this.endUserChange(this.enduse);\r\n // this.isOtherPurpose=true;\r\n this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails.end_use_other);\r\n }\r\n \r\n this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails.is_transfer);\r\n if (loanDetails.balance_transfer_amount) {\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\r\n this.balTxrfAmtInWords = this.constant.convertNumberToWords(loanDetails.balance_transfer_amount); \r\n }\r\n if (loanDetails.topup_amount) {\r\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\r\n this.topUpAmtInWords = this.constant.convertNumberToWords(loanDetails.topup_amount); \r\n if(loanDetails.topup_amount > 0){\r\n this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails.end_use_topup);\r\n if (loanDetails.end_use_topup == 1) {\r\n this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails.other_end_use_topup);\r\n }\r\n } \r\n }\r\n // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup);\r\n if (loanDetails.balance_transfer_amount) {\r\n this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails.balance_transfer_amount);\r\n }\r\n if (loanDetails.topup_amount) {\r\n this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails.topup_amount);\r\n }\r\n if (loanDetails.lender) {\r\n this.loanDetailsForm.controls['lender'].setValue(loanDetails.lender);\r\n }\r\n this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails.own_contribution);\r\n if(loanDetails.own_contribution)\r\n {\r\n this.ownContributionInWords = this.constant.convertNumberToWords(loanDetails.own_contribution);\r\n }\r\n //this.loanDetailsForm.controls['source'].setValue(loanDetails.source);\r\n if(loanDetails.is_transfer!='yes')\r\n {\r\n let source=Object.keys(loanDetails.source_group).map(function(key){\r\n return loanDetails.source_group[key];\r\n });\r\n let dbsourcelist:any=[];\r\n source.forEach(val=>{\r\n dbsourcelist.push(val.sources);\r\n });\r\n this.loanDetailsForm.controls['source'].setValue(dbsourcelist);\r\n this.sourceChange(dbsourcelist);\r\n if(loanDetails.other_source) {\r\n // this.isOtherSource = true;\r\n this.loanDetailsForm.controls['other_source'].setValue(loanDetails.other_source);\r\n }\r\n \r\n \r\n }\r\n\r\n/* if (loanDetails.lender_name_type) {\r\n this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type);\r\n }*/\r\n \r\n if(loanDetails.emi_level){\r\n this.loanDetailsForm.controls['emi_level'].setValue(loanDetails.emi_level);\r\n this.emiAmtInWords=this.constant.convertNumberToWords(loanDetails.emi_level);\r\n }\r\n this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails.other_bt_lender); \r\n this.loanDetailsForm.controls['property_type'].setValue(loanDetails.property_type);\r\n this.propertyType =loanDetails.property_type;\r\n if(loanDetails.property_type !=null){\r\n this.mortage_type(this.propertyType);\r\n if(this.mortageCardAccess == true){\r\n this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails.property_type_others); \r\n // this.mortage_type(loanDetails.property_type_others);\r\n \r\n }\r\n this.loanDetailsForm.controls['owner_name'].setValue(ownername);\r\n this.loanDetailsForm.controls['construction_status'].setValue(loanDetails.construction_status);\r\n this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails.emv_per_customer);\r\n if(loanDetails.emv_per_customer)\r\n {\r\n this.emvAmtInWords=this.constant.convertNumberToWords(loanDetails.emv_per_customer);\r\n }\r\n }\r\n // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement);\r\n this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails.loandetails_remarks);\r\n } else {\r\n\r\n }\r\n })\r\n if(this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL'){\r\n this.mortageCardAccess = false;\r\n this.loanDetailsForm.controls['owner_name'].setValue('');\r\n this.loanDetailsForm.controls['owner_name'].clearValidators();\r\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\r\n \r\n }else{\r\n this.mortageCardAccess = true;\r\n this.loanDetailsForm.controls['owner_name'].setValidators([Validators.required]);\r\n this.loanDetailsForm.controls['owner_name'].updateValueAndValidity();\r\n \r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-loans/pd-question-loans.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionBankingPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-banking',\r\n templateUrl: 'pd-question-banking.html',\r\n // changeDetection:ChangeDetectionStrategy.OnPush\r\n})\r\nexport class PdQuestionBankingPage {\r\n \r\n m_btLenderList: any;\r\n applicants: any ;\r\n salaryField: boolean;\r\n FormId: any;\r\n accountType: any;\r\n users: any;\r\n bankDetails:FormGroup;\r\n pdDetails: any;\r\n pdid:any;\r\n bankitems:FormArray;\r\n\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n limitCaseFlag: any=[];\r\n amtInwords: any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons: ConstantsProvider) {\r\n //this.applicants.pop();\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \r\n \r\n \r\n // alert();\r\n this.users = this.aws.getlocale();\r\n this.bankDetails = this.fb.group(\r\n {\r\n bankitems:this.fb.array([]),\r\n banking_form_remark:[null],\r\n });\r\n \r\n \r\n \r\n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\r\n \r\n \r\n this.getdropdown();\r\n this.retiveBankDetails();\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBankingPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.accountType=res['records'];\r\n }\r\n });\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n // let modifyCompanyList : any=[];\r\n // if(this.existCompanyList.length>0){\r\n // modifyCompanyList = this.existCompanyList.map(element => {\r\n // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n // });\r\n // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n //}\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n }\r\n selectedAccTypeChanges(event: any,i){\r\n \r\n if(event == 2 || event == 1) {\r\n this.limitCaseFlag[i] = false;\r\n \r\n // const control = this.bankingForm.controls['itemRows'];\r\n \r\n // control.controls[0].get('limit').clearValidators();\r\n // control.controls[0].get('limit').updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.limitCaseFlag[i] = true;\r\n }\r\n\r\n}\r\n\r\n/** Amount InWords */\r\ninWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n}\r\n\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e){\r\n \r\n \r\n let year = itemrow.controls.vintage_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n createBankItem(name) {\r\n \r\n return this.fb.group({\r\n applicant_name: [''],\r\n bank_name: [''],\r\n account_type: [''],\r\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\r\n limit: [''],\r\n other_bank:[''],\r\n other_applicant:[''],\r\n //is_main: [''],\r\n vintage_year: [''],\r\n vintage_month: [''],\r\n \r\n });\r\n\r\n }\r\n \r\n addBankDetails() {\r\n // if(this.pd.valid){\r\n \r\n // if(this.items.length !=0)\r\n // {\r\n // this.neighbourAccess = true;\r\n // }\r\n \r\n \r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n this.bankitems.push(this.createBankItem(''));\r\n \r\n \r\n \r\n }\r\n\r\n addmoreBankDetils()\r\n {\r\n \r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n this.bankitems.push(this.createBankItem('')); \r\n }\r\n\r\n removebank(i){\r\n\r\n if(this.bankitems.length==1){\r\n this.bankitems.reset();\r\n }\r\n else\r\n this.bankitems.removeAt(i);\r\n }\r\n\r\n savepdBank(answerData)\r\n {\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.banking_details = answerData.bankitems;\r\n records.banking_form_remark = answerData.banking_form_remark;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n \r\n }\r\n\r\n retiveBankDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n var result = Object.keys(res['records'].banking_details).map(function(key) {\r\n return res['records'].banking_details[key];\r\n });\r\n this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\r\n this.bankitems = this.bankDetails.get('bankitems') as FormArray;\r\n \r\n if(result.length ==0){\r\n \r\n this.bankitems.push(this.createBankItem(''))\r\n }else\r\n {\r\n \r\n \r\n \r\n \r\n result.forEach((datas,index)=>\r\n {\r\n this.selectedAccTypeChanges(+datas.account_type,index)\r\n if(datas.limit != ''){\r\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \r\n } \r\n // this.selectedBorrower(datas.applicant_name,index);\r\n this.bankitems.push(this.createBankItem(''));\r\n })\r\n this.bankDetails.controls['bankitems'].setValue(result);\r\n }\r\n \r\n \r\n }else\r\n {\r\n \r\n this.addBankDetails();\r\n }\r\n });\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-banking/pd-question-banking.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionFamilyPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-family',\r\n templateUrl: 'pd-question-family.html',\r\n})\r\nexport class PdQuestionFamilyPage {\r\n\r\n\r\n earningStatus = [{\r\n type: 'Earning',\r\n id: 1\r\n}, {\r\n type: 'Non Earning',\r\n id: 2\r\n}]\r\nearning_gross_income_per_month:any;\r\n\r\n nofamily:number;\r\ndata:any;\r\n familyAddStatus: boolean;\r\n ownerShip: any;\r\n cusSeg: any;\r\n FormId: any;\r\n users: any;\r\n pdDetails: any;\r\n occupationData: any;\r\n membersitem: FormArray;\r\n items: FormArray;\r\n relationData: any;\r\n familyForm: FormGroup;\r\n total_number_of_family_members;\r\n filteredStates: any ;\r\n public selected_person;\r\n stateData:any;\r\n cityData: any =[];\r\n pincodeData:any=[];\r\n FamilyMemberAsLabel: any=[];\r\n selectPerson: any=[];\r\n apiFamilyMembers: any=[];\r\n //isReadOnly: any=[];\r\n RentAmount: any=[];\r\n IncomePerMonth: any=[];\r\n // cons: any;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,\r\n public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.selected_person=this.pdDetails.pdapplicants_details;\r\n this.selectPerson=this.pdDetails.applicat_details\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n this.familyForm = this.fb.group({\r\n family_details: this.fb.array([\r\n //this.initFamilyDetails()\r\n \r\n ]),\r\n family_details_form_remark:[''],\r\n \r\n \r\n });\r\n this.getRelation();\r\n this.getoccupation();\r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log(\"ionViewDidLoad PdQuestionFamilyPage\")\r\n this.getFamilyData();\r\n }\r\n initFamilyDetails(records) : void\r\n {\r\n if (records === null) {\r\n let formData: FormGroup = this.fb.group({\r\n selected_person: ['', Validators.compose([Validators.required])],\r\n residence_place: ['', Validators.compose([])],\r\n residence_city: ['', Validators.compose([])],\r\n residence_state: ['', Validators.compose([])],\r\n residence_pin: ['', Validators.compose([])],\r\n residence_other_pincode:['',Validators.compose([])],\r\n residence_No_of_years: ['', Validators.compose([])],\r\n residence_ownership: ['', Validators.compose([])],\r\n ownershipOther: [''],\r\n rent: [''],\r\n total_number_of_family_members: ['', Validators.compose([Validators.min(1), Validators.max(20)])],\r\n family_members_details: this.fb.array([])\r\n });\r\n const control = this.familyForm.controls['family_details'];\r\n control.push(formData);\r\n \r\n }\r\n else{\r\n records.forEach((val,index)=>{\r\n if(val.rent != null){\r\n this.inWords(val.rent,index,2)\r\n }\r\n this.FamilyMemberAsLabel[index] = this.selectPerson.filter(item => item.pd_co_applicant_id == val.selected_person)[0].applicant_name;\r\n this.getCity(val.residence_state,index);\r\n let formData:FormGroup=this.fb.group({\r\n selected_person:[val.selected_person],\r\n residence_place:[val.residence_place],\r\n residence_city:[val.residence_city],\r\n residence_state:[val.residence_state],\r\n residence_pin:[val.residence_pin],\r\n residence_other_pincode:[val.residence_other_pincode],\r\n residence_No_of_years: [val.residence_No_of_years,Validators.compose([])],\r\n residence_ownership:[val.residence_ownership],\r\n rent:[val.rent || null],\r\n ownershipOther:[val.ownershipOther || null],\r\n total_number_of_family_members:[val.total_number_of_family_members,Validators.compose([Validators.min(1), Validators.max(20)])],\r\n family_members_details:this.fb.array([])\r\n \r\n });\r\n \r\n const control = this.familyForm.controls['family_details'];\r\n control.push(formData);\r\n \r\n let inx=control.length-1;\r\n //this.getNumberOfFamilyMemberDetails(inx);\r\n this.initFamilyMembersDetails(inx, val.family_members_details);\r\n \r\n \r\n //this.initFamilyMembersDetails\r\n \r\n })\r\n }\r\n /*\r\n return this.fb.group({\r\n //family_details\r\n selected_person:[''],\r\n residence_place:[''],\r\n residence_city:[''],\r\n residence_state:[''],\r\n residence_pin:[''],\r\n residence_No_of_years: ['',Validators.compose([])],\r\n residence_ownership:[],\r\n rent:[''],\r\n ownershipOther:[''],\r\n total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])],\r\n \r\n //family_member_details\r\n \r\n \r\n \r\n family_members_details:this.fb.array([]),\r\n \r\n\r\n // person: [null],\r\n /* personOther: [''],\r\n members: [''],\r\n residence: [''],\r\n years: [null],\r\n family_details_form_remark:[''],\r\n \r\n });*/\r\n\r\n }\r\n initFamilyMembersDetails(inx,val) :void {\r\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\r\n val.forEach((vals,index)=>{\r\n\r\n \r\n if(vals.earning_gross_income_per_month != null){\r\n this.inWords(vals.earning_gross_income_per_month,index,1);\r\n }\r\n let datas = this.fb.group({\r\n family_member_name: [vals.family_member_name || null, Validators.compose([])],\r\n family_member_relationship: [vals.family_member_relationship || null, Validators.compose([])],\r\n family_member_age: [vals.family_member_age || null, Validators.compose([])],\r\n family_member_earning_status: [vals.family_member_earning_status || null, Validators.compose([])],\r\n earning_segment: [vals.earning_segment || null, Validators.compose([])],\r\n earning_if_others_segment:[vals.earning_if_others_segment || null, Validators.compose([])],\r\n earning_gross_income_per_month: [vals.earning_gross_income_per_month || null, Validators.compose([])],\r\n earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null, Validators.compose([])],\r\n earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null, Validators.compose([])],\r\n non_earning_occupation: [vals.non_earning_occupation || null, Validators.compose([])],\r\n non_earning_if_others: [vals.non_earning_if_others || null, Validators.compose([])],\r\n non_earning_if_schoolorcollege:[vals.non_earning_if_schoolorcollege || null, Validators.compose([])],\r\n non_earning_if_retired_from: [vals.non_earning_if_retired_from || null, Validators.compose([])],\r\n })\r\n \r\n control.push(datas);\r\n });\r\n }\r\n \r\n /*return this.fb.group({\r\n family_member_name:[''],\r\n family_member_relationship:[],\r\n family_member_age:[],\r\n family_member_earning_status:['',Validators.compose([])],\r\n //family_member_earnings\r\n earning_segment:[''],\r\n earning_gross_income_per_month:[''],\r\n earning_name_of_the_employer_or_business:[''],\r\n earning_number_of_years_in_employment_or_business:[''],\r\n \r\n non_earning_occupation:[''],\r\n non_earning_if_others:[''],\r\n non_earning_if_retired_from:[''],\r\n });*/\r\n \r\n\r\n\r\n add() :void { \r\n // const control=this.familyForm.controls['family_details'];\r\n //control.push(this.initFamilyDetails('chck'));\r\n this.initFamilyDetails(null);\r\n this.toast.pdTriggerappmessage(\"Family Details Added\");\r\n }\r\n remove_family_details(i:number):void{\r\n const control=this.familyForm.controls['family_details'];\r\n control.removeAt(i);\r\n }\r\n addMemberDet(data:any){\r\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n //this.initFamilyMembersDetails('','')\r\n control.push(this.generateFamilyMembersDetailsGet())\r\n }\r\n removeMemberDet(index:any,f_index:any){\r\n const control=this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details;\r\n if(control.length>1){\r\n control.removeAt(index); \r\n }\r\n else{\r\n control.reset()\r\n }\r\n // if(control.value !=null && index == 0)\r\n\r\n }\r\n getNumberOfFamilyMemberDetails(data)\r\n {\r\n \r\n var datavalue=data;\r\n let formData=this.familyForm.controls['family_details']['controls'][datavalue].controls;\r\n if(formData['total_number_of_family_members'].valid)\r\n {\r\n let totmem=formData['total_number_of_family_members'].value;\r\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n if(totmem>=control.length){\r\n let len=totmem-control.length;\r\n for( let i=0;i=totmem;i--)\r\n {\r\n control.removeAt(i);\r\n }\r\n \r\n // var nn=control.length-totmem; \r\n // control.controls = [];\r\n /*for (let i = 0; i < totmem; i++) {\r\n control.push(this.generateFamilyMembersDetailsGet());\r\n\r\n }*/\r\n // this.initFamilyDetails(this.resValue['records'].family_details);\r\n // this.toast.pdTriggerappmessage(\"Please choose the number greater than\"+control.length);\r\n }\r\n \r\n \r\n }\r\n else{\r\n const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n control.removeAt(control.length);\r\n control.controls=[];\r\n }\r\n /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details;\r\n control.push(this.initFamilyMembersDetails());\r\n */ \r\n }\r\n generateFamilyMembersDetailsGet(): FormGroup {\r\n return this.fb.group({\r\n family_member_name: ['', Validators.compose([])],\r\n family_member_relationship: ['', Validators.compose([])],\r\n family_member_age: ['', Validators.compose([])],\r\n family_member_earning_status: ['', Validators.compose([])],\r\n earning_segment: ['', Validators.compose([])],\r\n earning_if_others_segment:['',Validators.compose([])],\r\n earning_gross_income_per_month: ['', Validators.compose([])],\r\n earning_name_of_the_employer_or_business: ['', Validators.compose([])],\r\n earning_number_of_years_in_employment_or_business: ['', Validators.compose([])],\r\n non_earning_occupation: ['', Validators.compose([])],\r\n non_earning_if_others: ['', Validators.compose([])],\r\n non_earning_if_schoolorcollege:['',Validators.compose([])],\r\n non_earning_if_retired_from: ['', Validators.compose([])],\r\n })\r\n}\r\n \r\n getRelation() {\r\n let master_name = 'RELATIONSHIPS';\r\n this.qustCat.getcommondrop(master_name).subscribe(data => {\r\n \r\n if(data['dataStatus'] == true){\r\n this.relationData = data['records'].filter(rel=>rel.isactive ==1);\r\n }\r\n });\r\n\r\n this.qustCat.getcommondrop('PERSONSMET').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.filteredStates = res['records'].filter(per=>per.isactive==1);\r\n }\r\n });\r\n // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=>\r\n // {\r\n // if(res['dataStatus']==true)\r\n // {\r\n // this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\r\n // }\r\n // });\r\n this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.cusSeg = res['records'].filter(seg=>seg.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.ownerShip = res['records'].filter(own=>own.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('STATE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.stateData=res['records'].filter(item=>item.isactive==1);\r\n }\r\n })\r\n \r\n}\r\ngetCity(e,i){\r\n // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); \r\n // this._pd.retriveForm(params).subscribe(data => {\r\n this.qustCat.getStateWiseCities(e).subscribe(data=>{\r\n if (data['dataStatus'] == true) {\r\n this.cityData[i] = data.records.cities; \r\n this.pincodeData[i] = data.records.pincode;\r\n }\r\n });\r\n}\r\ngetoccupation()\r\n{\r\n let master_name = 'OCCUPATIONMEMBERS';\r\n this.qustCat.getcommondrop(master_name).subscribe(data => {\r\n if(data['dataStatus']==true){\r\n this.occupationData = data['records'].filter(occ=>occ.isactive ==1);\r\n }\r\n });\r\n}\r\n /* createMembers(): FormGroup {\r\n return this.fb.group({\r\n earning_member_name : [null],\r\n earning_member_age : [null],\r\n relation: [null],\r\n segment: [null],\r\n income: [null],\r\n employer_name: [null],\r\n });\r\n}\r\ncount :number = 0;\r\naddearningMembers()\r\n{\r\n this.items = this.familyForm.get('earningMembers') as FormArray;\r\n this.items.push(this.createMembers());\r\n this.count++;\r\n this.checkfamilystatus(this.count,''); \r\n\r\n}\r\n\r\ndeleteEarningMembers(i)\r\n{\r\n\r\n if(this.items.length==1)\r\n {\r\n this.familyForm.controls['earningMembers'].reset();\r\n }else{\r\n this.items.removeAt(i);\r\n }\r\n this.count--;\r\n this.checkfamilystatus(this.count,''); \r\n}\r\ncreateNonMembers(): FormGroup {\r\n return this.fb.group({\r\n non_earning_member_name : [''],\r\n non_earning_member_age : [''],\r\n relationship: [null],\r\n occupation: [null],\r\n retired: [null],\r\n others_occupation:[null],\r\n });\r\n}\r\naddMembers()\r\n{\r\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\r\n this.count++;\r\n this.checkfamilystatus(this.count,''); \r\n this.membersitem.push(this.createNonMembers());\r\n \r\n}\r\ndeleteMembers(i)\r\n{\r\n if(this.membersitem.length==1){\r\n this.familyForm.controls['nonEarningMembers'].reset();\r\n \r\n }else{\r\n this.membersitem.removeAt(i);\r\n }\r\n this.count--;\r\n this.checkfamilystatus(this.count,''); \r\n}\r\ncheckfamilystatus(count,familystatus)\r\n{\r\n if(familystatus !='' && familystatus !==undefined){\r\n\r\n }else{\r\n familystatus = this.familyForm.get('members').value;\r\n }\r\n if(familystatus !== null ){\r\n if(familystatus == count)\r\n {\r\n\r\n this.familyAddStatus = true;\r\n }else\r\n {\r\n this.familyAddStatus = false;\r\n }\r\n }\r\n}*/\r\n/* Old\r\nsavepdfamily(answerData)\r\n{\r\n let records: any = {};\r\n records.no_of_years = answerData.years;\r\n if (answerData.ownership == '4') {\r\n records.ownershipOther = answerData.ownershipOther;\r\n } \r\n records.residence = answerData.residence;\r\n if (answerData.ownership == '3') {\r\n records.what_rent = answerData.rent;\r\n }\r\n // if (answerData.person == '8') {\r\n // records.person_met = answerData.personOther.value;\r\n // } else {\r\n // records.person_met = answerData.person;\r\n // }\r\n records.ownership = answerData.ownership\r\n records.family_members = answerData.members;\r\n records.earning_members = answerData.earningMembers;\r\n records.non_earning_members = answerData.nonEarningMembers;\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.family_details_form_remark = answerData.family_details_form_remark;\r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })\r\n}*/\r\n\r\nsavepdfamily(answerData)\r\n{\r\n \r\n let records:any={};\r\n \r\n records=this.familyForm.value;\r\n\r\n Object.keys(records).forEach((key)=>(records[key]==null)&& delete records[key]);\r\n records.pdid=this.pdDetails.pd_id;\r\n records.formid=this.FormId.form_id;\r\n records.fk_createdby=this.users;\r\n this.qustCat.saveForm(records).subscribe(res=>{\r\n\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n \r\n },err=>{\r\n this.toast.pdTriggerappmessage(\"Some Fields value is Missing Please Fill It\");\r\n })\r\n\r\n /*let records: any = {};\r\n records.no_of_years = answerData.residence_No_of_years;\r\n if (answerData.residence_ownership == '4') {\r\n records.ownershipOther = answerData.ownershipOther;\r\n } \r\n //records.residence = answerData.residence;\r\n if (answerData.residence_ownership == '3') {\r\n records.what_rent = answerData.rent;\r\n }\r\n // if (answerData.person == '8') {\r\n // records.person_met = answerData.personOther.value;\r\n // } else {\r\n // records.person_met = answerData.person;\r\n // }\r\n records.ownership = answerData.residence_ownership\r\n records.family_members = answerData.total_number_of_family_members;\r\n records.earning_members = answerData.earningMembers;\r\n records.non_earning_members = answerData.nonEarningMembers;\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.family_details_form_remark = answerData.family_details_form_remark;\r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n }\r\n })*/\r\n}\r\nprevFamilyMembersCtrlLength: number = 0;\r\ncurrFamilyMembersCtrlLength: number = 0;\r\nselectedPerson(e,inx){\r\n \r\n this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(item => item.pd_co_applicant_id == e)[0].applicant_name;\r\n \r\n const control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details;\r\n \r\n this.currFamilyMembersCtrlLength = control.length;\r\n \r\n let i : number = 0 ;\r\n for(i ;i < this.prevFamilyMembersCtrlLength;i++){\r\n console.log(i,this.prevFamilyMembersCtrlLength);\r\n control.removeAt(i);\r\n }\r\n // while(index < this.prevFamilyMembersCtrlLength)\r\n // { \r\n // }\r\n this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength;\r\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\r\n\r\n if(this.apiFamilyMembers.length>0){\r\n\r\n let arraydata : any;\r\n let data = this.apiFamilyMembers.filter(item => item.relation_to == e);\r\n\r\n \r\n // data_gets_from:'GeneralForm'\r\n // data_gets_from:'BusinessForm'\r\n \r\n if(data.length > 0){\r\n \r\n \r\n this.prevFamilyMembersCtrlLength = data.length;\r\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\r\n\r\n\r\n data.forEach((val,inx) => {\r\n \r\n // // family_member_earning_status\r\n // if(val.age){\r\n // this.isReadOnly[inx] = true;\r\n // }else{\r\n // this.isReadOnly[inx] = false;\r\n // }\r\n arraydata = {\r\n 'family_member_name' : val.name,\r\n 'family_member_relationship' : val.relationship,\r\n 'family_member_age' : val.age,\r\n 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' :'',\r\n 'earning_segment': '',\r\n 'earning_gross_income_per_month': '',\r\n 'earning_name_of_the_employer_or_business':'',\r\n 'earning_number_of_years_in_employment_or_business': '',\r\n 'earning_if_others_segment':'',\r\n 'non_earning_occupation': '',\r\n 'non_earning_if_others': '',\r\n 'non_earning_if_retired_from': '',\r\n 'non_earning_if_schoolorcollege': ''\r\n }\r\n control.push(this.initgenerateFamilyMembersDetailsGet(arraydata));\r\n \r\n });\r\n }\r\n else{\r\n this.prevFamilyMembersCtrlLength = 1;\r\n console.log('familyMembersControlLength',this. prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength);\r\n \r\n\r\n control.push(this.generateFamilyMembersDetailsGet()); \r\n }\r\n }\r\n else{\r\n \r\n control.push(this.generateFamilyMembersDetailsGet());\r\n } \r\n}\r\n\r\ngenerateFamilyMembersDetailsGetData(data){\r\n var result = Object.keys(data).map(function (key) {\r\n return data[key];\r\n});\r\nif (result.length > 0) {\r\n for (let val of result) {\r\n const control = this.familyForm.controls['family_members_details'];\r\n control.push(this.initgenerateFamilyMembersDetailsGet(val));\r\n }\r\n}\r\n}\r\ninitgenerateFamilyMembersDetailsGet(val):FormGroup{\r\n return this.fb.group({\r\n family_member_name: [val.family_member_name, Validators.compose([])],\r\n family_member_relationship: [val.family_member_relationship, Validators.compose([])],\r\n family_member_age: [val.family_member_age, Validators.compose([])],\r\n family_member_earning_status: [val.family_member_earning_status, Validators.compose([])],\r\n earning_segment: [val.earning_segment, Validators.compose([])],\r\n earning_if_others_segment:[val.earning_if_others_segment,Validators.compose([])],\r\n earning_gross_income_per_month: [val.earning_gross_income_per_month, Validators.compose([])],\r\n earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business, Validators.compose([])],\r\n earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business, Validators.compose([])],\r\n non_earning_occupation: [val.non_earning_occupation, Validators.compose([])],\r\n non_earning_if_others: [val.non_earning_if_others, Validators.compose([])],\r\n non_earning_if_schoolorcollege:[val.non_earning_if_schoolorcollege,Validators.compose([])],\r\n non_earning_if_retired_from: [val.non_earning_if_retired_from, Validators.compose([])],\r\n})\r\n}\r\nresValue:any;\r\n\r\n getFamilyData()\r\n {\r\n this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n let Temparr : any = [];\r\n\r\n if(res.record.from_general_form.length>0){\r\n let familyMembersGeneralForm=Object.keys(res.record.from_general_form).map(function(key){\r\n return res.record.from_general_form[key]\r\n });\r\n let datas=familyMembersGeneralForm.map(element=>{\r\n return {id:element.pd_co_applicant_id.toString(),\r\n name:element.applicant_name,\r\n relationship:element.relationship,\r\n relation_to:element.relation_to,\r\n age:element.age,\r\n data_gets_from:'GeneralForm'};\r\n \r\n });\r\n Temparr.push(datas);\r\n }\r\n else{\r\n console.log(\"No data in General Form\")\r\n }\r\n if(res.record.from_business_form.length >0){\r\n let familyMembersBusinessForm=Object.keys(res.record.from_business_form).map(function(key){\r\n return res.record.from_business_form[key]\r\n });\r\n let datas=familyMembersBusinessForm.map(element=>{\r\n return {id:element.other_family_relationship_id,\r\n name:element.family_member_name,\r\n relationship:element.other_family_relationship_id,\r\n relation_to:element.relation_to_id,\r\n age:'',\r\n data_gets_from:'BusinessForm'};\r\n });\r\n Temparr.push(datas);\r\n }\r\n else{\r\n console.log(\"No data in Business Form\")\r\n }\r\n this.apiFamilyMembers = [].concat.apply([],Temparr);\r\n }\r\n })\r\n let records={'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n\r\n this.qustCat.retiverForm(records).subscribe(res=>{\r\n console.log(\"Entering Retrieve\");\r\n \r\n if(res['status']==200){\r\n if(res['records'].family_details.length > 0){\r\n this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark);\r\n this.resValue=res;\r\n this.initFamilyDetails(res['records'].family_details);\r\n \r\n }\r\n \r\n }\r\n else{\r\n console.log(\"No Data Found\");\r\n this.initFamilyDetails(null);\r\n \r\n }\r\n //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details);\r\n \r\n },err=>{\r\n console.log(\"Error\",err)\r\n })\r\n /*let earning:any = [];\r\n let non_earning:any = [];\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n non_earning = Object.keys(res['records'].non_earning_members).map(function(key) {\r\n\r\n return res['records'].non_earning_members[key];\r\n });\r\n this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark);\r\n earning = Object.keys(res['records'].earning_members).map(function(key) {\r\n return res['records'].earning_members[key];\r\n });\r\n let familyDetails = res['records'];\r\n this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); \r\n // this.familyForm.controls['person'].setValue(familyDetails.person_met);\r\n this.familyForm.controls['personOther'].setValue(familyDetails.personOther);\r\n this.familyForm.controls['members'].setValue(familyDetails.family_members);\r\n this.familyForm.controls['residence'].setValue(familyDetails.residence);\r\n this.familyForm.controls['years'].setValue(familyDetails.no_of_years);\r\n this.familyForm.controls['ownership'].setValue(familyDetails.ownership);\r\n this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther);\r\n this.familyForm.controls['rent'].setValue(familyDetails.what_rent);\r\n // this.familyForm.controls['earningMembers'].setValue(earning);\r\n // for(this.)\r\n this.items = this.familyForm.get('earningMembers') as FormArray;\r\n this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray;\r\n if(earning.length==0)\r\n {\r\n this.addearningMembers();\r\n }else\r\n {\r\n earning.forEach(datas => {\r\n this.count++;\r\n this.items.push(this.createMembers());\r\n });\r\n this.familyForm.controls['earningMembers'].setValue(earning);\r\n \r\n }\r\n\r\n if(non_earning.length==0)\r\n {\r\n this.addMembers(); \r\n }else\r\n {\r\n non_earning.forEach(datas => {\r\n this.count++;\r\n this.membersitem.push(this.createNonMembers());\r\n \r\n });\r\n this.familyForm.controls['nonEarningMembers'].setValue(non_earning);\r\n // this.checkfamilystatus(this.count);\r\n }\r\n \r\n // for(let earningDetails of earning){\r\n // this.items = this.familyForm.get('earningMembers') as FormArray;\r\n // this.items.push(earning);\r\n // }\r\n\r\n }else\r\n {\r\n this.addearningMembers();\r\n this.addMembers();\r\n }\r\n }) */ \r\n }\r\n /** To Convert Amount into Words */\r\n inWords(e,i,flag:number){\r\n switch(flag){\r\n case 1 :\r\n this.IncomePerMonth[i] = this.cons.convertNumberToWords(e); \r\n break;\r\n case 2 :\r\n this.RentAmount[i] = this.cons.convertNumberToWords(e); \r\n break;\r\n }\r\n }\r\n initSetValue(records):void{\r\n for(let val of records){\r\n let formData:FormGroup=this.fb.group({\r\n selected_person:[val.selected_person],\r\n residence_place:[val.residence_place]\r\n })\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-family/pd-question-family.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormArray,FormGroup,FormBuilder,Validators} from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdQuestionAssestsPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assests',\r\n templateUrl: 'pd-question-assests.html',\r\n})\r\nexport class PdQuestionAssestsPage {\r\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\r\n {'value': \"no\",'viewValue': \"No\"},\r\n {'value': \"nan\",'viewValue': \"NA\"}]\r\n m_relation: any;\r\n applicants: any ;\r\n users: any;\r\n FormId: any;\r\n m_freqOfPurchase: { 'id': string; 'name': string; }[];\r\n m_investmentType: { 'id': string; 'name': string; }[];\r\n m_insuranceType: { 'id': string; 'name': string; }[];\r\n m_propertyType: { 'id': string; 'name': string; }[];\r\n m_assets_type: { 'id': string; 'name': string; }[];\r\n m_vehicle_type: any=[];\r\n m_uom_type: any=[];\r\n pdDetails: any;\r\n assetItem: any;\r\n items:FormArray;\r\n AssetsDetailsForm:FormGroup;\r\n details:FormArray;\r\n FormList:boolean = false;\r\n loadDetails:boolean = true;\r\n assestInfo:any;\r\n PremiumPaidInwords: any=[]; \r\n SumAssuredInwords: any=[];\r\n AmtInvestInwords: any=[];\r\n ApproxInwords:any =[];\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n isOtherOwner: any = [];\r\n pdid:any;\r\n currentYear: any = new Date().getFullYear();\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public constprovider:ConstantsProvider) {\r\n \r\n this.assestInfo = \"busass\";\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.users = this.aws.getlocale();\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants=this.applicants.filter(val=>val.applicant_type==0 || val.applicant_type==1)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n \r\n this.AssetsDetailsForm = this.fb.group({\r\n assets_details:this.fb.array([]),\r\n assets_form_remark:['']\r\n })\r\n \r\n this.getAssetDetails();\r\n this.getdropList();\r\n this.loadDetails = true;\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssestsPage');\r\n }\r\n\r\n getdropList()\r\n {\r\n //GETTING Asset Type\r\n this.qustCat.getcommondrop('ASSETTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_assets_type = res['records'].filter(data=>data.isactive==1 && data.id!=5);\r\n }\r\n })\r\n \r\n //GETTING Property Type;\r\n this.qustCat.getcommondrop('PROPERTIES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_propertyType = res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n \r\n //GETTING Investment Type;\r\n this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_investmentType = res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n\r\n //GETTING Insurance Type;\r\n this.qustCat.getcommondrop('INSURANCETYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.m_insuranceType =res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n \r\n //GETTING Frequency Type;\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(data => data.isactive == 1);\r\n }\r\n })\r\n\r\n //GETTING Relationship;\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => \r\n {\r\n if(data['dataStatus']==true)\r\n {\r\n this.m_relation = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n\r\n //GETTING VEHICLE TYPE;\r\n this.qustCat.getcommondrop('VEHICLETYPE').subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\r\n }\r\n })\r\n \r\n //GETTING UOM List;\r\n this.qustCat.getcommondrop('UOM').subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.m_uom_type = data['records'].filter(data => data.isactive == 1 && data.is_land_uom == 1 || data.is_land_uom == 2);\r\n }\r\n })\r\n\r\n //GETTING Company And Applicant List.\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>\r\n { \r\n if(data['dataStatus']==true)\r\n {\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n \r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n })\r\n \r\n \r\n }\r\n createAsset() : FormGroup\r\n {\r\n return this.fb.group(\r\n {\r\n assets_mode: [null],\r\n details: this.fb.array([]),\r\n approximate_market_value: [null],\r\n name_of_the_owner: [''],\r\n other_owner:[''],\r\n purchase_year: [null,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n vintage_personal : [''],\r\n emi: [null],\r\n });\r\n }\r\n\r\n addAsset(flag)\r\n {\r\n if(flag==1){\r\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\r\n this.assetItem.push(this.createAsset());\r\n }\r\n }\r\n\r\n deleteAsset(i,flag)\r\n {\r\n if(flag==1){\r\n this.assetItem = this.AssetsDetailsForm.get('assets_details') as FormArray;\r\n if(this.assetItem.length==1)\r\n {\r\n this.AssetsDetailsForm.controls['assets_details'].reset();\r\n }else{\r\n this.assetItem.removeAt(i);\r\n } \r\n }\r\n }\r\n \r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n \r\n loanCalc(details ,flag)\r\n {\r\n if(flag == 1){\r\n \r\n let ElapsedValues;\r\n \r\n if(details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != ''){\r\n ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure ;\r\n details.controls['elapsed_tenure'].setValue(ElapsedValues);\r\n }\r\n }\r\n }\r\n \r\n show: boolean;\r\n selectedAssetsType(e: any, i: any,flag : any): void {\r\n \r\n let val = i;\r\n if(flag == 1){\r\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n arr.controls.splice(0);\r\n }\r\n \r\n switch (e.value) {\r\n case '1': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray ;\r\n control.push(this.otherAssetsDescription());\r\n break;\r\n }\r\n case '2': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadProperty());\r\n break;\r\n }\r\n case '3': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.load_Four_Weeler());\r\n break;\r\n }\r\n case '4': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray; \r\n control.push(this.loadEquipmentManufacturingDescription());\r\n break;\r\n }\r\n case '5': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadConsumerDurableDescription());\r\n break;\r\n }\r\n case '6': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadInsuranceDescription());\r\n break;\r\n }\r\n case '7': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.loadInvestDescription());\r\n break;\r\n }\r\n case '8': {\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray \r\n control.push(this.otherAssetsDescription());\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n loadProperty() {\r\n return this.fb.group({\r\n property_type: [''],\r\n other_property_type: [''],\r\n address_of_the_property: [''],\r\n describe_of_the_property_asset: [''],\r\n area_covered_by_this_property: [''],\r\n uom_of_the_property: [''],\r\n other_uom: ['']\r\n });\r\n } \r\n\r\n loadConsumerDurableDescription() {\r\n return this.fb.group({\r\n consumer_durable_description: [null]\r\n });\r\n }\r\n \r\n loadEquipmentManufacturingDescription() {\r\n return this.fb.group({\r\n equipment_manufacturing_description: ['']\r\n });\r\n }\r\n\r\n otherAssetsDescription() {\r\n return this.fb.group({ any_other_assets: [''] });\r\n }\r\n\r\n loadInsuranceDescription() {\r\n return this.fb.group({\r\n // insurance_type: [null],\r\n premium_paid: [null],\r\n frequency_mode: [null],\r\n other_frequency_mode:[null],\r\n sum_assured: [null],\r\n members_coverd: [null]\r\n });\r\n }\r\n\r\n loadInvestDescription() {\r\n return this.fb.group({\r\n investments_type: [''],\r\n other_investments_type:[''],\r\n in_which_organisation:[''],\r\n amount_of_invest: [''],\r\n bank_name: ['']\r\n });\r\n }\r\n\r\n load_Four_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [''],\r\n vehicle_type: [''],\r\n other_vehicle_type: ['']\r\n });\r\n }\r\n \r\n\r\n load_Two_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_two_weeler: ['']\r\n });\r\n }\r\n\r\n\r\n\r\n loadPropertyWithData(data) {\r\n return this.fb.group({\r\n property_type: [data.property_type],\r\n other_property_type: [data.other_property_type],\r\n address_of_the_property: [data.address_of_the_property],\r\n describe_of_the_property_asset: [data.describe_of_the_property_asset],\r\n area_covered_by_this_property: [data.area_covered_by_this_property],\r\n uom_of_the_property: [data.uom_of_the_property],\r\n other_uom: [data.other_uom]\r\n });\r\n }\r\n\r\n loadJwellDescriptionWithData(data) {\r\n return this.fb.group({\r\n // jwell_description: [data.jwell_description]\r\n });\r\n }\r\n\r\n loadConsumerDurableDescriptionWithData(data) {\r\n return this.fb.group({\r\n consumer_durable_description: [data.consumer_durable_description]\r\n });\r\n }\r\n\r\n otherAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n });\r\n }\r\n \r\n loadInsuranceDescriptionWithData(data) {\r\n return this.fb.group({\r\n //insurance_type: [data.insurance_type],\r\n premium_paid: [data.premium_paid],\r\n frequency_mode: [data.frequency_mode],\r\n other_frequency_mode:[data.other_frequency_mode],\r\n sum_assured: [data.sum_assured],\r\n members_coverd: [data.members_coverd]\r\n });\r\n }\r\n\r\n loadInvestDescriptionWithData(data) {\r\n return this.fb.group({\r\n investments_type: [data.investments_type],\r\n other_investments_type:[data.other_investments_type],\r\n in_which_organisation:[data.in_which_organisation],\r\n amount_of_invest: [data.amount_of_invest],\r\n bank_name: [data.bank_name]\r\n });\r\n }\r\n\r\n \r\n\r\n load_Four_WeelerWithData(data) {\r\n return this.fb.group({\r\n // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])]\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\r\n vehicle_type: [data.vehicle_type],\r\n other_vehicle_type: [data.other_vehicle_type]\r\n });\r\n }\r\n\r\n\r\n loadEquipmentManufacturingDescriptionWithData(data) {\r\n return this.fb.group({\r\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\r\n });\r\n }\r\n\r\n load_Two_WeelerWithData(data) {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle]\r\n });\r\n }\r\n\r\n\r\n initDetailsWithdata(data) {\r\n return this.fb.group({\r\n assets_mode: [data.assets_mode],\r\n details: this.fb.array([]),\r\n approximate_market_value: [data.approximate_market_value],\r\n name_of_the_owner: [data.name_of_the_owner],\r\n other_owner:[data.other_owner || ''],\r\n vintage_personal:[data.vintage_personal],\r\n purchase_year: [data.purchase_year,Validators.compose([Validators.minLength(4),Validators.maxLength(4)])],\r\n emi: [data.emi || 0],\r\n });\r\n }\r\n\r\n saveAssetDetails(answerData)\r\n {\r\n \r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n // answerData.assets_details.map(val => {\r\n // if (val.emi == 'no') {\r\n // val.emi_paid = '';\r\n // val.elapsed_tenure = '';\r\n // val.balance_tenure = '';\r\n // val.original_loan_tenure ='';\r\n // }\r\n // });\r\n \r\n answerData.pdid = this.pdDetails.pd_id;\r\n answerData.formid = this.FormId.form_id;\r\n answerData.fk_createdby = this.users;\r\n \r\n this.qustCat.saveForm(answerData).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n }\r\n\r\n apiLoadFinish:boolean = false;\r\n\r\n // To Fetch The Asset Value;\r\n getAssetDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n var assetArray = Object.keys(res['records'].assets_details).map(function(key) {\r\n // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\r\n return res['records'].assets_details[key];\r\n });\r\n \r\n this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark)\r\n if (assetArray.length > 0) {\r\n assetArray.forEach((val, index) => {\r\n let vals = {\r\n assets_mode: val.assets_mode,\r\n approximate_market_value: val.approximate_market_value,\r\n name_of_the_owner: val.name_of_the_owner,\r\n other_owner:val.other_owner,\r\n purchase_year: val.purchase_year,\r\n vintage_personal:val.vintage_personal,\r\n emi: val.emi,\r\n };\r\n \r\n let Avaliablity = 1;\r\n val.name_of_the_owner.forEach(option => {\r\n if (option.id == 0 && option.group_id == 2) {\r\n Avaliablity = option.id;\r\n }\r\n });\r\n this.isOtherOwner[index] = Avaliablity == 0 ? true : false\r\n \r\n const control = this.AssetsDetailsForm.controls['assets_details'];\r\n control.push(this.initDetailsWithdata(vals));\r\n this.inWords(+val.approximate_market_value,index,4);\r\n this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length-1)\r\n // this.setRequiredValidation(val.name_of_the_owner, index, '', 4);\r\n });\r\n \r\n }\r\n \r\n this.apiLoadFinish = true;\r\n \r\n //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray);\r\n }else{\r\n this.apiLoadFinish = true;\r\n this.addAsset(1);\r\n // this.addAsset(2);\r\n }\r\n })\r\n }\r\n\r\n\r\n setAssetsDetailsWithData(assets_details_mode: any, datas: any, i: any): void {\r\n let val = i;\r\n \r\n let data = datas;\r\n const arr = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n arr.controls.splice(0);\r\n switch (assets_details_mode) {\r\n case '1': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'any_other_assets': datas.any_other_assets };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.otherAssetsDescriptionWithData(array_data));\r\n break;\r\n }\r\n \r\n case '2': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type,\r\n 'address_of_the_property': datas.address_of_the_property, 'describe_of_the_property_asset': datas.describe_of_the_property_asset,\r\n 'uom_of_the_property': datas.uom_of_the_property,\r\n 'area_covered_by_this_property': datas.area_covered_by_this_property, 'other_uom': datas.other_uom };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadPropertyWithData(array_data));\r\n break;\r\n }\r\n case '3': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle,\r\n 'vehicle_type': datas.vehicle_type,\r\n 'other_vehicle_type': datas.other_vehicle_type };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.load_Four_WeelerWithData(array_data));\r\n break;\r\n }\r\n case '4': {\r\n let array_data:any\r\n data.forEach((datas,i)=>{\r\n array_data={'equipment_manufacturing_description': datas.equipment_manufacturing_description }\r\n })\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '5': {\r\n this.FormList = true;\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n // control.push(this.loadConsumerDurableDescriptionWithData(data));\r\n break;\r\n }\r\n case '6': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n array_data = { \r\n 'premium_paid': datas.premium_paid,\r\n 'frequency_mode': datas.frequency_mode,\r\n 'other_frequency_mode':datas.other_frequency_mode,\r\n 'sum_assured': datas.sum_assured,\r\n 'members_coverd': datas.members_coverd\r\n };\r\n this.inWords(+datas.premium_paid,i,1);\r\n this.inWords(+datas.sum_assured,i,2);\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadInsuranceDescriptionWithData(array_data));\r\n break;\r\n }\r\n case '7': {\r\n let array_data : any;\r\n data.forEach((datas,i) => {\r\n this.inWords(+datas.amount_of_invest,i,3);\r\n array_data = { 'investments_type': datas.investments_type,\r\n 'other_investments_type' : datas.other_investments_type,\r\n 'in_which_organisation':datas.in_which_organisation,\r\n 'amount_of_invest': datas.amount_of_invest,\r\n 'bank_name': datas.bank_name };\r\n });\r\n const control = (this.AssetsDetailsForm.controls['assets_details']).at(val).get('details') as FormArray;\r\n control.push(this.loadInvestDescriptionWithData(array_data));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n /** On Key Press Event For Number only Accepting */\r\n keyPress(event: any) {\r\n const pattern = /[0-9\\-\\.\\ ]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 2 :\r\n this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 3 :\r\n this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n case 4 :\r\n this.ApproxInwords[i] = this.constprovider.convertNumberToWords(e);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\r\n if (type == 1) { }\r\n else if (type == 2) { }\r\n else if (type == 3) {\r\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\r\n control.controls[controlKey].controls['purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 4) {\r\n let control: any = this.AssetsDetailsForm.controls['assets_details'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['purchase_year'].setValue(value) : control.controls[controlKey].controls['purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['vintage_personal'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['vintage_personal'].setValue('')\r\n }\r\n\r\n }\r\n\r\n\r\n setRequiredValidation(value, ParInx, ChdInx, flag) {\r\n\r\n let ParCtrls = this.AssetsDetailsForm.controls.assets_details;\r\n\r\n let ChdCtrls: any = ParCtrls.controls[ParInx];\r\n\r\n if (flag == 4) {\r\n let Avaliablity = 1;\r\n\r\n if (value.length > 0) {\r\n value.forEach(option => {\r\n if (option.id == 0 && option.group_id == 2) {\r\n Avaliablity = option.id;\r\n }\r\n });\r\n }\r\n if (Avaliablity == 0) {\r\n\r\n\r\n ChdCtrls.controlsother_owner.setValidators([Validators.required]);\r\n this.isOtherOwner[ParInx] = true;\r\n\r\n } else if (Avaliablity == 1) {\r\n\r\n\r\n ChdCtrls.controls.other_owner.setValue('');\r\n ChdCtrls.controls.other_owner.clearValidators();\r\n this.isOtherOwner[ParInx] = false;\r\n\r\n }\r\n\r\n ChdCtrls.controls.other_owner.updateValueAndValidity();\r\n\r\n }\r\n \r\n }\r\n \r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assests/pd-question-assests.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\nimport { PdQuestionRentalInfoPage } from '../pd-question-rental-info/pd-question-rental-info';\r\n\r\n/**\r\n * Generated class for the PdQuestionOtherIncomePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-other-income',\r\n templateUrl: 'pd-question-other-income.html',\r\n})\r\nexport class PdQuestionOtherIncomePage {\r\n\r\n FormId: any;\r\n custSeg: any;\r\n sourceIncome: any;\r\n otherIncomeDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n pdid:any;\r\n incomeEarnedBy:any=[];\r\n amtInWords:any=[];\r\n \r\n frequencyData: any;\r\n otherIncomeForm: FormGroup;\r\n incomeDetails:FormArray;\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n applicants: any=[];\r\n isOrganisationOwner: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider, public constant:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants=this.pdDetails.applicat_details\r\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\r\n this.getFrequency();\r\n this.users = this.aws.getlocale();\r\n\r\n // this.qustCat.getLoadTemplate(this.pdid).subscribe(res=>\r\n // {\r\n // this.one = res;\r\n // if(this.one.dataStatus == true)\r\n // {\r\n // this.one = this.one.records.template_forms;\r\n // let one = this.one.records.template_forms.filter(val=>val.form_id == '17')\r\n // console.log(this.one,one);\r\n // }\r\n\r\n // });\r\n\r\n this.otherIncomeForm = this.fb.group({\r\n other_income: [null],\r\n otherincome_remarks:[null],\r\n income_details: this.fb.array([])\r\n });\r\n \r\n \r\n \r\n //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray\r\n //this.incomeDetails.push(this.createDetail())\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionOtherIncomePage');\r\n this.getOtherIncome();\r\n }\r\n\r\n createDetail():FormGroup {\r\n return this.fb.group({\r\n source: [''],\r\n address:[''],\r\n others_source : [''],\r\n income_earned_by:[''],\r\n others_income_earned_by:[''],\r\n amount: [''],\r\n frequency: [''],\r\n others_frequency : ['']\r\n });\r\n}\r\naddIncomeDetails() {\r\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\r\n \r\n this.incomeDetails.push(this.createDetail());\r\n}\r\ndeleteIncomeDetails(index) {\r\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\r\n if(this.incomeDetails.length==1){\r\n // this.otherIncomeForm.controls['income_details'].reset();\r\n this.otherIncomeForm.reset();\r\n this.amtInWords[index]=''\r\n }else{\r\n this.incomeDetails.removeAt(index);\r\n }\r\n}\r\ncheckotherDetails(val)\r\n{\r\n if(val==\"Yes\")\r\n {\r\n this.addIncomeDetails();\r\n }\r\n if(val==\"No\"){\r\n //let length=this.otherIncomeForm.income_details.controls.length\r\n const control= this.otherIncomeForm.controls['income_details'];\r\n control.removeAt(0)\r\n // let len=control.length\r\n // for(let i=0;i{\r\n if(res['dataStatus']==true)\r\n {\r\n this.incomeEarnedBy=res['record'];\r\n }\r\n })\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus==true){\r\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\r\n console.log(this.existCompanyList)\r\n }\r\n let modifyCompanyList:any=[]\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList=this.existCompanyList.map(element=>{\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\r\n \r\n }\r\n let modifyApplicantList:any=[]\r\n if(this.applicants.length>0){\r\n modifyApplicantList=this.applicants.map(element=>{\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n })\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\r\n })\r\n\r\n let master_name = 'FREQUENCY';\r\n this.qustCat.getcommondrop(master_name).subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.frequencyData = data['records'].filter(fre=>fre.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('SOURCEOFOTHERINCOME').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.sourceIncome = res['records'];\r\n }\r\n });\r\n \r\n \r\n}\r\ncompareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n}\r\n\r\ngetOtherOrganisationOwner(value,i) {\r\n //console.log('value',value,'I',i);\r\nlet Ctrls = this.otherIncomeForm.controls['income_details'];\r\n console.log('ParCtrls',Ctrls);\r\nlet ChdCtrls:any = Ctrls.controls[i];\r\n // console.log('ChdCtrls',ChdCtrls);\r\n // return;\r\n\r\n\r\nlet Avaliablity = 1;\r\nconsole.log('val',value);\r\nif(value.length>0){\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n}\r\nif(Avaliablity == 0){\r\n// console.log('if Avaliablity',Avaliablity);\r\nconsole.log(\"chld\",ChdCtrls)\r\n ChdCtrls.controls.others_income_earned_by.setValidators([Validators.required]);\r\n this.isOrganisationOwner[i] = true;\r\n}else if(Avaliablity == 1){\r\n// console.log('else Avaliablity',Avaliablity);\r\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n ChdCtrls.controls.others_income_earned_by.setValue('');\r\n ChdCtrls.controls.others_income_earned_by.clearValidators();\r\n this.isOrganisationOwner[i] = false;\r\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n}\r\n \r\nChdCtrls.controls.others_income_earned_by.updateValueAndValidity(); \r\n}\r\ninWords(val,i){\r\n this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\r\n}\r\n\r\nToview(){\r\n alert('Rental Income Details - Is inprogress');\r\n \r\n // here Hardcoded;\r\n // let RIFormDtls = {'form_id':17,'form_name':'Rental Verification'};\r\n // this.navCtrl.push(PdQuestionRentalInfoPage,{'FormId':RIFormDtls,'pdDetails':this.pdDetails});\r\n}\r\nsubmitOtherIncome(answerData)\r\n{\r\n \r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.other_income = answerData.other_income;\r\n records.income_details = answerData.income_details;\r\n records.otherincome_remarks = answerData.otherincome_remarks;\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }, error => {\r\n \r\n })\r\n}\r\n\r\ngetOtherIncome()\r\n{\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n this.incomeDetails = this.otherIncomeForm.get('income_details') as FormArray;\r\n this.otherIncomeDetails = res; \r\n if(this.otherIncomeDetails.dataStatus == true)\r\n {\r\n this.otherIncomeDetails = this.otherIncomeDetails.records;\r\n if(this.otherIncomeDetails.other_income=='Yes'){\r\n var incomeArray = Object.keys(res['records'].income_details).map(function(key) {\r\n return res['records'].income_details[key];\r\n\r\n });\r\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\r\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\r\n \r\n \r\n \r\n \r\n if(incomeArray.length==0)\r\n {\r\n // this.incomeDetails.push(this.createDetail());\r\n }else\r\n {\r\n incomeArray.forEach((datas,index)=>\r\n {\r\n \r\n this.incomeDetails.push(this.createDetail());\r\n this.amtInWords[index]=this.constant.convertNumberToWords(datas.amount)\r\n this.getOtherOrganisationOwner(datas.income_earned_by,index)\r\n })\r\n }\r\n this.otherIncomeForm.controls['income_details'].setValue(incomeArray);\r\n \r\n }else\r\n {\r\n this.otherIncomeForm.controls['other_income'].setValue(this.otherIncomeDetails.other_income);\r\n this.otherIncomeForm.controls['otherincome_remarks'].setValue(this.otherIncomeDetails.otherincome_remarks);\r\n }\r\n }\r\n else{\r\n // this.incomeDetails.push(this.createDetail())\r\n }\r\n })\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-other-income/pd-question-other-income.ts","import { Component, OnInit } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormArray, FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionPersonalInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-personal-info',\r\n templateUrl: 'pd-question-personal-info.html',\r\n})\r\nexport class PdQuestionPersonalInfoPage implements OnInit{\r\n\r\n questionDetails: any;\r\n pdDetails: any;\r\n users: any;\r\n _personalForm: FormGroup;\r\n qualifications:any=[\"Graduate\",\"Under Graduate\",\"Post Graduate\",\"Professional\"];\r\n earningStatus:any=[\"Earning Member\",\"House Wife\",\"Student\",\"Retired\",\"Pensioner\",\"Other Non earning member\"];\r\n relationShipList:any=[];\r\n \r\n form_id:number;\r\n \r\n\r\n public mainApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\"];\r\n public coApplicantQuestions : any = [\"Name\",\"Age\",\"Entity\",\"Educational Qualification\",\"Earning Status\",\"Relationship\"];\r\n \r\n public mainApplicantDetails :any=[];\r\n public coApplicantDetails :any=[];\r\n \r\n errorMessage:any;\r\n //coItem:any;\r\n //mainItem:any;\r\n\r\n repeat:number=3;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public _fb:FormBuilder) {\r\n \r\n this.questionDetails = this.navParams.get('questionDetails');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n // this.getRelationMaster();\r\n \r\n \r\n \r\n }\r\n ngOnInit() {\r\n \r\n this.loadPDDetails();\r\n this.getRelationMaster();\r\n this.mainApplicantDetails = this.pdDetails.applicat_details\r\n .filter(item => item.applicant_type == 1);\r\n this.coApplicantDetails = this.pdDetails.applicat_details\r\n .filter(item => item.applicant_type == 0);\r\n }\r\n\r\n // load form pd details\r\n loadPDDetails(){\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':'341'};\r\n \r\n this.qustCat.retiverForm(records).subscribe(\r\n data => {\r\n if (data['status'] == 200) {\r\n this.loadFormWithIDData(data['records']);\r\n \r\n }\r\n else{\r\n let defaultMainApp=[];\r\n let defaultCoApp=[];\r\n // generate default main applicant form details\r\n if(this.mainApplicantDetails.length>0){ \r\n for(let j=0;j this.errorMessage = error);\r\n}\r\n\r\nloadDataStatus: boolean = false;\r\n\r\nloadFormWithIDData(data) {\r\n var main_result = Object.keys(data.main_applicant_details).map(function(key) {\r\n return data.main_applicant_details[key];\r\n});\r\nvar co_result = Object.keys(data.co_applicant_details).map(function(key) {\r\n return data.co_applicant_details[key];\r\n});\r\n\r\n // main applicant\r\n let mainApplicantGroup = new FormArray(main_result.map((item,key) => new FormGroup({\r\n name_ans:new FormControl(item.name_ans, Validators.required),\r\n age_ans:new FormControl(item.age_ans, Validators.required),\r\n entity_ans:new FormControl(item.entity_ans, Validators.required),\r\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\r\n earning_ans:new FormControl(item.earning_ans, Validators.required),\r\n })));\r\n // co applicant\r\n let iterateCoApp=[];\r\n \r\n let coApplicantGroup = new FormArray(co_result.map((item,key) => new FormGroup({\r\n name_ans:new FormControl(item.name_ans, Validators.required),\r\n age_ans:new FormControl(item.age_ans, Validators.required),\r\n entity_ans:new FormControl(item.entity_ans, Validators.required),\r\n qualification_ans:new FormControl(item.qualification_ans, Validators.required),\r\n earning_ans:new FormControl(item.earning_ans, Validators.required),\r\n relation_ans:new FormControl(item.relation_ans, Validators.required),\r\n\r\n })));\r\n \r\n this._personalForm = this._fb.group({\r\n pdid:null,\r\n form_id:null,\r\n mainItem: mainApplicantGroup,\r\n coItem: coApplicantGroup,\r\n personal_info_form_remark: [data.personal_info_form_remark]\r\n });\r\n this.loadDataStatus = true;\r\n}\r\n\r\n loadFormData(mainApp,coApp){\r\n // main applicant\r\n let mainApplicantGroup = new FormArray(this.mainApplicantDetails.map((item,key) => new FormGroup({\r\n name_ques:new FormControl(this.mainApplicantQuestions[0]),\r\n name_ans:new FormControl(item.applicant_name, Validators.required),\r\n name_id:new FormControl(0),\r\n age_ques:new FormControl(this.mainApplicantQuestions[1]),\r\n age_id:new FormControl(1),\r\n age_ans:new FormControl(null, Validators.required),\r\n entity_ques: new FormControl(this.mainApplicantQuestions[2]),\r\n entity_id: new FormControl(2),\r\n entity_ans:new FormControl(null, Validators.required),\r\n qualification_ques: new FormControl(this.mainApplicantQuestions[3]),\r\n qualification_id: new FormControl(3),\r\n qualification_ans:new FormControl(null, Validators.required),\r\n earningStatus_ques:new FormControl(this.mainApplicantQuestions[4]),\r\n earning_id: new FormControl(4),\r\n earning_ans:new FormControl(null, Validators.required),\r\n \r\n })));\r\n // co applicant\r\n let iterateCoApp=[];\r\n \r\n let coApplicantGroup = new FormArray(this.coApplicantDetails.map((item,key) => new FormGroup({\r\n name_ques:new FormControl(this.coApplicantQuestions[0]),\r\n name_ans:new FormControl(item.applicant_name, Validators.required),\r\n name_id:new FormControl(0),\r\n age_ques:new FormControl(this.coApplicantQuestions[1]),\r\n age_id:new FormControl(1),\r\n age_ans:new FormControl(null, Validators.required),\r\n entity_ques: new FormControl(this.coApplicantQuestions[2]),\r\n entity_id: new FormControl(2),\r\n entity_ans:new FormControl(null, Validators.required),\r\n qualification_ques: new FormControl(this.coApplicantQuestions[3]),\r\n qualification_id: new FormControl(3),\r\n qualification_ans:new FormControl(null, Validators.required),\r\n earningStatus_ques:new FormControl(this.coApplicantQuestions[4]),\r\n earning_id: new FormControl(4),\r\n earning_ans:new FormControl(null, Validators.required),\r\n relationShip_ques:new FormControl(this.coApplicantQuestions[5]),\r\n relation_id:new FormControl(5),\r\n relation_ans:new FormControl(null, Validators.required),\r\n\r\n })));\r\n \r\n this._personalForm = this._fb.group({\r\n pdid:null,\r\n form_id:null,\r\n mainItem: mainApplicantGroup,\r\n coItem: coApplicantGroup,\r\n personal_info_form_remark:null\r\n });\r\nthis.loadDataStatus = true;\r\n }\r\n\r\n //get pd main applicant array values \r\n get pdMainapplicant() { return this._personalForm.get('mainItem') as FormArray; }\r\n\r\n // get pd co applicant array values\r\n get pdCoapplicant() {return this._personalForm.get('coItem') as FormArray;}\r\n\r\n // get relation master details\r\n getRelationMaster(){\r\n let relation =\"RELATIONSHIPS\";\r\n this.qustCat.getcommondrop(relation).subscribe(\r\n data => {\r\n if (data['status'] == 200) {\r\n this.relationShipList=data['records'];\r\n \r\n }\r\n}, error => this.errorMessage = error);\r\n}\r\n\r\n// submit forms details\r\nsubmitPersonalForm(formData:any) {\r\n if(this._personalForm.valid){\r\n let main_applicantDetails:any=[];\r\n let co_applicantDetails:any=[];\r\n\r\n formData.mainItem.forEach((element,key) => {\r\n if(key==0){\r\n main_applicantDetails.push({\r\n \"name_ans\":element.name_ans,\r\n \"age_ans\":element.age_ans,\r\n \"entity_ans\":element.entity_ans,\r\n \"qualification_ans\":element.qualification_ans,\r\n \"earning_ans\":element.earning_ans, \r\n })\r\n }\r\n \r\n });\r\n formData.coItem.forEach((Coelement,Cokey) => {\r\n co_applicantDetails.push({\r\n\r\n \"name_ans\":Coelement.name_ans,\r\n \"age_ans\":Coelement.age_ans,\r\n \"qualification_ans\":Coelement.qualification_ans,\r\n \"entity_ans\":Coelement.entity_ans,\r\n \"earning_ans\":Coelement.earning_ans, \r\n \"relation_ans\":Coelement.relation_ans, \r\n })\r\n \r\n });\r\n\r\n let save_details:any={\r\n \"pdid\" : this.pdDetails.pd_id,\r\n \"formid\" : '341',\r\n \"fk_createdby\":this.users,\r\n \"main_applicant_details\":main_applicantDetails,\r\n \"co_applicant_details\":co_applicantDetails,\r\n \"personal_info_form_remark\": this._personalForm.get('personal_info_form_remark').value\r\n };\r\n this.qustCat.saveForm(save_details).subscribe(result => {\r\n if (result['dataStatus']==true) {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n // this.notifier.notify('success', 'Success.');\r\n }\r\n else {\r\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\r\n }\r\n }, error => {\r\n // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!');\r\n });\r\n }\r\n}\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-personal-info/pd-question-personal-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, FormArray, Validators, FormControl } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionRentalInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-rental-info',\r\n templateUrl: 'pd-question-rental-info.html',\r\n})\r\nexport class PdQuestionRentalInfoPage {\r\n\r\n users: any;\r\n pdDetails: any;\r\n FormId: any;\r\n rentalForms:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public fb:FormBuilder) {\r\n this.FormId = this.navParams.get('FormId');\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.users = this.aws.getlocale();\r\n this.rentalForms = this.fb.group(\r\n {\r\n person_met:[null,Validators.compose([Validators.required])],\r\n property_own:[null,Validators.compose([Validators.required])],\r\n nature_property:[null,Validators.compose([Validators.required])],\r\n nature_others:[null],\r\n rental_home:this.fb.array([])\r\n })\r\n this.getRentalDetails();\r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionRentalInfoPage');\r\n }\r\n\r\n createrentalHome()\r\n {\r\n return this.fb.group(\r\n {\r\n complete_add:[null,Validators.compose([Validators.required])],\r\n area_of_property:[null,Validators.compose([Validators.required])],\r\n structure_property:[null,Validators.compose([Validators.required])],\r\n total_room:[null,Validators.compose([Validators.required])],\r\n is_rent:[null,Validators.compose([Validators.required])],\r\n date_agreement:[null,Validators.compose([Validators.required])],\r\n date_validity:[null,Validators.compose([Validators.required])],\r\n rent_agreement:[null,Validators.compose([Validators.required])],\r\n actual_rent:[null,Validators.compose([Validators.required])],\r\n photo_areegment:[null,Validators.compose([Validators.required])],\r\n property_photographs:[null],\r\n bank:[null,Validators.compose([Validators.required])],\r\n cash:[null,Validators.compose([Validators.required])],\r\n rent_each_floor:[null,Validators.compose([Validators.required])],\r\n total_rent:[null,Validators.compose([Validators.required])],\r\n related_doc_owner:[null,Validators.compose([Validators.required])],\r\n details_tenants:this.fb.array([]),\r\n third_party_check:[null,Validators.compose([Validators.required])],\r\n })\r\n }\r\n\r\n createTenantsDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n name:[null,Validators.compose([Validators.required])],\r\n mobile_no:[null,Validators.compose([Validators.required])],\r\n tenants_seen:[null,Validators.compose([Validators.required])],\r\n tenants_con_owner:[null,Validators.compose([Validators.required])],\r\n rent_paid:[null,Validators.compose([Validators.required])],\r\n staying_since:[null,Validators.compose([Validators.required])],\r\n \r\n });\r\n }\r\n\r\n addrentalHome()\r\n {\r\n const control = this.rentalForms.get('rental_home') as FormArray;\r\n control.push(this.createrentalHome());\r\n this.addTenantsDetails(0);\r\n }\r\n\r\n addTenantsDetails(i)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']).at(i).get('details_tenants') as FormArray;\r\n \r\n // control.controls.splice(0);\r\n control.push(this.createTenantsDetails());\r\n\r\n }\r\n\r\n deleteTenantsDetails(rentIndex,TenantsIndex)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']).at(rentIndex).get('details_tenants') as FormArray;\r\n \r\n control.removeAt(TenantsIndex);\r\n }\r\n\r\n deleterentalHome(i)\r\n {\r\n const control = (this.rentalForms.controls['rental_home']) as FormArray;\r\n if(control.length==1)\r\n {\r\n this.rentalForms.controls['rental_home'].reset();\r\n }else\r\n {\r\n control.removeAt(i);\r\n }\r\n }\r\n saveRentalDetails(answerData)\r\n {\r\n let records:any={}\r\n \r\n \r\n// if(this.rentalForms.valid){\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.FormId.form_id;\r\n records.fk_createdby = this.users;\r\n records.person_met = answerData.person_met;\r\n records.property_own = answerData.property_own;\r\n records.nature_property = answerData.nature_property;\r\n if(answerData.nature_property=='others')\r\n {\r\n records.nature_others = answerData.nature_others\r\n }\r\n records.rental_home = answerData.rental_home;\r\n Object.keys(records.rental_home).forEach((key) => (records.rental_home[key]==null) && delete answerData[key]);\r\n\r\n this.qustCat.saveForm(records).subscribe(res=>\r\n { \r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter All Field');\r\n // }\r\n }\r\n\r\n getRentalDetails()\r\n {\r\n let records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id };\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let rentalDetails = res['records'];\r\n var rentalData = Object.keys(res['records'].rental_home\r\n ).map(function(key) {\r\n return res['records'].rental_home\r\n [key];\r\n\r\n });\r\n var tanantsData = [];\r\n var control = (this.rentalForms.controls['rental_home']) as FormArray;\r\n var tanantscontrol; \r\n rentalData.forEach((val,index)=>\r\n {\r\n \r\n // this.addrentalHome();\r\n // tanantsData.push(Object.keys(val.details_tenants).map(function(key)\r\n // {\r\n \r\n \r\n // return val.details_tenants[key];\r\n // }));\r\n rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function(key)\r\n {\r\n \r\n \r\n return val.details_tenants[key];\r\n });\r\n control.push(this.createrentalHome()); \r\n tanantscontrol = (this.rentalForms.controls['rental_home']).at(index).get('details_tenants') as FormArray; \r\n \r\n rentalData[index].details_tenants.forEach((val,key)=>\r\n {\r\n //rentalData[index].details_tenants = val;\r\n \r\n // rentalData[index].details_tenants = [key];\r\n tanantscontrol.push(this.createTenantsDetails());\r\n });\r\n \r\n // control[index].details_tenants =tanantscontrol; \r\n });\r\n this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met);\r\n this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own);\r\n this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property);\r\n if(rentalDetails.nature_property=='others'){\r\n this.rentalForms.controls['nature_others'].\r\n setValue(rentalDetails.nature_others);\r\n }\r\n \r\n this.rentalForms.controls['rental_home'].setValue(rentalData); \r\n }else\r\n {\r\n this.addrentalHome();\r\n // this.addTenantsDetails(0);\r\n }\r\n })\r\n }\r\n createTenantsDetailswithData(index,data)\r\n {\r\n return this.fb.group(\r\n {\r\n name:[data.name],\r\n mobile_no:[data.mobile_no],\r\n tenants_seen:[data.tenants_seen],\r\n tenants_con_owner:[data.tenants_con_owner],\r\n rent_paid:[data.rent_paid],\r\n staying_since:[data.staying_since]\r\n });\r\n }\r\n\r\n validateAllFormFields(formGroup: any) {\r\n Object.keys(formGroup.controls).forEach(field => {\r\n const control = formGroup.get(field);\r\n \r\n if (control instanceof FormControl) {\r\n control.markAsTouched({ onlySelf: true });\r\n } else if (control instanceof FormGroup) { \r\n this.validateAllFormFields(control);\r\n } else if (control instanceof FormArray) { \r\n this.validateAllFormFields(control);\r\n }\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-rental-info/pd-question-rental-info.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\nimport { PdQuestionAssessedSalesPage } from '../pd-question-assessed-sales/pd-question-assessed-sales';\r\nimport { PdQuestionAssessedDailySalesPage } from '../pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\r\nimport { FormatWidth } from '@angular/common';\r\nimport { PdQuestionAssessedPurchasePage } from '../pd-question-assessed-purchase/pd-question-assessed-purchase';\r\nimport { PdQuestionAssessedBusinessPage } from '../pd-question-assessed-business/pd-question-assessed-business';\r\nimport { PdQuestionAssessedHouseholdPage } from '../pd-question-assessed-household/pd-question-assessed-household';\r\nimport { PdQuestionAssessedBusinessIncomePage } from '../pd-question-assessed-business-income/pd-question-assessed-business-income';\r\n\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-info',\r\n templateUrl: 'pd-question-assessed-info.html',\r\n})\r\nexport class PdQuestionAssessedInfoPage {\r\n\r\n grossProfitForm:FormGroup\r\n check__purchse_type:any=[{'id':'1','name':'Yes'},{'id':'2','name':'No'}]\r\n busissnessIncome: any;\r\n mode: any;\r\n grossprofitCalc: any;\r\n houseHold_details: any;\r\n grandHouseExpenseTotal: any;\r\n houseannual: any=[];\r\n businessExpenses_details: any;\r\n grandExpenseTotal: any;\r\n expenseannual: any=[];\r\n businessExpenses: any;\r\n purchse_details: any;\r\n sales_item_month_value: any=[];\r\n sales_wise_month_headers:any = [];\r\n sales_month_wise_data:any = [];\r\n sales_item_value: any;\r\n grandpurchaseTotal: any=null;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n users: any;\r\n pageId: any;\r\n pdDetails: any;\r\n assessedForm:FormGroup;\r\n FormName:any;\r\n annual:any = [];\r\n rawMaterialForm:FormGroup;\r\n BuissnessForm:FormGroup;\r\n houseHoldForm:FormGroup;\r\n activateMarginCalculation:boolean=false\r\n SaleAmtInwords: any=[];\r\n marginAmtInwords: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pageId = this.navParams.get('pageId');\r\n\r\n switch(this.pageId)\r\n {\r\n case 1:\r\n this.FormName = \"Sales Page\";\r\n break;\r\n case 2:\r\n this.FormName = \"Purchase Page\";\r\n break;\r\n case 3:\r\n this.FormName = \"Business Expense Page\";\r\n break;\r\n case 4:\r\n this.FormName = \"House Hold Page\";\r\n break;\r\n default:\r\n this.FormName = \"Question Page\";\r\n break;\r\n }\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n sdc_id:[null],\r\n sales_declared_by_customer:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n margin_per:[null],\r\n margin_value:[null],\r\n comments:[null],\r\n isactive:[1],\r\n fk_createdby:[this.users],\r\n \r\n });\r\n this.grossProfitForm=this.fb.group({\r\n calc_type_id:[''],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n company_id:[this.pdDetails.company_id],\r\n mode:['',Validators.compose([Validators.required])],\r\n margin:[''],\r\n })\r\n \r\n \r\n \r\n \r\n // this.getdropList();\r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedInfoPage');\r\n }\r\n\r\n\r\n \r\n \r\n\r\n ionViewDidEnter() {\r\n \r\n }\r\n ionViewCanEnter()\r\n {\r\n this.getAssessedDetails(); \r\n }\r\n\r\n\r\n \r\n \r\n changeOptions(values: any){\r\n // console.log('values',values);\r\n this.grossProfitForm.controls['margin'].setValue('');\r\n /** if Mode Value is 'No' -> margin value is setted as netmargin and its id - 2\r\n * Refer => check_sales_type **/\r\n if(values.mode == 2){\r\n // console.log('2');\r\n this.grossProfitForm.controls['margin'].setValue('2');\r\n }\r\n }\r\n\r\n //PURCHASE DETAILS SUBMIT\r\n // submitDetails(records: any){\r\n // if (this.grossProfitForm.invalid) {\r\n \r\n // this.toast.pdTriggerappmessage(\"Please Check All Manatory Fields..\");\r\n // return;\r\n // }\r\n // // let datas:any;\r\n // // datas=records;\r\n\r\n // this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode',records).subscribe(data => {\r\n // this.toast.pdTriggerappmessage('Saved Successfully.');\r\n // //this.loadAssessedForms.next('1');\r\n // }, error => {\r\n // this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!');\r\n // // this.loadAssessedForms.next('1');\r\n // });\r\n // } \r\n \r\n\r\n getMarginCalc()\r\n {\r\n \r\n let margin_per = this.assessedForm.controls['margin_per'].value;\r\n console.log(\"Margin Per\",margin_per)\r\n let sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value;\r\n if(margin_per !=null && sales_declared_by_customer !=null)\r\n {\r\n let value = sales_declared_by_customer * (margin_per/100);\r\n this.assessedForm.controls['margin_value'].setValue(value);\r\n }\r\n }\r\n\r\n saveData(answerData)\r\n {\r\n let records:any = {};\r\n\r\n records ={'records':answerData};\r\n console.log(records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer',records).subscribe(res=>\r\n {\r\n // console.log(res);\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.getAssessedDetails();\r\n }\r\n })\r\n }\r\n salesCalculation(values): void {\r\n if(values.sales_declared_by_customer !=''){this.SaleAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer);}\r\n if(values.margin_per !='' && values.sales_declared_by_customer !='')\r\n {\r\n \r\n this.assessedForm.controls['margin_value'].setValue(values.sales_declared_by_customer * (values.margin_per/100));\r\n this.marginAmtInwords = this.cons.convertNumberToWords(values.sales_declared_by_customer * (values.margin_per/100));\r\n }\r\n }\r\n \r\n getAssessedDetails()\r\n {\r\n this.sales_item_month_value = [];\r\n this.sales_month_wise_data = [];\r\n this.sales_item_value= [];\r\n let records = {'pd_id':this.pdDetails.pd_id};\r\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let sales_value = res['records'].sales_declared_by_customer[0];\r\n this.sales_item_value = res['records'].sales_calculated_by_itemwise;\r\n this.sales_item_month_value = res['records'].sales_items_by_monthwise;\r\n this.purchse_details = res['records'].purchase_details; \r\n this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]\r\n this.mode = this.grossprofitCalc.mode;\r\n\r\n var lenOfGrossProfit=res['records'].gross_profit_calculation_type.length\r\n console.log(\"len\",lenOfGrossProfit)\r\n this.activateMarginCalculation=res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].margin==2 && res['records'].gross_profit_calculation_type[lenOfGrossProfit-1].mode ==2 ?true : false\r\n console.log(this.activateMarginCalculation);\r\n var result = this.purchse_details.reduce(function(p, c) {\r\n \r\n return p;\r\n },[]);\r\n console.log(result);\r\n\r\n\r\n this.businessExpenses_details = res['records'].business_expenses;\r\n this.houseHold_details = res['records'].house_hold_expenses;\r\n this.busissnessIncome = res['records'].othre_business_income;\r\n // console.log(this.sales_item_month_value);\r\n // this.getpurchaseDetails(this.purchse_details);\r\n \r\n \r\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross)\r\n\r\n // const control=this.grossProfitForm['controls']\r\n // this.grossProfitForm.controls['mode'].setValue(res['records'].gross_profit_calculation_type.mode);\r\n // this.grossProfitForm.controls['margin'].setValue(res['records'].gross_profit_calculation_type.margin)\r\n // this.grossProfitForm.controls['calc_type_id'].setValue(res['records'].gross_profit_calculation_type.calc_type_id)\r\n \r\n \r\n \r\n \r\n this.sales_item_month_value.forEach((itemElement, itemIndex) => {\r\n let expandBodyContent= Object.keys(itemElement.items).map(key => ({ header:key, value: itemElement.items[key] }));\r\n let listItems: any=[];\r\n expandBodyContent.forEach((expnadElement, expnadIndex) => {\r\n let calculateItems = expnadElement.value.reduce((acc, calculate) => acc + Number(calculate.sales_value), 0);\r\n listItems.push({items:expnadElement, itemsTotal:calculateItems})\r\n })\r\n let calculateAllItemsTotal:number=listItems.reduce((racc, rcalculate) => racc + Number(rcalculate.itemsTotal), 0);\r\n \r\n let convertYear : number = 12 / listItems.length;\r\n let footerMessage: any=[];\r\n footerMessage.push({\r\n month_message: listItems.length + ' Month Sales : '+ calculateAllItemsTotal,\r\n month_value:calculateAllItemsTotal,\r\n year_message: ' Yearly Sales Arrived : '+ calculateAllItemsTotal * convertYear,\r\n year_value: calculateAllItemsTotal * convertYear,\r\n })\r\n this.sales_month_wise_data.push({salesItem:itemElement.sales_item, expandElements:expandBodyContent, footerMessage: footerMessage,simId:itemElement.sim_id});\r\n });\r\n\r\n\r\n console.log(this.sales_month_wise_data);\r\n if(sales_value!==undefined){\r\n this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id);\r\n this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer);\r\n this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value);\r\n this.assessedForm.controls['comments'].setValue(sales_value.comments)\r\n this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per);\r\n if(sales_value.sales_declared_by_customer != null){\r\n this.SaleAmtInwords=this.cons.convertNumberToWords(sales_value.sales_declared_by_customer)\r\n }\r\n if(sales_value.margin_value != null){\r\n this.marginAmtInwords=this.cons.convertNumberToWords(sales_value.margin_value)\r\n }\r\n \r\n }\r\n \r\n }\r\n })\r\n\r\n }\r\n grossProfitWithData(data:any){\r\n return this.fb.group({\r\n calc_type_id:[data.calc_type_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n company_id:[data.company_id],\r\n mode:[data.mode],\r\n margin:[data.margin],\r\n})\r\n }\r\n /**\r\n * Add Assessed Forms\r\n */\r\n\r\n AddAssessedForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':null,'margin_calculation_status':this.activateMarginCalculation}); \r\n \r\n }\r\n\r\n editDetails(salesCal)\r\n {\r\n let salesData = this.sales_item_value.filter(sal=>sal.sci_id==salesCal);\r\n console.log(salesData);\r\n // this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'grossprofit':this.grossprofitCalc}); \r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':salesData,'margin_calculation_status':this.activateMarginCalculation}); \r\n \r\n }\r\n editAllDetails(AllsalesData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedSalesPage,{'pdDetails':this.pdDetails,'sales':AllsalesData,'margin_calculation_status':this.activateMarginCalculation}); \r\n }\r\n\r\n /**Assessed Daily Form Details */\r\n\r\n AddAssessedDailyForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':null,'margin_calculation_status':this.activateMarginCalculation})\r\n }\r\n editAssessedDailyForm(simId)\r\n {\r\n let dailySaleDetails = this.sales_item_month_value.filter(ass=>ass.sim_id==simId);\r\n console.log(dailySaleDetails);\r\n this.navCtrl.push(PdQuestionAssessedDailySalesPage,{'pdDetails':this.pdDetails,'salesDaily':dailySaleDetails,'margin_calculation_status':this.activateMarginCalculation})\r\n \r\n }\r\n\r\n /**purchase Details Forms */\r\n AddPurchaseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':null}); \r\n \r\n }\r\n\r\n editPurchaseDetails(purchaseCal)\r\n {\r\n let salesData = this.purchse_details.filter(sal=>sal.purchase_id==purchaseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':salesData}); \r\n \r\n }\r\n editPurchaseAllDetails(AllpurchaseData)\r\n {\r\n console.log('260',AllpurchaseData);\r\n this.navCtrl.push(PdQuestionAssessedPurchasePage,{'pdDetails':this.pdDetails,'purchase':AllpurchaseData}); \r\n }\r\n \r\n\r\n /**Business Expense */\r\n AddExpenseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':null}); \r\n \r\n }\r\n\r\n editExpenseDetails(expenseCal)\r\n {\r\n let salesData = this.businessExpenses_details.filter(sal=>sal.pd_expense_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':salesData}); \r\n \r\n }\r\n editExpenseAllDetails(AllexpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessPage,{'pdDetails':this.pdDetails,'expense':AllexpenseData}); \r\n }\r\n \r\n\r\n /** Household Expenses Details */\r\n AddHouseExpenseForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':null}); \r\n \r\n }\r\n\r\n editHouseExpenseDetails(expenseCal)\r\n {\r\n let salesData = this.houseHold_details.filter(sal=>sal.household_expense_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':salesData}); \r\n \r\n }\r\n editHouseExpenseAllDetails(AllExpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedHouseholdPage,{'pdDetails':this.pdDetails,'expense':AllExpenseData}); \r\n }\r\n\r\n /**\r\n * Income Details\r\n */\r\n AddIncomeForm()\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':null}); \r\n \r\n }\r\n\r\n editIncomeDetails(expenseCal)\r\n {\r\n let salesData = this.busissnessIncome.filter(sal=>sal.pd_business_income_id==expenseCal);\r\n console.log(salesData);\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':salesData}); \r\n \r\n }\r\n editIncomeAllDetails(AllexpenseData)\r\n {\r\n this.navCtrl.push(PdQuestionAssessedBusinessIncomePage,{'pdDetails':this.pdDetails,'income':AllexpenseData}); \r\n }\r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-info/pd-question-assessed-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedSalesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-sales',\r\n templateUrl: 'pd-question-assessed-sales.html',\r\n})\r\nexport class PdQuestionAssessedSalesPage {\r\n\r\n grossprofitCalc: any;\r\n salesData: any =[];\r\n annual: any=[];\r\n grandTotal: any;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n assessedForm: FormGroup;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n annualSaleAmtInwords: any=[];\r\n marginAmtInwords: any=[];\r\n marginFinalAmtInwords:any =[];\r\n ratePerUnitAmtInwords: any=[];\r\n margin_calculation_status:any=[]\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n //this.grossprofitCalc = this.navParams.get('grossprofit');\r\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\r\n this.users = this.aws.getlocale();\r\n this.assessedForm = this.fb.group(\r\n {\r\n \r\n salesCalItemwise:this.fb.array([]),\r\n });\r\n this.salesData = this.navParams.get('sales');\r\n if(this.salesData!=null)\r\n {\r\n this.getSalesItemData(this.salesData);\r\n }else\r\n {\r\n this.addSalesCal();\r\n }\r\n // this.addSalesCal();\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedSalesPage');\r\n }\r\n\r\n getdropList()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\r\n }\r\n });\r\n }\r\n\r\n createSalesCal()\r\n {\r\n return this.fb.group(\r\n {\r\n sci_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n\r\n sales_item:[null,Validators.compose([Validators.required])],\r\n sales_qty:[null,Validators.compose([Validators.required])],\r\n fk_uom_id:[null,Validators.compose([Validators.required])],\r\n rate_per_unit:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_sale_value:[null],\r\n margin_per:[null],\r\n margin_per_uom:[null],\r\n margin_final_value:[null],\r\n comments:[null]\r\n });\r\n }\r\n\r\n addSalesCal()\r\n {\r\n if(this.assessedForm.valid){\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n control.push(this.createSalesCal());\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the all fields');\r\n }\r\n }\r\n \r\n removeSalesCal(i)\r\n {\r\n this.annual.splice(i,1);\r\n \r\n // this.annual[i].spl\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n console.log(this.grandTotal);\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n if(control.length==1)\r\n {\r\n control.removeAt(i);\r\n this.addSalesCal(); \r\n } else{\r\n control.removeAt(i);\r\n }\r\n }\r\n /**\r\n * frequency Type \r\n * 1.Weekly no need\r\n * 2.Daily 250\r\n * 3.Yearly \r\n * 4.Hourly no need\r\n * 5.Monthly 12\r\n * 6.none\r\n * 7.none\r\n * 8.none\r\n */\r\n salecalculat(indexVal,values)\r\n {\r\n // console.log(\"Det\",details);\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let salesQty = details.value.sales_qty;\r\n // let UOM = details.value.rate_per_unit;\r\n // // console.log(frequencyId,salesQty,UOM,index);\r\n // // console.log(frequencyId);\r\n // let annual\r\n // if(salesQty!=null && UOM!=null){\r\n // if(frequencyId==1)\r\n // {\r\n\r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (salesQty*UOM*250);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_sale_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (salesQty*UOM);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_sale_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (salesQty*UOM*12);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_sale_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n\r\n // }else if(frequencyId==7)\r\n // {\r\n\r\n // }else if(frequencyId==8)\r\n // {\r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n // }else\r\n // {\r\n // // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM');\r\n // }\r\n \r\n \r\n \r\n \r\n // console.log(this.annual);\r\n\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n if(values.rate_per_unit!=''&& values.rate_per_unit != null ){\r\n console.log(\"Rate Per value\",values.rate_per_unit);\r\n this.inWords(values.rate_per_unit,indexVal,4)\r\n }\r\n \r\n if(values.sales_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.fk_frequency_id != null) {\r\n console.log(\"Frequency\",values.fk_frequency_id);\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n let AnnualSalesValue = parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor)\r\n control.controls[indexVal].controls['annual_sale_value'].setValue(parseInt(values.sales_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(AnnualSalesValue,indexVal,1)\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_sale_value'].setValue('');\r\n }\r\n if(this.margin_calculation_status===true) {\r\n values.margin_per_uom=='' && values.margin_per!='' ? this.salesMarginPerCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]): values.margin_per_uom!='' && values.margin_per=='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) : values.margin_per_uom!='' && values.margin_per!='' ? this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]) :this.salesMarginAmtCalculation(indexVal,this.assessedForm.value.salesCalItemwise[indexVal]);\r\n }\r\n }\r\n salesMarginPerCalculation(indexVal: number,values: any): void {\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\r\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\r\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\r\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_final_value'].setValue('');\r\n }\r\n }\r\n salesMarginAmtCalculation(indexVal: number,values: any): void {\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n control.controls[indexVal].controls['margin_per'].setValue('');\r\n if(values.margin_per_uom!='' && values.margin_per_uom != null){\r\n this.inWords(values.margin_per_uom,indexVal,2)\r\n }\r\n \r\n if(values.margin_per_uom!='' && values.sales_qty!='' && values.margin_per_uom!=null && values.sales_qty!=null) {\r\n let MarginFinalValue = parseInt(values.sales_qty) * parseInt(values.margin_per_uom);\r\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.sales_qty) * parseInt(values.margin_per_uom));\r\n this.inWords(MarginFinalValue,indexVal,3)\r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_final_value'].setValue('');\r\n }\r\n }\r\n getSalesCalc(indexVal,values)\r\n {\r\n // // console.log(details);\r\n // let margin_per = details.value.margin_per;\r\n // let margin_amount = details.value.margin_per_uom;\r\n // let annual_sale_value = details.value.annual_sale_value;\r\n // let sales_qty = details.value.sales_qty;\r\n // // console.log(sales_qty,margin_amount);\r\n // let value:any = '';\r\n // if(margin_per !=null || margin_amount !=null){\r\n // if(margin_per !=null)\r\n // {\r\n // value = +annual_sale_value * (+margin_per/100);\r\n // }else\r\n // {\r\n // console.log('else');\r\n // value = +sales_qty* +margin_amount;\r\n // }\r\n // console.log(value);\r\n // details.controls['margin_final_value'].setValue(value);\r\n // }\r\n let control:any = this.assessedForm.controls['salesCalItemwise'];\r\n control.controls[indexVal].controls['margin_per_uom'].setValue('');\r\n if(values.margin_per!='' && values.annual_sale_value!='' && values.margin_per!=null && values.annual_sale_value!=null) {\r\n control.controls[indexVal].controls['margin_final_value'].setValue(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100));\r\n this.inWords(parseInt(values.annual_sale_value) * (parseInt(values.margin_per)/100),indexVal,3)\r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_final_value'].setValue('');\r\n }\r\n }\r\n \r\n inWords(value,inx,flag){\r\n switch(flag){\r\n case 1 : \r\n this.annualSaleAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n case 2 : \r\n this.marginAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n case 3 : \r\n this.marginFinalAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n case 4 : \r\n console.log(\"Rate\",value);\r\n this.ratePerUnitAmtInwords[inx] = this.cons.convertNumberToWords(value);\r\n break;\r\n default:break;}\r\n }\r\n saveData(answerData)\r\n {\r\n let records = {'records':answerData.salesCalItemwise};\r\n console.log(records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n })\r\n }\r\n \r\n getSalesItemData(salesData)\r\n {\r\n console.log(salesData);\r\n const control = this.assessedForm.get('salesCalItemwise') as FormArray;\r\n\r\n salesData.forEach((sale,index)=>{\r\n \r\n this.annual[index] = sale.annual_sale_value\r\n control.push(this.createSaleswithData(sale));\r\n if(sale.rate_per_unit != null){\r\n this.ratePerUnitAmtInwords[index]=this.cons.convertNumberToWords(sale.rate_per_unit)\r\n }\r\n if(sale.annual_sale_value != null){\r\n this.annualSaleAmtInwords[index]=this.cons.convertNumberToWords(sale.annual_sale_value)\r\n }\r\n if(sale.margin_per_uom != null){\r\n this.marginAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_per_uom)\r\n }\r\n if(sale.margin_final_value != null){\r\n this.marginFinalAmtInwords[index]=this.cons.convertNumberToWords(sale.margin_final_value)\r\n }\r\n })\r\n // this.assessedForm.controls['salesCalItemwise'].setValue(salesData);\r\n // console.log(control);\r\n this.grandTotal = this.annual.reduce((a,b)=> a+b,0); \r\n }\r\n\r\n createSaleswithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n sci_id:[data.sci_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n sales_item:[data.sales_item,Validators.compose([Validators.required])],\r\n sales_qty:[data.sales_qty,Validators.compose([Validators.required])],\r\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\r\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_sale_value:[data.annual_sale_value],\r\n margin_per:[data.margin_per],\r\n margin_per_uom:[data.margin_per_uom],\r\n margin_final_value:[data.margin_final_value],\r\n comments:[data.comments]\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants';\r\nimport {DatePipe} from '@angular/common'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedDailySalesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-daily-sales',\r\n templateUrl: 'pd-question-assessed-daily-sales.html',\r\n})\r\nexport class PdQuestionAssessedDailySalesPage {\r\n pipe = new DatePipe('en-US');\r\n\r\n currentDate: string;\r\n grossprofitCalc: any;\r\n salesDaily: any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n salesDailyForm: FormGroup;\r\n margin_calculation_status:any\r\n Value: any=[];\r\n marginAmtInwords: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public aws: AwsServiceProvider, public qustCat: QuestionCategoryProvider, public toast: ToastProvider, public fb: FormBuilder,public constant:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.salesDaily = this.navParams.get('salesDaily');\r\n // this.grossprofitCalc = this.navParams.get('grossprofit');\r\n this.margin_calculation_status=this.navParams.get('margin_calculation_status');\r\n this.users = this.aws.getlocale();\r\n this.currentDate = constant.getcurrentDate().replace(\"T00:00\",'');\r\n \r\n this.salesDailyForm = this.fb.group(\r\n {\r\n sales_product: this.fb.array([]),\r\n })\r\n if (this.salesDaily != null) {\r\n this.getDailySalesData(this.salesDaily);\r\n } else {\r\n this.adddailySalaesProduct();\r\n\r\n }\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage');\r\n }\r\n\r\n createdailysalesProduct() {\r\n return this.fb.group(\r\n {\r\n sim_id: [null],\r\n sales_item: [null, Validators.compose([Validators.required])],\r\n child: this.fb.array([]),\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n margin_per: [null],\r\n margin_value: [null],\r\n comments:[null],\r\n fk_createdby: [this.users],\r\n isactive: ['1'],\r\n });\r\n }\r\n createdailyChildSaleProduct() {\r\n return this.fb.group({\r\n simc_id: [null],\r\n fk_sim_id: [null],\r\n sales_date: [null, Validators.compose([Validators.required])],\r\n sales_value: [null, Validators.compose([Validators.required])],\r\n isactive: ['1'],\r\n })\r\n }\r\n temparr = [];\r\n tempdate = [];\r\n getSalesCalc(subchild,child,key) {\r\n \r\n let saledate: any = new Date(subchild.value.sales_date).getMonth() + 1;\r\n let totalitemmargin = child.value.margin_per;\r\n \r\n if (totalitemmargin != null && subchild.value.sales_value !=null) {\r\n let loopAccess = false;\r\n let loopindex = 0;\r\n if (this.tempdate.length != 0) {\r\n for (var i = 0; i < this.tempdate.length; i++) {\r\n\r\n if (this.tempdate[i].month == saledate) {\r\n loopAccess = true;\r\n loopindex = i;\r\n }\r\n }\r\n\r\n if (loopAccess) {\r\n\r\n \r\n this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value;\r\n this.temparr.push(subchild.value.sales_value);\r\n loopAccess = false;\r\n loopindex = 0;\r\n \r\n } else {\r\n \r\n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); this.temparr.push(subchild.value.sales_value);\r\n }\r\n\r\n\r\n } else {\r\n \r\n this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value });\r\n this.temparr.push(subchild.value.sales_value);\r\n }\r\n\r\n let totalMonth = 12 / this.tempdate.length;\r\n \r\n let tempgrandTotal = this.tempdate.reduce((a, b) => (+a + +b.value), 0);\r\n \r\n // let value = tempgrandTotal * (totalitemmargin / 100);\r\n let value = tempgrandTotal*totalMonth ;\r\n \r\n let grandValue = value * (totalitemmargin / 100);\r\n child.controls['margin_value'].setValue(grandValue);\r\n \r\n }\r\n \r\n }\r\n salesCalculation(indexVal: number,values: any): void {\r\n console.log(\"Date check\",values)\r\n if(this.margin_calculation_status===true){\r\n let control:any = this.salesDailyForm.controls['sales_product'];\r\n if(values.child.length>0 && values.margin_per!=''){\r\n let transformData = values.child.filter(val=>val.sales_date!='' && val.sales_date!=null && val.sales_date!=undefined && val.sales_value!='' && val.isactive===true).map(mval=>{\r\n mval.custum_date = this.pipe.transform(mval.sales_date, 'yyyy-MM');\r\n console.log(mval);\r\n return mval;\r\n });\r\n if(transformData.length>0) {\r\n let getUniqueMonthCounts = transformData.map(val=>val.custum_date)\r\n .filter((fVal,fIndex,fArray)=>{\r\n return fIndex === fArray.indexOf(fVal);\r\n });\r\n let getTotalValueCounts = transformData.map(val=>val.sales_value)\r\n .reduce((sum, curr) => parseInt(sum) + parseInt(curr));\r\n control.controls[indexVal].controls['margin_value'].setValue(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)));\r\n this.inWords(parseInt(getTotalValueCounts) * (parseInt(values.margin_per)/100) * (12 / parseInt(getUniqueMonthCounts.length)),indexVal,2);\r\n }\r\n else{\r\n \r\n control.controls[indexVal].controls['margin_value'].setValue('');\r\n \r\n }\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['margin_value'].setValue('');\r\n \r\n }\r\n }\r\n \r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.constant.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.marginAmtInwords[c] = this.constant.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n adddailySalaesProduct() {\r\n this.tempdate = [];\r\n if (this.salesDailyForm.valid) {\r\n const control = this.salesDailyForm.get('sales_product') as FormArray;\r\n control.push(this.createdailysalesProduct());\r\n \r\n this.adddailyChildSaleProduct(control.length - 1);\r\n }\r\n }\r\n adddailyChildSaleProduct(index) {\r\n // if(this.salesDailyForm.valid){\r\n const control = (this.salesDailyForm.get('sales_product')).at(index).get('child') as FormArray;\r\n\r\n control.push(this.createdailyChildSaleProduct());\r\n // }\r\n }\r\n\r\n deletedailySalesProduct(index) {\r\n \r\n this.tempdate.slice(index,1);\r\n const control = (this.salesDailyForm.controls['sales_product']) as FormArray;\r\n if (control.length == 1) {\r\n this.salesDailyForm.controls['sales_product'].reset();\r\n } else {\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n deletedailyChildSaleProduct(saleIndex, saleChildIndex) {\r\n this.tempdate = [];\r\n const control = (this.salesDailyForm.controls['sales_product']).at(saleIndex).get('child') as FormArray;\r\n if(control.length==1)\r\n {\r\n control.removeAt(saleChildIndex);\r\n this.adddailyChildSaleProduct(saleIndex); \r\n }else{\r\n control.removeAt(saleChildIndex);\r\n }\r\n }\r\n saveData(answerData) {\r\n if (this.salesDailyForm.valid) {\r\n let records = { 'records': answerData.sales_product };\r\n this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(res => {\r\n if (res['dataStatus'] == true) {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n }\r\n });\r\n }\r\n\r\n\r\n }\r\n getDailySalesData(dailySalesData) {\r\n \r\n const control = this.salesDailyForm.get('sales_product') as FormArray;\r\n let salesChildControl;\r\n let salesChildControlarr = [];\r\n dailySalesData.forEach((val, index) => {\r\n\r\n control.push(this.dailySalesWithData(val));\r\n if(val.margin_value != null){\r\n this.marginAmtInwords[index]=this.constant.convertNumberToWords(val.margin_value)\r\n }\r\n salesChildControl = (this.salesDailyForm.controls['sales_product']).at(index).get('child') as FormArray;\r\n\r\n salesChildControlarr[index] = Object.keys(val['items']).map(key => val['items'][key]);\r\n\r\n salesChildControlarr[index].forEach((vals, i) => {\r\n vals.forEach((item, key) => {\r\n let saleDate = new Date(item.sales_date);\r\n\r\n item.sales_date = saleDate.getFullYear() + '-' + (\"0\" + (saleDate.getMonth() + 1)).slice(-2) + '-' + (\"0\" + (saleDate.getDay() + 1)).slice(-2);\r\n //console.log(\"sale data\",new Date(this.pipe.transform(item.sales_date, 'dd-MM-yyyy')))\r\n console.log(\"sale\",item.sales_date)\r\n salesChildControl.push(this.dailySalesChildWithData(item, val.sim_id));\r\n if(item.sales_value !=null){\r\n this.Value[key]=this.constant.convertNumberToWords(item.sales_value)\r\n }\r\n })\r\n\r\n\r\n\r\n });\r\n\r\n });\r\n }\r\n\r\n dailySalesWithData(data) {\r\n\r\n return this.fb.group(\r\n {\r\n sim_id: [data.sim_id],\r\n sales_item: [data.sales_item, Validators.compose([Validators.required])],\r\n child: this.fb.array([]),\r\n fk_pd_id: [this.pdDetails.pd_id],\r\n fk_createdby: [this.users],\r\n isactive: ['1'],\r\n margin_per: [data.margin_per],\r\n margin_value: [data.margin_value],\r\n comments:[data.comments]\r\n })\r\n }\r\n dailySalesChildWithData(data, fk_id) {\r\n\r\n\r\n return this.fb.group(\r\n {\r\n simc_id: [data.simc_id],\r\n fk_sim_id: [fk_id],\r\n sales_date: [data.sales_date, Validators.compose([Validators.required])],\r\n // sales_date: [new Date(this.pipe.transform(data.sales_date, 'dd-MM-yyyy')), Validators.compose([Validators.required])],\r\n sales_value: [data.sales_value, Validators.compose([Validators.required])],\r\n isactive: ['1'],\r\n })\r\n\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedPurchasePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-purchase',\r\n templateUrl: 'pd-question-assessed-purchase.html',\r\n})\r\nexport class PdQuestionAssessedPurchasePage {\r\n purchaseDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n businessExpenses: any;\r\n UOM: any;\r\n m_freqOfPurchase: any;\r\n annual: any = [];\r\n grandpurchaseTotal: any;\r\n rawMaterialForm:FormGroup;\r\n RateOfPurchase: any=[];\r\n AnnualPurchase: any=[];\r\n constructor(public navCtrl: NavController, public fb:FormBuilder,public navParams: NavParams,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public aws:AwsServiceProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.purchaseDetails = this.navParams.get('purchase');\r\n console.log(\"purchase\",this.purchaseDetails)\r\n console.log(\"pd\",this.pdDetails);\r\n this.users = this.aws.getlocale();\r\n this.rawMaterialForm = this.fb.group(\r\n {\r\n purchase:this.fb.array([]),\r\n });\r\n \r\n if(this.purchaseDetails!=null)\r\n {\r\n this.getpurchaseDetails(this.purchaseDetails);\r\n }else\r\n {\r\n this.addPurchaseDetails();\r\n }\r\n this.getdropList();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedPurchasePage');\r\n }\r\n\r\n\r\n createPurchaseDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n purchase_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n purchase_item:[null,Validators.compose([Validators.required])],\r\n purchase_qty:[null,Validators.compose([Validators.required])],\r\n fk_uom_id:[null,Validators.compose([Validators.required])],\r\n uom_other:[null],\r\n rate_per_unit:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_purchase_value:[null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n\r\n getdropList()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.m_freqOfPurchase = res['records'].filter(fre=>fre.isactive==1);\r\n }\r\n })\r\n this.qustCat.getcommondrop('UOM').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.UOM = res['records'].filter(uom=>uom.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\r\n }\r\n })\r\n }\r\n addPurchaseDetails()\r\n {\r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\r\n control.push(this.createPurchaseDetails());\r\n }\r\n\r\n deletePurchaseDetails(i)\r\n {\r\n this.annual.splice(i,1);\r\n \r\n // this.annual[i].spl\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray\r\n control.removeAt(i); \r\n }\r\n\r\n\r\n purchaseCalculation(indexVal,values)\r\n {\r\n\r\n let control:any = this.rawMaterialForm.controls['purchase'];\r\n if(values.purchase_qty!='' && values.rate_per_unit!='' && values.fk_frequency_id!='' && values.purchase_qty!=null && values.rate_per_unit!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_purchase_value'].setValue(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(parseInt(values.purchase_qty) * parseInt(values.rate_per_unit) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n\r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_purchase_value'].setValue(null);\r\n }\r\n // console.log(this.grandpurchaseTotal);\r\n // console.log(details,index);\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let purchaseQty = details.value.purchase_qty;\r\n // let UOM = details.value.rate_per_unit;\r\n // console.log(frequencyId,purchaseQty,UOM,index);\r\n // // console.log(frequencyId);\r\n // let annual\r\n // if(purchaseQty!=null && UOM!=null){\r\n // if(frequencyId==1)\r\n // {\r\n\r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (purchaseQty*UOM*250);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_purchase_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (purchaseQty*UOM);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_purchase_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (purchaseQty*UOM*12);\r\n // this.annual[index] = annual;\r\n // details.controls['annual_purchase_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n\r\n // }else if(frequencyId==7)\r\n // {\r\n\r\n // }else if(frequencyId==8)\r\n // {\r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandpurchaseTotal = this.annual.reduce((a,b)=> +a + +b,0); \r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM');\r\n // }\r\n }\r\n savepurchaseData(answerData)\r\n {\r\n if(this.rawMaterialForm.valid){\r\n let records = {'records':answerData.purchase};\r\n console.log('data',records);\r\n this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n // this.getAssessedDetails();\r\n \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter All Field');\r\n }\r\n }\r\n\r\n getpurchaseDetails(purchaseDetails)\r\n {\r\n console.log('function in',purchaseDetails);\r\n \r\n const control = this.rawMaterialForm.controls['purchase'] as FormArray; \r\n console.log(control); \r\n if(purchaseDetails.length ==0)\r\n {\r\n console.log('if');\r\n this.addPurchaseDetails();\r\n }else{\r\n console.log('else');\r\n purchaseDetails.forEach((val,index)=>\r\n {\r\n // console.log(index);\r\n control.push(this.createPurchasewithData(val));\r\n this.annual[index] = val.annual_purchase_value;\r\n if(val.rate_per_unit != null){\r\n this.RateOfPurchase[index]=this.cons.convertNumberToWords(val.rate_per_unit)\r\n }\r\n if(val.annual_purchase_value != null){\r\n this.AnnualPurchase[index]=this.cons.convertNumberToWords(val.annual_purchase_value)\r\n }\r\n });\r\n this.grandpurchaseTotal = this.annual.reduce((a,b)=>(+a + +b),0);\r\n }\r\n // console.log(control); \r\n \r\n }\r\n\r\n createPurchasewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n purchase_id:[data.purchase_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n purchase_item:[data.purchase_item,Validators.compose([Validators.required])],\r\n purchase_qty:[data.purchase_qty,Validators.compose([Validators.required])],\r\n fk_uom_id:[data.fk_uom_id,Validators.compose([Validators.required])],\r\n uom_other:[data.uom_other],\r\n rate_per_unit:[data.rate_per_unit,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_purchase_value:[data.annual_purchase_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.RateOfPurchase[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualPurchase[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, Validators, FormArray } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n/**\r\n * Generated class for the PdQuestionAssessedBusinessPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-business',\r\n templateUrl: 'pd-question-assessed-business.html',\r\n})\r\nexport class PdQuestionAssessedBusinessPage {\r\n m_freqOfPurchase: any;\r\n expenseDetails: any;\r\n Value: any=[];\r\n AnnualExpenses: any=[];\r\n grandpurchaseTotal(arg0: any): any {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n grandExpenseTotal: any=[];\r\n expenseannual: any=[];\r\n users: any;\r\n pdDetails: any;\r\n BuissnessForm:FormGroup;\r\n businessExpenses:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.expenseDetails = this.navParams.get('expense');\r\n this.users = this.aws.getlocale();\r\n this.BuissnessForm = this.fb.group(\r\n {\r\n busExpense:this.fb.array([]),\r\n });\r\n\r\n if(this.expenseDetails!=null)\r\n {\r\n this.getBuisnessExpenses(this.expenseDetails);\r\n }else\r\n {\r\n this.addBusinessDetails();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n \r\n this.businessExpenses = res['records'].filter(bus=>bus.isactive==1);\r\n } \r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedBusinessPage');\r\n }\r\n\r\n\r\n createBusinessDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n pd_expense_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n expense_item_id:[null,Validators.compose([Validators.required])],\r\n expense_value:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_expenses_value:[null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n\r\n\r\n businessCalculation(indexVal: number,values: any): void {\r\n let control:any = this.BuissnessForm.controls['busExpense'];\r\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_expenses_value'].setValue(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_expenses_value'].setValue(null);\r\n }\r\n }\r\n \r\n addBusinessDetails()\r\n {\r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\r\n control.push(this.createBusinessDetails());\r\n }\r\n\r\n deleteBuisnessDetails(i)\r\n {\r\n this.expenseannual.splice(i,1); \r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n \r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray;\r\n control.removeAt(i);\r\n }\r\n\r\n busExpensecalculat(index,details)\r\n {\r\n \r\n \r\n let frequencyId = details.value.fk_frequency_id;\r\n let expenseValue = details.value.expense_value;\r\n let UOM = details.value.rate_per_unit;\r\n \r\n let annual\r\n if(expenseValue!=null){\r\n if(frequencyId==1)\r\n {\r\n\r\n }else if(frequencyId==2)\r\n {\r\n annual = (expenseValue*250);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual); \r\n this.inWords(annual,index,2) \r\n }else if(frequencyId==3)\r\n {\r\n annual = (expenseValue);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual);\r\n this.inWords(annual,index,2)\r\n }else if(frequencyId==4)\r\n {\r\n\r\n }else if(frequencyId==5)\r\n {\r\n annual = (expenseValue*12);\r\n this.expenseannual[index] = annual;\r\n details.controls['annual_expenses_value'].setValue(annual);\r\n this.inWords(annual,index,2)\r\n }else if(frequencyId==6)\r\n {\r\n\r\n }else if(frequencyId==7)\r\n {\r\n\r\n }else if(frequencyId==8)\r\n {\r\n\r\n }else\r\n {\r\n\r\n }\r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n }\r\n }\r\n\r\n saveBusinessData(answerData)\r\n {\r\n \r\n if(this.BuissnessForm.valid){\r\n let records = {'records':answerData.busExpense};\r\n \r\n this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n \r\n }\r\n\r\n getBuisnessExpenses(expenseDetails)\r\n {\r\n if(expenseDetails.length==0)\r\n {\r\n this.addBusinessDetails();\r\n }else\r\n {\r\n const control = this.BuissnessForm.controls['busExpense'] as FormArray; \r\n expenseDetails.forEach((val,index)=>\r\n {\r\n this.expenseannual[index] = val.annual_expenses_value;\r\n control.push(this.createBusinessExpensewithData(val));\r\n if(val.expense_value != null){\r\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\r\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expenses_value)\r\n }\r\n })\r\n this.grandExpenseTotal = this.expenseannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createBusinessExpensewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_expense_id:[data.pd_expense_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n expense_item_id:[data.expense_item_id,Validators.compose([Validators.required])],\r\n expense_value:[data.expense_value,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_expenses_value:[data.annual_expenses_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n isactive:['1'],\r\n fk_createdby:[this.users]\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business/pd-question-assessed-business.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormArray, FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedHouseholdPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-household',\r\n templateUrl: 'pd-question-assessed-household.html',\r\n})\r\nexport class PdQuestionAssessedHouseholdPage {\r\n\r\n m_freqOfPurchase: any;\r\n expenseDetails: any;\r\n houseExpenseDetails: any;\r\n users: any;\r\n pdDetails: any;\r\n houseannual: any =[];\r\n grandHouseExpenseTotal: any=[];\r\n houseHoldForm:FormGroup;\r\n Value: any=[];\r\n AnnualExpenses: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.houseExpenseDetails = this.navParams.get('FormId');\r\n this.expenseDetails = this.navParams.get('expense');\r\n this.users = this.aws.getlocale();\r\n this.houseHoldForm = this.fb.group(\r\n {\r\n houseExpense:this.fb.array([]),\r\n });\r\n if(this.expenseDetails !=null)\r\n {\r\n this.getHouseholdExpense(this.expenseDetails);\r\n }else\r\n {\r\n this.addHouseExpenses();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage');\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n createHouseExpense()\r\n {\r\n return this.fb.group(\r\n {\r\n household_expense_id:[null],\r\n\t\t fk_pd_id:[this.pdDetails.pd_id] ,\r\n\t\t expense_item: [null,Validators.compose([Validators.required])],\r\n\t\t expense_value: [null,Validators.compose([Validators.required])],\r\n\t\t fk_frequency_id: [null,Validators.compose([Validators.required])],\r\n annual_expense_value: [null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n\t\t isactive: [\"1\"],\r\n\t\t fk_createdby: [this.users]\r\n })\r\n }\r\n\r\n addHouseExpenses()\r\n {\r\n \r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\r\n\r\n control.push(this.createHouseExpense());\r\n }\r\n\r\n deleteHouseExpense(i)\r\n {\r\n this.houseannual.splice(i,1); \r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray;\r\n control.removeAt(i) \r\n }\r\n houseExpensecalculat(indexVal,values)\r\n {\r\n\r\n let control:any = this.houseHoldForm.controls['houseExpense'];\r\n if(values.expense_value!='' && values.fk_frequency_id!='' && values.expense_value!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_expense_value'].setValue(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(parseInt(values.expense_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n \r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_expense_value'].setValue(null);\r\n }\r\n \r\n //OLD CALCULATION\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let expenseValue = details.value.expense_value;\r\n // // let UOM = details.value.rate_per_unit;\r\n // // console.log(frequencyId,purchaseQty,UOM,index);\r\n // // console.log(details);\r\n // let annual\r\n // if(expenseValue!=null){\r\n // if(frequencyId==1)\r\n // {\r\n\r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (expenseValue*250);\r\n // this.houseannual[index] = annual;\r\n // details.controls['annual_expense_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (expenseValue);\r\n // this.houseannual[index] = annual;\r\n // details.controls['annual_expense_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (expenseValue*12);\r\n // this.houseannual[index] = annual;\r\n // details.controls['annual_expense_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n\r\n // }else if(frequencyId==7)\r\n // {\r\n\r\n // }else if(frequencyId==8)\r\n // {\r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n // console.log(this.grandHouseExpenseTotal); \r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n // }\r\n }\r\n saveHouseExpenseData(answerData)\r\n {\r\n if(this.houseHoldForm.valid)\r\n {\r\n let records = {'records':answerData.houseExpense};\r\n this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses',records).subscribe(res=>\r\n { \r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n }\r\n\r\n getHouseholdExpense(houseExpesneDetails)\r\n {\r\n if(houseExpesneDetails.length==0)\r\n {\r\n this.addHouseExpenses(); \r\n }else\r\n {\r\n const control = this.houseHoldForm.controls['houseExpense'] as FormArray; \r\n houseExpesneDetails.forEach((val,index)=>\r\n {\r\n this.houseannual[index] = val.annual_expense_value;\r\n control.push(this.createHouseholdwithData(val));\r\n if(val.expense_value != null){\r\n this.Value[index]=this.cons.convertNumberToWords(val.expense_value)\r\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_expense_value)\r\n }\r\n \r\n });\r\n this.grandHouseExpenseTotal = this.houseannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createHouseholdwithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n household_expense_id:[data.household_expense_id],\r\n\t\t fk_pd_id:[this.pdDetails.pd_id] ,\r\n\t\t expense_item: [data.expense_item,Validators.compose([Validators.required])],\r\n\t\t expense_value: [data.expense_value,Validators.compose([Validators.required])],\r\n\t\t fk_frequency_id: [data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_expense_value: [data.annual_expense_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n\t\t isactive: [\"1\"],\r\n\t\t fk_createdby: [this.users]\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-household/pd-question-assessed-household.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder, FormArray, Validators } from '@angular/forms';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport {ConstantsProvider} from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionAssessedBusinessIncomePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-assessed-business-income',\r\n templateUrl: 'pd-question-assessed-business-income.html',\r\n})\r\nexport class PdQuestionAssessedBusinessIncomePage {\r\n m_freqOfPurchase: any = [];\r\n expenseDetails: any;\r\n \r\n grandIncomeTotal: any=[];\r\n incomeannual: any=[];\r\n users: any;\r\n pdDetails: any;\r\n BuissnessForm:FormGroup;\r\n businessIncome:any;\r\n Value: any=[];\r\n AnnualExpenses: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public cons:ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.expenseDetails = this.navParams.get('income');\r\n \r\n this.users = this.aws.getlocale();\r\n this.BuissnessForm = this.fb.group(\r\n {\r\n busIncome:this.fb.array([]),\r\n });\r\n\r\n if(this.expenseDetails!=null)\r\n {\r\n this.getBuisnessExpenses(this.expenseDetails);\r\n }else\r\n {\r\n this.addBusinessDetails();\r\n }\r\n this.getdropdown();\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n \r\n this.businessIncome = res['records'].filter(bus=>bus.isactive==1);\r\n } \r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus'] == true){\r\n this.m_freqOfPurchase = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage');\r\n }\r\n createBusinessDetails()\r\n {\r\n return this.fb.group(\r\n {\r\n pd_business_income_id:[null],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n business_income_id:[null,Validators.compose([Validators.required])],\r\n income_value:[null,Validators.compose([Validators.required])],\r\n fk_frequency_id:[null,Validators.compose([Validators.required])],\r\n annual_income_value:[null,Validators.compose([Validators.required])],\r\n comments:[null],\r\n isactive:['1'],\r\n fk_createdby:[this.users],\r\n other_income_item:[null],\r\n other_frequncy_item:[null],\r\n })\r\n }\r\n\r\n addBusinessDetails()\r\n {\r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\r\n control.push(this.createBusinessDetails());\r\n }\r\n\r\n deleteBuisnessDetails(i)\r\n {\r\n this.incomeannual.splice(i,1); \r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n \r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray;\r\n control.removeAt(i);\r\n }\r\n\r\n busIncomecalculate(indexVal,values)\r\n {\r\n let control:any = this.BuissnessForm.controls['busIncome'];\r\n if(values.income_value!='' && values.fk_frequency_id!='' && values.income_value!=null && values.fk_frequency_id!=null) {\r\n let filterFrequencyValue: any = this.m_freqOfPurchase.filter(val =>val.frequency_id==values.fk_frequency_id);\r\n control.controls[indexVal].controls['annual_income_value'].setValue(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor));\r\n this.inWords(parseInt(values.income_value) * parseInt(filterFrequencyValue[0].mutiple_factor),indexVal,2)\r\n\r\n }\r\n else {\r\n control.controls[indexVal].controls['annual_income_value'].setValue('');\r\n }\r\n //OLD CALCULATION\r\n // let frequencyId = details.value.fk_frequency_id;\r\n // let incomeValue = details.value.income_value;\r\n // // let UOM = details.value.rate_per_unit;\r\n \r\n // let annual:any;\r\n // if(incomeValue!=null && incomeValue !=null){\r\n // let frequency_factor = this.m_freqOfPurchase.filter(frq=>frq.frequency_id == frequencyId)[0]; \r\n // if(frequencyId==1)\r\n // {\r\n \r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==2)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==3)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual);\r\n // }else if(frequencyId==4)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual);\r\n // }else if(frequencyId==5)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual);\r\n // }else if(frequencyId==6)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==7)\r\n // {\r\n // annual = (incomeValue*frequency_factor.mutiple_factor);\r\n // this.incomeannual[index] = annual;\r\n // details.controls['annual_income_value'].setValue(annual); \r\n // }else if(frequencyId==8)\r\n // {\r\n // annual = (incomeValue);\r\n // this.incomeannual[index] = annual; \r\n // details.controls['annual_income_value'].setValue(annual); \r\n\r\n // }else\r\n // {\r\n\r\n // }\r\n // this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n // }else\r\n // {\r\n // this.toast.pdTriggerappmessage('Enter the Amount and Frequency');\r\n // }\r\n }\r\n\r\n saveBusinessData(answerData)\r\n {\r\n \r\n if(this.BuissnessForm.valid){\r\n let records = {'records':answerData.busIncome};\r\n \r\n this.qustCat.saveassessedForms('saveOtherBusinessIncome',records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!'); \r\n }\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The All Field');\r\n }\r\n \r\n }\r\n\r\n getBuisnessExpenses(expenseDetails)\r\n {\r\n if(expenseDetails.length==0)\r\n {\r\n this.addBusinessDetails();\r\n }else\r\n {\r\n const control = this.BuissnessForm.controls['busIncome'] as FormArray; \r\n expenseDetails.forEach((val,index)=>\r\n {\r\n this.incomeannual[index] = val.annual_income_value;\r\n control.push(this.createBusinessExpensewithData(val));\r\n if(val.income_value != null){\r\n this.Value[index]=this.cons.convertNumberToWords(val.income_value)\r\n this.AnnualExpenses[index]=this.cons.convertNumberToWords(val.annual_income_value)\r\n }\r\n })\r\n this.grandIncomeTotal = this.incomeannual.reduce((a,b)=> +a + +b,0); \r\n }\r\n }\r\n\r\n createBusinessExpensewithData(data)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_business_income_id:[data.pd_business_income_id],\r\n fk_pd_id:[this.pdDetails.pd_id],\r\n business_income_id:[data.business_income_id,Validators.compose([Validators.required])],\r\n income_value:[data.income_value,Validators.compose([Validators.required])],\r\n fk_frequency_id:[data.fk_frequency_id,Validators.compose([Validators.required])],\r\n annual_income_value:[data.annual_income_value,Validators.compose([Validators.required])],\r\n comments:[data.comments],\r\n isactive:['1'],\r\n fk_createdby:[this.users],\r\n other_income_item:[data.other_income_item],\r\n other_frequncy_item:[data.other_frequncy_item],\r\n })\r\n }\r\n inWords(e,c,flag){\r\n switch(flag){\r\n case 1 : \r\n this.Value[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n case 2 : \r\n this.AnnualExpenses[c] = this.cons.convertNumberToWords(e);\r\n break;\r\n default : break;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income.ts","import { Component } from '@angular/core';\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\nimport {QuestionCategoryProvider} from '../../../providers/question-category/question-category'\n\n/**\n * Generated class for the PdQuestionAssessedSummaryPage page.\n *\n * See https://ionicframework.com/docs/components/#navigation for more info on\n * Ionic pages and navigation.\n */\n\n\n@Component({\n selector: 'page-pd-question-assessed-summary',\n templateUrl: 'pd-question-assessed-summary.html',\n})\nexport class PdQuestionAssessedSummaryPage {\n pdDetails:any;\n salesCustomer:any;\n salesMonthWise:any;\n salesItemWise:any;\n consolidatedReport:any;\n loadData:boolean=false;\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustCat: QuestionCategoryProvider) {\n this.pdDetails=this.navParams.get('pdDetails')\n // console.log(this.pdDetails)\n this.getAssessedDetails();\n }\n ionViewWillEnter(){\n //console.log(\"ionViewWillEnter\")\n //this.getAssessedDetails();\n }\n ionViewDidLoad() {\n console.log('ionViewDidLoad PdQuestionAssessedSummaryPage');\n \n }\n getAssessedDetails(){\n let records = {'pd_id':this.pdDetails.pd_id};\n this.qustCat.retiverassessedForm('getAssessedIncome',records).subscribe(res=>{\n if(res['dataStatus']== true){\n this.salesCustomer=res['records'].final_data[0].sales_declared_by_customer\n this.salesItemWise=res['records'].final_data[0].sales_calculated_by_itemwise\n this.salesMonthWise=res['records'].final_data[0].sales_calculated_by_monthwise\n this.consolidatedReport=res['records'].final_data[0].consolidated_report\n console.log(this.salesCustomer);\n this.loadData=true\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionLenderRepresentativePage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-lender-representative',\r\n templateUrl: 'pd-question-lender-representative.html',\r\n})\r\nexport class PdQuestionLenderRepresentativePage {\r\n\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n representativeForm:FormGroup;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.users = this.aws.getlocale();\r\n this.representativeForm = this.fb.group({\r\n pdid:[this.pdDetails.pd_id],\r\n formid:[this.FormId.form_id],\r\n fk_createdby:[this.users],\r\n lender_representative_accompany: ['', Validators.compose([Validators.required])],\r\n representative_remarks: ['', Validators.compose([Validators.required])],\r\n lender_representative_details: this.fb.array([]),\r\n });\r\n this.getLenderReDetails();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionLenderRepresentativePage');\r\n }\r\n \r\n createlenReDetails()\r\n {\r\n return this.fb.group({\r\n lender_representative_who_accompanies : ['', Validators.compose([Validators.required])],\r\n lender_representative_carry_loan_files: ['', Validators.compose([Validators.required])],\r\n });\r\n }\r\n\r\n selectedLoanChanges(e): void {\r\n if (e.value == 'Yes') {\r\n const control = this.representativeForm.controls['lender_representative_details'];\r\n control.push(this.createlenReDetails());\r\n } else if (e.value == 'No') {\r\n const arr = this.representativeForm.controls.lender_representative_details;\r\n arr.removeAt(0);\r\n }\r\n }\r\n\r\n sumbitData(answerData)\r\n { \r\n if(this.representativeForm.valid)\r\n {\r\n let records = this.representativeForm.value;\r\n \r\n this.qustCat.saveForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n });\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter All Field');\r\n }\r\n }\r\n\r\n getLenderReDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let lenderReDetails = res['records'];\r\n if(lenderReDetails.lender_representative_accompany=='Yes'){\r\n\r\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\r\n\r\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\r\n\r\n\r\n let lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function(key)\r\n {\r\n return res['records'].lender_representative_details[key];\r\n });\r\n \r\n const control = this.representativeForm.controls['lender_representative_details'] as FormArray; \r\n lender_represent_details.forEach(val=>\r\n {\r\n control.push(this.createlenReDetails());\r\n })\r\n this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details);\r\n\r\n }else\r\n {\r\n this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany);\r\n\r\n this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks);\r\n }\r\n }\r\n })\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-lender-representative/pd-question-lender-representative.ts","import { Component,ViewChild,ElementRef } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, ModalController, CardTitle, Content } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray,Validator, Validators } from '@angular/forms';\r\nimport { PdQuestionGeneralOtherApplicantPage } from './pd-question-general-other-applicant/pd-question-general-other-applicant';\r\nimport { DatePipe} from '@angular/common';\r\nimport {PdPipe} from './../../../pipes/pd/pd';\r\nimport { removeSummaryDuplicates } from '@angular/compiler';\r\nimport { DataSource } from '@angular/cdk/table';\r\n\r\n/**\r\n * Generated class for the PdQuestionGeneralInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-general-info',\r\n templateUrl: 'pd-question-general-info.html',\r\n providers:[PdPipe],\r\n})\r\nexport class PdQuestionGeneralInfoPage {\r\n pipe=new DatePipe('en-US');\r\n // person_name:any;\r\n qualification_name:any;\r\n individuals_order_id:any;\r\n is_new:any;\r\n pd_co_applicant_id:any;\r\n lengthv:any;\r\n qual_name:any;\r\n curr_qualification_name;\r\n curr_business_name;\r\n \r\n\r\n applicant_name: any;\r\n otherapp: any;\r\n fetch_related_details: any = [];\r\n checkApplicantExist: any;\r\n pd_applicants_details: any = [];\r\n companyRelationShipList: any;\r\n qualificationList:any;\r\n businessEntityTypeList:any;\r\n relationShipList: any;\r\n titleList:any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n generalForm:FormGroup;\r\n list_value:FormArray;\r\n fulldata:any\r\n public buttonClick:boolean;\r\n public h_companies:boolean\r\n \r\n datav:any;\r\n individualsListBothCase:any;\r\n individualsList:any;\r\n companyList:any;\r\n i:number;\r\n data_all:any;\r\n maxDate:any;\r\n OldData:any=[];\r\n OldData_indi:any=[];\r\n updateIndex_indi:any;\r\n public addComp:boolean\r\n public addIndi:boolean\r\n updateIndex_comp: any;\r\n@ViewChild('remark') nameField: ElementRef;\r\n customer_segment_abbr: any;\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder,public modal:ModalController) {\r\n this.maxDate = new Date();\r\n this.pd_applicants_details = []; \r\n this.pd_applicants_details.pop(); \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n console.log(this.pdDetails)\r\n //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join(\"/\");\r\n //this.maxDate=new Date(get_max_date)\r\n this.FormId = this.navParams.get('FormId');\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n this.users = this.aws.getlocale();\r\n this.getdropdown();\r\n \r\n this.generalForm = this.fb.group({\r\n pdid:this.pdDetails.pd_id,\r\n formid:this.FormId.form_id,\r\n applicant_list: this.fb.array([]),\r\n applicant_relation: this.fb.array([]),\r\n list_value:this.fb.array([]),\r\n company_value:this.fb.array([]),\r\n individuals:this.fb.array([]),\r\n companies:this.fb.array([]),\r\n persons_with_relationships:this.fb.array([]),\r\n company_with_relationships:this.fb.array([]),\r\n rental_income_rcv_in_years:[''],\r\n rental_income_rcv_in_month:[''],\r\n \r\n general_remark:''\r\n });\r\n \r\n //this.initIndividuals();\r\n this.pd_applicants_details = this.pdDetails.applicat_details;\r\n \r\n \r\n \r\n // this.getcoapplicantDetails();\r\n this.buttonClick=false;\r\n this.h_companies=false;\r\n this.addIndi=false\r\n this.addComp=false\r\n // this.initCompanies()\r\n this.datav=[{\r\n name:\"fairoj\",\r\n id:1\r\n },\r\n {\r\n name:\"ff\",\r\n id:2\r\n }\r\n \r\n ]\r\n //this.fulldata=this.generalForm.value\r\n this.generalForm.controls['list_value'].valueChanges.subscribe(val=>{\r\n let control=this.generalForm.controls['list_value'];\r\n this.individualsList=control.value.filter(element=>element.is_applicant == true);\r\n this.individualsListBothCase=control.value.filter(element=>element.is_applicant==true || element.is_person_met==true)\r\n this.fulldata=control.value;\r\n //control.controls.length\r\n //control.push()\r\n });\r\n this.generalForm.controls['company_value'].valueChanges.subscribe(val=>{\r\n let control=this.generalForm.controls['company_value'];\r\n this.companyList=control.value.filter(element=>element.company_name )\r\n })\r\n this.i=0;\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n // this.pd_applicants_details.pop();\r\n console.log('ionViewDidLoad PdQuestionGeneralInfoPage');\r\n this.getGeneralForm()\r\n \r\n }\r\n ionViewLoaded() {\r\n\r\n // setTimeout(() => {\r\n // this.generalForm.controls['general_remark']['controls'].setFocus();\r\n // },150);\r\n }\r\n\r\n initlistv(data,purpose) :void\r\n {\r\n const control=this.generalForm.controls['list_value'];\r\n console.log(\"control\",control.length)\r\n if(purpose=='ins')\r\n {\r\n for(let val of data)\r\n {\r\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\r\n let formData:FormGroup=this.fb.group({\r\n applicant_title_name:[val.applicant_title_name],\r\n applicant_name:[val.applicant_name],\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:[val.age],\r\n qualification:[val.qualification],\r\n course_name:[val.course_name],\r\n \r\n individuals_order_id:[control.length+1],\r\n is_new:true,\r\n is_active:true,\r\n pd_co_applicant_id:[control.length+1], \r\n \r\n qualification_name:[c_qualification_name]\r\n \r\n\r\n });\r\n control.push(formData);\r\n this.buttonClick=false;\r\n // this.generalForm.value.individuals.value=\"\"\r\n }\r\n }\r\n if(purpose=='get'){\r\n for(let val of data)\r\n {\r\n var c_qualification_name=this.qualificationById(val.qualification) // for getting qualification Name\r\n let formData:FormGroup=this.fb.group({\r\n applicant_title_name:[val.applicant_title_name],\r\n applicant_name:[val.applicant_name],\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:[val.age],\r\n qualification:[val.qualification],\r\n course_name:[val.course_name],\r\n \r\n individuals_order_id:[val.individuals_order_id],\r\n is_new:[val.is_new],\r\n is_active:[val.is_active],\r\n pd_co_applicant_id:[val.pd_co_applicant_id] , \r\n \r\n \r\n \r\n \r\n\r\n qualification_name:[c_qualification_name]\r\n \r\n\r\n });\r\n control.push(formData);\r\n this.buttonClick=false;\r\n // this.generalForm.value.individuals.value=\"\"\r\n }\r\n }\r\n}\r\n\r\n qualificationById(data):string{\r\n for(let i of this.qualificationList){\r\n if(data==i.qualification_id){\r\n this.qual_name=i.qualification_name\r\n return this.qual_name\r\n }\r\n }\r\n \r\n }\r\n initCompanyValue(data,purpose):void{\r\n const control=this.generalForm.controls['company_value'];\r\n if(purpose=='ins')\r\n {\r\n for(let val of data)\r\n {\r\n var c_business_name=''\r\n if(val.business_entity_type!=1){\r\n c_business_name=this.businessEntityById(val.business_entity_type)\r\n }\r\n if(val.business_entity_type==1){\r\n c_business_name=val.business_entity_type_other\r\n }\r\n \r\n let formData:FormGroup=this.fb.group({\r\n company_name:[val.company_name],\r\n // pd_co_applicant_id:[this.i+1],\r\n // company_order_id:[this.lengthv.companies.length+1],\r\n company_order_id:[control.length+1],\r\n is_company_applicant:[val.is_company_applicant],\r\n business_entity_type:[val.business_entity_type],\r\n business_entity_type_other:[val.business_entity_type_other],\r\n is_new:true,\r\n is_active:true,\r\n company_messrs_name:['M/s'],\r\n \r\n business_years:[val.business_years],\r\n business_month:[val.business_month],\r\n business_date_object:[val.business_date_object],\r\n\r\n business_entity_type_name:[c_business_name]\r\n });\r\n control.push(formData);\r\n this.h_companies=false;\r\n }\r\n }\r\n if(purpose=='get')\r\n {\r\n for(let val of data)\r\n {\r\n \r\n var c_business_name=''\r\n if(val.business_entity_type!=1){\r\n c_business_name=this.businessEntityById(val.business_entity_type)\r\n }\r\n if(val.business_entity_type==1){\r\n c_business_name=val.business_entity_type_other\r\n }\r\n\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[val.company_name],\r\n // pd_co_applicant_id:[this.i+1],\r\n company_order_id:[val.company_order_id],\r\n is_company_applicant:[val.is_company_applicant],\r\n business_entity_type:[val.business_entity_type],\r\n business_entity_type_other:[val.business_entity_type_other],\r\n is_new:[val.is_new],\r\n is_active:[val.is_active],\r\n company_messrs_name:[val.company_messrs_name],\r\n \r\n business_years:[val.business_years],\r\n business_month:[val.business_month],\r\n business_date_object:[val.business_date_object],\r\n\r\n business_entity_type_name:[c_business_name]\r\n });\r\n control.push(formData);\r\n this.h_companies=false;\r\n }\r\n }\r\n }\r\n businessEntityById(val):string{\r\n for(let v of this.businessEntityTypeList){\r\n if(val==v.business_entity_type_id){\r\n var name=v.business_entity_type_name\r\n return name\r\n }\r\n }\r\n \r\n }\r\n \r\n\r\n initIndividuals(data):void{\r\n \r\n const control=this.generalForm.controls['individuals'];\r\n control.controls=[]\r\n if(data==null){\r\n let formData : FormGroup=this.fb.group({\r\n applicant_name:['',Validators.required],\r\n is_person_met:false,\r\n is_applicant:false,\r\n age:['',Validators.required],\r\n qualification:['',Validators.required],\r\n course_name:[''],\r\n applicant_title_name:['']\r\n\r\n });\r\n control.push(formData);\r\n }\r\n else{\r\n let formData : FormGroup=this.fb.group({\r\n \r\n \r\n applicant_name:[data.applicant_name,Validators.required],\r\n is_person_met:data.is_person_met,\r\n is_applicant:data.is_applicant,\r\n age:[data.age,Validators.required],\r\n qualification:[data.qualification,Validators.required],\r\n course_name:[data.course_name],\r\n applicant_title_name:[data.applicant_title_name]\r\n \r\n \r\n });\r\n this.buttonClick=!this.buttonClick;\r\n control.push(formData);\r\n\r\n }\r\n \r\n \r\n \r\n \r\n }\r\n initCompanies(data):void{\r\n const control=this.generalForm.controls['companies'];\r\n control.controls=[]\r\n if(data == null){\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[''],\r\n is_company_applicant:false,\r\n business_entity_type:[''],\r\n business_entity_type_other:[''],\r\n business_years:[''],\r\n business_month:[''],\r\n business_date_object:['']\r\n });\r\n control.controls=[]\r\n control.push(formData)\r\n \r\n }\r\n else{\r\n let formData:FormGroup=this.fb.group({\r\n company_name:[data.company_name],\r\n is_company_applicant:data.is_company_applicant,\r\n business_entity_type:[data.business_entity_type],\r\n business_entity_type_other:[data.business_entity_type_other],\r\n business_years:[data.business_years],\r\n business_month:[data.business_month],\r\n business_date_object:[data.business_date_object]\r\n })\r\n this.h_companies=!this.h_companies\r\n \r\n control.push(formData)\r\n }\r\n }\r\n initPersonRelationship(value):void{\r\n const control=this.generalForm.controls['persons_with_relationships'];\r\n if(value=='')\r\n {\r\n \r\n let formData:FormGroup=this.fb.group({\r\n pd_co_applicant_id:[''],\r\n applicant_name:[''],\r\n relationship:[''],\r\n relation_to:[''],\r\n individuals_order_id:[control.length+1],\r\n \r\n });\r\n \r\n control.push(formData);\r\n }\r\n else{\r\n for(let val of value)\r\n {\r\n let formData:FormGroup=this.fb.group({\r\n pd_co_applicant_id:[val.pd_co_applicant_id],\r\n applicant_name:[val.applicant_name],\r\n relationship:[val.relationship],\r\n relation_to:[val.relation_to],\r\n });\r\n \r\n control.push(formData);\r\n }\r\n }\r\n \r\n }\r\n initCompanyRelationShip(value):void{\r\n if(value=='')\r\n {\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[''],\r\n company_relationship:[''],\r\n relation_to_company:[''],\r\n });\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.push(formData);\r\n }\r\n else{\r\n for(let val of value){\r\n let formData:FormGroup=this.fb.group({\r\n applicant_name:[val.applicant_name],\r\n company_relationship:[val.company_relationship],\r\n relation_to_company:[val.relation_to_company],\r\n });\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.push(formData);\r\n }\r\n }\r\n \r\n }\r\n\r\n \r\n \r\n add():void{\r\n \r\n this.initIndividuals(null);\r\n }\r\ndata:any;\r\ncart=[];\r\ndatajson:any;\r\ndataobj:any;\r\n\r\n addRec(v){\r\n if(v=='1')\r\n {\r\n this.addIndi=true;\r\n this.buttonClick=!this.buttonClick;\r\n this.initIndividuals(null);\r\n }\r\n if(v=='2')\r\n {\r\n console.log(\"companies\",this.h_companies);\r\n this.addComp=true\r\n // this.h_companies=true;\r\n this.h_companies=!this.h_companies;\r\n console.log(\"companies\",this.h_companies);\r\n this.initCompanies(null);\r\n }\r\n }\r\n editIndividuals(index){\r\n let values=this.generalForm.controls.list_value.value[index]\r\n console.log(values)\r\n this.addIndi=false\r\n this.updateIndex_indi=index;\r\n this.initIndividuals(values);\r\n // this.nameField.nativeElement.focus();\r\n\r\n }\r\n editCompanies(index){\r\n console.log(\"index\",index);\r\n let values=this.generalForm.controls.company_value.value[index]\r\n console.log(values)\r\n this.updateIndex_comp=index\r\n this.addComp=false\r\n //this.\r\n this.initCompanies(values)\r\n }\r\n update(v){\r\n console.log(\"index\",v)\r\n if(v=='1'){\r\n if(!this.generalForm.controls['individuals'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory fields Marked with '*'\");\r\n }\r\n else{\r\n let val=this.generalForm.controls.individuals.value[0]\r\n let old=this.generalForm.controls.list_value.value[this.updateIndex_indi]\r\n // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi)\r\n // const control=this.list_value\r\n var c_qualification_name=this.qualificationById(val.qualification) \r\n const control=this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]\r\n control.patchValue({\r\n \r\n applicant_title_name:val.applicant_title_name,\r\n applicant_name:val.applicant_name,\r\n is_person_met:val.is_person_met,\r\n is_applicant:val.is_applicant,\r\n age:val.age,\r\n qualification:val.qualification,\r\n course_name:val.course_name,\r\n \r\n individuals_order_id:old.individuals_order_id,\r\n is_new:old.is_new,\r\n is_active:old.is_active,\r\n pd_co_applicant_id:old.pd_co_applicant_id, \r\n \r\n qualification_name:c_qualification_name\r\n });\r\n this.buttonClick=false;\r\n console.log(this.generalForm.controls.list_value['controls'])\r\n // this.generalForm.controls.list_value.value.scrollToTop();\r\n // this.generalForm.controls['list_value']._scrollContent;\r\n //this.myinput._scrollContent();\r\n \r\n \r\n console.log(\"values\",val)\r\n console.log(\"old\",old);\r\n console.log(control);\r\n \r\n }\r\n }\r\n else if(v=='2'){\r\n if(!this.generalForm.controls['companies'].valid)\r\n {\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory Fields Marked with '*\")\r\n }\r\n else{\r\n let val=this.generalForm.controls.companies.value[0]\r\n var c_business_name=this.businessEntityById(val.business_entity_type)\r\n const control=this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]\r\n control.patchValue({\r\n company_name:val.company_name,\r\n // company_order_id:[control.length+1],\r\n is_company_applicant:val.is_company_applicant,\r\n business_entity_type:val.business_entity_type,\r\n business_entity_type_other:val.business_entity_type_other,\r\n // is_new:true,\r\n // is_active:true,\r\n //company_messrs_name:['M/s'],\r\n \r\n business_years:val.business_years,\r\n business_month:val.business_month,\r\n business_date_object:val.business_date_object,\r\n\r\n business_entity_type_name:c_business_name\r\n })\r\n this.h_companies=false\r\n console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp])\r\n }\r\n }\r\n \r\n\r\n }\r\n \r\n delete(v):void{\r\n // const control=this.generalForm.controls['individuals'];\r\n //control.removeAt(i);\r\n //this.data=this.generalForm.value.individuals;\r\n this.cart.push(this.generalForm.value.individuals);\r\n this.data=Object.assign(this.cart);\r\n // this.data=Object.assign(this.generalForm.value.individuals)\r\n this.datajson=JSON.stringify(this.cart)\r\n if(v=='1')\r\n {\r\n if(!this.generalForm.controls['individuals'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n this.initlistv(this.generalForm.value.individuals,'ins')\r\n this.initPersonRelationship('');\r\n }\r\n }\r\n else if(v=='2')\r\n {\r\n if(!this.generalForm.controls['companies'].valid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all Mandatory field Marked with '*'\");\r\n }\r\n else{\r\n this.initCompanyValue(this.generalForm.value.companies,'ins')\r\n }\r\n }\r\n \r\n }\r\n removeList(i,index){\r\n if(index=='1')\r\n {\r\n //For List List_value(Individuals)\r\n const control=this.generalForm.controls['list_value'];\r\n control.value[i].is_active=false;\r\n this.OldData_indi.push(control.value[i])\r\n control.removeAt(i);\r\n //For Person RelationShip auto Delete\r\n const control1=this.generalForm.controls['persons_with_relationships'];\r\n control1.removeAt(i);\r\n \r\n }\r\n if(index==2){\r\n //For Company_values(Companies)\r\n const control=this.generalForm.controls['company_value']\r\n control.value[i].is_active=false\r\n var vla=control.value[i]\r\n this.OldData.push(vla);\r\n control.removeAt(i);\r\n \r\n\r\n // let control: any = this.generalForm.get('companies') as FormArray;\r\n //this.generalForm.controls['companies']\r\n //control.controls['is_active'].setValue(false);\r\n //control.controls[i].clearValidators();\r\n //control.controls[i].updateValueAndValidity();\r\n //control.clear\r\n // control.controls[i].is_active.setValue(false);\r\n /* control.controls[i].controls.company_name.clearValidators();\r\n control.controls[i].controls.company_name.updateValueAndValidity();\r\n control.controls[i].controls.business_years.clearValidators();\r\n control.controls[i].controls.business_years.updateValueAndValidity();\r\n control.controls[i].controls.business_entity_type.clearValidators();\r\n control.controls[i].controls.business_entity_type.updateValueAndValidity();*/\r\n }\r\n if(index==\"companyrel\")\r\n {\r\n //For company_relationship\r\n const control=this.generalForm.controls['company_with_relationships'];\r\n control.removeAt(i);\r\n }\r\n }\r\n \r\n \r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(res=>{\r\n if(res['dataStatus']==true)\r\n {\r\n this.qualificationList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(res=>{\r\n this.businessEntityTypeList=res['records'].filter(com=>com.isactive==1);\r\n });\r\n\r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.relationShipList = res['records'].filter(rel=>rel.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.companyRelationShipList = res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n this.qustCat.getcommondrop('TITLES').subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.titleList=res['records'].filter(com=>com.isactive==1);\r\n }\r\n });\r\n \r\n }\r\n\r\n getcoapplicantDetails(checkApplicantExist,exist_applicant_relation)\r\n {\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n \r\n \r\n if(checkApplicantExist.length > 0)\r\n {\r\n checkApplicantExist.forEach(val => {\r\n applicantControl.push(this.createApplicant(val));\r\n });\r\n \r\n }\r\n if(exist_applicant_relation.length > 0){\r\n exist_applicant_relation.forEach(val => {\r\n relationControl.push(this.createApplicantRelation(val));\r\n //push related to details\r\n this.fetch_related_details.push(val.applicant_name);\r\n });\r\n }\r\n }\r\n\r\n createApplicant(elementValue:any){\r\n return this.fb.group({\r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name],\r\n company_name: [elementValue.company_name],\r\n exist_status:[elementValue.exist_status==1 && elementValue.pd_co_applicant_id > 0 ? true : false],\r\n });\r\n }\r\n\r\n coapplicantChange(event,index,item)\r\n {\r\n \r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n \r\n if(item.exist_status.value)\r\n {\r\n if(item.pd_co_applicant_id.value==0){\r\n let modal = this.modal.create(PdQuestionGeneralOtherApplicantPage);\r\n modal.onDidDismiss(data => {\r\n if(data!=1){\r\n data.otherName.forEach(val=>\r\n {\r\n\r\n let applicant_details: any= {'pd_co_applicant_id':val.pd_co_applicant_id,'applicant_name':val.applicant_name,'applicant_relation_to':'','relation':'','company_name':'','company_relation':''};\r\n relationControl.push(this.createApplicantRelation(applicant_details));\r\n // push related to details\r\n this.fetch_related_details.push(val.applicant_name);\r\n });\r\n }else\r\n {\r\n applicantControl.at(index).get('exist_status').setValue(false);\r\n \r\n \r\n }\r\n });\r\n modal.present();\r\n }else\r\n {\r\n \r\n let applicant_details: any= {'pd_co_applicant_id':item.pd_co_applicant_id.value,'applicant_name':item.applicant_name.value,'applicant_relation_to':'','relation':'','company_name':item.company_name.value,'company_relation':''};\r\n relationControl.push(this.createApplicantRelation(applicant_details));\r\n // push related to details\r\n this.fetch_related_details.push(item.applicant_name.value);\r\n }\r\n }\r\n else\r\n {\r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n let pos_id = relationControl.value.map(e=> \r\n e.pd_co_applicant_id).indexOf(item.pd_co_applicant_id.value);\r\n if(item.pd_co_applicant_id.value !=0){\r\n relationControl.removeAt(pos_id);\r\n let pos_name=this.fetch_related_details.indexOf(item.applicant_name.value);\r\n this.fetch_related_details.splice(pos_name, 1); \r\n }else\r\n {\r\n applicantControl.at(index).get('exist_status').setValue(false);\r\n \r\n }\r\n // remove related to details\r\n \r\n }\r\n\r\n }\r\n\r\n createApplicantRelation(elementValue: any) {\r\n return this.fb.group({\r\n \r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name],\r\n company_name: [elementValue.company_name,elementValue.company_name ? Validators.required : Validators.nullValidator],\r\n company_relationship: [elementValue.company_relationship],\r\n applicant_relation_to: [elementValue.applicant_relation_to, Validators.required],\r\n relationship: [elementValue.relationship],\r\n });\r\n }\r\n // temparr=[];\r\n removereferance(index)\r\n {\r\n \r\n let relationControl = this.generalForm.controls['applicant_relation'];\r\n \r\n \r\n \r\n \r\n relationControl.removeAt(index);\r\n // this.temparr = [];\r\n \r\n }\r\n // createApplicateOthers()\r\n // {\r\n // return this.fb.group(\r\n // {\r\n // Name:\r\n // })\r\n // }\r\n ConvertMonthintoYearforBusiness(e,controlIndex,flag){\r\n \r\n\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\nif(flag==1){\r\n let control: any = this.generalForm.get('companies') as FormArray;\r\n control = control.controls[controlIndex];\r\n let business_year = control.controls.business_years.value;\r\n control.controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n control.controls.business_month.setValue(Math.floor(converted_month));\r\n }\r\n else if(flag==2){\r\n let ri_year = this.generalForm.controls.rental_income_rcv_in_years.value;\r\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year));\r\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month));\r\n }\r\n}\r\ngetDateObjects(values: any, controlIndex) {\r\n let control: any = this.generalForm.get('companies') as FormArray;\r\n control.controls['business_years']=''\r\n control.controls['business_month']=''\r\n control = control.controls[controlIndex];\r\n let pd_initiation_date:string = this.pdDetails.pd_date_of_initiation.split('/').reverse().join(\"/\");\r\n let selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); ;\r\n let diffInMs: number = Date.parse(pd_initiation_date) - Date.parse(selected_date);\r\n let diff: number = Math.floor(diffInMs / 1000);\r\n diff /= (60 * 60 * 24 * 30);\r\n diff=Math.abs(Math.round(diff));\r\n control.controls['business_years'].setValue(0);\r\n control.controls['business_month'].setValue(0);\r\n \r\n if(diff){\r\n control.controls['business_years'].setValue(Math.floor(diff / 12));\r\n control.controls['business_month'].setValue(Math.floor(diff % 12));\r\n }\r\n\r\n}\r\ntemp: number = 0;\r\n\r\n submitData(answerData)\r\n {\r\nconsole.log('1)',this.temp);\r\n let saveRecords:any={}\r\n var valuesData_indi:any=[]\r\n\r\n var valuesData:any=[]\r\n var existData_indi=Object.keys(answerData.list_value).map(function(key){\r\n return answerData.list_value[key]\r\n })\r\n existData_indi.forEach((element)=>{\r\n valuesData_indi.push(element)\r\n })\r\n if(this.OldData_indi.length>0){\r\n this.OldData_indi.forEach((element)=>{\r\n valuesData_indi.push(element)\r\n })\r\n }\r\n\r\n var existData=Object.keys(answerData.company_value).map(function(key){\r\n return answerData.company_value[key]\r\n })\r\n existData.forEach((element)=>{\r\n valuesData.push(element)\r\n })\r\n if(this.OldData.length>0){\r\n this.OldData.forEach((element)=>{\r\n valuesData.push(element)\r\n })\r\n }\r\n \r\n if (valuesData_indi.length > 0) {\r\n console.log('2)',this.temp);\r\n valuesData_indi.forEach((val, index) => {\r\n if (val.is_person_met == false) {\r\n this.temp++;\r\n }\r\n console.log('3)',this.temp);\r\n });\r\n console.log('4)',this.temp,'length',valuesData_indi.length);\r\n if (this.temp == valuesData_indi.length) {\r\n console.log('5)',this.temp);\r\n this.toast.pdTriggerappmessage('Please Choose Name of Person Met.!');\r\n this.temp = 0;\r\n console.log('6)',this.temp);\r\n return;\r\n }\r\n }\r\n\r\n saveRecords.individuals=valuesData_indi;\r\n saveRecords.companies=valuesData\r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.fk_createdby=this.users;\r\n \r\n \r\n saveRecords.persons_with_relationships=answerData.persons_with_relationships;\r\n saveRecords.company_with_relationships=answerData.company_with_relationships\r\n saveRecords.general_remark=answerData.general_remark;\r\n \r\n \r\n \r\n \r\n this.qustCat.saveForm(saveRecords).subscribe(dataResult=>{\r\n if(dataResult['dataStatus']==true){\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },3000);\r\n \r\n\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage('Error');\r\n }\r\n })\r\n \r\n /* Old Data\r\n if(this.generalForm.valid)\r\n {\r\n let saveRecords:any = {}\r\n let applicantList:any=[];\r\n let applicantRelationList:any=[];\r\n // this for applicant list for selected\r\n answerData.applicant_list.forEach((element,key) => {\r\n if(element.exist_status==1){\r\n applicantList.push({\r\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\r\n \"applicant_name\":element.applicant_name,\r\n }) \r\n }\r\n });\r\n // this is for selected applicant relation \r\n answerData.applicant_relation.forEach((element,key) => {\r\n applicantRelationList.push({\r\n \"pd_co_applicant_id\":element.pd_co_applicant_id,\r\n \"applicant_name\":element.applicant_name,\r\n \"company_name\":element.company_name,\r\n \"company_relationship\":element.company_relationship,\r\n \"applicant_relation_to\":element.applicant_relation_to,\r\n \"relationship\":element.relationship,\r\n }) \r\n });\r\n \r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n saveRecords.general_remark=answerData.general_remark;\r\n saveRecords.selected_applicant=applicantList;\r\n saveRecords.applicant_relation=applicantRelationList;\r\n saveRecords.fk_createdby = this.users;\r\n this.qustCat.saveForm(saveRecords).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n this.navCtrl.pop();\r\n } \r\n })\r\n }*/\r\n }\r\n\r\n getGeneralForm()\r\n {\r\n let records={'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>{\r\n this.data_all=res['records'];\r\n let exist_companies:any;\r\n let exist_company_with_relationship:any;\r\n let companyControl = this.generalForm.get('company_value') as FormArray;\r\n companyControl.controls=[]\r\n this.lengthv=this.data_all;\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n \r\n this.generalForm.controls['general_remark'].setValue(this.data_all.general_remark);\r\n //\r\n\r\n var arrlist_indi:any=[] \r\n var exist_individuals=Object.keys(res['records'].individuals).map(function(key){\r\n return res['records'].individuals[key];\r\n }) \r\n if(exist_individuals.length>0){\r\n exist_individuals.forEach((element)=>{\r\n if(element.is_active != false){\r\n arrlist_indi.push(element);\r\n }\r\n else{\r\n this.OldData_indi.push(element)\r\n }\r\n })\r\n }\r\n this.initlistv(arrlist_indi,'get')\r\n \r\n \r\n if(this.data_all.persons_with_relationships != ''){\r\n this.initPersonRelationship(this.data_all.persons_with_relationships);\r\n }\r\n //Create Company with Relationship\r\n exist_company_with_relationship=Object.keys(res['records'].company_with_relationships).map(function(key){\r\n return res['records'].company_with_relationships[key];\r\n })\r\n \r\n if(this.customer_segment_abbr !='SE-RI')\r\n {\r\n if(exist_company_with_relationship.length>0){\r\n exist_company_with_relationship.forEach(key=>{\r\n this.initCompanyRelationShip(key)\r\n })\r\n }\r\n else if(exist_company_with_relationship.length==0){\r\n this.initCompanyRelationShip('');\r\n }\r\n //create Companies\r\n exist_companies=Object.keys(res['records'].companies).map(function(key){\r\n return res['records'].companies[key];\r\n })\r\n var arraylis:any=[]\r\n if(exist_companies.length>0){\r\n exist_companies.forEach((element,cindex)=>{\r\n if(element.is_active!=false){\r\n arraylis.push(element);\r\n }\r\n else{\r\n this.OldData.push(element);\r\n }\r\n })\r\n \r\n }\r\n this.initCompanyValue(arraylis,'get');\r\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(null);\r\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(null);\r\n }\r\n else if(this.customer_segment_abbr == 'SE-RI'){\r\n this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years:'');\r\n this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month:'');\r\n\r\n }\r\n\r\n // var arraylis:any=[]\r\n \r\n \r\n // if(exist_companies.length>0){\r\n // exist_companies.forEach((element,cindex)=>{\r\n // if(element.is_active!=false){\r\n // arraylis.push(element);\r\n // }\r\n // else{\r\n // this.OldData.push(element);\r\n // }\r\n // })\r\n \r\n // }\r\n // this.initCompanyValue(arraylis,'get');\r\n \r\n \r\n\r\n // if(this.data_all.company_with_relationships != ''){\r\n // this.initCompanyRelationShip(this.data_all.company_with_relationships);\r\n // }\r\n \r\n }\r\n else{\r\n console.log(\"Else data\",this.pd_applicants_details)\r\n this.pd_applicants_details.forEach((datas,index)=>{\r\n datas.is_applicant=true,\r\n datas.is_person_met = false;\r\n datas.is_new = false;\r\n datas.is_main_applicant = datas.applicant_type == '1' ? true : false;\r\n datas.is_active = true;\r\n datas.individuals_order_id = index + 1;\r\n // company_order_id = index+1,\r\n datas.age = '',\r\n datas.qualification = '',\r\n datas.course_name = ''\r\n if (datas.company_name != '' && datas.company_name != null) {\r\n console.log(\"company\");\r\n let setCompanyValues: any = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true }\r\n companyControl.push(this.createCompanies(setCompanyValues))\r\n }\r\n });\r\n \r\n // this.lengthv.push(\"individuals\")\r\n // this.lengthv.push(\"companies\")\r\n // this.lengthv.push('persons_with_relationships')\r\n //this.lengthv.push(\"\")\r\n console.log(\"applicant\",this.lengthv)\r\n this.initlistv(this.pd_applicants_details,'get');\r\n this.initPersonRelationship(this.pd_applicants_details)\r\n // this.initCompanyValue(this.pd_applicants_details,'get');\r\n this.initCompanyRelationShip('')\r\n\r\n }\r\n })\r\n /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\r\n \r\n let generalDetails = res['records'];\r\n this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark);\r\n\r\n let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key)\r\n {\r\n return res['records'].applicant_relation[key];\r\n });\r\n\r\n let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key)\r\n {\r\n return res['records'].selected_applicant[key].pd_co_applicant_id;\r\n });\r\n let applicantControl = this.generalForm.controls['applicant_list'];\r\n \r\n let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id);\r\n let checkApplicantExist =actual_applicant.map((id, index) => {\r\n if (selected_applicant.indexOf(id) < 0) {\r\n this.pd_applicants_details[index].exist_status=0;\r\n return this.pd_applicants_details[index];\r\n }\r\n else{\r\n this.pd_applicants_details[index].exist_status=1;\r\n this.pd_applicants_details[index].applicant_relation_to='';\r\n this.pd_applicants_details[index].relation='';\r\n return this.pd_applicants_details[index];\r\n }\r\n }).filter(item => item != undefined);\r\n this.getcoapplicantDetails(checkApplicantExist,applicant_relation);\r\n }else\r\n {\r\n this.pd_applicants_details.push({'pd_co_applicant_id':\"0\",'applicant_name':'Others'});\r\n \r\n }\r\n })*/\r\n }\r\n createCompanies(elementValue:any) {\r\n var name=this.businessEntityById(elementValue.business_entity_type)\r\n return this.fb.group({\r\n company_order_id: [elementValue.company_order_id],\r\n company_name: [elementValue.company_name,],\r\n company_messrs_name: ['M/s'],\r\n is_company_applicant:[elementValue.is_company_applicant],\r\n business_entity_type :[elementValue.business_entity_type,Validators.required],\r\n business_years: [elementValue.business_years, Validators.required],\r\n business_month: [elementValue.business_month],\r\n business_date_object: [elementValue.business_date_object],\r\n is_active: [elementValue.is_active],\r\n is_new:[elementValue.is_new],\r\n business_entity_type_name:[name]\r\n \r\n });\r\n }\r\n \r\n \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams,ViewController } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,FormArray, Validators } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionGeneralOtherApplicantPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-general-other-applicant',\r\n templateUrl: 'pd-question-general-other-applicant.html',\r\n})\r\nexport class PdQuestionGeneralOtherApplicantPage {\r\n otherForm:FormGroup;\r\napplicantInfo:any={'pd_co_applicant_id':\"0\",'applicant_name':'','company_name':''};\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder,public viewCtrl:ViewController) {\r\n this.otherForm = this.fb.group(\r\n {\r\n otherName:this.fb.array([]),\r\n })\r\n this.addmore();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage');\r\n }\r\n\r\n createName(elementValue:any)\r\n {\r\n return this.fb.group(\r\n {\r\n pd_co_applicant_id: [elementValue.pd_co_applicant_id],\r\n applicant_name: [elementValue.applicant_name, Validators.required],\r\n })\r\n }\r\n\r\n addmore()\r\n {\r\n if(this.otherForm.valid)\r\n {\r\n const control = this.otherForm.controls['otherName'];\r\n control.push(this.createName(this.applicantInfo));\r\n }\r\n }\r\n\r\n deleteappdata(index)\r\n {\r\n const control = this.otherForm.controls['otherName'];\r\n if(control.length==1){\r\n control.reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n }\r\n\r\n closeModal(){\r\n this.viewCtrl.dismiss(1); \r\n }\r\n submitData(answerData)\r\n {\r\n if(this.otherForm.valid){\r\n this.viewCtrl.dismiss(this.otherForm.value);\r\n }\r\n }\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant.ts","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n/**\r\n * Generated class for the PdPipe pipe.\r\n *\r\n * See https://angular.io/api/core/Pipe for more info on Angular Pipes.\r\n */\r\n@Pipe({\r\n name: 'pdPipe',\r\n})\r\nexport class PdPipe implements PipeTransform {\r\n /**\r\n * Takes a value and makes it lowercase.\r\n */\r\n transform(value: any, searchItem:any):any {\r\n let findExistIndex = searchItem.existRelationList.filter(sVal=>sVal.relation_to==searchItem.currentApplicantID);\r\n if(findExistIndex.length>0){\r\n let check = value.filter(function(fVal){\r\n return !findExistIndex.some(function(sVal){\r\n return fVal.pd_co_applicant_id==searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id;\r\n });\r\n })\r\n return check;\r\n }\r\n else {\r\n return value.filter(fVal=>fVal.pd_co_applicant_id!=searchItem.currentApplicantID);\r\n }\r\n \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pipes/pd/pd.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\nimport { FormGroup, FormBuilder,FormArray,Validators,FormControl} from '@angular/forms';\r\nimport { ConstantsProvider } from '../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionNeighbourHoodPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-neighbour-hood',\r\n templateUrl: 'pd-question-neighbour-hood.html',\r\n})\r\nexport class PdQuestionNeighbourHoodPage {\r\n\r\n frequency: any;\r\n relationBusiness: any;\r\n users: any;\r\n FormId: any;\r\n pdDetails: any;\r\n neighbourhoodForm:FormGroup;\r\n check_type:any=[{'id':0,'type_name':'Neighbourhood'},{'id':1,'type_name':'Reference Check'}]\r\n finalRemarksList : any = [{'id': 1,'name': \"Positive\"},\r\n {'id': 2,'name': \"Negative\"},\r\n {'id': 3,'name': \"Insufficient information provided\"}];\r\n\r\n // amtInWords:any=[];\r\n applicants:any;\r\n isDisplay:any = [];\r\n isDisplay2:any = [];\r\n existCompanyList: any=[];\r\n mergeCompanyApplicant: any=[];\r\n isOrganisationOwner: any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider,public fb:FormBuilder, public constant: ConstantsProvider) {\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2);\r\n this.applicants.push({'pd_co_applicant_id': 0,'applicant_name': \"Others\"})\r\n this.neighbourhoodForm = this.fb.group(\r\n {\r\n pdid:this.pdDetails.pd_id,\r\n formid:this.FormId.form_id,\r\n check_type:0,\r\n neighbourhood_list: this.fb.array([]),\r\n neighbourhood_status:[''],\r\n referencecheck_list: this.fb.array([]),\r\n neighbour_reference_remark:'' \r\n })\r\n this.users = this.aws.getlocale();\r\n \r\n \r\n this.getdropdown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionNeighbourHoodPage');\r\n this.getneighbourhood();\r\n }\r\n\r\n getdropdown()\r\n {\r\n this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.relationBusiness = res['records'].filter(rel=>rel.isactive==1);\r\n }\r\n });\r\n this.qustCat.getcommondrop('FREQUENCY').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.frequency = res['records'].filter(frq=>frq.isactive==1);\r\n }\r\n })\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(res=>{\r\n if(res.dataStatus==true){\r\n this.existCompanyList=res.records.filter(val=>val.is_active == true)\r\n console.log(this.existCompanyList)\r\n }\r\n let modifyCompanyList:any=[]\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList=this.existCompanyList.map(element=>{\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName: 'COMPANIES', groupValues: modifyCompanyList })\r\n \r\n }\r\n let modifyApplicantList:any=[]\r\n if(this.applicants.length>0){\r\n modifyApplicantList=this.applicants.map(element=>{\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n })\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n console.log(\"company&Applicant\",this.mergeCompanyApplicant)\r\n })\r\n }\r\n inWords(val,i)\r\n {\r\n // this.amtInWords[i]=this.constant.convertNumberToWords(val.target.value)\r\n }\r\n keyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e,flag){\r\n if(flag == 2){\r\n\r\n let year = itemrow.controls.year_relation_applicant.value;\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month));\r\n }\r\n else if(flag == 1){\r\n \r\n let year = itemrow.controls.how_long_do_know_in_year.value;\r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month));\r\n }\r\n}\r\n\r\ntoggleVisibility(e,index,flag){ \r\n let val\r\n \r\n if(flag == 1){\r\n this.isDisplay[index] = e;\r\n }\r\n else if(flag==2){\r\n this.isDisplay2[index] = e;\r\n }\r\n}\r\n\r\ncheckOthers(values){\r\n if(values!=null) {\r\n return values==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n}\r\ncompareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n}\r\n\r\n\r\ngetOtherOrganisationOwner(value,i) {\r\n //console.log('value',value,'I',i);\r\nlet Ctrls = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n //console.log('ParCtrls',Ctrls);\r\nlet ChdCtrls:any = Ctrls.controls[i];\r\n // console.log('ChdCtrls',ChdCtrls);\r\n // return;\r\n\r\n\r\nlet Avaliablity = 1;\r\nconsole.log('val',value);\r\nif(value.length>0){\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n}\r\nif(Avaliablity == 0){\r\n// console.log('if Avaliablity',Avaliablity);\r\n\r\n ChdCtrls.controls.other_organisation_owner.setValidators([Validators.required]);\r\n this.isOrganisationOwner[i] = true;\r\n}else if(Avaliablity == 1){\r\n// console.log('else Avaliablity',Avaliablity);\r\n// console.log('esle this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n ChdCtrls.controls.other_organisation_owner.setValue('');\r\n ChdCtrls.controls.other_organisation_owner.clearValidators();\r\n this.isOrganisationOwner[i] = false;\r\n// console.log('else this.isOrganisationOwner[ParInx]',this.isOrganisationOwner[i]);\r\n}\r\n \r\nChdCtrls.controls.other_organisation_owner.updateValueAndValidity(); \r\n}\r\n createreferance()\r\n {\r\n return this.fb.group({\r\n reference_name: [null],\r\n mobile: ['',Validators.compose([Validators.minLength(10),Validators.maxLength(10)])],\r\n statecode:[null],\r\n landline: [null],\r\n location:[null],\r\n relationship_with:[null],\r\n others:[null],\r\n year_relation_applicant:[null],\r\n months_relation_applicant:[null],\r\n business_volume_amount:[null],\r\n business_volume_unit:[null],\r\n others_unit:[null],\r\n reference_final_remarks:[null],\r\n specify_final_remark:[null]\r\n });\r\n }\r\n addreferance()\r\n {\r\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\r\n control.push(this.createreferance());\r\n }\r\n\r\n removereferance(i)\r\n {\r\n const control = this.neighbourhoodForm.controls['referencecheck_list'];\r\n if(control.length==1)\r\n {\r\n control.reset();\r\n }else{\r\n control.removeAt(i);\r\n }\r\n }\r\n\r\n createNeighbourhood(){\r\n return this.fb.group({\r\n neighbourhood_name: [null],\r\n do_know: [''],\r\n \r\n how_long_do_know_in_year: [''],\r\n how_long_do_know_in_month:[''],\r\n organisation_owner: [''],\r\n is_applicant_owner:[''],\r\n other_organisation_owner:[''],\r\n did_not_know_the_business_operation:[''],\r\n did_not_know_the_owner:[''],\r\n });\r\n }\r\n\r\n addneighbourhood()\r\n {\r\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n control.push(this.createNeighbourhood());\r\n }\r\n\r\n removeneighbourhood(i)\r\n {\r\n const control = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n if(control.length==1)\r\n {\r\n control.reset();\r\n }else{\r\n control.removeAt(i);\r\n }\r\n }\r\n\r\n submitData(answerData)\r\n {\r\n \r\n const neighbourhoodControl : FormGroup = this.neighbourhoodForm.controls['neighbourhood_list'] as FormGroup;\r\n let NbhdCtrlLength: any = neighbourhoodControl.controls.length;\r\n if (NbhdCtrlLength > 0) {\r\n let Ncnt = 0;\r\n while(Ncnt < NbhdCtrlLength){\r\n\r\n let nbhdChildCtrl : any = neighbourhoodControl.controls[Ncnt]; \r\n\r\n nbhdChildCtrl.controls['neighbourhood_name'].setValidators([Validators.required]);\r\n nbhdChildCtrl.controls['neighbourhood_name'].updateValueAndValidity();\r\n\r\n nbhdChildCtrl.controls['do_know'].setValidators([Validators.required]);\r\n nbhdChildCtrl.controls['do_know'].updateValueAndValidity();\r\n if(nbhdChildCtrl.controls.do_know.value != ''){\r\n // console.log('nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\r\n if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == '' || nbhdChildCtrl.controls.did_not_know_the_business_operation.value == false){\r\n // console.log('IF nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\r\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].setValidators([Validators.required]);\r\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValidators([Validators.required]);\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \r\n }\r\n else if(nbhdChildCtrl.controls.did_not_know_the_business_operation.value == true){\r\n // console.log('ELSE nbhdChildCtrl.controls.did_not_know_the_business_operation.value',nbhdChildCtrl.controls.did_not_know_the_business_operation.value)\r\n nbhdChildCtrl.controls['how_long_do_know_in_month'].setValue('');\r\n // nbhdChildCtrl.controls['how_long_do_know_in_month'].clearValidators();\r\n nbhdChildCtrl.controls['how_long_do_know_in_month'].updateValueAndValidity();\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].setValue('');\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].clearValidators();\r\n nbhdChildCtrl.controls['how_long_do_know_in_year'].updateValueAndValidity(); \r\n }\r\n\r\n if(nbhdChildCtrl.controls.did_not_know_the_owner.value == '' || nbhdChildCtrl.controls.did_not_know_the_owner.value == false){\r\n nbhdChildCtrl.controls['organisation_owner'].setValidators([Validators.required]);\r\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\r\n }\r\n else if(nbhdChildCtrl.controls.did_not_know_the_owner.value == true){\r\n nbhdChildCtrl.controls['organisation_owner'].setValue('');\r\n nbhdChildCtrl.controls['organisation_owner'].clearValidators();\r\n nbhdChildCtrl.controls['organisation_owner'].updateValueAndValidity();\r\n }\r\n }\r\n Ncnt++;\r\n }\r\n this.neighbourhoodForm.controls.neighbourhood_status.setValidators([Validators.required]);\r\n this.neighbourhoodForm.controls.neighbourhood_status.updateValueAndValidity();\r\n }\r\n\r\n\r\n if (this.neighbourhoodForm.invalid) {\r\n // this.validateAllFormFields(this._neighbourhoodForm);\r\n this.toast.pdTriggerappmessage('Please Fill All Mandatory Fields.!');\r\n return;\r\n }\r\n \r\n let saveRecords:any = {}\r\n let referencecheck_list:any=[];\r\n let neighbourhood_list:any=[];\r\n // if(answerData.check_type==0){\r\n answerData.neighbourhood_list.forEach((element,key) => {\r\n neighbourhood_list.push({\r\n \"neighbourhood_name\":element.neighbourhood_name,\r\n \"do_know\":element.do_know,\r\n \"how_long_do_know_in_year\":element.how_long_do_know_in_year,\r\n \"how_long_do_know_in_month\":element.how_long_do_know_in_month,\r\n \"is_applicant_owner\":element.is_applicant_owner,\r\n \"organisation_owner\":element.organisation_owner,\r\n \"other_organisation_owner\":element.other_organisation_owner,\r\n \"did_not_know_the_business_operation\":element.did_not_know_the_business_operation,\r\n \"did_not_know_the_owner\":element.did_not_know_the_owner\r\n }) \r\n });\r\n saveRecords.neighbourhood_list=neighbourhood_list;\r\n \r\n // }\r\n // else{\r\n // this for referencecheck_list for selected\r\n answerData.referencecheck_list.forEach((element,key) => {\r\n referencecheck_list.push({\r\n \"reference_name\":element.reference_name,\r\n \"mobile\":element.mobile,\r\n \"landline\":element.statecode+'-'+element.landline,\r\n \"location\":element.location,\r\n \"relationship_with\":element.relationship_with,\r\n \"others\":element.others,\r\n \"year_relation_applicant\":element.year_relation_applicant,\r\n \"months_relation_applicant\":element.months_relation_applicant,\r\n \"business_volume_amount\":element.business_volume_amount,\r\n \"business_volume_unit\":element.business_volume_unit,\r\n \"others_unit\":element.others_unit,\r\n \"reference_final_remarks\":element.reference_final_remarks,\r\n \"specify_final_remark\":element.specify_final_remark\r\n }) \r\n });\r\n saveRecords.referencecheck_list=referencecheck_list;\r\n \r\n // }\r\n saveRecords.pdid=answerData.pdid;\r\n saveRecords.formid=answerData.formid;\r\n // saveRecords.check_type=answerData.check_type;\r\n saveRecords.fk_createdby = this.users;\r\n saveRecords.neighbourhood_status=answerData.neighbourhood_status\r\n saveRecords.neighbour_reference_remark=answerData.neighbour_reference_remark;\r\n\r\n this.qustCat.saveForm(saveRecords).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n \r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n })\r\n \r\n }\r\n\r\n getneighbourhood()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id};\r\n const control = this.neighbourhoodForm.controls['referencecheck_list']; \r\n const neicontrol = this.neighbourhoodForm.controls['neighbourhood_list'];\r\n \r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n let neighbourDetails = res['records'];\r\n // neighbourDetails.neighbourhood_list.=''\r\n \r\n // if(neighbourDetails.check_type==0)\r\n // {\r\n \r\n this.neighbourhoodForm.controls['check_type'].setValue(0);//this one for mobile only\r\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\r\n this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status)\r\n let neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function(key)\r\n {\r\n return res['records'].neighbourhood_list[key];\r\n });\r\n console.log('neighbourhood_list',neighbourhood_list);\r\n console.log('length',neighbourhood_list.length);\r\n if(neighbourhood_list.length > 0){\r\n\r\n \r\n neighbourhood_list.forEach((element,index)=>\r\n {\r\n this.toggleVisibility(element.did_not_know_the_business_operation,index,1);\r\n this.toggleVisibility(element.did_not_know_the_owner,index,2);\r\n neicontrol.push(this.createNeighbourhood());\r\n this.getOtherOrganisationOwner(element.organisation_owner,index)\r\n });\r\n this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list);\r\n \r\n\r\n }else\r\n {\r\n this.addneighbourhood();\r\n }\r\n // if(neighbourDetails.check_type==1)\r\n // {\r\n let referencecheck_list = Object.keys(res['records'].referencecheck_list).map(function(key)\r\n {\r\n return res['records'].referencecheck_list[key];\r\n });\r\n console.log('referencecheck_list',referencecheck_list);\r\n console.log('length',referencecheck_list.length);\r\n if(referencecheck_list.length > 0){\r\n // this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type);\r\n this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark);\r\n referencecheck_list.forEach((val,index)=>\r\n {\r\n let statecodesearch = val.landline.search(\"-\");\r\n referencecheck_list[index].statecode = val.landline.substr(0,statecodesearch);\r\n referencecheck_list[index].landline = val.landline.substr(+statecodesearch + 1,8);\r\n control.push(this.createreferance());\r\n // this.amtInWords[index]=this.constant.convertNumberToWords(val.business_volume_amount);\r\n });\r\n this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list);\r\n \r\n }else\r\n {\r\n this.addreferance();\r\n }\r\n }else\r\n {\r\n this.addneighbourhood();\r\n this.addreferance();\r\n }\r\n })\r\n }\r\n\r\n\r\n}\r\n \n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup, FormBuilder,Validators,FormArray} from '@angular/forms';\r\n// import { t } from '@angular/core/src/render3';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../../providers/common-provider/toast';\r\n/**\r\n * Generated class for the PdQuestionFinalRemarkPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-final-remark',\r\n templateUrl: 'pd-question-final-remark.html',\r\n})\r\nexport class PdQuestionFinalRemarkPage {\r\n\r\n m_remarkTypeCustomerBehaviour:any=[];\r\n\r\n users:any;\r\n pdDetails:any;\r\n pdid:any;\r\n FormId:any;\r\n _finalRemarkForm:FormGroup;\r\n m_recommendationList: any=[];\r\n constructor(public navCtrl: NavController, public navParams: NavParams, public fb:FormBuilder, public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider,public toast:ToastProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id\r\n this.FormId=this.navParams.get('FormId');\r\n this.users=aws.getlocale()\r\n \r\n this._finalRemarkForm=this.fb.group({\r\n fk_createdby:[this.users],\r\n pdid:[this.pdid],\r\n formid:[this.FormId.form_id],\r\n final_custormer_remark_type:[null],\r\n final_other_customer_behaviour:[null],\r\n is_service_provided:[null],\r\n final_form_remarks:[null],\r\n pd_officers_recommendation:[null],\r\n others_pd_officers_recommendation:[''],\r\n // reason_for_positive:[''],\r\n // reason_for_negative:[''],\r\n // reason_for_refer_to_credit:[''],\r\n recommendation_positive:this.fb.array([]),\r\n recommendation_negative:this.fb.array([]),\r\n recommendation_refer_to_credit:this.fb.array([])\r\n \r\n })\r\n this.getDropDown();\r\n \r\n }\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionFinalRemarkPage');\r\n this.getFinalRemark();\r\n \r\n }\r\ngetDropDown(){\r\n this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=>{\r\n this.m_remarkTypeCustomerBehaviour=res['records'].filter(data=>data.isactive==1)\r\n })\r\n this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(res=>{\r\n this.m_recommendationList=res['records']\r\n })\r\n}\r\ncreateRecomendationPositive(data){\r\n console.log(\"val\",data)\r\n return this.fb.group({\r\n reason_for_positive: data != null ? [data.reason_for_positive] : ['']\r\n })\r\n}\r\naddRecomendationPositive(){\r\n const control= this._finalRemarkForm.controls['recommendation_positive'];\r\n control.push(this.createRecomendationPositive(null))\r\n}\r\nremoveRecomendationPositive(index){\r\n const control= this._finalRemarkForm.controls['recommendation_positive'];\r\n control.removeAt(index);\r\n}\r\ncreateRecomendationNegative(data){\r\n return this.fb.group({\r\n reason_for_negative:data !=null ? [data.reason_for_negative] : ['']\r\n })\r\n}\r\naddRecomendationNegative(){\r\n const control= this._finalRemarkForm.controls['recommendation_negative']\r\n control.push(this.createRecomendationNegative(null))\r\n}\r\nremoveRecomendationNegative(index){\r\n const control= this._finalRemarkForm.controls['recommendation_negative']\r\n control.removeAt(index)\r\n}\r\ncreateRecomendationCreditRefer(data){\r\n return this.fb.group({\r\n reason_for_refer_to_credit:data!=null ? [data.reason_for_refer_to_credit] : ['']\r\n })\r\n}\r\naddRecomendationCreditRefer(){\r\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\r\n control.push(this.createRecomendationCreditRefer(null));\r\n}\r\nremoveRecomendationCreditRefer(index){\r\n const control= this._finalRemarkForm.controls['recommendation_refer_to_credit']\r\n control.removeAt(index)\r\n}\r\n\r\nRecommendationChange(e) {\r\n // console.log('Event',e);\r\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\r\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\r\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\r\n\r\n if (e == 1) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([Validators.required]);\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n\r\n recommendationNegativeCtrl.removeAt(i + 1);\r\n\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\r\n\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\r\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n\r\n\r\n }\r\n }\r\n\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl.removeAt(i + 1);\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n recommendationReferToCredit.removeAt(i + 1);\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n }\r\n }\r\n \r\n\r\n }\r\n if (e == 2) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n recommendationReferToCredit.removeAt(i + 1);\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n // this._finalRemarkForm.controls['reason_for_positive'].setValidators([Validators.required]);\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[i];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValidators([Validators.required]);\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n\r\n recommendationNegativeCtrl.removeAt(i + 1);\r\n\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\r\n\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\r\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n\r\n }\r\n\r\n if (e == 3) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n recommendationReferToCredit.removeAt(i + 1);\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[0];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValue('');\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].clearValidators();\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl.removeAt(i + 1);\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[i];\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValidators([Validators.required]);\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n }\r\n }\r\n // this._finalRemarkForm.controls['reason_for_negative'].setValidators([Validators.required]);\r\n\r\n }\r\n if (e == 4) {\r\n\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue('');\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators();\r\n this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity();\r\n\r\n if (recommendationReferToCredit.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationReferToCredit.controls.length; i++) {\r\n\r\n recommendationReferToCredit = recommendationReferToCredit.controls[i];\r\n\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].setValidators([Validators.required]);\r\n recommendationReferToCredit.controls['reason_for_refer_to_credit'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n if (recommendationNegativeCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationNegativeCtrl.controls.length; i++) {\r\n\r\n recommendationNegativeCtrl.removeAt(i + 1);\r\n\r\n recommendationNegativeCtrl = recommendationNegativeCtrl.controls[0];\r\n\r\n recommendationNegativeCtrl.controls['reason_for_negative'].setValue('');\r\n recommendationNegativeCtrl.controls['reason_for_negative'].clearValidators();\r\n recommendationNegativeCtrl.controls['reason_for_negative'].updateValueAndValidity();\r\n\r\n }\r\n }\r\n\r\n if (recommendationPositiveCtrl.controls.length > 0) {\r\n let i: number = 0;\r\n for (i; i < recommendationPositiveCtrl.controls.length; i++) {\r\n recommendationPositiveCtrl.removeAt(i + 1);\r\n recommendationPositiveCtrl = recommendationPositiveCtrl.controls[0];\r\n recommendationPositiveCtrl.controls['reason_for_positive'].clearValidators();\r\n recommendationPositiveCtrl.controls['reason_for_positive'].setValue('');\r\n recommendationPositiveCtrl.controls['reason_for_positive'].updateValueAndValidity();\r\n }\r\n }\r\n }\r\n}\r\n getFinalRemark(){\r\n let saveRecords={'pd_id':this.pdid,'pd_form_id':this.FormId.form_id}\r\n this.qustcat.retiverForm(saveRecords).subscribe(data=>{\r\n if(data['dataStatus']==true){\r\n this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type);\r\n this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour);\r\n this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided);\r\n this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation);\r\n this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation)\r\n // this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive)\r\n // this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit);\r\n // this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative);\r\n if(data['records'].recommendation_positive.length>0){\r\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\r\n data['records'].recommendation_positive.forEach((val,index)=>{\r\n console.log(\"for\",val);\r\n if(val.reason_for_positive != null){\r\n let obj={'reason_for_positive':val.reason_for_positive};\r\n recommendationPositiveCtrl.push(this.createRecomendationPositive(obj));\r\n }\r\n })\r\n }\r\n if(data['records'].recommendation_negative.length>0){\r\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\r\n data['records'].recommendation_negative.forEach((val,index)=>{\r\n console.log(\"for\",val);\r\n let obj={'reason_for_negative':val.reason_for_negative};\r\n recommendationNegativeCtrl.push(this.createRecomendationNegative(obj))\r\n })\r\n }\r\n if(data['records'].recommendation_refer_to_credit.length>0){\r\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\r\n data['records'].recommendation_refer_to_credit.forEach(val=>{\r\n let obj={'reason_for_refer_to_credit':val.reason_for_refer_to_credit};\r\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(obj))\r\n })\r\n }\r\n this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks);\r\n }\r\n else{\r\n let recommendationPositiveCtrl: any = this._finalRemarkForm.get('recommendation_positive') as FormArray;\r\n recommendationPositiveCtrl.push(this.createRecomendationPositive(null));\r\n let recommendationNegativeCtrl: any = this._finalRemarkForm.get('recommendation_negative') as FormArray;\r\n recommendationNegativeCtrl.push(this.createRecomendationNegative(null));\r\n let recommendationReferToCredit: any = this._finalRemarkForm.get('recommendation_refer_to_credit') as FormArray;\r\n recommendationReferToCredit.push(this.createRecomendationCreditRefer(null));\r\n }\r\n })\r\n }\r\n saveFinalRemark(){\r\n if(this._finalRemarkForm.invalid){\r\n this.toast.pdTriggerappmessage(\"Please Fill all the Fields marked with '*' \")\r\n }\r\n else{\r\n var answerData=this._finalRemarkForm.value\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n this.qustcat.saveForm(answerData).subscribe(res=>{\r\n if(res['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n });\r\n }\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-final-remark/pd-question-final-remark.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { PdQuestionSupplierInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { PdQuestionClientInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\nimport { PdQuestionStockInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionBusinessInfoPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\r\nimport { PdQuestionBusinessAssetsPage } from '../../../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\r\nimport {PdQuestionBusinessBankingPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\r\nimport {PdQuestionFinancialInfoPage} from '../../../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info'\r\nimport {PdQuestionAssessedDashPage} from '../../../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessGroupPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-group',\r\n templateUrl: 'pd-question-business-group.html',\r\n})\r\nexport class PdQuestionBusinessGroupPage {\r\n \r\n FormId: any;\r\n pdDetails: any = [];\r\n existCompanyList: any = [];\r\n waitLoading:boolean;\r\n\r\n constructor(public navCtrl: NavController, \r\n public navParams: NavParams,\r\n public qustCat:QuestionCategoryProvider){\r\n \r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n this.getCompanyListForBusiness();\r\n\r\n }\r\n \r\n /** To Get General Form's Company List */\r\n getCompanyListForBusiness(): void{\r\n this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\r\n if(data.dataStatus){\r\n this.existCompanyList = data.records.filter(val =>val.is_active);\r\n this.waitLoading = true;\r\n }\r\n else {\r\n this.waitLoading = false;\r\n }\r\n })\r\n }\r\n\r\n /** To Get Related Form Details */\r\n OnSelectBusinessGroupForms(details: any, company: any) {\r\n \r\n this.pdDetails.company_id = company.company_order_id;\r\n this.pdDetails.company_name = company.company_name;\r\n this.pdDetails.business_entity_type = company.business_entity_type;\r\n this.pdDetails.business_entity_type_other = company.business_entity_type_other;\r\n this.pdDetails.business_years = company.business_years;\r\n this.pdDetails.business_month = company.business_month;\r\n console.log(details.form_id);\r\n \r\n if(details.form_id==1){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n }\r\n if(details.form_id==2){\r\n this.navCtrl.push(PdQuestionClientInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==11){\r\n this.navCtrl.push(PdQuestionStockInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==13){\r\n this.navCtrl.push(PdQuestionBusinessInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==14){\r\n this.navCtrl.push(PdQuestionFinancialInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==15){\r\n this.navCtrl.push(PdQuestionSupplierInfoPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==21){\r\n this.navCtrl.push(PdQuestionBusinessBankingPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==22){\r\n this.navCtrl.push(PdQuestionBusinessAssetsPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n \r\n }\r\n if(details.form_id==16){\r\n this.navCtrl.push(PdQuestionAssessedDashPage,{'formDetails':details,'pdDetails':this.pdDetails});\r\n }\r\n\r\n\r\n}\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-group.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service';\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category';\r\nimport { FormBuilder, FormGroup,FormArray, Validators, FormControl } from '@angular/forms';\r\nimport { createPipe } from '@angular/compiler/src/core';\r\nimport { elementAt } from 'rxjs/operators';\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-info',\r\n templateUrl: 'pd-question-business-info.html',\r\n})\r\nexport class PdQuestionBusinessInfoPage {\r\n stateList:any=[];\r\n users: any;formdetails:any;\r\n FormId: any;\r\n pdDetails: any;\r\n businessForm:FormGroup;\r\n applicants:any=[];\r\n businessEntityTypeList: any ={\r\n business_entity_type_id:String,\r\n business_entity_type_name:String,\r\n sourcsection_labeleName:String\r\n }; \r\n generalExistEntityType:string\r\n generalExistEntityType_other:string;\r\n generalExistBusinessYear:Number;\r\n generalExistBusinessMonth:Number;\r\n pdid:any;\r\n step:number\r\n\r\n relationData: any = [];\r\n industryData: any = [];\r\n activityData: any = [];\r\n relativeNames: any;\r\n companyRelationShipList:any=[]\r\n countryDataList:any=[]\r\n exist_status:any;\r\n \r\n filterCityList : any = [];\r\n errorMessage:any=[];\r\n appxSalaryAmtInwords:any;\r\n titleData:any=[]\r\n personsList:any=[]\r\n \r\n ManufacturingChecked: boolean;\r\n RetailedChecked: boolean;\r\n WholeSalesChecked: boolean;\r\n ServiceChecked: boolean;\r\n ExportFlag: boolean=false;\r\n bankList: any=[];\r\n temp_additiondetailofposmachine:any=[]\r\n isreadonlyyear: any=[];\r\n isreadonlymonth: any=[];\r\n EntityTypeFlag:boolean=false\r\n\r\n yearErrorMessage: any = [];\r\n monthErrorMessage: any = [];\r\n errorMessageForExistTotalWorkExperience : any = [];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public cons:ConstantsProvider) {\r\n this.getStateCityDet();\r\n this.pdDetails = this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id\r\n \r\n this.formdetails = this.navParams.get('formDetails');\r\n \r\n this.FormId = this.formdetails.form_id;\r\n this.users = this.aws.getlocale();\r\n \r\n this.applicants=this.pdDetails.applicat_details;\r\n \r\n this.generalExistEntityType=this.pdDetails.business_entity_type\r\n this.generalExistEntityType_other=this.pdDetails.business_entity_type_other\r\n this.generalExistBusinessYear=this.pdDetails.business_years;\r\n this.generalExistBusinessMonth = this.pdDetails.business_month;\r\n this.step=0\r\n \r\n \r\n \r\n // this.initBusinessForm();\r\n // this.getBuisnessDetails();\r\n \r\n this.businessForm=this.fb.group({\r\n fk_createdby:[this.users],\r\n pdid:[this.pdid],\r\n formid:[this.FormId],\r\n company_id: this.pdDetails.company_id,\r\n partners:this.fb.array([]),\r\n persons_with_relationships:this.fb.array([]),\r\n select_business_activity_type:this.fb.array([]),\r\n manufacturing_activity_details:this.fb.array([]),\r\n retail_trading_activity_details:this.fb.array([]),\r\n wholesale_trading_activity_details:this.fb.array([]),\r\n service_provider_activity_details:this.fb.array([]),\r\n // others_activity_details:this.fb.array([]),\r\n export_sale_of_total_sales:[''],\r\n // applicant_use_mobile_wallets:[''],\r\n // applicant_use_pos_machines:[''],\r\n // no_of_pos_machines:[''],\r\n seasonality:[''],\r\n employees_total: ['', Validators.compose([Validators.required])],\r\n employees_permanent: ['', Validators.compose([Validators.required])],\r\n employees_temporary: ['', Validators.compose([Validators.required])],\r\n employees_appx_salary:[''],\r\n was_the_company_name_board_sighted:['',Validators.compose([Validators.required])],\r\n officer_total: ['', Validators.compose([Validators.required])],\r\n shop_eat_act_cert: [''],\r\n gst_Regn_cert: [''],\r\n //export_import_cert: [''],\r\n // factory_cert: [''],\r\n //practice_cert: [''],\r\n pf_regn: [''],\r\n esic_regn: [''],\r\n other_documents: [''],\r\n documents: this.fb.array([]),\r\n business_remarks:['']\r\n\r\n\r\n\r\n \r\n })\r\n this.getdropdown();\r\n \r\n// this.initBusinessForm();\r\n\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessInfoPage');\r\n \r\n \r\n \r\n }\r\n getdropdown() {\r\n \r\n this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1) {\r\n this.relationData.push(val);\r\n }\r\n })\r\n });\r\n \r\n this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1) {\r\n this.industryData.push(val);\r\n }\r\n })\r\n });\r\n \r\n this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(data => {\r\n \r\n data['records'].forEach(val => {\r\n if (val.isactive == 1 && val.type_of_activity_id != 1) {\r\n this.activityData.push(val);\r\n }\r\n })\r\n });\r\n this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(data=>{\r\n let filterList = data['records'].filter(val=>val.business_entity_type_id==this.generalExistEntityType);\r\n this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id==1;\r\n this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id!=1 ? filterList[0].business_entity_type_name : this.generalExistEntityType_other;\r\n this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id!=1 ? filterList[0].section_label : this.generalExistEntityType_other;\r\n \r\n if(this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship'){ \r\n this.EntityTypeFlag = true;\r\n }\r\n\r\n\r\n });\r\n this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(data=>{\r\n this.companyRelationShipList=data['records'].filter(val=>val.isactive==1);\r\n \r\n });\r\n \r\n \r\n \r\n this.qustCat.getcommondrop('COUNTRY').subscribe(data=>{\r\n this.countryDataList=data['records'].filter(val=>val.isactive==1);\r\n \r\n });\r\n this.qustCat.getcommondrop('TITLES').subscribe(data=>{\r\n this.titleData=data['records'].filter(val=>val.isactive==1);\r\n })\r\n this.qustCat.getAllPersonsName(this.pdid).subscribe(data=>{\r\n if(data.dataStatus){\r\n \r\n this.personsList=data['record'].filter(val=>val.applicant_type==1)\r\n \r\n }\r\n })\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(data=>{\r\n this.bankList=data['records'].filter(val=>val.isactive ==1 && val.lender_type == 1);\r\n })\r\n \r\n}\r\ngetStateCityDet(){\r\nthis.qustCat.getStateCityDetails().subscribe(data=>{\r\n \r\n\r\n this.stateList=data.records\r\n \r\n this.getDetails();\r\n });\r\n \r\n \r\n}\r\nchangeOfStartedBusiness(members,i,e){\r\n if(e == 'yes'){\r\n members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear);\r\n this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false;\r\n members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth);\r\n this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false;\r\n }\r\n else{\r\n this.isreadonlyyear[i] =false;\r\n this.isreadonlymonth[i] = false;\r\n }\r\n }\r\n getDetails(){\r\n \r\n let params: any = {};\r\n params.pd_id = this.pdid;\r\n params.pd_form_id = 13\r\n params.company_id = this.pdDetails.company_id;\r\n this.qustCat.retiverForm(params).subscribe(data=>{\r\n let businessVal=data['records']\r\n let constVal: any;\r\n \r\n \r\n const Partnr:any = this.businessForm.controls['partners'];\r\n \r\n const control1:any = this.businessForm.controls['persons_with_relationships'];\r\n \r\n const business_activity:any = this.businessForm.controls['select_business_activity_type'];\r\n \r\n const manufacture_details:any= this.businessForm.controls['manufacturing_activity_details'];\r\n const retailControl: any = this.businessForm.controls['retail_trading_activity_details'];\r\n const wholesaleControl:any=this.businessForm.controls['wholesale_trading_activity_details'];\r\n const serviceProviderControl:any=this.businessForm.controls['service_provider_activity_details'];\r\n // const othersControl:any=this.businessForm.controls['others_activity_details'];\r\n const otherDoc = this.businessForm.controls['documents'];\r\n //retailControl.push(this.manufactureDetails());\r\n //manufacture_details.push(this.manufactureDetails())\r\n \r\n // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done;\r\n //india_sales.push(this.indiaSalesDone())\r\n //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done;\r\n // country_sale.push(this.createCountrySale());\r\n //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name;\r\n //max_sale_state.push(this.maxSaleState())\r\n\r\n if(data['status']==200){\r\n let DocArray: any;\r\n let PartnrArray=Object.keys(data['records'].partners).map(function(key){\r\n return data['records'].partners[key];\r\n })\r\n \r\n if(PartnrArray.length==0){\r\n Partnr.push(this.createPartners())\r\n }\r\n else{\r\n PartnrArray.forEach((datas,key) => {\r\n Partnr.push(this.createPartners());\r\n if(datas.partner_name=='Others') {\r\n Partnr.controls[key].addControl('partner_other_name', new FormControl('', Validators.required))\r\n }\r\n if(parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) {\r\n Partnr.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\r\n }\r\n else {\r\n Partnr.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n });\r\n }\r\n if(data['records'].persons_with_relationships){\r\n let PartnrArray1=Object.keys(data['records'].persons_with_relationships).map(function (key){\r\n return data['records'].persons_with_relationships[key];\r\n })\r\n if(PartnrArray1.length>0){\r\n PartnrArray1.forEach((datas,key)=>{\r\n control1.push(this.createRelationShip());\r\n })\r\n businessVal.persons_with_relationships=PartnrArray1\r\n \r\n }\r\n else{\r\n //control1.push(this.createRelationShip());\r\n businessVal.persons_with_relationships=[]\r\n }\r\n }\r\n else{\r\n businessVal.persons_with_relationships=[]\r\n \r\n }\r\n \r\n\r\n if (data['records'].other_documents == 'yes') {\r\n DocArray = Object.keys(data['records'].documents).map(function (key) {\r\n return data['records'].documents[key];\r\n });\r\n DocArray.forEach(datas => {\r\n otherDoc.push(this.createDocument());\r\n });\r\n } else {\r\n DocArray = [{document: ''}];\r\n otherDoc.push(this.createDocument());\r\n }\r\n\r\n businessVal.pdid = this.pdid;\r\n businessVal.formid = 13;\r\n businessVal.company_id = this.pdDetails.company_id;\r\n businessVal.fk_createdby = this.users;\r\n //businessVal.designation = DesgnArray;\r\n businessVal.partners = PartnrArray;\r\n // businessVal.persons_with_relationships=PartnrArray1\r\n businessVal.documents=DocArray\r\n \r\n if(businessVal.employees_appx_salary){\r\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(businessVal.employees_appx_salary);\r\n }\r\n \r\n \r\n // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd'\r\n // this.businessForm.setValue(businessVal);\r\n //this.businessForm.value.seasonality\r\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id}))\r\n let exist_activity_data: any=[];\r\n if(data['records'].select_business_activity_type){\r\n exist_activity_data=Object.keys(data['records'].select_business_activity_type).map(function(key) {\r\n return data['records'].select_business_activity_type[key].type_of_activity_id;\r\n });\r\n }\r\n \r\n let actual_businees_activity = activityData.map(item => item.type_of_activity_id);\r\n let check_exist_businees_activity =actual_businees_activity.map((id, index) => {\r\n if (exist_activity_data.indexOf(id) < 0) {\r\n activityData[index].exist_status=0;\r\n return activityData[index];\r\n }\r\n else{\r\n activityData[index].exist_status=1;\r\n return activityData[index];\r\n }\r\n }).filter(item => item != undefined);\r\n \r\n if(check_exist_businees_activity.length > 0)\r\n {\r\n check_exist_businees_activity.forEach((val,index) => {\r\n business_activity.push(this.createBusinessActivity(val));\r\n // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status\r\n \r\n });\r\n \r\n businessVal.select_business_activity_type=check_exist_businees_activity;\r\n }\r\n // business_activity.push(this.createBusinessActivity())\r\n \r\n // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity)\r\n \r\n if(data['records'].manufacturing_activity_details){\r\n let selectedManufacturing=Object.keys(data['records'].manufacturing_activity_details).map(function(key){\r\n return data['records'].manufacturing_activity_details[key];\r\n });\r\n if(selectedManufacturing.length>0){\r\n selectedManufacturing.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedManufacturing.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('factory_cert');\r\n \r\n selectedManufacturing.forEach((element,index)=>{\r\n this.CheckExport(element.area_of_sale,'MActivity',index)\r\n manufacture_details.push(this.manufactureDetails())\r\n if(element.area_of_sale=='Within India'){\r\n manufacture_details.controls[index].addControl('india_where_sale_done',this.fb.array([]))\r\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n })\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n manufacture_details.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n manufacture_details.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n manufacture_details.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n\r\n manufacture_details.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = manufacture_details.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n \r\n }\r\n });\r\n businessVal.manufacturing_activity_details=selectedManufacturing;\r\n \r\n \r\n }\r\n else{\r\n \r\n businessVal.manufacturing_activity_details=[];\r\n }\r\n }\r\n else{\r\n \r\n businessVal.manufacturing_activity_details=[];\r\n }\r\n \r\n if(data['records'].retail_trading_activity_details){ \r\n\r\n let selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) {\r\n return data['records'].retail_trading_activity_details[key];\r\n });\r\n if(selectedRetail.length > 0) {\r\n selectedRetail.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedRetail.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n selectedRetail.forEach((element,index)=>{\r\n this.CheckExport(element.area_of_sale,'RActivity',index)\r\n retailControl.push(this.manufactureDetails());\r\n if(element.area_of_sale=='Within India'){\r\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n retailControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n retailControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n retailControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n retailControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = retailControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n });\r\n businessVal.retail_trading_activity_details=selectedRetail;\r\n }\r\n else{\r\n businessVal.retail_trading_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.retail_trading_activity_details=[];\r\n }\r\n \r\n\r\n // update whole sale details\r\n if(data['records'].wholesale_trading_activity_details){ \r\n let selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) {\r\n return data['records'].wholesale_trading_activity_details[key];\r\n });\r\n if(selectedWholesale.length > 0) {\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedWholesale.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n selectedWholesale.forEach((element,index)=>{\r\n this.CheckExport(element.area_of_sale,'WActivity',index)\r\n wholesaleControl.push(this.manufactureDetails());\r\n if(element.area_of_sale=='Within India'){\r\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n wholesaleControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n wholesaleControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n wholesaleControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n wholesaleControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = wholesaleControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n \r\n });\r\n businessVal.wholesale_trading_activity_details=selectedWholesale;\r\n }\r\n else{\r\n businessVal.wholesale_trading_activity_details=[];\r\n } \r\n }\r\n else {\r\n businessVal.wholesale_trading_activity_details=[];\r\n\r\n } \r\n \r\n \r\n if(data['records'].service_provider_activity_details){\r\n let selectedService=Object.keys(data['records'].service_provider_activity_details).map(function (key){\r\n return data['records'].service_provider_activity_details[key];\r\n })\r\n if(selectedService.length > 0) {\r\n selectedService.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl('', Validators.required)) : this.businessForm.removeControl('practice_cert');\r\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl('')) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n selectedService.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl('')) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('no_of_pos_machines', new FormControl('')): this.businessForm.removeControl('no_of_pos_machines'); \r\n selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? this.businessForm.addControl('pos_machines_details',this.fb.array([])) : this.businessForm.removeControl('pos_machines_details')\r\n \r\n selectedService.forEach((element,index)=>{\r\n this.CheckExport(element.area_of_sale,'SPActivity',index)\r\n serviceProviderControl.push(this.manufactureDetails());\r\n \r\n if(element.area_of_sale=='Within India'){\r\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n \r\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n }\r\n else if(element.area_of_sale=='Export'){\r\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n }\r\n else if(element.area_of_sale=='Both'){\r\n serviceProviderControl.controls[index].addControl('india_where_sale_done', this.fb.array([]));\r\n serviceProviderControl.controls[index].addControl('pan_india_options',new FormControl('', Validators.required));\r\n serviceProviderControl.controls[index].addControl('max_sale_state_name',this.fb.array([])); \r\n element.india_where_sale_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('india_where_sale_done') as FormArray;\r\n innercontrol.push(this.indiaSalesDone())\r\n });\r\n\r\n element.max_sale_state_name.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('max_sale_state_name') as FormArray;\r\n innercontrol.push(this.maxSaleState())\r\n });\r\n serviceProviderControl.controls[index].addControl('countries_where_export_done', this.fb.array([]));\r\n element.countries_where_export_done.forEach((innerElement,innerIndex) => {\r\n let innercontrol:any = serviceProviderControl.controls[index].get('countries_where_export_done') as FormArray;\r\n innercontrol.push(this.createCountrySale())\r\n });\r\n\r\n \r\n }\r\n });\r\n \r\n \r\n businessVal.service_provider_activity_details=selectedService;\r\n \r\n }\r\n else{\r\n businessVal.service_provider_activity_details=[];\r\n \r\n } \r\n }\r\n else {\r\n businessVal.service_provider_activity_details=[];\r\n\r\n }\r\n \r\n // if(data['records'].others_activity_details){ \r\n\r\n // // update others activity details\r\n // let selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) {\r\n // return data['records'].others_activity_details[key];\r\n // });\r\n // if(selectedOthers.length > 0) {\r\n // selectedOthers.forEach((element,index)=>{\r\n // othersControl.push(this.createOthersActivity());\r\n // });\r\n // businessVal.others_activity_details=selectedOthers;\r\n // }\r\n // else{\r\n // businessVal.others_activity_details=[];\r\n // } \r\n // }\r\n // else {\r\n // businessVal.others_activity_details=[];\r\n\r\n // } \r\n \r\n // dynamically add form group control\r\n if(data['dataStatus']){\r\n \r\n if(data['records'].seasonality.toUpperCase()=='YES'){\r\n this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required));\r\n this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)); }\r\n\r\n } \r\n\r\n // this.businessForm.controls['partners'].setValue(PartnrArray);\r\n //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1)\r\n \r\n // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details)\r\n if(businessVal.applicant_use_pos_machines == 'yes'){\r\n this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines);\r\n const posControl: any = this.businessForm.controls['pos_machines_details'];\r\n for(let i = 1; i<= businessVal.no_of_pos_machines; i++ ){\r\n posControl.push(this.createPOSMachinesDetails(businessVal.pos_machines_details));\r\n }\r\n }\r\n \r\n this.businessForm.setValue(businessVal);\r\n \r\n \r\n }\r\n else{\r\n Partnr.push(this.createPartners());\r\n control1.push(this.createRelationShip())\r\n \r\n //otherDoc.push(this.createDocument());\r\n\r\n // find business activity type businees activity type list\r\n let activityData=this.activityData.map(item=>({name : item.name,type_of_activity_id : item.type_of_activity_id,exist_status:0}))\r\n if(activityData.length > 0)\r\n {\r\n activityData.forEach(val => {\r\n business_activity.push(this.createBusinessActivity(val));\r\n });\r\n }\r\n\r\n }\r\n})\r\n // change business sessional\r\n this.businessForm.controls['seasonality'].valueChanges.subscribe(val => {\r\n val.toUpperCase()=='YES' ? this.businessForm.addControl('peak_period_of_business', new FormControl('', Validators.required)) : this.businessForm.removeControl('peak_period_of_business');\r\n val.toUpperCase()=='YES' ? this.businessForm.addControl('month_of_business_run', new FormControl('', Validators.required)) : this.businessForm.removeControl('month_of_business_run');\r\n });\r\n \r\n \r\n }\r\n\r\n filterCity(datasource: any,filterid:number) {\r\n \r\n \r\n if(filterid){\r\n let filter = this.stateList.filter(x=>x.state_id==filterid);\r\n return filter.length > 0 ? filter[0].cities : [];\r\n }\r\n}\r\n\r\n // filter max sale options\r\n filterMaxSaleState(datasource: any,filterValues:any){\r\n this.filterCityList = filterValues;\r\n if(filterValues){\r\n let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n let getStateValues = filterValues.filter(val =>val.state_name).map(mapVal => mapVal.state_name);\r\n let setStateFilter: any=[];\r\n setStateFilter = getStateValues.map(x => {\r\n let findIndex = getOriginalStateList.indexOf(x);\r\n return datasource[findIndex];\r\n });\r\n return setStateFilter.length > 0 ? setStateFilter : [];\r\n }\r\n }\r\n filterMaxSaleCities(datasource: any,filterValues:any,selectedCites: any) { \r\n let existCities: any = selectedCites.filter(cfVal=>cfVal.city_name!='').map(mcVal=>mcVal.city_name);\r\n existCities = [].concat.apply([], existCities);\r\n if(filterValues){\r\n let getOriginalStateList = datasource.map(dval => dval.state_id);\r\n \r\n let setCityFilter = filterValues.map(x => {\r\n let findIndex = getOriginalStateList.indexOf(x);\r\n findIndex = datasource[findIndex].cities;\r\n return findIndex;\r\n });\r\n \r\n let merged = [].concat.apply([], setCityFilter);\r\n \r\n if(merged.length>0){\r\n let check: any = merged.filter(function(fVal){\r\n return existCities.some(function(sVal){\r\n return fVal.city_id==sVal;\r\n });\r\n })\r\n return check;\r\n }\r\n else {\r\n return [];\r\n }\r\n }\r\n else {\r\n return [];\r\n }\r\n}\r\n\r\n\r\ncheckTotalEmployee(FormData){\r\n this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent ||0)+(+FormData.value.employees_temporary||0));\r\n }\r\n// checkWithExistBusinessYear(e,i){\r\n// if(e > this.generalExistBusinessYear){\r\n// this.errorMessage[i] = \"Higher than Business Vintage\";\r\n// }\r\n// else{\r\n// this.errorMessage[i] = '';\r\n// }\r\n// }\r\n\r\ncheckWithExistBusinessYear(e, i, members) {\r\n\r\n if (+e > this.generalExistBusinessYear) {\r\n this.yearErrorMessage[i] = \"Higher than Business Vintage\";\r\n members.controls.current_business_experiance_year.setValue('');\r\n }\r\n else {\r\n this.yearErrorMessage[i] = '';\r\n }\r\n}\r\n\r\ncheckWithExistTotalWorkExperience(e, i, members) {\r\n\r\n if (+members.value.current_business_experiance_year > +e) {\r\n this.errorMessageForExistTotalWorkExperience[i] = \"Total Experience is Lower Than Experience in The Current Company\";\r\n members.controls.total_business_experiance.setValue('');\r\n }\r\n else {\r\n this.errorMessageForExistTotalWorkExperience[i] = '';\r\n }\r\n}\r\n\r\n// businees activity type change event\r\nchangeBusinessActivity(event: any){\r\n \r\n if(event.value.exist_status==true && event.value.type_of_activity_id==2){\r\n this.ManufacturingChecked = event.value.exist_status;\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.controls = [];\r\n manufacturingControl.setValue([]); \r\n \r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==2){\r\n this.ManufacturingChecked = event.value.exist_status;\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.push(this.manufactureDetails());\r\n \r\n \r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==3){\r\n this.RetailedChecked=event.value.exist_status\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.controls = [];\r\n retailControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==3){\r\n this.RetailedChecked=event.value.exist_status\r\n let retailControl = this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.push(this.manufactureDetails());\r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==4){\r\n this.WholeSalesChecked=event.value.exist_status\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.controls = [];\r\n wholesaleControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==4){\r\n this.WholeSalesChecked=event.value.exist_status\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.push(this.manufactureDetails());\r\n }\r\n if(event.value.exist_status==true && event.value.type_of_activity_id==5){\r\n this.ServiceChecked=event.value.exist_status\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.controls = [];\r\n serviceControl.setValue([]);\r\n }\r\n else if(event.value.exist_status==false && event.value.type_of_activity_id==5){\r\n this.ServiceChecked=event.value.exist_status\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.push(this.manufactureDetails());\r\n }\r\n\r\n // if(event.value.exist_status==true && event.value.type_of_activity_id==1){\r\n // let othersControl = this.businessForm.controls['others_activity_details'];\r\n // othersControl.controls = [];\r\n // othersControl.setValue([]);\r\n // }\r\n // else if(event.value.exist_status==false && event.value.type_of_activity_id==1){\r\n // let othersControl = this.businessForm.controls['others_activity_details'];\r\n // othersControl.push(this.createOthersActivity());\r\n // }\r\n // check activity type for make dosument sighted filed dynamically\r\n this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new FormControl(this.businessForm.value.export_import_cert, Validators.required)) : this.businessForm.removeControl('export_import_cert');\r\n this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new FormControl(this.businessForm.value.factory_cert, Validators.required)) : this.businessForm.removeControl('factory_cert');\r\n this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new FormControl(this.businessForm.value.practice_cert, Validators.required)) : this.businessForm.removeControl('practice_cert');\r\n // check activity for extra question make dynamic\r\n \r\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new FormControl(this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets');\r\n this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new FormControl(this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines');\r\n \r\n\r\n if(this.ManufacturingChecked || this.ManufacturingChecked==undefined && this.RetailedChecked || this.RetailedChecked==undefined && this.WholeSalesChecked ||this.WholeSalesChecked==undefined && this.ServiceChecked || this.ServiceChecked==undefined){\r\n this.ExportFlag = false;\r\n }\r\n}\r\n\r\n\r\nchangeManufacturingAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n // change retail options\r\n changeRetailAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n// change whole options\r\nchangeWholesaleAreaSale(getDetails: any, getIndex){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n// change service provider \r\nchangeServiceArea(getDetails: any, getIndex) {\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n\r\n if(getDetails.value.area_of_sale==\"Within India\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); \r\n\r\n }\r\n else if(getDetails.value.area_of_sale==\"Export\"){\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n else if(getDetails.value.area_of_sale==\"Both\") {\r\n control.controls[getIndex].removeControl('india_where_sale_done');\r\n control.controls[getIndex].removeControl('countries_where_export_done');\r\n control.controls[getIndex].removeControl('pan_india_options');\r\n control.controls[getIndex].removeControl('max_sale_state_name');\r\n control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[getIndex].addControl('pan_india_options',new FormControl('', Validators.required));\r\n control.controls[getIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()]));\r\n control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()]));\r\n }\r\n}\r\n\r\n\r\nchangePanIndiaOptions(type,selectedIndex,value) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n \r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==3){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n else if(type==4){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control.controls[selectedIndex].removeControl('india_where_sale_done');\r\n control.controls[selectedIndex].removeControl('max_sale_state_name');\r\n if(value=='Yes') {\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n else if(value=='No'){\r\n control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()]));\r\n control.controls[selectedIndex].addControl('max_sale_state_name',this.fb.array([this.maxSaleState()])); }\r\n }\r\n}\r\n\r\n // update partner group other form control\r\n changePartnerGroup(value,key) {\r\n let control: any = this.businessForm.get('partners') as FormArray;\r\n value=='Others' ? control.controls[key].addControl('partner_other_name', new FormControl('', Validators.required)) : control.controls[key].removeControl('partner_other_name');\r\n }\r\n\r\n createDesignation(): FormGroup {\r\n return this.fb.group({\r\n sec_name: ['', Validators.compose([Validators.required])],\r\n sec_designation: ['', Validators.compose([Validators.required])],\r\n });\r\n}\r\nkeyPress(event: any) {\r\n const pattern = /[0-9]/;\r\n\r\n let inputChar = String.fromCharCode(event.charCode);\r\n if (event.keyCode != 8 && !pattern.test(inputChar)) {\r\n event.preventDefault();\r\n }\r\n }\r\n getWorkExperience(event, key) {\r\n let current_experience = event.current_business_experiance_year=='' ? 0 : parseInt(event.current_business_experiance_year);\r\n let total_experience = event.total_business_experiance=='' ? 0 : parseInt(event.total_business_experiance);\r\n let control: any = this.businessForm.get('partners') as FormArray;\r\n if(total_experience > current_experience) {\r\n control.controls[key].addControl('total_business_previous_experience', new FormControl('', Validators.required))\r\n }\r\n else if(total_experience < current_experience) {\r\n //control.controls[key].controls['total_business_experiance'].setValue(current_experience);\r\n control.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n\r\n else {\r\n control.controls[key].removeControl('total_business_previous_experience')\r\n }\r\n // let total ;\r\n // if(control.length > 0){\r\n // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0);\r\n // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]);\r\n // this.businessForm.controls.business_years.updateValueAndValidity();\r\n // }\r\n}\r\nConvertMonthintoYear(itemrow,e,i){\r\n\r\nconsole.log('datas',e,i);\r\n let year = itemrow.controls.current_business_experiance_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\r\n\r\n // if (year > this.generalExistBusinessYear) {\r\n // console.log('data')\r\n // this.yearErrorMessage[i] = \"Higher than Business Vintage\";\r\n // itemrow.controls.current_business_experiance_year.setValue('');\r\n // itemrow.controls.current_business_experiance_month.setValue('');\r\n\r\n // }\r\n // else {\r\n // if (year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) {\r\n // this.monthErrorMessage[i] = \"Higher than Business Vintage\";\r\n // itemrow.controls.current_business_experiance_year.setValue('');\r\n // itemrow.controls.current_business_experiance_month.setValue('');\r\n\r\n // } else {\r\n // this.monthErrorMessage[i] = '';\r\n // this.yearErrorMessage[i] = '';\r\n // itemrow.controls.current_business_experiance_year.setValue(year);\r\n // itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month));\r\n // }\r\n // }\r\n \r\n}\r\n\r\n\r\n\r\ncreatePartners(): FormGroup {\r\n return this.fb.group({\r\n partner_name: ['', Validators.compose([Validators.required])],\r\n // partner_other_name:[''],\r\n shareholding:[''],\r\n started_business:[''],\r\n current_business_experiance_year:[''],\r\n current_business_experiance_month:[''],\r\n total_business_experiance:[''],\r\n total_business_previous_experience:['']\r\n /* shareholding: ['', Validators.compose([Validators.required])],\r\n current_business_experiance: ['', Validators.compose([Validators.required])],\r\n total_business_experiance: ['', Validators.compose([Validators.required])],*/\r\n });\r\n}\r\ncreateRelationShip(): FormGroup {\r\n return this.fb.group({\r\n family_member_salutation:[''],\r\n family_member_name:[''],\r\n other_family_relationship_id:[''],\r\n relation_to_id:[''],\r\n relationship_with_company_id:[''],\r\n started_business:['']\r\n });\r\n}\r\ncreateBusinessActivity(details):FormGroup {\r\n return this.fb.group({\r\n type_of_activity_id: [details.type_of_activity_id, Validators.compose([Validators.required])],\r\n name: [details.name, Validators.compose([Validators.required])],\r\n exist_status:[details.exist_status==1 ? true : false]\r\n });\r\n}\r\ncreateServiceActivity(): FormGroup {\r\n return this.fb.group({\r\n main_products: ['', Validators.compose([Validators.required])],\r\n area_of_sale: ['', Validators.compose([Validators.required])],\r\n description: ['']\r\n });\r\n}\r\ncreateOthersActivity(): FormGroup {\r\n return this.fb.group({\r\n others_details: ['', Validators.compose([Validators.required])]\r\n });\r\n}\r\nmanufactureDetails():FormGroup{\r\n return this.fb.group({\r\n main_products:[''],\r\n area_of_sale:[''],\r\n description:['']\r\n // pan_india_options:[''],\r\n // india_where_sale_done:this.fb.array([]),\r\n //max_sale_state_name:this.fb.array([]),\r\n //countries_where_export_done:this.fb.array([])\r\n })\r\n}\r\nindiaSalesDone():FormGroup{\r\n return this.fb.group({\r\n state_name:[''],\r\n city_name:['']\r\n })\r\n}\r\nmaxSaleState():FormGroup{\r\n return this.fb.group({\r\n state_name:[''],\r\n city_name:['']\r\n })\r\n}\r\ncreateDocument() {\r\n return this.fb.group({\r\n document: ['']\r\n });\r\n}\r\naddDesignation() {\r\n const control = this.businessForm.controls['designation'];\r\n control.push(this.createDesignation());\r\n}\r\ndeleteDesignation(index) {\r\n const control = this.businessForm.controls['designation'];\r\n if(control.length==1){\r\n this.businessForm.controls['designation'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\naddPartnerDetails(event) {\r\n const control = this.businessForm.controls['partners'];\r\n event.stopPropagation()\r\n let length = control.length;\r\n this.step = length;\r\n \r\n control.push(this.createPartners());\r\n}\r\naddPersonRelationship(event){\r\n event.stopPropagation()\r\n const control=this.businessForm.controls['persons_with_relationships']\r\n let length=control.length\r\n this.step=length\r\n control.push(this.createRelationShip());\r\n}\r\ndeletePersonRelationship(index){\r\n const control=this.businessForm.controls['persons_with_relationships'];\r\n control.removeAt(index)\r\n}\r\ndeletePartnerDetails(index) {\r\n const control = this.businessForm.controls['partners'];\r\n if(control.length==1){\r\n this.businessForm.controls['partners'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\naddMoreManufacturing() {\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n manufacturingControl.push(this.manufactureDetails());\r\n}\r\nremoveManufacturing(index){\r\n let manufacturingControl = this.businessForm.controls['manufacturing_activity_details'];\r\n if(manufacturingControl.length>1){\r\n manufacturingControl.removeAt(index)\r\n }\r\n else{\r\n manufacturingControl.reset();\r\n }\r\n}\r\naddMoreRetail(){\r\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\r\n retailControl.push(this.manufactureDetails());\r\n}\r\nremoveRetail(index){\r\n let retailControl=this.businessForm.controls['retail_trading_activity_details'];\r\n if(retailControl.length>1){\r\n retailControl.removeAt(index)\r\n }\r\n else{\r\n retailControl.reset();\r\n }\r\n}\r\naddMoreWholesale() {\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n wholesaleControl.push(this.manufactureDetails());\r\n}\r\nremoveWholesale(index){\r\n let wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details'];\r\n if(wholesaleControl.length>1){\r\n wholesaleControl.removeAt(index)\r\n }\r\n else{\r\n wholesaleControl.reset();\r\n }\r\n}\r\naddMoreServiceprovider() {\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n serviceControl.push(this.manufactureDetails());\r\n}\r\nremoveServiceProvider(index){\r\n let serviceControl = this.businessForm.controls['service_provider_activity_details'];\r\n if(serviceControl.length>1){\r\n serviceControl.removeAt(index)\r\n }\r\n else{\r\n serviceControl.reset();\r\n }\r\n}\r\n// addMoreOthersActivity(){\r\n// let othersControl = this.businessForm.controls['others_activity_details'];\r\n// othersControl.push(this.createOthersActivity());\r\n// }\r\ncreateCountrySale() {\r\n return this.fb.group({\r\n country_name: ['',Validators.compose([Validators.required])],\r\n approx_sale: ['', Validators.compose([Validators.required])]\r\n }); \r\n}\r\n\r\naddMoreState(mindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n \r\n\r\n}\r\nremoveState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('manufacturing_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n\r\naddRetailMoreState(rindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[rindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[rindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n}\r\nremoveRetailState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('retail_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n// add more whole sale state\r\naddWholesaleMoreState(windex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[windex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[windex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n\r\n}\r\n// remove for whole sale\r\nremoveWholesaleState(mindex,sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('wholesale_trading_activity_details') as FormArray;\r\n control = control.controls[mindex].get('countries_where_export_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n}\r\n // add more service provider\r\n addServiceMoreState(sindex,type) {\r\n if(type==1){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[sindex].get('india_where_sale_done') as FormArray;\r\n control.push(this.indiaSalesDone())\r\n }\r\n else if(type==2){\r\n let control: any = this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control = control.controls[sindex].get('countries_where_export_done') as FormArray;\r\n control.push(this.createCountrySale())\r\n }\r\n }\r\n \r\n // remove service provider\r\n\r\nremoveServiceState(mindex,sindex,type){\r\n if(type==1){\r\n let control:any=this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control=control.controls[mindex].get('india_where_sale_done') as FormArray;\r\n control.removeAt(sindex);\r\n }\r\n else if(type==2){\r\n let control1:any=this.businessForm.get('service_provider_activity_details') as FormArray;\r\n control1=control1.controls[mindex].get('countries_where_export_done') as FormArray\r\n control1.removeAt(sindex)\r\n }\r\n}\r\naddDocuments() {\r\n const control = this.businessForm.controls['documents'];\r\n control.push(this.createDocument());\r\n}\r\ndeleteDocuments(index) {\r\n const control = this.businessForm.controls['documents'];\r\n if(control.length==1){\r\n this.businessForm.controls['documents'].reset();\r\n }else{\r\n control.removeAt(index);\r\n }\r\n}\r\n\r\nrelationChanged(event) {\r\n this.relativeNames = [];\r\n event.value.forEach(option => {\r\n this.relativeNames.push({member: option});\r\n });\r\n}\r\ncreatePOSMachinesDetails(data){\r\n if(data==null){\r\n return this.fb.group({\r\n pos_machines_financial_institution_name: [''],\r\n tid_no_of_pos_machine: [''],\r\n })\r\n }\r\n else{\r\n return this.fb.group({\r\n pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name],\r\n tid_no_of_pos_machine: [data.tid_no_of_pos_machine],\r\n })\r\n }\r\n}\r\n\r\n public initBusinessForm(): void {\r\n this.businessForm = this.fb.group({\r\n pdid: this.pdDetails.pd_id,\r\n formid: this.FormId.form_id,\r\n fk_createdby: this.users,\r\n profession_name: ['', Validators.compose([Validators.required])],\r\n business_years: ['', Validators.compose([Validators.required])],\r\n industry: ['', Validators.compose([Validators.required])],\r\n type_of_activity: ['', Validators.compose([Validators.required])],\r\n seasonality: ['', Validators.compose([Validators.required])],\r\n designation: this.fb.array([]),\r\n partners: this.fb.array([]),\r\n employees_total: ['', Validators.compose([Validators.required])],\r\n employees_permanent: ['', Validators.compose([Validators.required])],\r\n employees_temporary: ['', Validators.compose([Validators.required])],\r\n officer_total: ['', Validators.compose([Validators.required])],\r\n officer_permanent: ['', Validators.compose([Validators.required])],\r\n officer_temporary: ['', Validators.compose([Validators.required])],\r\n invested_amount: ['', Validators.compose([Validators.required])],\r\n working_capital: ['', Validators.compose([Validators.required])],\r\n is_service_provided: ['', Validators.compose([Validators.required])],\r\n ownership_setup: ['', Validators.compose([Validators.required])],\r\n ownership_others: [''],\r\n rent_paid: [''],\r\n shop_eat_act_cert: ['', Validators.compose([Validators.required])],\r\n gst_Regn_cert: ['', Validators.compose([Validators.required])],\r\n export_import_cert: ['', Validators.compose([Validators.required])],\r\n factory_cert: ['', Validators.compose([Validators.required])],\r\n practice_cert: ['', Validators.compose([Validators.required])],\r\n pf_regn: ['', Validators.compose([Validators.required])],\r\n esic_regn: ['', Validators.compose([Validators.required])],\r\n other_documents: ['', Validators.compose([Validators.required])],\r\n documents: this.fb.array([]),\r\n business_remarks: ['', Validators.compose([Validators.required])],\r\n who_started: ['', Validators.compose([Validators.required])],\r\n main_person: ['', Validators.compose([Validators.required])],\r\n other_main_person: [''],\r\n family_members_involved: ['', Validators.compose([Validators.required])],\r\n before_business: ['', Validators.compose([Validators.required])],\r\n any_delays: ['', Validators.compose([Validators.required])],\r\n });\r\n}\r\n\r\nsubmitDetails() {\r\n\r\n if(this.EntityTypeFlag == true){\r\n let control: any = this.businessForm.controls['partners'];\r\n let control2:any = control.controls[0];\r\n\r\n control2.controls['shareholding'].clearValidators();\r\n control2.controls['shareholding'].updateValueAndValidity();\r\n control2.controls['shareholding'].setValue('100');\r\n\r\n \r\n // control.controls[0].removeControl('shareholding');\r\n // control.controls[0].removeControl('started_business');\r\n // control.controls[0].removeControl('current_business_experiance_year');\r\n // control.controls[0].removeControl('current_business_experiance_month');\r\n // control.controls[0].removeControl('total_business_experiance');\r\n \r\n control2.controls['started_business'].setValue('');\r\n\r\n control2.controls['current_business_experiance_year'].clearValidators();\r\n control2.controls['current_business_experiance_year'].updateValueAndValidity();\r\n control2.controls['current_business_experiance_year'].setValue('');\r\n\r\n control2.controls['current_business_experiance_month'].setValue('');\r\n\r\n control2.controls['total_business_experiance'].clearValidators();\r\n control2.controls['total_business_experiance'].updateValueAndValidity();\r\n control2.controls['total_business_experiance'].setValue('');\r\n // if(control2.controls['total_business_previous_experience'].value !=undefined){\r\n // control2.controls['total_business_previous_experience'].clearValidators();\r\n // control2.controls['total_business_previous_experience'].updateValueAndValidity();\r\n // control2.controls['total_business_previous_experience'].setValue('0');\r\n // }\r\n\r\n }\r\n\r\n \r\n let family: any = [];\r\n \r\n let design: any;\r\n //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users};\r\n let records:any;\r\n // records.pdid = this.pdDetails.pd_id;\r\n // records.formid = this.FormId;\r\n // records.fk_createdby = this.users;\r\n records=this.businessForm.value;\r\n\r\n //if(records.persons_with_relationships=='')\r\n if (records.other_documents == 'no') {\r\n delete records.documents;\r\n }\r\n if (records.rent_paid == '') {\r\n delete records.rent_paid;\r\n }\r\n if (records.ownership_others == '') {\r\n delete records.ownership_others;\r\n }\r\n // records.family_members_involved = this.relativeNames;\r\n \r\n\r\n let validationFlag : number = 0;\r\n\r\n //type 1: Checking manufacturing_activity_details \r\n if(records.manufacturing_activity_details.length > 0){\r\n\r\n records.manufacturing_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale!= \"Within India\"){ \r\n let ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = ManufacturingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n \r\n }\r\n\r\n //type 3 checking wholesale_trading_activity_details\r\n if(records.wholesale_trading_activity_details.length > 0){\r\n\r\n records.wholesale_trading_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){ \r\n let WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = WholesaleTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n //type 2 checking retail_trading_activity_details\r\n if(records.retail_trading_activity_details.length > 0){\r\n\r\n records.retail_trading_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){ \r\n let RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = RetailTradingArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n\r\n //type 4 checking service_provider_activity_details\r\n if(records.service_provider_activity_details.length > 0){\r\n\r\n records.service_provider_activity_details.forEach((val,index) => {\r\n if(val.area_of_sale != \"Within India\"){\r\n \r\n let ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) {\r\n return val.countries_where_export_done[key];\r\n });\r\n let total = ServiceProviderArray.reduce((sum, item) => sum + +item.approx_sale, 0);\r\n if(total > 100 || total < 100){\r\n validationFlag++;\r\n }\r\n }\r\n });\r\n \r\n }\r\n\r\n //validationFlag is greater then 0 means its display the notifer as warning\r\n if(validationFlag > 0){\r\n this.toast.pdTriggerappmessage(\"warning!! Approximate sales doesn't add upto 100%\");\r\n return;\r\n }\r\n\r\n records.select_business_activity_type = records.select_business_activity_type.filter(value=>value.exist_status==1);\r\n this.qustCat.saveForm(records).subscribe(data => {\r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },3000);\r\n }\r\n });\r\n}\r\n getBuisnessDetails()\r\n {\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}; \r\n this.qustCat.retiverForm(records).subscribe(data => {\r\n let businessVal = data['records'];\r\n \r\n let constVal: any;\r\n const Desgn = this.businessForm.controls['designation'];\r\n const Partnr = this.businessForm.controls['partners'];\r\n const otherDoc = this.businessForm.controls['documents'];\r\n\r\n if (data['status'] == 200) {\r\n let DocArray: any;\r\n let DesgnArray = Object.keys(data['records'].designation).map(function (key) {\r\n return data['records'].designation[key];\r\n });\r\n let PartnrArray = Object.keys(data['records'].partners).map(function (key) {\r\n return data['records'].partners[key];\r\n });\r\n\r\n let selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) {\r\n return data['records'].family_members_involved[key];\r\n });\r\n let enduse: any = [];\r\n let existRelative: any =[];\r\n selectedMembers.forEach(val => {\r\n enduse.push(val.member);\r\n existRelative.push(val);\r\n });\r\n this.relativeNames = existRelative;\r\n if (DesgnArray.length == 0) {\r\n Desgn.push(this.createDesignation());\r\n } else {\r\n DesgnArray.forEach(datas => {\r\n Desgn.push(this.createDesignation());\r\n });\r\n \r\n }\r\n if (PartnrArray.length == 0) {\r\n Partnr.push(this.createPartners());\r\n } else {\r\n PartnrArray.forEach(datas => {\r\n Partnr.push(this.createPartners());\r\n });\r\n }\r\n if (data['records'].other_documents == 'yes') {\r\n DocArray = Object.keys(data['records'].documents).map(function (key) {\r\n return data['records'].documents[key];\r\n });\r\n DocArray.forEach(datas => {\r\n otherDoc.push(this.createDocument());\r\n });\r\n } else {\r\n DocArray = [{document: ''}];\r\n otherDoc.push(this.createDocument());\r\n }\r\n if (data['records'].ownership_setup != 'others') {\r\n businessVal.ownership_others = '';\r\n }\r\n if (data['records'].ownership_setup != 'rented') {\r\n businessVal.rent_paid = '';\r\n }\r\n businessVal.family_members_involved = enduse;\r\n businessVal.pdid = this.pdDetails.pd_id;\r\n businessVal.formid = this.FormId.form_id;\r\n businessVal.fk_createdby = this.users;\r\n businessVal.designation = DesgnArray;\r\n businessVal.partners = PartnrArray;\r\n businessVal.documents = DocArray;\r\n\r\n this.businessForm.setValue(businessVal);\r\n } else {\r\n Desgn.push(this.createDesignation());\r\n Partnr.push(this.createPartners());\r\n otherDoc.push(this.createDocument());\r\n }\r\n\r\n });\r\n }\r\n setStep(index: number) {\r\n this.step = index;\r\n}\r\ninWords(e,flag){\r\n switch(flag){\r\n case 1 : \r\n this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n }\r\n }\r\n ManufacturingCounterArray: any = [];\r\nRetailCounterArray: any = [];\r\nWholeSaleCounterArray: any = [];\r\nServiceCounterArray: any = [];\r\n\r\n CheckExport(value,stringFlag,index){\r\n //this.ExportFlag=false\r\n const parentControl = this.businessForm.controls['select_business_activity_type'];\r\n const childControl = parentControl.controls[0];\r\n\r\n\r\n // childControl.forEach((datas,index) => {\r\n \r\n \r\n // // exist_status==true && event.value.type_of_activity_id\r\n\r\n // });\r\n\r\n \r\n\r\n \r\n \r\n if(!this.ManufacturingChecked){\r\n // console.log(\"Manu\")\r\n if(stringFlag == 'MActivity' && value == \"Both\"){\r\n this.ManufacturingCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'MActivity' && value != \"Both\"){\r\n this.ManufacturingCounterArray[index] = 0;\r\n }\r\n }else if (this.ManufacturingChecked && stringFlag == 'MActivity'){\r\n // console.log(\"manu\");\r\n this.ManufacturingCounterArray[index] = 0;\r\n }\r\n\r\n if(!this.RetailedChecked){ \r\n if(stringFlag == 'RActivity' && value == \"Both\"){\r\n this.RetailCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'RActivity' && value != \"Both\"){\r\n this.RetailCounterArray[index] = 0;\r\n }\r\n }\r\n else if(stringFlag == 'RActivity' && this.RetailedChecked){\r\n this.RetailCounterArray[index] = 0;\r\n }\r\n\r\n if(!this.WholeSalesChecked){\r\n if(stringFlag == 'WActivity' && value == \"Both\"){\r\n this.WholeSaleCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'WActivity' && value != \"Both\"){\r\n this.WholeSaleCounterArray[index] = 0;\r\n }\r\n }\r\n else if(stringFlag == 'WActivity' && this.WholeSalesChecked){\r\n this.WholeSaleCounterArray[index] = 0;\r\n }\r\n \r\n if(!this.ServiceChecked){\r\n \r\n if(stringFlag == 'SPActivity' && value == \"Both\")\r\n { \r\n this.ServiceCounterArray[index] = 1;\r\n }\r\n else if(stringFlag == 'SPActivity' && value != \"Both\"){\r\n this.ServiceCounterArray[index] = 0;\r\n }\r\n\r\n }else if(stringFlag == 'SPActivity'){\r\n this.ServiceCounterArray[index] = 0;\r\n } \r\n\r\n let SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfRetailCounter = this.RetailCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n let SumOfServiceCounter = this.ServiceCounterArray.reduce((sum, val) => sum + +val, 0);\r\n \r\n\r\n let overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter ;\r\n \r\n\r\n this.ExportFlag = overallCounter > 0 ? true : false ;\r\n // console.log(this.ExportFlag);\r\n //console.log(overallCounter)\r\n\r\n}\r\nchangePOSMachinesAvailablity(e, flag) {\r\nconsole.log(e)\r\n e == 'yes'\r\n ? this.businessForm.addControl('no_of_pos_machines', new FormControl(''))\r\n : this.businessForm.removeControl('no_of_pos_machines');\r\n\r\n if (flag == 2) {\r\n e == 'yes'\r\n ? this.businessForm.controls.no_of_pos_machines.setValue('')\r\n : this.businessForm.removeControl('no_of_pos_machines');\r\n }\r\n\r\n}\r\ntoGetPOSMachinesDetails(e,flag){\r\n\r\n if(flag == 1){ this.businessForm.addControl('pos_machines_details', this.fb.array([])); }\r\n const control = this.businessForm.controls['pos_machines_details'];\r\n\r\n while (control.length !== 0) {\r\n control.removeAt(0);\r\n }\r\n\r\n if(e > 0 ){\r\n if(flag == 1){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n control.push(this.createPOSMachinesDetails(null));\r\n }\r\n }\r\n else if(flag == 2){\r\n for(let i = 1 ; i<= e ; i++ ){\r\n control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine));\r\n }\r\n }\r\n }\r\n }\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../../providers/aws-service/aws-service'\r\nimport { FormGroup,FormBuilder,FormArray, Validators} from '@angular/forms';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\r\nimport { ConstantsProvider } from '../../../../providers/constants/constants'\r\nimport { ToastProvider } from '../../../../providers/common-provider/toast'\r\nimport { controlNameBinding } from '@angular/forms/src/directives/reactive_directives/form_control_name';\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessAssetsPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-assets',\r\n templateUrl: 'pd-question-business-assets.html',\r\n})\r\nexport class PdQuestionBusinessAssetsPage {\r\n currentYear:any=new Date().getFullYear();\r\n\r\n public m_any_asset_loan_type = [{'value': \"yes\",'viewValue': \"Yes\"},\r\n {'value': \"no\",'viewValue': \"No\"},\r\n {'value': \"nan\",'viewValue': \"NA\"}]\r\n\r\n company_id:any;\r\n pdDetails:any;\r\n formDetails : any;\r\n users:any;\r\n _businessAssetsQuesFrom:FormGroup;\r\n m_assets_type:any;\r\n m_propertyType:any;\r\n AssetValueInwords:any=[];\r\n appxMarketAmtInwords:any=[];\r\n RentAmtInwords:any=[]\r\n mergeCompanyApplicant:any=[];\r\n existCompanyList:any=[]\r\n applicants:any;\r\n data_all:any;\r\n CustSegAbbr: any;\r\n generalExistBusinessYear:Number;\r\n generalExistBusinessMonth:Number;\r\n yearErrorMessage: any=[];\r\n monthErrorMessage: any=[];\r\n addressLabel: any=[];\r\n placeholderName : any = []\r\n m_address_type:any=[]\r\n pageTitle: string;\r\n main_applicant: any;\r\n lender_applicant_id: any;\r\n subproduct_abbr: any;\r\n customer_segment_abbr: any;\r\n RentAmtInwordsForAddress: any =[];\r\n appxMarketAmtInwordsForAddress: any =[];\r\n isOtherOwnerForAddress : boolean = false;\r\n isOtherOwner: boolean = false;\r\n public m_vehicle_type = [];\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public fb:FormBuilder,public qustcat:QuestionCategoryProvider,public cons:ConstantsProvider,public toast:ToastProvider) {\r\n \r\n \r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.users=this.aws.getlocale();\r\n this.company_id=this.pdDetails.company_id;\r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'});\r\n this.generalExistBusinessYear = this.pdDetails.business_years;\r\n this.generalExistBusinessMonth = this.pdDetails.business_month;\r\n this.pageTitle = this.pdDetails.company_name + ' - ' +this.pageTitle ;\r\n this.main_applicant = this.pdDetails.applicant_name;\r\n this.lender_applicant_id = this.pdDetails.lender_applicant_id;\r\n this.subproduct_abbr = this.pdDetails.subproduct_abbr;\r\n this.customer_segment_abbr = this.pdDetails.customer_segment_abbr;\r\n this.getDropDown()\r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessAssetsPage');\r\n this.getDetails()\r\n //this.getAddress()\r\n }\r\n getAddress(){\r\n let params:any={};\r\n params.pd_id=this.pdDetails.pd_id;\r\n params.pd_form_id='5'\r\n\r\n this.qustcat.retiverForm(params).subscribe(data => {\r\n const control= this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n if(data['status'] == 200) {\r\n \r\n \r\n if(data['records'].addresses.length > 0){\r\n data['records'].addresses.forEach((data,inx)=>{\r\n\r\n \r\n this.addressLabel[inx] = '';\r\n \r\n let selectedAddressType = this.m_address_type.filter(element =>element.address_type_id == data.address_type)[0];\r\n let address = data.address;\r\n let addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others;\r\n \r\n this.placeholderName[inx] = 'Was any business activity seen at the '+addressType+' during PD visit?';\r\n let addressLabel = \" : \"+address+' / '+addressType ;\r\n let values={\r\n address_label:addressLabel,\r\n business_years: '',\r\n business_month: '',\r\n business_address_availability: '',\r\n business_is_pd_visited: '',\r\n business_pd_visited_remark: '', \r\n business_approximate_market_value: '',\r\n business_ownership_type: '',\r\n business_monthly_rented_amt: '',\r\n business_name_of_the_owner: '',\r\n business_name_of_the_other_owner: '',\r\n business_vintage: '',\r\n business_purchase_year: '',\r\n business_emi: ''\r\n }\r\n control.push(this.initBusinessDetailsWithdata(values));\r\n })\r\n }\r\n else{\r\n control.push(this.initBusinessDetails())\r\n }\r\n }\r\n else{\r\n control.push(this.initBusinessDetails());\r\n }\r\n });\r\n }\r\n getDropDown(){\r\n this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(data=>{\r\n this.m_address_type=data['records'].filter(val=>val.isactive == 1);\r\n })\r\n this.qustcat.getcommondrop('VEHICLETYPE').subscribe(\r\n data => {\r\n this.m_vehicle_type = data['records'].filter(data => data.is_active == 1);\r\n })\r\n \r\n this.qustcat.getcommondrop('ASSETTYPE').subscribe(data=>{\r\n this.m_assets_type=data['records'].filter(val=>val.isactive==1 && val.flag==1);\r\n \r\n })\r\n\r\n this.qustcat.getcommondrop('PROPERTIES').subscribe(data=>{\r\n this.m_propertyType=data['records'].filter(val=>val.isactive==1)\r\n })\r\n\r\n this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(data=>{\r\n if(data.dataStatus){\r\n this.existCompanyList=data['records'].filter(val=>val.is_active==true);\r\n \r\n }\r\n \r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n }\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList})\r\n\r\n }\r\n })\r\n\r\n \r\n \r\n }\r\n apiLoadFinish:boolean=false\r\n getDetails(){\r\n let params:any={};\r\n params.pd_id=this.pdDetails.pd_id\r\n params.company_id=this.company_id\r\n params.pd_form_id=22\r\n this.qustcat.retiverForm(params).subscribe(res=>{\r\n \r\n if(res['dataStatus']==true){\r\n \r\n //this.data_all=res['records']\r\n /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){\r\n return res['records'].business_assets_details[key]\r\n });\r\n \r\n //this.formLoadData(assestArray)\r\n this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark);\r\n if(assestArray.length>0){\r\n for(let val of assestArray){\r\n let formData={\r\n business_assets_mode: val.business_assets_mode,\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_purchase_year: val. business_purchase_year,\r\n business_vintage : val.business_vintage,\r\n business_emi: val.business_emi,\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetailsWithdata(formData));\r\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1)\r\n }\r\n }*/\r\n this.formLoadData(res['records'])\r\n }\r\n\r\n \r\n else{\r\n this.formLoadData(null);\r\n }\r\n this.apiLoadFinish=true\r\n \r\n \r\n })\r\n //this.formLoadData(null);\r\n \r\n }\r\n \r\n formLoadData(data){\r\n if(data==null){\r\n this._businessAssetsQuesFrom=this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n /* formid: ['22'],*/\r\n formid: [this.formDetails.form_id],\r\n company_id : [this.company_id],\r\n fk_createdby:[this.users],\r\n \r\n business_assets_for_address: this.fb.array([]),\r\n //this.createBusinessAssetsForAddress(),\r\n business_assets_details : this.fb.array([\r\n this.initBusinessDetails(),\r\n ]),\r\n business_assets_form_remark:['']\r\n });\r\n this.getAddress();\r\n this.loadDetails=true;\r\n }\r\n else{\r\n \r\n let value=data;\r\n this._businessAssetsQuesFrom=this.fb.group({\r\n pdid: [this.pdDetails.pd_id],\r\n /* formid: ['22'],*/\r\n formid: [this.formDetails.form_id],\r\n company_id : [this.company_id],\r\n fk_createdby:[this.users],\r\n // business_years:[value.business_years],\r\n // business_month:[value.business_month],\r\n // business_address_availability:[value.business_address_availability],\r\n // business_is_pd_visited:[value.business_is_pd_visited],\r\n // business_pd_visited_remark:[value.business_pd_visited_remark],\r\n business_assets_for_address: this.fb.array([]),\r\n business_assets_details : this.fb.array([]),\r\n business_assets_form_remark:[value.business_assets_form_remark || '']\r\n });\r\n // if (value.business_assets_for_address.business_address_availability == 'yes') {\r\n \r\n // this.addBusinessAssetsForAddress(value.business_assets_for_address);\r\n // }\r\n // else {\r\n // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n // control.push(this.createBusinessAssetsForAddress());\r\n // } \r\n // this.addBusinessAssetsDetailsWithData(value.business_assets_details);\r\n this.addBusinessAssetsForAddress(value.business_assets_for_address);\r\n this.addBusinessAssetsDetailsWithData(value.business_assets_details);\r\n }\r\n\r\n this.loadDetails=true\r\n }\r\n\r\n initBusinessDetails(){\r\n return this.fb.group({\r\n address_label:[''],\r\n business_assets_mode:[''],\r\n business_details: this.fb.array([]),\r\n \r\n business_years:[''],\r\n business_month:[''],\r\n business_address_availability:[''],\r\n business_is_pd_visited:[''],\r\n business_pd_visited_remark:[''],\r\n \r\n business_approximate_market_value: [''],\r\n business_ownership_type:[''],\r\n business_monthly_rented_amt:[''],\r\n business_name_of_the_owner: [],\r\n business_name_of_the_other_owner: [],\r\n business_vintage: [''],\r\n business_purchase_year: ['',Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: [''],\r\n \r\n })\r\n }\r\n loadProperty() {\r\n return this.fb.group({\r\n property_type: [''],\r\n other_property_type: [''],\r\n address_of_the_property: ['']\r\n });\r\n }\r\n load_Four_Weeler() {\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [''],\r\n vehicle_type: [''],\r\n other_vehicle_type: ['']\r\n });\r\n }\r\n loadEquipmentManufacturingDescription() {\r\n return this.fb.group({\r\n equipment_manufacturing_description: ['']\r\n });\r\n }\r\n otherBusinessAssetsDescription() {\r\n return this.fb.group({\r\n any_other_assets: [''],\r\n any_other_asset_value : [''],\r\n any_other_asset_loan : [''], \r\n });\r\n }\r\n\r\n /** Add More Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\r\n addAssetDetails(e) {\r\n \r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetails());\r\n \r\n }\r\n /** To remove The Added Asset using Flag Both \"Other Asset\" And \"Business Asset\" */\r\n removeAssetsDetails(i: number) {\r\n \r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.removeAt(i);\r\n\r\n}\r\n\r\ncreateBusinessAssetsForAddress(): FormGroup {\r\n return this.fb.group({\r\n address_label:[''],\r\n business_years:[''],\r\n business_month:[''],\r\n business_address_availability:[''],\r\n business_is_pd_visited:[''],\r\n business_pd_visited_remark:[''],\r\n\r\n business_approximate_market_value: [''],\r\n business_ownership_type: [''],\r\n business_monthly_rented_amt: [''],\r\n business_name_of_the_owner: [''],\r\n business_name_of_the_other_owner: [''],\r\n business_vintage: [''],\r\n business_purchase_year: ['', Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: ['']\r\n });\r\n}\r\n\r\n selectedAssetsType(e: any, i: any): void {\r\n let val = i;\r\n const arr = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\r\n arr.controls.splice(0);\r\n \r\n switch (e.value) {\r\n case '1': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.otherBusinessAssetsDescription());\r\n break;\r\n }\r\n case '2': {\r\n let val = i;\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadProperty());\r\n break;\r\n }\r\n case '3': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.load_Four_Weeler());\r\n break;\r\n }\r\n case '4': {\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadEquipmentManufacturingDescription());\r\n break;\r\n }\r\n \r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n loadPropertyWithData(data) { \r\n return this.fb.group({\r\n property_type: [data.property_type],\r\n other_property_type: [data.other_property_type],\r\n address_of_the_property: [data.address_of_the_property],\r\n });\r\n }\r\n load_Four_WeelerWithData(data){\r\n return this.fb.group({\r\n manufacturer_model_vehicle: [data.manufacturer_model_vehicle],\r\n vehicle_type: [data.vehicle_type],\r\n other_vehicle_type: [data.other_vehicle_type]\r\n })\r\n }\r\n\r\n loadEquipmentManufacturingDescriptionWithData(data) {\r\n return this.fb.group({\r\n equipment_manufacturing_description: [data.equipment_manufacturing_description]\r\n });\r\n }\r\n otherBusinessAssetsDescriptionWithData(data) {\r\n return this.fb.group({\r\n any_other_assets: [data.any_other_assets],\r\n any_other_asset_loan : [data.any_other_asset_loan],\r\n });\r\n }\r\n\r\n loadDetails:boolean\r\n addBusinessAssetsForAddress(data) {\r\n var result = Object.keys(data).map(function (key) {\r\n return data[key];\r\n });\r\n if (result.length > 0) {\r\n result.forEach((datas, index) => {\r\n this.RentAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_monthly_rented_amt);\r\n this.appxMarketAmtInwordsForAddress[index] = this.cons.convertNumberToWords(datas.business_approximate_market_value);\r\n let Avaliablity = 1;\r\n \r\n if(datas.business_name_of_the_owner.length > 0){\r\n datas.business_name_of_the_owner.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){\r\n Avaliablity = option.id;\r\n }\r\n });\r\n }\r\n this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false;\r\n });\r\n\r\n for (let val of result) {\r\n let vals = {\r\n address_label:val.address_label,\r\n business_years:val.business_years,\r\n business_month:val.business_month,\r\n business_address_availability:val.business_address_availability,\r\n business_is_pd_visited:val.business_is_pd_visited,\r\n business_pd_visited_remark:val.business_pd_visited_remark,\r\n\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_ownership_type: val.business_ownership_type,\r\n business_monthly_rented_amt: val.business_monthly_rented_amt,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_vintage: val.business_vintage,\r\n business_purchase_year: val.business_purchase_year,\r\n business_emi: val.business_emi\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.push(this.createBusinessAssetsForAddressWithData(vals));\r\n }\r\n } else {\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.push(this.createBusinessAssetsForAddress());\r\n }\r\n }\r\n addBusinessAssetsDetailsWithData(supp_data){\r\n var result=Object.keys(supp_data).map(function(key){\r\n return supp_data[key];\r\n })\r\n \r\n if(result.length>0){\r\n result.forEach((datas,index)=>{\r\n this.appxMarketAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_approximate_market_value)\r\n this.RentAmtInwords[index]=this.cons.convertNumberToWords(+datas.business_monthly_rented_amt);\r\n });\r\n for(let val of result){\r\n let formData={\r\n address_label:val.address_label,\r\n business_assets_mode: val.business_assets_mode,\r\n\r\n business_years:val.business_year,\r\n business_month:val.business_month,\r\n business_address_availability:val.business_address_availability,\r\n business_is_pd_visited:val.business_is_pd_visited,\r\n business_pd_visited_remark:val.business_pd_visited_remark,\r\n\r\n business_approximate_market_value: val.business_approximate_market_value,\r\n business_ownership_type:val.business_ownership_type,\r\n business_monthly_rented_amt:val.business_monthly_rented_amt,\r\n business_name_of_the_owner: val.business_name_of_the_owner,\r\n business_name_of_the_other_owner: val.business_name_of_the_other_owner,\r\n business_purchase_year: val. business_purchase_year,\r\n business_vintage : val.business_vintage,\r\n business_emi: val.business_emi,\r\n };\r\n const control = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.push(this.initBusinessDetailsWithdata(formData));\r\n this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1)\r\n }\r\n \r\n }\r\n this.loadDetails=true\r\n }\r\n\r\n createBusinessAssetsForAddressWithData(data): FormGroup {\r\n return this.fb.group({\r\n address_label:[data.address_label],\r\n business_years:[data.business_years],\r\n business_month:[data.business_month],\r\n business_address_availability:[data.business_address_availability],\r\n business_is_pd_visited:[data.business_is_pd_visited],\r\n business_pd_visited_remark:[data.business_pd_visited_remark],\r\n\r\n business_approximate_market_value: [data.business_approximate_market_value],\r\n business_ownership_type: [data.business_ownership_type],\r\n business_monthly_rented_amt: [data.business_monthly_rented_amt],\r\n business_name_of_the_owner: [data.business_name_of_the_owner],\r\n business_name_of_the_other_owner: [data.business_name_of_the_other_owner],\r\n business_vintage: [data.business_vintage],\r\n business_purchase_year: [data.business_purchase_year, Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n business_emi: [data.business_emi]\r\n });\r\n }\r\n\r\n initBusinessDetailsWithdata(data) {\r\n \r\n\r\n let formGroup= this.fb.group({\r\n address_label:[data.address_label],\r\n business_assets_mode: [data.business_assets_mode],\r\n \r\n business_years:[data.business_year],\r\n business_month:[data.business_month],\r\n business_address_availability:[data.business_address_availability],\r\n business_is_pd_visited:[data.business_is_pd_visited],\r\n business_pd_visited_remark:[data.business_pd_visited_remark],\r\n\r\n business_details: this.fb.array([]),\r\n business_approximate_market_value: [data.business_approximate_market_value],\r\n business_ownership_type : [data.business_ownership_type],\r\n business_monthly_rented_amt:[data.business_monthly_rented_amt],\r\n business_name_of_the_owner: [data.business_name_of_the_owner],\r\n business_name_of_the_other_owner:[data.business_name_of_the_other_owner || ''],\r\n // relation: [data.relation || ''],\r\n business_vintage: [data. business_vintage],\r\n business_purchase_year: [data. business_purchase_year,Validators.compose([Validators.pattern(\"[1-9]{1}[0-9]{3}\")])],\r\n // purchase_month: [data.purchase_month],\r\n business_emi: [data.business_emi || ''],\r\n });\r\n return formGroup;\r\n }\r\n setBusinessAssetsDetailsWithData(assets_details_mode:any,datas:any,i:any){\r\n \r\n let val = i;\r\n let data = datas;\r\n const control=(this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray;\r\n control.controls.splice(0);\r\n\r\n switch (assets_details_mode) {\r\n case '2': {\r\n let business_property_datas : any;\r\n data.forEach((datas,i) => {\r\n business_property_datas = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadPropertyWithData(business_property_datas));\r\n break;\r\n }\r\n case '3': {\r\n let business_Four_Weeler_datas : any;\r\n data.forEach((datas,i) => {\r\n business_Four_Weeler_datas = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas));\r\n break;\r\n }\r\n case '4': {\r\n let equipment_manufacturing_description_datas : any;\r\n data.forEach((datas,i) => {\r\n equipment_manufacturing_description_datas= { 'equipment_manufacturing_description': datas.equipment_manufacturing_description };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas));\r\n break;\r\n }\r\n \r\n case '1': {\r\n let array_datas : any;\r\n data.forEach((datas,i) => {\r\n this.AssetValueInwords[i] = this.cons.convertNumberToWords(+datas.any_other_asset_value);\r\n array_datas = {\r\n 'any_other_assets': datas.any_other_assets,\r\n // 'any_other_asset_value': datas.any_other_asset_value,\r\n 'any_other_asset_loan': datas.any_other_asset_loan,\r\n };\r\n });\r\n const control = (this._businessAssetsQuesFrom.controls['business_assets_details']).at(val).get('business_details') as FormArray ;\r\n control.push(this.otherBusinessAssetsDescriptionWithData(array_datas));\r\n break;\r\n }\r\n default: {\r\n break;\r\n }\r\n }\r\n }\r\n\r\n public paymentModeTextBox: number;\r\n selectedPM(e) {\r\n this.paymentModeTextBox = e.value;\r\n // this.f.supplier_details.controls.get('payment_mode_value');\r\n }\r\n\r\n public freqPurchaseTextBox: number;\r\n selectedFreqPurchase(e) {\r\n this.freqPurchaseTextBox = e.value;\r\n }\r\n \r\n\r\n onSubmit(){\r\n var answerData=this._businessAssetsQuesFrom.value;\r\n //To Remove The \"Null\" With Key also\r\n Object.keys(answerData).forEach((key) => (answerData[key] == null) && delete answerData[key]);\r\n\r\n this.qustcat.saveForm(answerData).subscribe(result=>{\r\n if(result['dataStatus']==true){\r\n this.toast.pdTriggerappmessage(\"Record Saved Successfully\");\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! something went Wrong \");\r\n }\r\n })\r\n \r\n }\r\n // calculate vintage and purchase {}\r\n calculateVintagePurchase(value: any, controlKey: any, type: number) {\r\n if (type == 1) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 2) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_details'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\r\n }\r\n if (type == 3) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : '');\r\n }\r\n else if (type == 4) {\r\n let control: any = this._businessAssetsQuesFrom.controls['business_assets_for_address'];\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue('');\r\n value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue('')\r\n }\r\n }\r\n\r\n\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n\r\n // // check others\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n\r\n\r\n setRequiredValidation(value, item, flag,i) {\r\n\r\n if (flag == 1) {\r\n if (value == 'yes') {\r\n console.log(\"bu\",this._businessAssetsQuesFrom.controls);\r\n // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]);\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([Validators.required]);\r\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([Validators.required]);\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([Validators.required]);\r\n // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ;\r\n }\r\n else {\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators();\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators();\r\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators();\r\n // this._businessAssetsQuesFrom.controls.business_activity.clearValidators();\r\n }\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity();\r\n \r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity();\r\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity();\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity();\r\n // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity();\r\n\r\n\r\n }\r\n // if(flag == 2){\r\n // value==1\r\n // ? item.controls.premises_type_others.setValidators([Validators.required])\r\n // : item.controls.premises_type_others.clearValidators();\r\n // item.controls.premises_type_others.updateValueAndValidity();\r\n // }\r\n if (flag == 3) {\r\n if (value == 'owned') {\r\n item.controls.business_monthly_rented_amt.clearValidators();\r\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\r\n }\r\n else {\r\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\r\n item.controls.business_name_of_the_owner.clearValidators();\r\n }\r\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\r\n item.controls.business_name_of_the_owner.updateValueAndValidity();\r\n }\r\n if (flag == 4) {\r\n let Avaliablity = 1;\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){ \r\n Avaliablity = option.id;\r\n }\r\n });\r\n if(Avaliablity == 0){\r\n \r\n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\r\n this.isOtherOwner = true;\r\n }else{\r\n \r\n item.controls.business_name_of_the_other_owner.setValue('');\r\n item.controls.business_name_of_the_other_owner.clearValidators();\r\n this.isOtherOwner = false;\r\n }\r\n \r\n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n\r\n // value == 0\r\n // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required])\r\n // : item.controls.business_name_of_the_other_owner.clearValidators();\r\n // item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n }\r\n if (flag == 5) {\r\n value == 1\r\n ? item.controls.other_vehicle_type.setValidators([Validators.required])\r\n : item.controls.other_vehicle_type.clearValidators();\r\n item.controls.other_vehicle_type.updateValueAndValidity();\r\n }\r\n if (flag == 6) {\r\n value == 1\r\n ? item.controls.other_property_type.setValidators([Validators.required])\r\n : item.controls.other_property_type.clearValidators();\r\n item.controls.other_property_type.updateValueAndValidity();\r\n\r\n value != ''\r\n ? item.controls.address_of_the_property.setValidators([Validators.required])\r\n : item.controls.address_of_the_property.clearValidators();\r\n item.controls.address_of_the_property.updateValueAndValidity();\r\n }\r\n if (flag == 7) {\r\n if (value == 'owned') {\r\n item.controls.business_monthly_rented_amt.clearValidators();\r\n item.controls.business_name_of_the_owner.setValidators([Validators.required]);\r\n }\r\n else {\r\n item.controls.business_monthly_rented_amt.setValidators([Validators.required]);\r\n item.controls.business_name_of_the_owner.clearValidators();\r\n }\r\n item.controls.business_monthly_rented_amt.updateValueAndValidity();\r\n item.controls.business_name_of_the_owner.updateValueAndValidity();\r\n }\r\n if(flag == 8){\r\n let Avaliablity = 1;\r\n value.forEach(option => {\r\n if(option.id == 0 && option.group_id == 2){\r\n \r\n Avaliablity = option.id;\r\n }\r\n });\r\n // isOtherOwner: boolean = false;\r\n if(Avaliablity == 0){\r\n \r\n item.controls.business_name_of_the_other_owner.setValidators([Validators.required]);\r\n this.isOtherOwnerForAddress = true;\r\n }else{\r\n \r\n item.controls.business_name_of_the_other_owner.setValue('');\r\n item.controls.business_name_of_the_other_owner.clearValidators();\r\n this.isOtherOwnerForAddress = false;\r\n }\r\n \r\n item.controls.business_name_of_the_other_owner.updateValueAndValidity();\r\n \r\n }\r\n\r\n }\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(e,ind){\r\n console.log( this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years)\r\n let business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value;\r\n \r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n let Year = +business_year + +Math.floor(converted_year);\r\n \r\n if(Year > this.generalExistBusinessYear){\r\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\r\n \r\n }\r\n else{\r\n if(Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth)\r\n {\r\n this.monthErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue('');\r\n \r\n }else{\r\n this.monthErrorMessage[ind] = '';\r\n this.yearErrorMessage[ind] = '';\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year));\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month));\r\n }\r\n }\r\n }\r\n\r\n checkWithExistBusinessYear(e,ind){\r\n \r\n if(+e > this.generalExistBusinessYear){\r\n this.yearErrorMessage[ind] = \"Higher than Business Vintage\";\r\n this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue('');\r\n \r\n }\r\n else{\r\n this.yearErrorMessage[ind] = '';\r\n }\r\n }\r\n\r\n\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1:\r\n this.AssetValueInwords[i]=this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 : \r\n this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 3:\r\n this.RentAmtInwords[i]=this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 9:\r\n this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 10:\r\n this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormBuilder,FormGroup,FormArray,Validators} from '@angular/forms';\r\nimport {AwsServiceProvider} from '../../../../providers/aws-service/aws-service';\r\nimport { QuestionCategoryProvider } from '../../../../providers/question-category/question-category'\r\n// import { QueryState } from '@angular/core/src/render3/interfaces';\r\nimport {ConstantsProvider} from '../../../../providers/constants/constants'\r\nimport {ToastProvider} from '../../../../providers/common-provider/toast'\r\n\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessBankingPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business-banking',\r\n templateUrl: 'pd-question-business-banking.html',\r\n})\r\nexport class PdQuestionBusinessBankingPage {\r\npdDetails:any;\r\nm_btLenderList: any;\r\napplicants: any \r\nsalaryField: boolean;\r\nformDetails: any;\r\nform_id:any;\r\naccountType: any;\r\nusers: any;\r\nbankingForm:FormGroup;\r\npublic pd_cus_segment:string\r\ncompany_id:any;\r\n\r\npdid:any;\r\nitemRows:FormArray;\r\n\r\nexistCompanyList: any=[];\r\nmergeCompanyApplicant: any=[];\r\nstep:number\r\n amtInwords: any=[];\r\n emiAmtInwords: any=[];\r\n limitCaseFlag: any=[];\r\n\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws: AwsServiceProvider,public fb:FormBuilder,public qustCat:QuestionCategoryProvider,public cons:ConstantsProvider,public toast:ToastProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails')\r\n \r\n this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase();\r\n this.pd_cus_segment=this.pd_cus_segment.substring(0,3)\r\n this.pdid=this.pdDetails.pd_id;\r\n this.formDetails=this.navParams.get('formDetails');\r\n this.form_id = this.formDetails.form_id;\r\n this.company_id=this.pdDetails.company_id\r\n \r\n this.applicants = this.pdDetails.applicat_details;\r\n this.applicants = this.applicants.filter(appt=>appt.applicant_type != 2)\r\n this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); \r\n\r\n this.users = this.aws.getlocale();\r\n this.step=0\r\n this.bankingForm = this.fb.group(\r\n {\r\n itemRows:this.fb.array([]),\r\n banking_form_remark:[''],\r\n });\r\n \r\n \r\n \r\n this.salaryField = this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? false : true;\r\n \r\n \r\n this.getdropdown();\r\n this.retiveBankDetails();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessBankingPage');\r\n }\r\n getdropdown(){\r\n \r\n this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true)\r\n {\r\n this.accountType=res['records'];\r\n }\r\n });\r\n this.qustCat.getcommondrop('BTLENDERLIST').subscribe(\r\n data => {\r\n if(data['dataStatus']==true){\r\n this.m_btLenderList = data['records'].filter(data => data.isactive == 1);\r\n }\r\n });\r\n this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(data=>{\r\n \r\n if(data['dataStatus']==true){\r\n this.existCompanyList=data['records'].filter(val =>val.is_active===true && val.is_company_applicant===true)\r\n \r\n }\r\n let modifyCompanyList : any=[];\r\n if(this.existCompanyList.length>0){\r\n modifyCompanyList = this.existCompanyList.map(element => {\r\n return {id:element.company_order_id.toString(),name:element.company_name,group_id:1};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList})\r\n \r\n }\r\n })\r\n let modifyApplicantList: any=[];\r\n if(this.applicants.length > 0){\r\n modifyApplicantList = this.applicants.map(element => {\r\n return {id:element.pd_co_applicant_id,name:element.applicant_name,group_id:2};\r\n });\r\n this.mergeCompanyApplicant.push({groupName:'APPLICANTS',groupValues:modifyApplicantList}) \r\n \r\n // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1);\r\n }\r\n }\r\n compareObjects(o1: any, o2: any) {\r\n if(o1.id == o2.id && o1.group_id == o2.group_id)\r\n return true;\r\n else return false\r\n }\r\n checkOthers(values){\r\n if(values!=null) {\r\n return values.id==0 ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n \r\n }\r\n selectedAccTypeChanges(event: any,i){\r\n \r\n if(event == 2 || event == 1) {\r\n this.limitCaseFlag[i] = false;\r\n \r\n // const control = this.bankingForm.controls['itemRows'];\r\n \r\n // control.controls[0].get('limit').clearValidators();\r\n // control.controls[0].get('limit').updateValueAndValidity();\r\n \r\n }\r\n else{\r\n this.limitCaseFlag[i] = true;\r\n }\r\n\r\n}\r\n /** To Convert Month into Year */\r\n ConvertMonthintoYear(itemrow,e){\r\n \r\n \r\n let year = itemrow.controls.vintage_year.value;\r\n \r\n let converted_month : number = e%12;\r\n let converted_year : number = e/12;\r\n\r\n itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year));\r\n itemrow.controls.vintage_month.setValue(Math.floor(converted_month));\r\n \r\n}\r\n /** Amount InWords */\r\n inWords(e,i,flag){\r\n switch(flag){\r\n case 1 : \r\n this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n case 2 :\r\n this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value);\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n setRequiredValidation(value,item,flag) {\r\n \r\n \r\n if(flag == 1){\r\n value==0\r\n ? item.controls.other_applicant.setValidators([Validators.required])\r\n : item.controls.other_applicant.clearValidators();\r\n item.controls.other_applicant.updateValueAndValidity();\r\n }\r\n if(flag == 2){\r\n value==1\r\n ? item.controls.other_bank.setValidators([Validators.required])\r\n : item.controls.other_bank.clearValidators();\r\n item.controls.other_bank.updateValueAndValidity();\r\n }\r\n \r\n }\r\n\r\n createBankItem(name) {\r\n \r\n return this.fb.group({\r\n applicant_name: [''],\r\n \r\n bank_name: [''],\r\n \r\n account_type: [''],\r\n salary : this.pdDetails.customer_segment_abbr.substring(0,2) == 'SE' ? [''] : [''] ,\r\n limit: [''],\r\n other_bank:[''],\r\n other_applicant:[''],\r\n is_main: [''],\r\n vintage_year: [''],\r\n vintage_month: [''],\r\n \r\n });\r\n\r\n }\r\n addBankDetails(index,event) {\r\n // if(this.pd.valid){\r\n \r\n // if(this.items.length !=0)\r\n // {\r\n // this.neighbourAccess = true;\r\n // }\r\n \r\n event.stopPropagation()\r\n const control = this.bankingForm.controls['itemRows'];\r\n let length = control.length;\r\n this.step = length;\r\n \r\n control.push(this.createBankItem(''));\r\n \r\n \r\n \r\n }\r\n\r\n addmoreBankDetils()\r\n {\r\n \r\n this.itemRows = this.bankingForm.get('itemRows') as FormArray;\r\n \r\n this.itemRows.push(this.createBankItem('')); \r\n }\r\n\r\n removebank(i){\r\n const control = this.bankingForm.controls['itemRows'];\r\n if(control.length==1){\r\n control.reset();\r\n }\r\n else\r\n \r\n \r\n control.removeAt(i);\r\n }\r\n \r\n setStep(index: number) {\r\n this.step = index;\r\n }\r\n\r\n retiveBankDetails(){\r\n let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.form_id,'company_id':this.company_id}\r\n const control = this.bankingForm.controls['itemRows'];\r\n this.qustCat.retiverForm(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n var result = Object.keys(res['records'].banking_details).map(function(key) {\r\n return res['records'].banking_details[key];\r\n });\r\n \r\n this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark);\r\n \r\n \r\n if(result.length == 0){\r\n \r\n control.push(this.createBankItem(''))\r\n }else\r\n {\r\n \r\n result.forEach((datas,index)=>\r\n {\r\n this. selectedAccTypeChanges(datas.account_type,index);\r\n if(datas.limit != ''){\r\n \r\n this.amtInwords[index] = this.cons.convertNumberToWords(+datas.limit); \r\n }\r\n this. selectedAccTypeChanges(datas.account_type,index);\r\n control.push(this.createBankItem(''));\r\n })\r\n \r\n this.bankingForm.controls['itemRows'].setValue(result);\r\n } \r\n }else\r\n {\r\n \r\n control.push(this.createBankItem(''));\r\n }\r\n });\r\n \r\n }\r\n\r\n savepdBank(answerData)\r\n {\r\n let records: any = {};\r\n records.pdid = this.pdDetails.pd_id;\r\n records.formid = this.form_id;\r\n records.fk_createdby = this.users;\r\n records.company_id=this.company_id;\r\n records.banking_details = answerData.itemRows;\r\n records.banking_form_remark = answerData.banking_form_remark;\r\n \r\n this.qustCat.saveForm(records).subscribe(data => {\r\n \r\n if(data['dataStatus']==true)\r\n {\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n setTimeout(()=>{\r\n this.navCtrl.pop();\r\n },2000);\r\n }\r\n else{\r\n this.toast.pdTriggerappmessage(\"Sorry!! Something Went Wrong\");\r\n }\r\n })\r\n \r\n }\r\n \r\n\r\n \r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { CameraProvider } from '../../providers/common-provider/camera';\r\nimport { QuestionCategoryProvider } from '../../providers/question-category/question-category';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\n\r\n/**\r\n * Generated class for the PdGeneralImagesPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-general-images',\r\n templateUrl: 'pd-general-images.html',\r\n})\r\nexport class PdGeneralImagesPage {\r\n\r\n cameraArr:any = [];\r\n applicatentDetails: any;\r\n count:any = 0;\r\n saveAccess:boolean =false;\r\n FormId:any = '';\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public camera:CameraProvider,public qustCat:QuestionCategoryProvider,public toast:ToastProvider) {\r\n\r\n this.applicatentDetails = this.navParams.get('pdDetails');\r\n this.FormId = this.navParams.get('FormId');\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdGeneralImagesPage');\r\n }\r\n \r\n takePicture()\r\n {\r\n this.camera.getpicture().then(image=>\r\n {\r\n this.count = this.count+1;\r\n \r\n this.cameraArr.push({'image':image,'name':''});\r\n });\r\n }\r\n\r\n removeimage(i)\r\n {\r\n this.count = this.count - 1; \r\n this.cameraArr.splice(i,1);\r\n }\r\n\r\n docnames(doc,i,img)\r\n {\r\n \r\n this.cameraArr[i] = {'image':img,'Name':doc};\r\n // console.log(JSON.stringify(this.pddocdata)); \r\n }\r\n savePDImages()\r\n {\r\n \r\n this.saveAccess = true;\r\n let records :any = {'pd_id':this.applicatentDetails.pd_id,'formid':''};\r\n records.images = this.cameraArr;\r\n this.qustCat.savePDImages(records).subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.saveAccess = false;\r\n this.navCtrl.pop();\r\n this.toast.pdTriggerappmessage('Record Saved Successfully.!');\r\n } \r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-general-images/pd-general-images.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, ViewController } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../../providers/pdtrigger/pdtrigger';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category';\r\nimport { FormGroup, FormBuilder, Validators } from '@angular/forms';\r\nimport { PdListPage } from '../../pd-list/pd-list';\r\nimport {ToastProvider} from '../../../providers/common-provider/toast'\r\n\r\n/**\r\n * Generated class for the BouncedRejectPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-bounced-reject',\r\n templateUrl: 'bounced-reject.html',\r\n})\r\nexport class BouncedRejectPage {\r\n\r\n users: any;\r\n bounseMaster: any;\r\n pdDetails: any;\r\n status: any;\r\n bounce_reason:any;\r\n bounce_reason_others:any = '';\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public viewCtrl:ViewController,\r\n public aws:AwsServiceProvider,public pdservice:PdtriggerProvider,\r\n public qustCat:QuestionCategoryProvider,public fb:FormBuilder,public toast:ToastProvider) {\r\n // this.pdDetails = this.navParams.get('appdetails');\r\n // this.status = this.navParams.get('status');\r\n this.pdDetails=this.navParams.get('details')\r\n // console.log(this.pdDetails)\r\n this.users = this.aws.getlocale();\r\n this.getDropdown();\r\n \r\n }\r\n\r\n getDropdown()\r\n {\r\n \r\n \r\n this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(res=>\r\n {\r\n if(res['dataStatus']==true){\r\n this.bounseMaster = res['records'].filter(bouns=>bouns.isactive==1);\r\n console.log(this.bounseMaster);\r\n }\r\n })\r\n \r\n }\r\n updatePDStatus()\r\n {\r\n if(this.bounce_reason !=null && this.bounce_reason !=1)\r\n {\r\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\r\n // console.log(this.bounce_reason)\r\n // console.log(this.bounce_reason_others);\r\n console.log(data);\r\n this.toast.pdTriggerappmessage(\"Thank You\");\r\n this.pdservice.updatepdStatus(data).subscribe(res=>\r\n {\r\n // this.updateStatus = res;\r\n if(res['dataStatus'] == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n else if(this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others !=null )\r\n {\r\n let data = {'pd_id':this.pdDetails.pd_id,'pd_status':this.pdDetails.pd_status,'fk_updatedby':this.users,'bounce_reason':this.bounce_reason,'bounce_reason_others':this.bounce_reason_others};\r\n // console.log(this.bounce_reason)\r\n // console.log(this.bounce_reason_others);\r\n console.log(data);\r\n this.toast.pdTriggerappmessage(\"Thank You\");\r\n this.pdservice.updatepdStatus(data).subscribe(res=>\r\n {\r\n // this.updateStatus = res;\r\n if(res['dataStatus'] == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n \r\n \r\n\r\n else{\r\n this.toast.pdTriggerappmessage(\"Please Choose the Reason to Reject\");\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/input/bounced-reject/bounced-reject.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { SQLite, SQLiteObject } from'@ionic-native/sqlite';\r\n/*\r\n Generated class for the DatabaseProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class DatabaseProvider {\r\n database:SQLiteObject;\r\n constructor(public http: HttpClient,public sql:SQLite) {\r\n console.log('Hello DatabaseProvider Provider');\r\n this.createnewdb();\r\n }\r\n\r\n createnewdb()\r\n {\r\n // alert('function in');\r\n this.sql.create(\r\n {\r\n name:'sinnedge',\r\n location:'defalut',\r\n }).then((db:SQLiteObject)=>\r\n {\r\n db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(res => \r\n {\r\n // alert('db create');\r\n this.getuserDetails();\r\n })\r\n .catch(e => console.log(e));\r\n })\r\n }\r\n getuserDetails()\r\n {\r\n // alert('getusers');\r\n this.sql.create(\r\n {\r\n name:'sineedge',\r\n location:'default',\r\n }).then((db:SQLiteObject)=>\r\n {\r\n db.executeSql('select * from expense ORDER BY rowid DESC').then((res)=>\r\n {\r\n console.log(res);\r\n })\r\n })\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/database/database.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\n/**\r\n * Generated class for the PasswordPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-password',\r\n templateUrl: 'password.html',\r\n})\r\nexport class PasswordPage {\r\n commonImage: string;\r\n newpassword: any;\r\n confirmPassword: any;\r\n pin:any;\r\n Username:any;\r\n Password:any;\r\n \r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public toast:ToastProvider,public commonconstant:ConstantsProvider) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.Username = this.navParams.get('Username');\r\n this.Password = this.navParams.get('Password');\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PasswordPage');\r\n }\r\n setNewPassword(newpass)\r\n {\r\n if(newpass !='' && newpass !=null && newpass !== undefined){\r\n let auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass };\r\n console.log(auth);\r\n this.aws.dologin(auth).subscribe(res => {\r\n console.log(res);\r\n this.navCtrl.setRoot(PdListPage);\r\n // this.router.navigate(['/home']);\r\n }, err => {\r\n this.toast.pdTriggerappmessage(err.message);\r\n // alert(err.message);\r\n })\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter the new Password');\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/password/password.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, MenuController,ToastController } from 'ionic-angular';\r\nimport {Validators, FormBuilder, FormGroup, FormArray } from '@angular/forms';\r\n\r\nimport { PdListPage } from '../pd-list/pd-list';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { ToastProvider } from '../../providers/common-provider/toast';\r\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\n\r\nimport { LoadingProvider } from '../../providers/common-provider/loading';\r\nimport { ConstantsProvider } from '../../providers/constants/constants';\r\n/**\r\n * Generated class for the AuthPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n \r\n\r\n@Component({\r\n selector: 'page-auth',\r\n templateUrl: 'auth.html',\r\n})\r\nexport class AuthPage {\r\n pinAccess: any;\r\n newpindetails: any;\r\n userDetails: any;\r\npin:any;\r\n mpinaccess:boolean =false;\r\n newpassword:any;\r\n ConfirmPassword:any;\r\n commonImage:any;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public Menu:MenuController,public fb:FormBuilder,public shared:CognitoServiceProvider,public toast:ToastProvider,public faio:FingerprintAIO,public aws:AwsServiceProvider,public loadingCtrl:LoadingProvider,public commonconstant:ConstantsProvider) {\r\n this.commonImage = this.commonconstant.commonimage;\r\n this.shared.refresh();\r\n this.getuserDetails();\r\n \r\n\r\n \r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad AuthPage');\r\n }\r\n ionViewDidEnter(){\r\n this.Menu.enable(false);\r\n }\r\n ionViewWillLeave(){\r\n this.Menu.enable(true);\r\n }\r\n getuserDetails()\r\n {\r\n this.loadingCtrl.pdloader('loading...');\r\n let userid = this.aws.getlocale();\r\n this.aws.getuserprofile(userid).subscribe(res=>{\r\n this.userDetails = res;\r\n if(this.userDetails.dataStatus == true)\r\n { \r\n this.loadingCtrl.loading.dismiss();\r\n this.userDetails = this.userDetails.records;\r\n if(this.userDetails[0].role_name ==\"PD Executive\" || this.userDetails[0].role_name == \"PD Officer\"){\r\n //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0]));\r\n if(this.userDetails[0].mpin ==null)\r\n {\r\n \r\n this.mpinaccess = true;\r\n \r\n }else\r\n {\r\n this.mpinaccess = false;\r\n }\r\n }else{\r\n \r\n this.toast.pdTriggerappmessage('This App only for PD Officers');\r\n localStorage.clear();\r\n }\r\n }else{\r\n this.toast.pdTriggerappmessage('')\r\n }\r\n //console.log(this.mpinaccess);\r\n });\r\n }\r\n setnewpin(newpin)\r\n {\r\n console.log(\"set Pin\")\r\n this.aws.userpinupdate(newpin).subscribe(res=>\r\n {\r\n this.newpindetails = res;\r\n if(this.newpindetails.dataStatus == true)\r\n {\r\n this.navCtrl.setRoot(PdListPage); \r\n }\r\n })\r\n }\r\n /**Finger print */\r\n \r\n checkpin(pin) {\r\n console.log(\"Check pin\",pin);\r\n if(pin !='' && pin !=null)\r\n {\r\n if(this.userDetails[0].mpin == pin)\r\n {\r\n console.log(\"Entering List page\")\r\n this.navCtrl.setRoot(PdListPage);\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The Correct PIN');\r\n }\r\n }else\r\n {\r\n this.toast.pdTriggerappmessage('Enter The PIN');\r\n }\r\n\r\n \r\n \r\n }\r\n checkfingerprint()\r\n {\r\n console.log(\"Check Finger\");\r\n this.faio.show({\r\n clientId: 'Fingerprint-Demo',\r\n clientSecret: 'password', // Only Android\r\n localizedFallbackTitle: 'Use Pin', // Only iOS\r\n localizedReason: 'Please authenticate',\r\n disableBackup:true,\r\n })\r\n .then((result: any) => {\r\n this.navCtrl.setRoot(PdListPage);\r\n })\r\n .catch((error: any) => {\r\n this.toast.pdTriggerappmessage('err: '+ error);\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/auth/auth.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { LoadingController } from 'ionic-angular';\r\n/*\r\n Generated class for the LoadingProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class LoadingProvider {\r\n\r\n loading: any;\r\n constructor(public http: HttpClient,public loadingCtrl:LoadingController) {\r\n console.log('Hello LoadingProvider Provider');\r\n }\r\n\r\n pdloader(content)\r\n {\r\n this.loading = this.loadingCtrl.create({\r\n content: content\r\n });\r\n\r\n this.loading.present();\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/loading.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app.module';\r\nimport { enableProdMode } from '@angular/core';\r\nenableProdMode();\r\nplatformBrowserDynamic().bootstrapModule(AppModule);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/main.ts","import { BrowserModule } from '@angular/platform-browser';\r\nimport { ErrorHandler, NgModule } from '@angular/core';\r\nimport { IonicApp, IonicErrorHandler, IonicModule } from 'ionic-angular';\r\n\r\nimport { MyApp } from './app.component';\r\n\r\n\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport {platformBrowserDynamic} from '@angular/platform-browser-dynamic';\r\nimport {BrowserAnimationsModule} from '@angular/platform-browser/animations';\r\nimport { SQLite } from '@ionic-native/sqlite';\r\nimport { DatabaseProvider } from '../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\nimport {\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatButtonToggleModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatRadioModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatStepperModule\r\n} from '@angular/material';\r\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { AuthGuard } from '../providers/_guard/auth.guard';\r\nimport { TokenInterceptor } from '../providers/_guard/token.interceptor';\r\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\r\nimport { ConstantsProvider } from '../providers/constants/constants';\r\nimport { AuthPage } from '../pages/auth/auth';\r\nimport { LoginPage } from '../pages/login/login';\r\nimport { PdListPage } from '../pages/pd-list/pd-list';\r\nimport { PdQuestionCategoryPage } from '../pages/pd-question-category/pd-question-category';\r\nimport { PdQuestionPage } from '../pages/pd-question/pd-question';\r\nimport { GoogleplaytabPage } from '../pages/googleplaytab/googleplaytab';\r\nimport { PasswordPage } from '../pages/password/password';\r\nimport { PdAllocationPage } from '../pages/pd-allocation/pd-allocation';\r\nimport { InputPage } from '../pages/input/input';\r\nimport { ToastProvider } from '../providers/common-provider/toast';\r\nimport { PdtriggerProvider } from '../providers/pdtrigger/pdtrigger';\r\nimport { FingerprintAIO } from '@ionic-native/fingerprint-aio';\r\n\r\nimport { LaunchNavigator } from '@ionic-native/launch-navigator';\r\nimport { OtpPage } from '../pages/otp/otp';\r\nimport { QuestionCategoryProvider } from '../providers/question-category/question-category';\r\n\r\nimport { ReactiveFormsModule,FormsModule} from '@angular/forms';\r\nimport { IonicImageViewerModule } from 'ionic-img-viewer';\r\nimport { CameraProvider } from '../providers/common-provider/camera';\r\nimport { LoadingProvider } from '../providers/common-provider/loading';\r\nimport { Camera } from '@ionic-native/camera';\r\n\r\nimport { PdQuestionAddressPage } from '../pages/pd-question/pd-question-address/pd-question-address';\r\nimport { PdQuestionAssestsPage } from '../pages/pd-question/pd-question-assests/pd-question-assests';\r\nimport { PdQuestionBankingPage } from '../pages/pd-question/pd-question-banking/pd-question-banking';\r\nimport { PdQuestionCurrentLoansPage } from '../pages/pd-question/pd-question-current-loans/pd-question-current-loans';\r\nimport { PdQuestionEmpInfoPage } from '../pages/pd-question/pd-question-emp-info/pd-question-emp-info';\r\nimport { PdQuestionFamilyPage } from '../pages/pd-question/pd-question-family/pd-question-family';\r\n\r\nimport { PdQuestionLoansPage } from '../pages/pd-question/pd-question-loans/pd-question-loans';\r\nimport { PdQuestionFinancialInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-financial-info/pd-question-financial-info';\r\nimport { PdQuestionOtherIncomePage } from '../pages/pd-question/pd-question-other-income/pd-question-other-income';\r\nimport { PdQuestionSupplierInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-supplier-info/pd-question-supplier-info';\r\nimport { Geolocation } from '@ionic-native/geolocation';\r\nimport { PdQuestionPersonalInfoPage } from '../pages/pd-question/pd-question-personal-info/pd-question-personal-info';\r\nimport { PdQuestionStockInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-stock-info/pd-question-stock-info';\r\nimport { PdQuestionClientInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-client-info/pd-question-client-info';\r\n// import { DatePicker } from '@ionic-native/date-picker';\r\nimport { PdQuestionBusinessInfoPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-info/pd-question-business-info';\r\nimport { PdQuestionRentalInfoPage } from '../pages/pd-question/pd-question-rental-info/pd-question-rental-info';\r\nimport { PdQuestionAssessedInfoPage } from '../pages/pd-question/pd-question-assessed-info/pd-question-assessed-info';\r\nimport { PdQuestionAssessedDailySalesPage } from '../pages/pd-question/pd-question-assessed-daily-sales/pd-question-assessed-daily-sales';\r\nimport { PdQuestionAssessedSalesPage } from '../pages/pd-question/pd-question-assessed-sales/pd-question-assessed-sales';\r\nimport { PdQuestionAssessedHouseholdPage } from '../pages/pd-question/pd-question-assessed-household/pd-question-assessed-household';\r\nimport { PdQuestionAssessedPurchasePage } from '../pages/pd-question/pd-question-assessed-purchase/pd-question-assessed-purchase';\r\nimport { PdQuestionAssessedDashPage } from '../pages/pd-question/pd-question-assessed-dash/pd-question-assessed-dash';\r\nimport { BouncedRejectPage } from '../pages/input/bounced-reject/bounced-reject';\r\nimport { PdQuestionAssessedBusinessPage } from '../pages/pd-question/pd-question-assessed-business/pd-question-assessed-business';\r\nimport { PdQuestionLenderRepresentativePage } from '../pages/pd-question/pd-question-lender-representative/pd-question-lender-representative';\r\nimport { PdQuestionGeneralInfoPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-info';\r\nimport { PdQuestionGeneralOtherApplicantPage } from '../pages/pd-question/pd-question-general-info/pd-question-general-other-applicant/pd-question-general-other-applicant';\r\nimport { PdQuestionNeighbourHoodPage } from '../pages/pd-question/pd-question-neighbour-hood/pd-question-neighbour-hood';\r\nimport { PdQuestionFinalRemarkPage } from '../pages/pd-question/pd-question-final-remark/pd-question-final-remark';\r\n\r\nimport { PdQuestionBusinessPage } from '../pages/pd-question/pd-question-business/pd-question-business'\r\nimport { PdQuestionBusinessGroupPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-group'\r\nimport { PdQuestionBusinessAssetsPage } from '../pages/pd-question/pd-question-business-group/pd-question-business-assets/pd-question-business-assets'\r\nimport {PdQuestionBusinessBankingPage} from '../pages/pd-question/pd-question-business-group/pd-question-business-banking/pd-question-business-banking'\r\nimport { PdPipe } from '../pipes/pd/pd';\r\nimport { PdQuestionAssessedBusinessIncomePage } from '../pages/pd-question/pd-question-assessed-business-income/pd-question-assessed-business-income';\r\nimport { PdGeneralImagesPage } from '../pages/pd-general-images/pd-general-images';\r\nimport { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salary-info/pd-question-salary-info';\r\nimport { LocationAccuracy } from '@ionic-native/location-accuracy';\r\nimport {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'\r\n\r\n@NgModule({\r\n declarations: [\r\n MyApp,\r\n AuthPage,\r\n LoginPage,\r\n PdListPage,\r\n PdQuestionCategoryPage,\r\n PdQuestionPage,\r\n GoogleplaytabPage,\r\n PasswordPage,\r\n PdAllocationPage,\r\n InputPage,\r\n OtpPage,\r\n PdQuestionAddressPage,\r\n PdQuestionAssestsPage,\r\n PdQuestionBankingPage,\r\n PdQuestionCurrentLoansPage,\r\n PdQuestionEmpInfoPage,\r\n PdQuestionFamilyPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionLoansPage,\r\n PdQuestionFinancialInfoPage,\r\n PdQuestionOtherIncomePage,\r\n PdQuestionSupplierInfoPage,\r\n PdQuestionPersonalInfoPage,\r\n PdQuestionStockInfoPage,\r\n PdQuestionClientInfoPage,\r\n PdQuestionRentalInfoPage,\r\n PdQuestionAssessedInfoPage,\r\n PdQuestionAssessedDailySalesPage,\r\n PdQuestionAssessedSalesPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionAssessedHouseholdPage,\r\n PdQuestionAssessedPurchasePage,\r\n PdQuestionAssessedDashPage,\r\n BouncedRejectPage,\r\n PdQuestionAssessedBusinessPage,\r\n PdQuestionLenderRepresentativePage,\r\n PdQuestionGeneralInfoPage,\r\n PdQuestionGeneralOtherApplicantPage,\r\n PdQuestionNeighbourHoodPage,\r\n PdQuestionFinalRemarkPage,\r\n PdQuestionBusinessPage,\r\n PdQuestionBusinessGroupPage,\r\n PdQuestionBusinessAssetsPage,\r\n PdQuestionBusinessBankingPage,\r\n PdQuestionAssessedBusinessIncomePage,\r\n PdGeneralImagesPage,\r\n PdQuestionSalaryInfoPage,\r\n PdQuestionAssessedSummaryPage\r\n ],\r\n imports: [\r\n BrowserModule,ReactiveFormsModule,FormsModule,\r\n IonicModule.forRoot(MyApp),\r\n BrowserAnimationsModule,\r\n MatAutocompleteModule,\r\n MatButtonModule,\r\n MatButtonToggleModule,\r\n MatCardModule,\r\n MatCheckboxModule,\r\n MatChipsModule,\r\n MatDatepickerModule,\r\n MatDialogModule,MatListModule,\r\n MatExpansionModule,\r\n MatGridListModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatListModule,\r\n MatMenuModule,\r\n MatNativeDateModule,\r\n MatPaginatorModule,\r\n MatProgressBarModule,\r\n MatProgressSpinnerModule,\r\n MatRadioModule,\r\n MatRippleModule,\r\n MatSelectModule,\r\n MatSidenavModule,\r\n MatSliderModule,\r\n MatSlideToggleModule,\r\n MatSnackBarModule,\r\n MatSortModule,\r\n MatTableModule,\r\n MatTabsModule,\r\n MatToolbarModule,\r\n MatTooltipModule,\r\n MatStepperModule,HttpClientModule,IonicImageViewerModule\r\n ],\r\n bootstrap: [IonicApp],\r\n entryComponents: [\r\n MyApp,\r\n AuthPage,\r\n LoginPage,\r\n PdListPage,\r\n PdQuestionCategoryPage,\r\n PdQuestionPage,\r\n GoogleplaytabPage,\r\n PasswordPage,\r\n PdAllocationPage,\r\n InputPage,\r\n OtpPage,\r\n PdQuestionAddressPage,\r\n PdQuestionAssestsPage,\r\n PdQuestionBankingPage,\r\n PdQuestionCurrentLoansPage,\r\n PdQuestionEmpInfoPage,\r\n PdQuestionFamilyPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionLoansPage,\r\n PdQuestionFinancialInfoPage,\r\n PdQuestionOtherIncomePage,\r\n PdQuestionSupplierInfoPage,\r\n PdQuestionPersonalInfoPage,\r\n PdQuestionStockInfoPage,\r\n PdQuestionClientInfoPage,\r\n PdQuestionRentalInfoPage,\r\n PdQuestionAssessedInfoPage,\r\n PdQuestionAssessedDailySalesPage,\r\n PdQuestionAssessedSalesPage,\r\n PdQuestionBusinessInfoPage,\r\n PdQuestionAssessedHouseholdPage,\r\n PdQuestionAssessedPurchasePage,\r\n PdQuestionAssessedDashPage,\r\n BouncedRejectPage,\r\n PdQuestionAssessedBusinessPage,\r\n PdQuestionLenderRepresentativePage,\r\n PdQuestionGeneralInfoPage,\r\n PdQuestionGeneralOtherApplicantPage,\r\n PdQuestionNeighbourHoodPage,\r\n PdQuestionFinalRemarkPage,\r\n PdQuestionBusinessPage,\r\n PdQuestionBusinessGroupPage,\r\n PdQuestionBusinessAssetsPage,\r\n PdQuestionBusinessBankingPage,\r\n PdQuestionAssessedBusinessIncomePage,\r\n PdGeneralImagesPage,\r\n PdQuestionSalaryInfoPage,\r\n PdQuestionAssessedSummaryPage\r\n \r\n ],\r\n providers: [\r\n StatusBar,AwsServiceProvider,AuthGuard,TokenInterceptor,ToastProvider,\r\n ConstantsProvider,CognitoServiceProvider,SplashScreen,PdtriggerProvider,FingerprintAIO,SQLite,AndroidPermissions,\r\n {\r\n provide:HTTP_INTERCEPTORS,\r\n useClass: TokenInterceptor,\r\n multi: true\r\n },\r\n {\r\n provide: ErrorHandler,\r\n useClass: IonicErrorHandler\r\n },LaunchNavigator,\r\n AwsServiceProvider,\r\n QuestionCategoryProvider,\r\n CameraProvider,Camera,\r\n PdPipe,LocationAccuracy,\r\n LoadingProvider,Geolocation,\r\n DatabaseProvider\r\n ]\r\n})\r\nexport class AppModule {}\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Component, ViewChild } from '@angular/core';\r\nimport { Nav, Platform } from 'ionic-angular';\r\nimport { StatusBar } from '@ionic-native/status-bar';\r\nimport { SplashScreen } from '@ionic-native/splash-screen';\r\nimport { LoginPage } from '../pages/login/login';\r\nimport { PdListPage } from '../pages/pd-list/pd-list';\r\nimport { MethodCall } from '@angular/compiler';\r\nimport { AwsServiceProvider } from '../providers/aws-service/aws-service';\r\nimport { CognitoServiceProvider } from '../providers/aws-service/cognito.service';\r\nimport { PasswordPage } from '../pages/password/password';\r\nimport { AuthPage } from '../pages/auth/auth';\r\nimport {AlertController} from 'ionic-angular'\r\nimport { platformBrowser } from '@angular/platform-browser';\r\n// import { AndroidPermissions } from '@ionic-native/android-permissions';\r\n\r\n\r\n@Component({\r\n templateUrl: 'app.html'\r\n})\r\nexport class MyApp {\r\n userDetails: any;\r\n userAccess:boolean = false;\r\n @ViewChild(Nav) nav: Nav;\r\n\r\n rootPage: any = LoginPage;\r\n public alertShown:boolean=false\r\n\r\n pages: Array<{title: string,icon:any, method: any}>;\r\n\r\n constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen,public aws:AwsServiceProvider,public shared:CognitoServiceProvider,public AWS:AwsServiceProvider\r\n ,public alertCtrl:AlertController) {\r\n this.initializeApp();\r\n\r\n // used for an example of ngFor and navigation\r\n this.pages = [ \r\n // { title: 'Home', component: HomePage, icon: 'home' },\r\n { title: 'Home', icon: 'home',method:()=>this.menulist(1) },\r\n { title: 'Logout', icon: 'md-exit',method:()=>this.menulist(2)}\r\n ];\r\n\r\n\r\n }\r\n\r\n initializeApp() {\r\n this.platform.ready().then(() => {\r\n // Okay, so the platform is ready and our plugins are available.\r\n // Here you can do any higher level native things you might need.\r\n this.statusBar.styleDefault();\r\n if (this.platform.is('android')) {\r\n this.statusBar.overlaysWebView(false);\r\n this.statusBar.backgroundColorByHexString('#db4437');\r\n \r\n }\r\n this.splashScreen.hide();\r\n\r\n this.shared.getAccessToken().then(()=>{\r\n this.getuserDetails();\r\n this.rootPage = AuthPage\r\n }).catch(()=>{\r\n setTimeout(() => {\r\n this.rootPage = LoginPage;\r\n }, 1000);\r\n });\r\n \r\n });\r\n this.platform.registerBackButtonAction(()=>{\r\n if(this.nav.length()==1){\r\n if(this.alertShown==false){\r\n //this.presentConfirm(); \r\n let alert=this.alertCtrl.create({\r\n title:'Confirm Exit',\r\n message:'Do You Want Exit ?',\r\n buttons:[\r\n {\r\n text:'Cancel',\r\n role:'cancel',\r\n handler:()=>{\r\n console.log(\"Cancel clicked\");\r\n this.alertShown=false\r\n alert.dismiss\r\n }\r\n },\r\n {\r\n text:'Yes',\r\n handler:()=>{\r\n console.log(\"Exit\");\r\n this.platform.exitApp();\r\n }\r\n }\r\n ]\r\n });\r\n alert.present();\r\n this.alertShown=true\r\n }\r\n }\r\n else{\r\n this.nav.pop()\r\n }\r\n });\r\n }\r\n\r\n presentConfirm(){\r\nlet alert=this.alertCtrl.create({\r\n title:'Confirm Exit',\r\n message:'Do You Want Exit ?',\r\n buttons:[\r\n {\r\n text:'Cancel',\r\n role:'cancel',\r\n handler:()=>{\r\n console.log(\"Cancel clicked\");\r\n // this.alertShown=false\r\n alert.dismiss\r\n }\r\n },\r\n {\r\n text:'Yes',\r\n handler:()=>{\r\n console.log(\"Exit\");\r\n this.platform.exitApp();\r\n }\r\n }\r\n ]\r\n});\r\n alert.present();\r\n // this.alertShown=true;\r\n }\r\n getuserDetails()\r\n {\r\n \r\n let userid = this.aws.getlocale();\r\n this.aws.getuserprofile(userid).subscribe(res=>{\r\n this.userDetails = res;\r\n if(this.userDetails.dataStatus == true)\r\n { \r\n this.userAccess = true;\r\n this.userDetails = this.userDetails.records[0];\r\n \r\n }\r\n \r\n });\r\n }\r\n menulist(id){\r\n //alert();\r\n switch(id)\r\n {\r\n case 1:\r\n this.nav.setRoot(PdListPage);\r\n break;\r\n case 2:\r\n this.AWS.logout().subscribe(()=>{\r\n \r\n this.nav.setRoot(LoginPage);\r\n });\r\n break;\r\n case 3:\r\n break;\r\n case 4:\r\n break;\r\n}\r\n}\r\n logout()\r\n {\r\n // this.aws.logout();\r\n this.nav.setRoot(LoginPage);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { Injectable } from '@angular/core';\r\n// import { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild } from '@angular/router';\r\nimport { Observable } from 'rxjs';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n\r\n\r\n\r\n@Injectable()\r\nexport class AuthGuard {\r\n \r\n constructor() { \r\n\r\n \r\n }\r\n\r\n // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n // // if (this.shared.getToken()) {\r\n // alert(\"if\");\r\n // // this.router.navigate(['']);\r\n // return true\r\n // } else {\r\n // alert(\"else\");\r\n // this.router.navigate(['/login']);\r\n // return false;\r\n // }\r\n // }\r\n getlogin(){\r\n // if (this.shared.getToken()) {\r\n // // alert(\"if\");\r\n // //alert();\r\n // return true;\r\n // } else {\r\n // // alert(\"else\");\r\n \r\n // //this.myGlobalServiceNav.setRoot(LoginPage);\r\n // this.shared.isloggin = false;\r\n // return false;\r\n \r\n \r\n // }\r\n }\r\n // canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\r\n \r\n \r\n // }\r\n\r\n // public getToken(): string {\r\n // return localStorage.getItem('token');\r\n // }\r\n\r\n // public logOut() {\r\n // localStorage.clear();\r\n // if(localStorage.getItem('token') === null){\r\n // this.router.navigate(['/login']);\r\n // }\r\n // }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/auth.guard.ts","import { Injectable } from '@angular/core';\r\nimport {\r\n HttpRequest,\r\n HttpHandler,\r\n HttpEvent,\r\n HttpInterceptor,\r\n HttpHeaders\r\n} from '@angular/common/http';\r\n// import { AuthGuard } from './auth.guard';\r\nimport { Observable, of} from 'rxjs';\r\n\r\n// import { Router } from '@angular/router';\r\n\r\nimport { catchError, map, tap } from 'rxjs/operators';\r\nimport { HttpErrorResponse } from \"@angular/common/http\";\r\n\r\nimport { CognitoServiceProvider } from '../aws-service/cognito.service';\r\n\r\n@Injectable()\r\nexport class TokenInterceptor implements HttpInterceptor{\r\n constructor(public shared:CognitoServiceProvider ) {\r\n \r\n }\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n // request = request.clone({\r\n // setHeaders: {\r\n // Authorization: `${this.auth.getToken()}`\r\n // }\r\n // });\r\n let token:any;\r\n this.shared.refresh();\r\n token = this.shared.getToken() || null;\r\n \r\n token = token.getIdToken().getJwtToken();\r\n \r\n //console.log(token);\r\n let requests = request.clone({\r\n headers:new HttpHeaders({\r\n \r\n 'Authorization': 'sparqvenba2018',\r\n 'Token':token,\r\n 'From':'1',\r\n \r\n \r\n }) \r\n \r\n });\r\n \r\n return next.handle(requests).pipe(\r\n catchError(this.handleError('role', []))\r\n )\r\n }\r\n\r\n private handleError (operation = 'operation', result?: T) {\r\n return (error: any): Observable => {\r\n if(error instanceof HttpErrorResponse){\r\n console.error(\"Error: \" + error.status);\r\n if(error.status == 401){\r\n localStorage.clear();\r\n // this.router.navigate(['/authentication/login']);\r\n }\r\n return of(result as T);\r\n }\r\n };\r\n }\r\n}\n\n\n// WEBPACK FOOTER //\n// ./src/providers/_guard/token.interceptor.ts","import { Component ,ViewChild} from '@angular/core';\r\nimport { IonicPage, NavController, NavParams , Slides , Content, Platform } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the GoogleplaytabPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-googleplaytab',\r\n templateUrl: 'googleplaytab.html',\r\n})\r\nexport class GoogleplaytabPage {\r\n\r\n @ViewChild('SwipedTabsSlider') SwipedTabsSlider: Slides ;\r\n @ViewChild('MultiItemsScrollingTabs') ItemsTitles : Content;\r\n\r\n SwipedTabsIndicator :any= null;\r\n tabTitleWidthArray :any= [];\r\n tabElementWidth_px :number= 50;\r\n screenWidth_px :number= 0;\r\n isRight :boolean= true;\r\n isLeft:boolean= true;\r\n tabs:any=[];\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams, platform: Platform) {\r\n this.tabs=[\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"9\",\"10\",\"11\"];\r\n console.log('Width: ' + platform.width());\r\n this.screenWidth_px=platform.width();\r\n \r\n}\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad GoogleplaytabPage');\r\n }\r\n ionViewDidEnter() {\r\n this.SwipedTabsIndicator = document.getElementById(\"indicator\");\r\n for (let i in this.tabs)\r\n this.tabTitleWidthArray.push(document.getElementById(\"tabTitle\"+i).offsetWidth);\r\n\r\n this.selectTab(0);\r\n }\r\n\r\n scrollIndicatiorTab()\r\n {\r\n this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0);\r\n }\r\n\r\n selectTab(index)\r\n {\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n this.SwipedTabsSlider.slideTo(index);\r\n }\r\n\r\n calculateDistanceToSpnd(index)\r\n {\r\n var result=0;\r\n for (var _i = 0; _i < index; _i++) {\r\n result=result+this.tabTitleWidthArray[_i];\r\n }\r\n return result;\r\n }\r\n\r\n updateIndicatorPosition() {\r\n var index=this.SwipedTabsSlider.getActiveIndex();\r\n if( this.SwipedTabsSlider.length()==index)\r\n index=index-1;\r\n\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index]+\"px\";\r\n this.SwipedTabsIndicator.style.webkitTransform = 'translate3d('+(this.calculateDistanceToSpnd(index))+'px,0,0)';\r\n\r\n }\r\n\r\n updateIndicatorPositionOnTouchEnd()\r\n {\r\n setTimeout( () => { this.updateIndicatorPosition(); }, 200);\r\n }\r\n\r\n animateIndicator($event)\r\n {\r\n\r\n this.isLeft=false;\r\n this.isRight=false;\r\n var currentSliderCenterProgress =(1/(this.SwipedTabsSlider.length()-1) )*this.SwipedTabsSlider.getActiveIndex();\r\n if($event.progress < currentSliderCenterProgress)\r\n {\r\n this.isLeft=true;\r\n this.isRight=false;\r\n\r\n } if($event.progress > currentSliderCenterProgress)\r\n {\r\n this.isLeft=false;\r\n this.isRight=true;\r\n }\r\n\r\n if(this.SwipedTabsSlider.isEnd())\r\n this.isRight=false;\r\n\r\n if( this.SwipedTabsSlider.isBeginning())\r\n this.isLeft=false;\r\n\r\n if(this.isRight)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])\r\n +'px,0,0)';\r\n\r\n if(this.isLeft)\r\n this.SwipedTabsIndicator.style.webkitTransform =\r\n 'translate3d('+( this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())\r\n +($event.progress - currentSliderCenterProgress) *(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])\r\n +'px,0,0)';\r\n\r\n if(!this.isRight && !this.isLeft)\r\n this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+\"px\";\r\n\r\n }\r\n\r\n\r\n\r\n}\r\n\r\n \r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/googleplaytab/googleplaytab.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\n\r\n/**\r\n * Generated class for the PdAllocationPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-allocation',\r\n templateUrl: 'pd-allocation.html',\r\n})\r\nexport class PdAllocationPage {\r\npdFullDetails:any = [];\r\n constructor(public navCtrl: NavController, public navParams: NavParams) {\r\n \r\n this.pdFullDetails = this.navParams.get('pdDetails');\r\n console.log(this.pdFullDetails);\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdAllocationPage');\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-allocation/pd-allocation.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { QuestionCategoryProvider } from '../../../providers/question-category/question-category'\r\nimport { AwsServiceProvider } from '../../../providers/aws-service/aws-service'\r\n\r\n/**\r\n * Generated class for the PdQuestionBusinessPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-business',\r\n templateUrl: 'pd-question-business.html',\r\n})\r\nexport class PdQuestionBusinessPage {\r\n pdDetails:any;\r\n pdid:any;\r\n users:any;\r\n FormId:any;\r\n existCompanyList:any=[]\r\n\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public qustcat:QuestionCategoryProvider,public aws:AwsServiceProvider) {\r\n this.pdDetails=this.navParams.get('pdDetails');\r\n this.pdid=this.pdDetails.pd_id;\r\n this.FormId=this.navParams.get('FormId');\r\n this.users=this.aws.getlocale\r\n\r\n this.getDropDown();\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionBusinessPage');\r\n }\r\ngetDropDown(){\r\n this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(res=>{\r\n this.existCompanyList=res['records'].filter(data=>data.is_active == true && data.is_company_applicant == true);\r\n console.log(this.existCompanyList);\r\n })\r\n}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-business/pd-question-business.ts","import { Component } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams } from 'ionic-angular';\r\nimport { FormGroup,FormBuilder,FormArray } from '@angular/forms';\r\n\r\n/**\r\n * Generated class for the PdQuestionSalaryInfoPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-question-salary-info',\r\n templateUrl: 'pd-question-salary-info.html',\r\n})\r\nexport class PdQuestionSalaryInfoPage {\r\n\r\n salaryDetails:FormGroup\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public fb:FormBuilder) {\r\n \r\n this.salaryDetails = this.fb.group(\r\n {\r\n gross:[null],\r\n netTakeHome:[null],\r\n bounsIncentive:[null],\r\n salaryDate:[null],\r\n anydelays:[null], \r\n })\r\n }\r\n\r\n ionViewDidLoad() {\r\n console.log('ionViewDidLoad PdQuestionSalaryInfoPage');\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-question/pd-question-salary-info/pd-question-salary-info.ts","import { Injectable } from '@angular/core';\r\n\r\n// import { CanActivateChild, Router } from '@angular/router';\r\nimport {\r\n AuthenticationDetails,\r\n CognitoUserPool,\r\n CognitoUser,\r\n \r\n} from \"amazon-cognito-identity-js\";\r\n// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular';\r\n\r\n// import { environment } from '../../environments/environment';\r\n\r\nimport { BehaviorSubject,Observable,of } from 'rxjs';\r\n\r\nconst sineedge_poolData = { \r\n UserPoolId: \"ap-south-1_y7dt3iEaX\", //ap-south-1_qQ85yQZJO UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"291qt4smn5pql6o8cc2hi201lj\" // ClientName: SINEEDGE_DEV_WEB\r\n};\r\nconst sineedgedev_poolData = {\r\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\r\n}\r\nconst lender_poolData = {\r\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\r\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\r\n};\r\nconst vendor_poolData = {\r\n UserPoolId: \"\",\r\n ClientId: \"\"\r\n}\r\nconst sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\r\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\r\nconst sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\r\n\r\n/**\r\n* Identity PoolID \r\n*/\r\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\r\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\r\nconst vendorIdenttiy = \"\";\r\n// serviceProvider\r\nconst apiurl = \"http://ssa.sineedge.com/sparqapi/api/\";\r\n// const apiurl = \"http://localhost/sparqapi/api/\";\r\n\r\n@Injectable()\r\n\r\nexport class CognitoServiceProvider {\r\n public loggedIn :boolean = false;\r\n // public static _REGION = environment.region;\r\n\r\n // public static _IDENTITY_POOL_ID = environment.identityPoolId;\r\n // public static _USER_POOL_ID = environment.UserPoolId;\r\n // public static _CLIENT_ID = environment.ClientId;\r\n\r\n // public static _POOL_DATA: any = {\r\n // UserPoolId: CognitoService._USER_POOL_ID,\r\n // ClientId: CognitoService._CLIENT_ID\r\n // };\r\n \r\n\r\n // public cognitoCreds: AWS.CognitoIdentityCredentials;\r\nisloggin:boolean = false; \r\n\r\n\r\n \r\n\r\n \r\n constructor() { \r\n \r\n }\r\n getCurrentUser() {\r\n \r\n return sineedgedevUserpool.getCurrentUser();\r\n}\r\n get isLoggedIn() {\r\n if(sineedgedevUserpool.getCurrentUser() !=null){\r\n this.loggedIn = true;\r\n }else{\r\n this.loggedIn = false;\r\n }\r\n return this.loggedIn; // {2}\r\n }\r\n \r\nrefresh() {\r\n let tokenexp:boolean;\r\n \r\n if(this.getCurrentUser() !=null){\r\n \r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n }\r\n\r\n else {\r\n if (session.isValid()) {\r\n tokenexp = session.isValid();\r\n of(tokenexp)\r\n console.log(\"CognitoUtil: refreshed successfully\");\r\n \r\n } else {\r\n tokenexp = session.isValid();\r\n console.log(\"CognitoUtil: refreshed but session is still not valid\");\r\n \r\n }\r\n }\r\n \r\n return tokenexp;\r\n \r\n });\r\n }else{\r\n this.loggedIn = false;\r\n }\r\n}\r\ngetAccessToken(){\r\n this.refresh();\r\n return new Promise((resolve, reject) => {\r\n let jwttoken = '';\r\n if (this.getCurrentUser() != null) {\r\n //console.log(JSON.stringify(this.getCurrentUser()));\r\n // console.log('76 if');\r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n jwttoken ='';\r\n // console.log('81 if')\r\n reject(err);\r\n }\r\n else {\r\n if (session.isValid()) {\r\n // console.log('85 else if');\r\n jwttoken = session;\r\n resolve();\r\n } else {\r\n \r\n }\r\n }\r\n });\r\n }\r\n else {\r\n //console.log(\"else\");\r\n reject();\r\n }\r\n});\r\n}\r\n\r\ngetToken():any {\r\n let isloggin = false;\r\n let jwttoken = '';\r\n if (this.getCurrentUser() != null) {\r\n \r\n this.getCurrentUser().getSession(function (err, session) {\r\n if (err) {\r\n // console.log(\"CognitoUtil: Can't set the credentials:\" + err);\r\n isloggin = false;\r\n //console.log('81 if')\r\n }\r\n else {\r\n //alert('function else');\r\n if (session.isValid()) {\r\n // console.log('85 else if');\r\n jwttoken = session;\r\n isloggin = true;\r\n } else {\r\n \r\n isloggin = false;\r\n }\r\n }\r\n });\r\n }\r\n else {\r\n // console.log(\"else\");\r\n isloggin = false;\r\n }\r\n return jwttoken;\r\n}\r\n\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/cognito.service.ts","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {\r\n AuthenticationDetails,\r\n CognitoUserPool,\r\n CognitoUser,\r\n \r\n} from \"amazon-cognito-identity-js\";\r\n\r\n\r\nimport { Observable } from \"rxjs/Observable\";\r\nimport \"rxjs/add/operator/map\";\r\nimport { CognitoServiceProvider } from './cognito.service';\r\nimport { ConstantsProvider } from '../constants/constants';\r\nimport { UrlResolver } from '@angular/compiler';\r\nconst sineedgedev_poolData = {\r\n UserPoolId: \"ap-south-1_qQ85yQZJO\", // UserName :SPARQ_SINEEDGE_DEV\r\n ClientId: \"2o5c3cs9k3als16nqhp3irh8rs\" // ClientName: SINEEDGE_DEV_WEB\r\n}\r\nconst lender_poolData = {\r\n UserPoolId: \"ap-south-1_hFiGyr1Gw\", // Username :SPARQ_LENDER_DEV\r\n ClientId: \"38v9rpp1495v60e1gd14mj6rjr\" // ClientName:LENDER_DEV_WEB\r\n};\r\nconst vendor_poolData = {\r\n UserPoolId: \"ap-south-1_K57yPaWxV\",\r\n ClientId: \"\"\r\n}\r\n// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData);\r\nconst lenderUserPool = new CognitoUserPool(lender_poolData);\r\n const sineedgedevUserpool = new CognitoUserPool(sineedgedev_poolData);\r\n\r\n/**\r\n* Identity PoolID \r\n*/\r\nconst sineedgeIdentity = \"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";//\"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961\";\r\nconst lenderIdentity = \"ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907\";\r\nconst vendorIdenttiy = \"ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874\";\r\n\r\nconst currentDate = new Date().toJSON().slice(0,19).replace('T',' ');\r\n\r\n\r\n@Injectable()\r\nexport class AwsServiceProvider {\r\napiurl:any;\r\n constructor(public http:HttpClient,public shared:CognitoServiceProvider,public con:ConstantsProvider) {\r\n this.apiurl = con.apiurl();\r\n }\r\n\r\n dologin(authenticationData) {\r\n // alert();\r\n //(authenticationData);\r\n const authenticationDetails = new AuthenticationDetails(authenticationData);\r\n let Newpassword = authenticationData.newpassword;\r\n let attributesData = [];\r\n const userData = {\r\n Username: authenticationData.Username, // User email id\r\n Pool: sineedgedevUserpool // user Pool ID\r\n };\r\n let cognitoUser = new CognitoUser(userData);\r\n return Observable.create(observer => {\r\n cognitoUser.authenticateUser(authenticationDetails, {\r\n newPasswordRequired: (userAttributes, requiredAttributes) => { // new password set \r\n cognitoUser.completeNewPasswordChallenge(\r\n Newpassword,\r\n attributesData,\r\n {\r\n onSuccess: function (result) {\r\n observer.next(result);\r\n observer.complete();\r\n },\r\n onFailure: function (err) {\r\n //(err);\r\n observer.error(err);\r\n //LoginComponent.prototype.open();\r\n }\r\n }\r\n );\r\n },\r\n onSuccess: function (result) { // success user login\r\n // let accessToken = result.getAccessToken().getJwtToken();\r\n ////(result);\r\n //window.localStorage.setItem('Currentuser', '1');\r\n observer.next(result);\r\n observer.complete();\r\n this.shared.isloggin = true;\r\n },\r\n onFailure: function (err) { // error user login\r\n\r\n //alert(err.message);\r\n observer.error(err);\r\n }\r\n });\r\n });\r\n }\r\n userforgotpass(auth) {\r\n ////(auth);\r\n const userData = {\r\n Username: auth.Username,\r\n Pool: sineedgedevUserpool\r\n };\r\n let cognitoUser = new CognitoUser(userData);\r\n return Observable.create(observe => {\r\n cognitoUser.forgotPassword({\r\n onSuccess: function (data) {\r\n // successfully initiated reset password request\r\n //('CodeDeliveryData from forgotPassword: ' + data);\r\n observe.next(data);\r\n },\r\n onFailure: function (err) {\r\n alert(err.message || JSON.stringify(err));\r\n },\r\n //Optional automatic callback\r\n inputVerificationCode: function (data) {\r\n //('Code sent to: ' + data);\r\n var verificationCode = prompt('Please input verification code ', '');\r\n var newPassword = prompt('Enter new password ', '');\r\n cognitoUser.confirmPassword(verificationCode, newPassword, {\r\n onSuccess() {\r\n //('Password confirmed!');\r\n },\r\n onFailure(err) {\r\n //('Password not confirmed!');\r\n }\r\n });\r\n }\r\n });\r\n });\r\n\r\n\r\n }\r\n /**\r\n * End of the function \r\n */\r\n\r\n /**\r\n * Logout function\r\n */\r\n logout(){\r\n \r\n return Observable.create(observe=>{\r\n this.shared.getCurrentUser().signOut(); \r\n \r\n observe.next();\r\n \r\n observe.complete();\r\n });\r\n }\r\n\r\n\r\n /**\r\n * Config function\r\n */\r\n // getconfig() {\r\n // let session:any = this.shared.getAccessToken() || \"\";\r\n \r\n // let config = \"\";\r\n // config += AWS.config.region = \"ap-south-1\";\r\n // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({\r\n // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV\r\n // Logins: {\r\n // \"cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO\": session\r\n // .getIdToken()\r\n // .getJwtToken()\r\n // }\r\n // // NOTE: getSession must be called to authenticate user before calling getUserAttributes\r\n // });\r\n // return config;\r\n // }\r\n\r\n getlocale(){\r\n let session:any = this.shared.getToken() || null;\r\n let userid = session.idToken.payload.locale;\r\n return userid;\r\n }\r\n getuserprofile(userid)\r\n {\r\n \r\n \r\n // alert();\r\n \r\n //console.log(cogusers.idToken.payload.locale);\r\n let roles = {'userid':userid}; \r\n \r\n \r\n // let request = new RequestOptions({headers:headers});\r\n return this.http.post(this.apiurl+'getUsersDetails',roles);\r\n \r\n }\r\n\r\n userpinupdate(pin)\r\n {\r\n let userid = this.getlocale(); \r\n let records = {'mpin':pin,'updatedon':currentDate,'fk_updatedby':userid,'userid':userid};\r\n let formdata = new FormData();\r\n \r\n formdata.append('records',JSON.stringify(records));\r\n return this.http.post(this.apiurl+'updateExistUser',formdata);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/aws-service/aws-service.ts","import { Component,ViewChild } from '@angular/core';\r\nimport { IonicPage, NavController, NavParams, Slides } from 'ionic-angular';\r\nimport { InputPage } from '../input/input';\r\nimport { AwsServiceProvider } from '../../providers/aws-service/aws-service';\r\nimport { PdtriggerProvider } from '../../providers/pdtrigger/pdtrigger';\r\nimport { CognitoServiceProvider } from '../../providers/aws-service/cognito.service';\r\nimport { parseDate } from 'ionic-angular/util/datetime-util';\r\nimport { PdAllocationPage } from '../pd-allocation/pd-allocation';\r\nimport { OtpPage } from '../otp/otp';\r\nimport { PdQuestionCategoryPage } from '../pd-question-category/pd-question-category';\r\nimport { DatabaseProvider } from '../../providers/database/database';\r\nimport { AndroidPermissions } from '@ionic-native/android-permissions';\r\n/**\r\n * Generated class for the PdListPage page.\r\n *\r\n * See https://ionicframework.com/docs/components/#navigation for more info on\r\n * Ionic pages and navigation.\r\n */\r\n\r\n\r\n@Component({\r\n selector: 'page-pd-list',\r\n templateUrl: 'pd-list.html',\r\n})\r\nexport class PdListPage {\r\n\r\n @ViewChild('slider') slider:Slides;\r\n searchinprogress: any;\r\n searchpast: any;\r\n pdschduleDetails: any;\r\n bgColorPast: any = [];\r\n bgColor: any = [];\r\n pdinprogress: any=[];\r\n pdlistdetails: any=[];\r\n viewchange: boolean;\r\n pdlist:any = \"0\";\r\n pdlistaccess:boolean = null;\r\n constructor(public navCtrl: NavController, public navParams: NavParams,public aws:AwsServiceProvider,public pdofficer:PdtriggerProvider,public shared:CognitoServiceProvider,public db:DatabaseProvider,public androidPermissions:AndroidPermissions) {\r\n //this.getlenderpddetails(); \r\n // this.getpdTriggerdetails();\r\n \r\n }\r\n selectedTab(ind)\r\n {\r\n this.slider.slideTo(ind)\r\n }\r\n moveButton(event){\r\n this.pdlist=event._snapIndex.toString();\r\n }\r\n\r\n ionViewDidLoad() {\r\n \r\n console.log('ionViewDidLoad PdListPage');\r\n this.db.getuserDetails();\r\n this.setpermission();\r\n }\r\n ionViewCanEnter()\r\n {\r\n console.log(\"Pd list ionViewCanEnter\")\r\n this.getpdTriggerdetails();\r\n }\r\n filter(view){\r\n if(!view){\r\n this.viewchange = true;\r\n }else{\r\n this.viewchange = false;\r\n this.pdinprogress = this.pdinprogress;\r\n this.pdschduleDetails = this.pdschduleDetails;\r\n }\r\n \r\n //alert(this.viewchange);\r\n }\r\n pdlistsearch(searchbar) {\r\n \r\n this.pdinprogress = this.searchinprogress;\r\n this.pdschduleDetails = this.searchpast;\r\n // reset countries list with initial call\r\n //this.pdinprogress = this.countriesInitial;\r\n // set q to the value of the searchbar\r\n var q = searchbar.target.value;\r\n\r\n // if the value is an empty string don't filter the items\r\n \r\n if(this.pdlist == \"inpro\"){\r\n if (q.trim() == '') {\r\n return ;\r\n }else{\r\n this.pdinprogress = this.searchinprogress.filter((v) => {\r\n if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n return true;\r\n }\r\n return false;\r\n })\r\n }\r\n }else\r\n {\r\n if (q.trim() == '') {\r\n \r\n return ;\r\n }else{\r\n this.pdschduleDetails = this.searchpast.filter((v) => {\r\n if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1\r\n || v.pd_status.toLowerCase().indexOf(q.toLowerCase())>-1|| v.city_name.toLowerCase().indexOf(q.toLowerCase())>-1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase())>-1) {\r\n \r\n return true;\r\n }\r\n \r\n return false;\r\n })\r\n }\r\n \r\n}\r\n}\r\n newpage(){\r\n this.navCtrl.push(InputPage);\r\n }\r\n getpdTriggerdetails()\r\n {\r\n \r\n let userid = this.aws.getlocale();\r\n //.log(\"User\",userid)\r\n\r\n this.pdofficer.getpddetails(userid).subscribe(res=>\r\n {\r\n this.pdlistdetails = res;\r\n if(this.pdlistdetails.dataStatus == true)\r\n {\r\n \r\n \r\n this.pdlistaccess = true;\r\n this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status ==\"ACCEPTED\" || sch.pd_status ==\"SCHEDULED\" || sch.pd_status ==\"INITIATED\" || sch.pd_status ==\"STARTED\" || sch.pd_status ==\"INPROGRESS\" && sch.applicat_details);\r\n this.searchpast = this.pdschduleDetails;\r\n \r\n this.pdinprogress = this.pdlistdetails.records.filter(allocate=>allocate.pd_status == \"ALLOCATED\");\r\n this.searchinprogress = this.pdinprogress;\r\n \r\n this.random_bg_color();\r\n this.random_ng_past();\r\n }else\r\n {\r\n this.pdlistaccess = false;\r\n this.pdlistdetails = \"No Records Found\";\r\n }\r\n })\r\n }\r\n\r\n random_bg_color() {\r\n for(let id of this.pdinprogress){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColor.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n \r\n return this.bgColor;\r\n }\r\n random_ng_past()\r\n {\r\n for(let id of this.pdschduleDetails){\r\n var x = Math.floor(Math.random() * 256);\r\n var y = Math.floor(Math.random() * 256);\r\n var z = Math.floor(Math.random() * 256);\r\n this.bgColorPast.push(\"rgb(\" + x + \",\" + y + \",\" + z + \")\");\r\n \r\n }\r\n }\r\n doRefresh(refresher) {\r\n this.bgColor = [];\r\n this.pdschduleDetails = [];\r\n this.pdinprogress = [];\r\n \r\n this.shared.refresh();\r\n this.getpdTriggerdetails();\r\n setTimeout(() => {\r\n \r\n refresher.complete();\r\n }, 2000);\r\n }\r\n \r\n PdAllocation(pddetails)\r\n {\r\n \r\n if(pddetails.pd_status == 'STARTED')\r\n {\r\n this.navCtrl.push(OtpPage,{'pdDetails':pddetails});\r\n }else if(pddetails.pd_status == 'INPROGRESS'){\r\n this.navCtrl.push(PdQuestionCategoryPage,{'pdDetails':pddetails});\r\n }else{\r\n this.navCtrl.push(InputPage,{'pdDetails':pddetails});\r\n }\r\n }\r\n\r\n setpermission()\r\n {\r\n // let permission = this.androidPermissions.PERMISSION; \r\n // let premission_list = [\r\n // permission.ACCESS_LOCATION_EXTRA_COMMANDS,\r\n // permission.CAMERA,\r\n\r\n\r\n // ];\r\n this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(\r\n result => console.log('Has permission?',result.hasPermission),\r\n err => this.androidPermissions.requestPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS)\r\n );\r\n \r\n this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/pages/pd-list/pd-list.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport {ConstantsProvider} from '../constants/constants';\r\n\r\n/*\r\n Generated class for the PdtriggerProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n\r\n// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/'\r\n@Injectable()\r\nexport class PdtriggerProvider {\r\n apiurl:any;\r\n constructor(public http: HttpClient,public constants:ConstantsProvider) {\r\n this.apiurl = constants.apiurl();\r\n console.log('Hello PdtriggerProvider Provider');\r\n }\r\n\r\n \r\n\r\n /**get dropdonw list */\r\n\r\n /**Get list of PD Trigger */\r\n\r\n getpddetails(userid)\r\n { \r\n console.log(userid);\r\n return this.http.get(this.apiurl+'listLessPDDetails/get?pdofficerid='+userid);\r\n }\r\n\r\n getFullPDdetails(pdid)\r\n {\r\n return this.http.post(this.apiurl+'getFullPDDetails',pdid);\r\n }\r\n\r\n updatepdStatus(dataStatus)\r\n {\r\n let records = {'records':dataStatus};\r\n return this.http.post(this.apiurl+'updatePDMaster',records);\r\n }\r\n\r\n saveCurrentLocation(data)\r\n {\r\n let records = {'records':data};\r\n return this.http.post(this.apiurl+'savePDOfficerCurrentLocation',data);\r\n }\r\n\r\n checkotp(otpDetails)\r\n {\r\n\r\n let records = {'records':otpDetails};\r\n \r\n return this.http.post(this.apiurl+'checkOTP',records); \r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/pdtrigger/pdtrigger.ts","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Toast, ToastController } from 'ionic-angular';\r\n\r\n/*\r\n Generated class for the ToastProvider provider.\r\n\r\n See https://angular.io/guide/dependency-injection for more info on providers\r\n and Angular DI.\r\n*/\r\n@Injectable()\r\nexport class ToastProvider {\r\n\r\n constructor(public http: HttpClient,public toast:ToastController) {\r\n console.log('Hello ToastProvider Provider');\r\n }\r\n pdTriggerappmessage(mess){\r\n let valalert = this.toast.create({\r\n message:mess, \r\n duration: 3000, \r\n position: 'bottom',\r\n dismissOnPageChange: true,\r\n });\r\n\r\n valalert.present();\r\n} \r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/providers/common-provider/toast.ts"],"sourceRoot":""} \ No newline at end of file diff --git a/package.json b/package.json index 6ab4fc79..808a4f33 100755 --- a/package.json +++ b/package.json @@ -100,4 +100,4 @@ "android" ] } -} +} \ No newline at end of file diff --git a/platforms/android/.gradle/4.1/fileHashes/fileHashes.bin b/platforms/android/.gradle/4.1/fileHashes/fileHashes.bin index e9fc30bc..26308e06 100755 Binary files a/platforms/android/.gradle/4.1/fileHashes/fileHashes.bin and b/platforms/android/.gradle/4.1/fileHashes/fileHashes.bin differ diff --git a/platforms/android/.gradle/4.1/fileHashes/fileHashes.lock b/platforms/android/.gradle/4.1/fileHashes/fileHashes.lock index 60c76299..046cdb9a 100755 Binary files a/platforms/android/.gradle/4.1/fileHashes/fileHashes.lock and b/platforms/android/.gradle/4.1/fileHashes/fileHashes.lock differ diff --git a/platforms/android/.gradle/4.1/fileHashes/resourceHashesCache.bin b/platforms/android/.gradle/4.1/fileHashes/resourceHashesCache.bin index 8736ec5d..8b170700 100755 Binary files a/platforms/android/.gradle/4.1/fileHashes/resourceHashesCache.bin and b/platforms/android/.gradle/4.1/fileHashes/resourceHashesCache.bin differ diff --git a/platforms/android/.gradle/4.1/javaCompile/classAnalysis.bin b/platforms/android/.gradle/4.1/javaCompile/classAnalysis.bin index 8c96df8a..d37bb79b 100755 Binary files a/platforms/android/.gradle/4.1/javaCompile/classAnalysis.bin and b/platforms/android/.gradle/4.1/javaCompile/classAnalysis.bin differ diff --git a/platforms/android/.gradle/4.1/javaCompile/jarAnalysis.bin b/platforms/android/.gradle/4.1/javaCompile/jarAnalysis.bin index 508037e6..513e74b4 100755 Binary files a/platforms/android/.gradle/4.1/javaCompile/jarAnalysis.bin and b/platforms/android/.gradle/4.1/javaCompile/jarAnalysis.bin differ diff --git a/platforms/android/.gradle/4.1/javaCompile/javaCompile.lock b/platforms/android/.gradle/4.1/javaCompile/javaCompile.lock index d218694e..6c0230f1 100755 Binary files a/platforms/android/.gradle/4.1/javaCompile/javaCompile.lock and b/platforms/android/.gradle/4.1/javaCompile/javaCompile.lock differ diff --git a/platforms/android/.gradle/4.1/javaCompile/taskJars.bin b/platforms/android/.gradle/4.1/javaCompile/taskJars.bin index 7e771c37..c3a411ae 100755 Binary files a/platforms/android/.gradle/4.1/javaCompile/taskJars.bin and b/platforms/android/.gradle/4.1/javaCompile/taskJars.bin differ diff --git a/platforms/android/.gradle/4.1/taskHistory/fileSnapshots.bin b/platforms/android/.gradle/4.1/taskHistory/fileSnapshots.bin index b48d1a1d..da7643e2 100755 Binary files a/platforms/android/.gradle/4.1/taskHistory/fileSnapshots.bin and b/platforms/android/.gradle/4.1/taskHistory/fileSnapshots.bin differ diff --git a/platforms/android/.gradle/4.1/taskHistory/taskHistory.bin b/platforms/android/.gradle/4.1/taskHistory/taskHistory.bin index 748f7213..228cde95 100755 Binary files a/platforms/android/.gradle/4.1/taskHistory/taskHistory.bin and b/platforms/android/.gradle/4.1/taskHistory/taskHistory.bin differ diff --git a/platforms/android/.gradle/4.1/taskHistory/taskHistory.lock b/platforms/android/.gradle/4.1/taskHistory/taskHistory.lock index 36b92469..0013b583 100755 Binary files a/platforms/android/.gradle/4.1/taskHistory/taskHistory.lock and b/platforms/android/.gradle/4.1/taskHistory/taskHistory.lock differ diff --git a/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Bold.ttf b/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Bold.ttf index 58353df1..d3f01ad2 100755 Binary files a/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Bold.ttf and b/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Bold.ttf differ diff --git a/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Light.ttf b/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Light.ttf index 8ccb7ac0..219063a5 100755 Binary files a/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Light.ttf and b/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Light.ttf differ diff --git a/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Medium.ttf b/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Medium.ttf index 0fd39361..1a7f3b0b 100755 Binary files a/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Medium.ttf and b/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Medium.ttf differ diff --git a/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Regular.ttf b/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Regular.ttf index dabf1a0e..2c97eead 100755 Binary files a/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Regular.ttf and b/platforms/android/app/build/intermediates/assets/debug/www/assets/fonts/Roboto-Regular.ttf differ diff --git a/platforms/android/app/build/intermediates/assets/debug/www/build/main.css b/platforms/android/app/build/intermediates/assets/debug/www/build/main.css index 9bbb43cc..6f71d48b 100644 --- a/platforms/android/app/build/intermediates/assets/debug/www/build/main.css +++ b/platforms/android/app/build/intermediates/assets/debug/www/build/main.css @@ -1,29744 +1 @@ -.ion-ios-add:before { - content: "\f102"; -} - -.ion-ios-add-circle:before { - content: "\f101"; -} - -.ion-ios-add-circle-outline:before { - content: "\f100"; -} - -.ion-ios-add-outline:before { - content: "\f102"; -} - -.ion-ios-alarm:before { - content: "\f3c8"; -} - -.ion-ios-alarm-outline:before { - content: "\f3c7"; -} - -.ion-ios-albums:before { - content: "\f3ca"; -} - -.ion-ios-albums-outline:before { - content: "\f3c9"; -} - -.ion-ios-alert:before { - content: "\f104"; -} - -.ion-ios-alert-outline:before { - content: "\f103"; -} - -.ion-ios-american-football:before { - content: "\f106"; -} - -.ion-ios-american-football-outline:before { - content: "\f105"; -} - -.ion-ios-analytics:before { - content: "\f3ce"; -} - -.ion-ios-analytics-outline:before { - content: "\f3cd"; -} - -.ion-ios-aperture:before { - content: "\f108"; -} - -.ion-ios-aperture-outline:before { - content: "\f107"; -} - -.ion-ios-apps:before { - content: "\f10a"; -} - -.ion-ios-apps-outline:before { - content: "\f109"; -} - -.ion-ios-appstore:before { - content: "\f10c"; -} - -.ion-ios-appstore-outline:before { - content: "\f10b"; -} - -.ion-ios-archive:before { - content: "\f10e"; -} - -.ion-ios-archive-outline:before { - content: "\f10d"; -} - -.ion-ios-arrow-back:before { - content: "\f3cf"; -} - -.ion-ios-arrow-back-outline:before { - content: "\f3cf"; -} - -.ion-ios-arrow-down:before { - content: "\f3d0"; -} - -.ion-ios-arrow-down-outline:before { - content: "\f3d0"; -} - -.ion-ios-arrow-dropdown:before { - content: "\f110"; -} - -.ion-ios-arrow-dropdown-circle:before { - content: "\f10f"; -} - -.ion-ios-arrow-dropdown-circle-outline:before { - content: "\f10f"; -} - -.ion-ios-arrow-dropdown-outline:before { - content: "\f110"; -} - -.ion-ios-arrow-dropleft:before { - content: "\f112"; -} - -.ion-ios-arrow-dropleft-circle:before { - content: "\f111"; -} - -.ion-ios-arrow-dropleft-circle-outline:before { - content: "\f111"; -} - -.ion-ios-arrow-dropleft-outline:before { - content: "\f112"; -} - -.ion-ios-arrow-dropright:before { - content: "\f114"; -} - -.ion-ios-arrow-dropright-circle:before { - content: "\f113"; -} - -.ion-ios-arrow-dropright-circle-outline:before { - content: "\f113"; -} - -.ion-ios-arrow-dropright-outline:before { - content: "\f114"; -} - -.ion-ios-arrow-dropup:before { - content: "\f116"; -} - -.ion-ios-arrow-dropup-circle:before { - content: "\f115"; -} - -.ion-ios-arrow-dropup-circle-outline:before { - content: "\f115"; -} - -.ion-ios-arrow-dropup-outline:before { - content: "\f116"; -} - -.ion-ios-arrow-forward:before { - content: "\f3d1"; -} - -.ion-ios-arrow-forward-outline:before { - content: "\f3d1"; -} - -.ion-ios-arrow-round-back:before { - content: "\f117"; -} - -.ion-ios-arrow-round-back-outline:before { - content: "\f117"; -} - -.ion-ios-arrow-round-down:before { - content: "\f118"; -} - -.ion-ios-arrow-round-down-outline:before { - content: "\f118"; -} - -.ion-ios-arrow-round-forward:before { - content: "\f119"; -} - -.ion-ios-arrow-round-forward-outline:before { - content: "\f119"; -} - -.ion-ios-arrow-round-up:before { - content: "\f11a"; -} - -.ion-ios-arrow-round-up-outline:before { - content: "\f11a"; -} - -.ion-ios-arrow-up:before { - content: "\f3d8"; -} - -.ion-ios-arrow-up-outline:before { - content: "\f3d8"; -} - -.ion-ios-at:before { - content: "\f3da"; -} - -.ion-ios-at-outline:before { - content: "\f3d9"; -} - -.ion-ios-attach:before { - content: "\f11b"; -} - -.ion-ios-attach-outline:before { - content: "\f11b"; -} - -.ion-ios-backspace:before { - content: "\f11d"; -} - -.ion-ios-backspace-outline:before { - content: "\f11c"; -} - -.ion-ios-barcode:before { - content: "\f3dc"; -} - -.ion-ios-barcode-outline:before { - content: "\f3db"; -} - -.ion-ios-baseball:before { - content: "\f3de"; -} - -.ion-ios-baseball-outline:before { - content: "\f3dd"; -} - -.ion-ios-basket:before { - content: "\f11f"; -} - -.ion-ios-basket-outline:before { - content: "\f11e"; -} - -.ion-ios-basketball:before { - content: "\f3e0"; -} - -.ion-ios-basketball-outline:before { - content: "\f3df"; -} - -.ion-ios-battery-charging:before { - content: "\f120"; -} - -.ion-ios-battery-charging-outline:before { - content: "\f120"; -} - -.ion-ios-battery-dead:before { - content: "\f121"; -} - -.ion-ios-battery-dead-outline:before { - content: "\f121"; -} - -.ion-ios-battery-full:before { - content: "\f122"; -} - -.ion-ios-battery-full-outline:before { - content: "\f122"; -} - -.ion-ios-beaker:before { - content: "\f124"; -} - -.ion-ios-beaker-outline:before { - content: "\f123"; -} - -.ion-ios-beer:before { - content: "\f126"; -} - -.ion-ios-beer-outline:before { - content: "\f125"; -} - -.ion-ios-bicycle:before { - content: "\f127"; -} - -.ion-ios-bicycle-outline:before { - content: "\f127"; -} - -.ion-ios-bluetooth:before { - content: "\f128"; -} - -.ion-ios-bluetooth-outline:before { - content: "\f128"; -} - -.ion-ios-boat:before { - content: "\f12a"; -} - -.ion-ios-boat-outline:before { - content: "\f129"; -} - -.ion-ios-body:before { - content: "\f3e4"; -} - -.ion-ios-body-outline:before { - content: "\f3e3"; -} - -.ion-ios-bonfire:before { - content: "\f12c"; -} - -.ion-ios-bonfire-outline:before { - content: "\f12b"; -} - -.ion-ios-book:before { - content: "\f3e8"; -} - -.ion-ios-book-outline:before { - content: "\f3e7"; -} - -.ion-ios-bookmark:before { - content: "\f12e"; -} - -.ion-ios-bookmark-outline:before { - content: "\f12d"; -} - -.ion-ios-bookmarks:before { - content: "\f3ea"; -} - -.ion-ios-bookmarks-outline:before { - content: "\f3e9"; -} - -.ion-ios-bowtie:before { - content: "\f130"; -} - -.ion-ios-bowtie-outline:before { - content: "\f12f"; -} - -.ion-ios-briefcase:before { - content: "\f3ee"; -} - -.ion-ios-briefcase-outline:before { - content: "\f3ed"; -} - -.ion-ios-browsers:before { - content: "\f3f0"; -} - -.ion-ios-browsers-outline:before { - content: "\f3ef"; -} - -.ion-ios-brush:before { - content: "\f132"; -} - -.ion-ios-brush-outline:before { - content: "\f131"; -} - -.ion-ios-bug:before { - content: "\f134"; -} - -.ion-ios-bug-outline:before { - content: "\f133"; -} - -.ion-ios-build:before { - content: "\f136"; -} - -.ion-ios-build-outline:before { - content: "\f135"; -} - -.ion-ios-bulb:before { - content: "\f138"; -} - -.ion-ios-bulb-outline:before { - content: "\f137"; -} - -.ion-ios-bus:before { - content: "\f13a"; -} - -.ion-ios-bus-outline:before { - content: "\f139"; -} - -.ion-ios-cafe:before { - content: "\f13c"; -} - -.ion-ios-cafe-outline:before { - content: "\f13b"; -} - -.ion-ios-calculator:before { - content: "\f3f2"; -} - -.ion-ios-calculator-outline:before { - content: "\f3f1"; -} - -.ion-ios-calendar:before { - content: "\f3f4"; -} - -.ion-ios-calendar-outline:before { - content: "\f3f3"; -} - -.ion-ios-call:before { - content: "\f13e"; -} - -.ion-ios-call-outline:before { - content: "\f13d"; -} - -.ion-ios-camera:before { - content: "\f3f6"; -} - -.ion-ios-camera-outline:before { - content: "\f3f5"; -} - -.ion-ios-car:before { - content: "\f140"; -} - -.ion-ios-car-outline:before { - content: "\f13f"; -} - -.ion-ios-card:before { - content: "\f142"; -} - -.ion-ios-card-outline:before { - content: "\f141"; -} - -.ion-ios-cart:before { - content: "\f3f8"; -} - -.ion-ios-cart-outline:before { - content: "\f3f7"; -} - -.ion-ios-cash:before { - content: "\f144"; -} - -.ion-ios-cash-outline:before { - content: "\f143"; -} - -.ion-ios-chatboxes:before { - content: "\f3fa"; -} - -.ion-ios-chatboxes-outline:before { - content: "\f3f9"; -} - -.ion-ios-chatbubbles:before { - content: "\f146"; -} - -.ion-ios-chatbubbles-outline:before { - content: "\f145"; -} - -.ion-ios-checkbox:before { - content: "\f148"; -} - -.ion-ios-checkbox-outline:before { - content: "\f147"; -} - -.ion-ios-checkmark:before { - content: "\f3ff"; -} - -.ion-ios-checkmark-circle:before { - content: "\f14a"; -} - -.ion-ios-checkmark-circle-outline:before { - content: "\f149"; -} - -.ion-ios-checkmark-outline:before { - content: "\f3ff"; -} - -.ion-ios-clipboard:before { - content: "\f14c"; -} - -.ion-ios-clipboard-outline:before { - content: "\f14b"; -} - -.ion-ios-clock:before { - content: "\f403"; -} - -.ion-ios-clock-outline:before { - content: "\f402"; -} - -.ion-ios-close:before { - content: "\f406"; -} - -.ion-ios-close-circle:before { - content: "\f14e"; -} - -.ion-ios-close-circle-outline:before { - content: "\f14d"; -} - -.ion-ios-close-outline:before { - content: "\f406"; -} - -.ion-ios-closed-captioning:before { - content: "\f150"; -} - -.ion-ios-closed-captioning-outline:before { - content: "\f14f"; -} - -.ion-ios-cloud:before { - content: "\f40c"; -} - -.ion-ios-cloud-circle:before { - content: "\f152"; -} - -.ion-ios-cloud-circle-outline:before { - content: "\f151"; -} - -.ion-ios-cloud-done:before { - content: "\f154"; -} - -.ion-ios-cloud-done-outline:before { - content: "\f153"; -} - -.ion-ios-cloud-download:before { - content: "\f408"; -} - -.ion-ios-cloud-download-outline:before { - content: "\f407"; -} - -.ion-ios-cloud-outline:before { - content: "\f409"; -} - -.ion-ios-cloud-upload:before { - content: "\f40b"; -} - -.ion-ios-cloud-upload-outline:before { - content: "\f40a"; -} - -.ion-ios-cloudy:before { - content: "\f410"; -} - -.ion-ios-cloudy-night:before { - content: "\f40e"; -} - -.ion-ios-cloudy-night-outline:before { - content: "\f40d"; -} - -.ion-ios-cloudy-outline:before { - content: "\f40f"; -} - -.ion-ios-code:before { - content: "\f157"; -} - -.ion-ios-code-download:before { - content: "\f155"; -} - -.ion-ios-code-download-outline:before { - content: "\f155"; -} - -.ion-ios-code-outline:before { - content: "\f157"; -} - -.ion-ios-code-working:before { - content: "\f156"; -} - -.ion-ios-code-working-outline:before { - content: "\f156"; -} - -.ion-ios-cog:before { - content: "\f412"; -} - -.ion-ios-cog-outline:before { - content: "\f411"; -} - -.ion-ios-color-fill:before { - content: "\f159"; -} - -.ion-ios-color-fill-outline:before { - content: "\f158"; -} - -.ion-ios-color-filter:before { - content: "\f414"; -} - -.ion-ios-color-filter-outline:before { - content: "\f413"; -} - -.ion-ios-color-palette:before { - content: "\f15b"; -} - -.ion-ios-color-palette-outline:before { - content: "\f15a"; -} - -.ion-ios-color-wand:before { - content: "\f416"; -} - -.ion-ios-color-wand-outline:before { - content: "\f415"; -} - -.ion-ios-compass:before { - content: "\f15d"; -} - -.ion-ios-compass-outline:before { - content: "\f15c"; -} - -.ion-ios-construct:before { - content: "\f15f"; -} - -.ion-ios-construct-outline:before { - content: "\f15e"; -} - -.ion-ios-contact:before { - content: "\f41a"; -} - -.ion-ios-contact-outline:before { - content: "\f419"; -} - -.ion-ios-contacts:before { - content: "\f161"; -} - -.ion-ios-contacts-outline:before { - content: "\f160"; -} - -.ion-ios-contract:before { - content: "\f162"; -} - -.ion-ios-contract-outline:before { - content: "\f162"; -} - -.ion-ios-contrast:before { - content: "\f163"; -} - -.ion-ios-contrast-outline:before { - content: "\f163"; -} - -.ion-ios-copy:before { - content: "\f41c"; -} - -.ion-ios-copy-outline:before { - content: "\f41b"; -} - -.ion-ios-create:before { - content: "\f165"; -} - -.ion-ios-create-outline:before { - content: "\f164"; -} - -.ion-ios-crop:before { - content: "\f41e"; -} - -.ion-ios-crop-outline:before { - content: "\f166"; -} - -.ion-ios-cube:before { - content: "\f168"; -} - -.ion-ios-cube-outline:before { - content: "\f167"; -} - -.ion-ios-cut:before { - content: "\f16a"; -} - -.ion-ios-cut-outline:before { - content: "\f169"; -} - -.ion-ios-desktop:before { - content: "\f16c"; -} - -.ion-ios-desktop-outline:before { - content: "\f16b"; -} - -.ion-ios-disc:before { - content: "\f16e"; -} - -.ion-ios-disc-outline:before { - content: "\f16d"; -} - -.ion-ios-document:before { - content: "\f170"; -} - -.ion-ios-document-outline:before { - content: "\f16f"; -} - -.ion-ios-done-all:before { - content: "\f171"; -} - -.ion-ios-done-all-outline:before { - content: "\f171"; -} - -.ion-ios-download:before { - content: "\f420"; -} - -.ion-ios-download-outline:before { - content: "\f41f"; -} - -.ion-ios-easel:before { - content: "\f173"; -} - -.ion-ios-easel-outline:before { - content: "\f172"; -} - -.ion-ios-egg:before { - content: "\f175"; -} - -.ion-ios-egg-outline:before { - content: "\f174"; -} - -.ion-ios-exit:before { - content: "\f177"; -} - -.ion-ios-exit-outline:before { - content: "\f176"; -} - -.ion-ios-expand:before { - content: "\f178"; -} - -.ion-ios-expand-outline:before { - content: "\f178"; -} - -.ion-ios-eye:before { - content: "\f425"; -} - -.ion-ios-eye-off:before { - content: "\f17a"; -} - -.ion-ios-eye-off-outline:before { - content: "\f179"; -} - -.ion-ios-eye-outline:before { - content: "\f424"; -} - -.ion-ios-fastforward:before { - content: "\f427"; -} - -.ion-ios-fastforward-outline:before { - content: "\f426"; -} - -.ion-ios-female:before { - content: "\f17b"; -} - -.ion-ios-female-outline:before { - content: "\f17b"; -} - -.ion-ios-filing:before { - content: "\f429"; -} - -.ion-ios-filing-outline:before { - content: "\f428"; -} - -.ion-ios-film:before { - content: "\f42b"; -} - -.ion-ios-film-outline:before { - content: "\f42a"; -} - -.ion-ios-finger-print:before { - content: "\f17c"; -} - -.ion-ios-finger-print-outline:before { - content: "\f17c"; -} - -.ion-ios-flag:before { - content: "\f42d"; -} - -.ion-ios-flag-outline:before { - content: "\f42c"; -} - -.ion-ios-flame:before { - content: "\f42f"; -} - -.ion-ios-flame-outline:before { - content: "\f42e"; -} - -.ion-ios-flash:before { - content: "\f17e"; -} - -.ion-ios-flash-outline:before { - content: "\f17d"; -} - -.ion-ios-flask:before { - content: "\f431"; -} - -.ion-ios-flask-outline:before { - content: "\f430"; -} - -.ion-ios-flower:before { - content: "\f433"; -} - -.ion-ios-flower-outline:before { - content: "\f432"; -} - -.ion-ios-folder:before { - content: "\f435"; -} - -.ion-ios-folder-open:before { - content: "\f180"; -} - -.ion-ios-folder-open-outline:before { - content: "\f17f"; -} - -.ion-ios-folder-outline:before { - content: "\f434"; -} - -.ion-ios-football:before { - content: "\f437"; -} - -.ion-ios-football-outline:before { - content: "\f436"; -} - -.ion-ios-funnel:before { - content: "\f182"; -} - -.ion-ios-funnel-outline:before { - content: "\f181"; -} - -.ion-ios-game-controller-a:before { - content: "\f439"; -} - -.ion-ios-game-controller-a-outline:before { - content: "\f438"; -} - -.ion-ios-game-controller-b:before { - content: "\f43b"; -} - -.ion-ios-game-controller-b-outline:before { - content: "\f43a"; -} - -.ion-ios-git-branch:before { - content: "\f183"; -} - -.ion-ios-git-branch-outline:before { - content: "\f183"; -} - -.ion-ios-git-commit:before { - content: "\f184"; -} - -.ion-ios-git-commit-outline:before { - content: "\f184"; -} - -.ion-ios-git-compare:before { - content: "\f185"; -} - -.ion-ios-git-compare-outline:before { - content: "\f185"; -} - -.ion-ios-git-merge:before { - content: "\f186"; -} - -.ion-ios-git-merge-outline:before { - content: "\f186"; -} - -.ion-ios-git-network:before { - content: "\f187"; -} - -.ion-ios-git-network-outline:before { - content: "\f187"; -} - -.ion-ios-git-pull-request:before { - content: "\f188"; -} - -.ion-ios-git-pull-request-outline:before { - content: "\f188"; -} - -.ion-ios-glasses:before { - content: "\f43f"; -} - -.ion-ios-glasses-outline:before { - content: "\f43e"; -} - -.ion-ios-globe:before { - content: "\f18a"; -} - -.ion-ios-globe-outline:before { - content: "\f189"; -} - -.ion-ios-grid:before { - content: "\f18c"; -} - -.ion-ios-grid-outline:before { - content: "\f18b"; -} - -.ion-ios-hammer:before { - content: "\f18e"; -} - -.ion-ios-hammer-outline:before { - content: "\f18d"; -} - -.ion-ios-hand:before { - content: "\f190"; -} - -.ion-ios-hand-outline:before { - content: "\f18f"; -} - -.ion-ios-happy:before { - content: "\f192"; -} - -.ion-ios-happy-outline:before { - content: "\f191"; -} - -.ion-ios-headset:before { - content: "\f194"; -} - -.ion-ios-headset-outline:before { - content: "\f193"; -} - -.ion-ios-heart:before { - content: "\f443"; -} - -.ion-ios-heart-outline:before { - content: "\f442"; -} - -.ion-ios-help:before { - content: "\f446"; -} - -.ion-ios-help-buoy:before { - content: "\f196"; -} - -.ion-ios-help-buoy-outline:before { - content: "\f195"; -} - -.ion-ios-help-circle:before { - content: "\f198"; -} - -.ion-ios-help-circle-outline:before { - content: "\f197"; -} - -.ion-ios-help-outline:before { - content: "\f446"; -} - -.ion-ios-home:before { - content: "\f448"; -} - -.ion-ios-home-outline:before { - content: "\f447"; -} - -.ion-ios-ice-cream:before { - content: "\f19a"; -} - -.ion-ios-ice-cream-outline:before { - content: "\f199"; -} - -.ion-ios-image:before { - content: "\f19c"; -} - -.ion-ios-image-outline:before { - content: "\f19b"; -} - -.ion-ios-images:before { - content: "\f19e"; -} - -.ion-ios-images-outline:before { - content: "\f19d"; -} - -.ion-ios-infinite:before { - content: "\f44a"; -} - -.ion-ios-infinite-outline:before { - content: "\f449"; -} - -.ion-ios-information:before { - content: "\f44d"; -} - -.ion-ios-information-circle:before { - content: "\f1a0"; -} - -.ion-ios-information-circle-outline:before { - content: "\f19f"; -} - -.ion-ios-information-outline:before { - content: "\f44d"; -} - -.ion-ios-ionic:before { - content: "\f1a1"; -} - -.ion-ios-ionic-outline:before { - content: "\f44e"; -} - -.ion-ios-ionitron:before { - content: "\f1a3"; -} - -.ion-ios-ionitron-outline:before { - content: "\f1a2"; -} - -.ion-ios-jet:before { - content: "\f1a5"; -} - -.ion-ios-jet-outline:before { - content: "\f1a4"; -} - -.ion-ios-key:before { - content: "\f1a7"; -} - -.ion-ios-key-outline:before { - content: "\f1a6"; -} - -.ion-ios-keypad:before { - content: "\f450"; -} - -.ion-ios-keypad-outline:before { - content: "\f44f"; -} - -.ion-ios-laptop:before { - content: "\f1a8"; -} - -.ion-ios-laptop-outline:before { - content: "\f1a8"; -} - -.ion-ios-leaf:before { - content: "\f1aa"; -} - -.ion-ios-leaf-outline:before { - content: "\f1a9"; -} - -.ion-ios-link:before { - content: "\f22a"; -} - -.ion-ios-link-outline:before { - content: "\f1ca"; -} - -.ion-ios-list:before { - content: "\f454"; -} - -.ion-ios-list-box:before { - content: "\f1ac"; -} - -.ion-ios-list-box-outline:before { - content: "\f1ab"; -} - -.ion-ios-list-outline:before { - content: "\f454"; -} - -.ion-ios-locate:before { - content: "\f1ae"; -} - -.ion-ios-locate-outline:before { - content: "\f1ad"; -} - -.ion-ios-lock:before { - content: "\f1b0"; -} - -.ion-ios-lock-outline:before { - content: "\f1af"; -} - -.ion-ios-log-in:before { - content: "\f1b1"; -} - -.ion-ios-log-in-outline:before { - content: "\f1b1"; -} - -.ion-ios-log-out:before { - content: "\f1b2"; -} - -.ion-ios-log-out-outline:before { - content: "\f1b2"; -} - -.ion-ios-magnet:before { - content: "\f1b4"; -} - -.ion-ios-magnet-outline:before { - content: "\f1b3"; -} - -.ion-ios-mail:before { - content: "\f1b8"; -} - -.ion-ios-mail-open:before { - content: "\f1b6"; -} - -.ion-ios-mail-open-outline:before { - content: "\f1b5"; -} - -.ion-ios-mail-outline:before { - content: "\f1b7"; -} - -.ion-ios-male:before { - content: "\f1b9"; -} - -.ion-ios-male-outline:before { - content: "\f1b9"; -} - -.ion-ios-man:before { - content: "\f1bb"; -} - -.ion-ios-man-outline:before { - content: "\f1ba"; -} - -.ion-ios-map:before { - content: "\f1bd"; -} - -.ion-ios-map-outline:before { - content: "\f1bc"; -} - -.ion-ios-medal:before { - content: "\f1bf"; -} - -.ion-ios-medal-outline:before { - content: "\f1be"; -} - -.ion-ios-medical:before { - content: "\f45c"; -} - -.ion-ios-medical-outline:before { - content: "\f45b"; -} - -.ion-ios-medkit:before { - content: "\f45e"; -} - -.ion-ios-medkit-outline:before { - content: "\f45d"; -} - -.ion-ios-megaphone:before { - content: "\f1c1"; -} - -.ion-ios-megaphone-outline:before { - content: "\f1c0"; -} - -.ion-ios-menu:before { - content: "\f1c3"; -} - -.ion-ios-menu-outline:before { - content: "\f1c2"; -} - -.ion-ios-mic:before { - content: "\f461"; -} - -.ion-ios-mic-off:before { - content: "\f45f"; -} - -.ion-ios-mic-off-outline:before { - content: "\f1c4"; -} - -.ion-ios-mic-outline:before { - content: "\f460"; -} - -.ion-ios-microphone:before { - content: "\f1c6"; -} - -.ion-ios-microphone-outline:before { - content: "\f1c5"; -} - -.ion-ios-moon:before { - content: "\f468"; -} - -.ion-ios-moon-outline:before { - content: "\f467"; -} - -.ion-ios-more:before { - content: "\f1c8"; -} - -.ion-ios-more-outline:before { - content: "\f1c7"; -} - -.ion-ios-move:before { - content: "\f1cb"; -} - -.ion-ios-move-outline:before { - content: "\f1cb"; -} - -.ion-ios-musical-note:before { - content: "\f46b"; -} - -.ion-ios-musical-note-outline:before { - content: "\f1cc"; -} - -.ion-ios-musical-notes:before { - content: "\f46c"; -} - -.ion-ios-musical-notes-outline:before { - content: "\f1cd"; -} - -.ion-ios-navigate:before { - content: "\f46e"; -} - -.ion-ios-navigate-outline:before { - content: "\f46d"; -} - -.ion-ios-no-smoking:before { - content: "\f1cf"; -} - -.ion-ios-no-smoking-outline:before { - content: "\f1ce"; -} - -.ion-ios-notifications:before { - content: "\f1d3"; -} - -.ion-ios-notifications-off:before { - content: "\f1d1"; -} - -.ion-ios-notifications-off-outline:before { - content: "\f1d0"; -} - -.ion-ios-notifications-outline:before { - content: "\f1d2"; -} - -.ion-ios-nuclear:before { - content: "\f1d5"; -} - -.ion-ios-nuclear-outline:before { - content: "\f1d4"; -} - -.ion-ios-nutrition:before { - content: "\f470"; -} - -.ion-ios-nutrition-outline:before { - content: "\f46f"; -} - -.ion-ios-open:before { - content: "\f1d7"; -} - -.ion-ios-open-outline:before { - content: "\f1d6"; -} - -.ion-ios-options:before { - content: "\f1d9"; -} - -.ion-ios-options-outline:before { - content: "\f1d8"; -} - -.ion-ios-outlet:before { - content: "\f1db"; -} - -.ion-ios-outlet-outline:before { - content: "\f1da"; -} - -.ion-ios-paper:before { - content: "\f472"; -} - -.ion-ios-paper-outline:before { - content: "\f471"; -} - -.ion-ios-paper-plane:before { - content: "\f1dd"; -} - -.ion-ios-paper-plane-outline:before { - content: "\f1dc"; -} - -.ion-ios-partly-sunny:before { - content: "\f1df"; -} - -.ion-ios-partly-sunny-outline:before { - content: "\f1de"; -} - -.ion-ios-pause:before { - content: "\f478"; -} - -.ion-ios-pause-outline:before { - content: "\f477"; -} - -.ion-ios-paw:before { - content: "\f47a"; -} - -.ion-ios-paw-outline:before { - content: "\f479"; -} - -.ion-ios-people:before { - content: "\f47c"; -} - -.ion-ios-people-outline:before { - content: "\f47b"; -} - -.ion-ios-person:before { - content: "\f47e"; -} - -.ion-ios-person-add:before { - content: "\f1e1"; -} - -.ion-ios-person-add-outline:before { - content: "\f1e0"; -} - -.ion-ios-person-outline:before { - content: "\f47d"; -} - -.ion-ios-phone-landscape:before { - content: "\f1e2"; -} - -.ion-ios-phone-landscape-outline:before { - content: "\f1e2"; -} - -.ion-ios-phone-portrait:before { - content: "\f1e3"; -} - -.ion-ios-phone-portrait-outline:before { - content: "\f1e3"; -} - -.ion-ios-photos:before { - content: "\f482"; -} - -.ion-ios-photos-outline:before { - content: "\f481"; -} - -.ion-ios-pie:before { - content: "\f484"; -} - -.ion-ios-pie-outline:before { - content: "\f483"; -} - -.ion-ios-pin:before { - content: "\f1e5"; -} - -.ion-ios-pin-outline:before { - content: "\f1e4"; -} - -.ion-ios-pint:before { - content: "\f486"; -} - -.ion-ios-pint-outline:before { - content: "\f485"; -} - -.ion-ios-pizza:before { - content: "\f1e7"; -} - -.ion-ios-pizza-outline:before { - content: "\f1e6"; -} - -.ion-ios-plane:before { - content: "\f1e9"; -} - -.ion-ios-plane-outline:before { - content: "\f1e8"; -} - -.ion-ios-planet:before { - content: "\f1eb"; -} - -.ion-ios-planet-outline:before { - content: "\f1ea"; -} - -.ion-ios-play:before { - content: "\f488"; -} - -.ion-ios-play-outline:before { - content: "\f487"; -} - -.ion-ios-podium:before { - content: "\f1ed"; -} - -.ion-ios-podium-outline:before { - content: "\f1ec"; -} - -.ion-ios-power:before { - content: "\f1ef"; -} - -.ion-ios-power-outline:before { - content: "\f1ee"; -} - -.ion-ios-pricetag:before { - content: "\f48d"; -} - -.ion-ios-pricetag-outline:before { - content: "\f48c"; -} - -.ion-ios-pricetags:before { - content: "\f48f"; -} - -.ion-ios-pricetags-outline:before { - content: "\f48e"; -} - -.ion-ios-print:before { - content: "\f1f1"; -} - -.ion-ios-print-outline:before { - content: "\f1f0"; -} - -.ion-ios-pulse:before { - content: "\f493"; -} - -.ion-ios-pulse-outline:before { - content: "\f1f2"; -} - -.ion-ios-qr-scanner:before { - content: "\f1f3"; -} - -.ion-ios-qr-scanner-outline:before { - content: "\f1f3"; -} - -.ion-ios-quote:before { - content: "\f1f5"; -} - -.ion-ios-quote-outline:before { - content: "\f1f4"; -} - -.ion-ios-radio:before { - content: "\f1f9"; -} - -.ion-ios-radio-button-off:before { - content: "\f1f6"; -} - -.ion-ios-radio-button-off-outline:before { - content: "\f1f6"; -} - -.ion-ios-radio-button-on:before { - content: "\f1f7"; -} - -.ion-ios-radio-button-on-outline:before { - content: "\f1f7"; -} - -.ion-ios-radio-outline:before { - content: "\f1f8"; -} - -.ion-ios-rainy:before { - content: "\f495"; -} - -.ion-ios-rainy-outline:before { - content: "\f494"; -} - -.ion-ios-recording:before { - content: "\f497"; -} - -.ion-ios-recording-outline:before { - content: "\f496"; -} - -.ion-ios-redo:before { - content: "\f499"; -} - -.ion-ios-redo-outline:before { - content: "\f498"; -} - -.ion-ios-refresh:before { - content: "\f49c"; -} - -.ion-ios-refresh-circle:before { - content: "\f226"; -} - -.ion-ios-refresh-circle-outline:before { - content: "\f224"; -} - -.ion-ios-refresh-outline:before { - content: "\f49c"; -} - -.ion-ios-remove:before { - content: "\f1fc"; -} - -.ion-ios-remove-circle:before { - content: "\f1fb"; -} - -.ion-ios-remove-circle-outline:before { - content: "\f1fa"; -} - -.ion-ios-remove-outline:before { - content: "\f1fc"; -} - -.ion-ios-reorder:before { - content: "\f1fd"; -} - -.ion-ios-reorder-outline:before { - content: "\f1fd"; -} - -.ion-ios-repeat:before { - content: "\f1fe"; -} - -.ion-ios-repeat-outline:before { - content: "\f1fe"; -} - -.ion-ios-resize:before { - content: "\f1ff"; -} - -.ion-ios-resize-outline:before { - content: "\f1ff"; -} - -.ion-ios-restaurant:before { - content: "\f201"; -} - -.ion-ios-restaurant-outline:before { - content: "\f200"; -} - -.ion-ios-return-left:before { - content: "\f202"; -} - -.ion-ios-return-left-outline:before { - content: "\f202"; -} - -.ion-ios-return-right:before { - content: "\f203"; -} - -.ion-ios-return-right-outline:before { - content: "\f203"; -} - -.ion-ios-reverse-camera:before { - content: "\f49f"; -} - -.ion-ios-reverse-camera-outline:before { - content: "\f49e"; -} - -.ion-ios-rewind:before { - content: "\f4a1"; -} - -.ion-ios-rewind-outline:before { - content: "\f4a0"; -} - -.ion-ios-ribbon:before { - content: "\f205"; -} - -.ion-ios-ribbon-outline:before { - content: "\f204"; -} - -.ion-ios-rose:before { - content: "\f4a3"; -} - -.ion-ios-rose-outline:before { - content: "\f4a2"; -} - -.ion-ios-sad:before { - content: "\f207"; -} - -.ion-ios-sad-outline:before { - content: "\f206"; -} - -.ion-ios-school:before { - content: "\f209"; -} - -.ion-ios-school-outline:before { - content: "\f208"; -} - -.ion-ios-search:before { - content: "\f4a5"; -} - -.ion-ios-search-outline:before { - content: "\f20a"; -} - -.ion-ios-send:before { - content: "\f20c"; -} - -.ion-ios-send-outline:before { - content: "\f20b"; -} - -.ion-ios-settings:before { - content: "\f4a7"; -} - -.ion-ios-settings-outline:before { - content: "\f20d"; -} - -.ion-ios-share:before { - content: "\f211"; -} - -.ion-ios-share-alt:before { - content: "\f20f"; -} - -.ion-ios-share-alt-outline:before { - content: "\f20e"; -} - -.ion-ios-share-outline:before { - content: "\f210"; -} - -.ion-ios-shirt:before { - content: "\f213"; -} - -.ion-ios-shirt-outline:before { - content: "\f212"; -} - -.ion-ios-shuffle:before { - content: "\f4a9"; -} - -.ion-ios-shuffle-outline:before { - content: "\f4a9"; -} - -.ion-ios-skip-backward:before { - content: "\f215"; -} - -.ion-ios-skip-backward-outline:before { - content: "\f214"; -} - -.ion-ios-skip-forward:before { - content: "\f217"; -} - -.ion-ios-skip-forward-outline:before { - content: "\f216"; -} - -.ion-ios-snow:before { - content: "\f218"; -} - -.ion-ios-snow-outline:before { - content: "\f22c"; -} - -.ion-ios-speedometer:before { - content: "\f4b0"; -} - -.ion-ios-speedometer-outline:before { - content: "\f4af"; -} - -.ion-ios-square:before { - content: "\f21a"; -} - -.ion-ios-square-outline:before { - content: "\f219"; -} - -.ion-ios-star:before { - content: "\f4b3"; -} - -.ion-ios-star-half:before { - content: "\f4b1"; -} - -.ion-ios-star-half-outline:before { - content: "\f4b1"; -} - -.ion-ios-star-outline:before { - content: "\f4b2"; -} - -.ion-ios-stats:before { - content: "\f21c"; -} - -.ion-ios-stats-outline:before { - content: "\f21b"; -} - -.ion-ios-stopwatch:before { - content: "\f4b5"; -} - -.ion-ios-stopwatch-outline:before { - content: "\f4b4"; -} - -.ion-ios-subway:before { - content: "\f21e"; -} - -.ion-ios-subway-outline:before { - content: "\f21d"; -} - -.ion-ios-sunny:before { - content: "\f4b7"; -} - -.ion-ios-sunny-outline:before { - content: "\f4b6"; -} - -.ion-ios-swap:before { - content: "\f21f"; -} - -.ion-ios-swap-outline:before { - content: "\f21f"; -} - -.ion-ios-switch:before { - content: "\f221"; -} - -.ion-ios-switch-outline:before { - content: "\f220"; -} - -.ion-ios-sync:before { - content: "\f222"; -} - -.ion-ios-sync-outline:before { - content: "\f222"; -} - -.ion-ios-tablet-landscape:before { - content: "\f223"; -} - -.ion-ios-tablet-landscape-outline:before { - content: "\f223"; -} - -.ion-ios-tablet-portrait:before { - content: "\f24e"; -} - -.ion-ios-tablet-portrait-outline:before { - content: "\f24e"; -} - -.ion-ios-tennisball:before { - content: "\f4bb"; -} - -.ion-ios-tennisball-outline:before { - content: "\f4ba"; -} - -.ion-ios-text:before { - content: "\f250"; -} - -.ion-ios-text-outline:before { - content: "\f24f"; -} - -.ion-ios-thermometer:before { - content: "\f252"; -} - -.ion-ios-thermometer-outline:before { - content: "\f251"; -} - -.ion-ios-thumbs-down:before { - content: "\f254"; -} - -.ion-ios-thumbs-down-outline:before { - content: "\f253"; -} - -.ion-ios-thumbs-up:before { - content: "\f256"; -} - -.ion-ios-thumbs-up-outline:before { - content: "\f255"; -} - -.ion-ios-thunderstorm:before { - content: "\f4bd"; -} - -.ion-ios-thunderstorm-outline:before { - content: "\f4bc"; -} - -.ion-ios-time:before { - content: "\f4bf"; -} - -.ion-ios-time-outline:before { - content: "\f4be"; -} - -.ion-ios-timer:before { - content: "\f4c1"; -} - -.ion-ios-timer-outline:before { - content: "\f4c0"; -} - -.ion-ios-train:before { - content: "\f258"; -} - -.ion-ios-train-outline:before { - content: "\f257"; -} - -.ion-ios-transgender:before { - content: "\f259"; -} - -.ion-ios-transgender-outline:before { - content: "\f259"; -} - -.ion-ios-trash:before { - content: "\f4c5"; -} - -.ion-ios-trash-outline:before { - content: "\f4c4"; -} - -.ion-ios-trending-down:before { - content: "\f25a"; -} - -.ion-ios-trending-down-outline:before { - content: "\f25a"; -} - -.ion-ios-trending-up:before { - content: "\f25b"; -} - -.ion-ios-trending-up-outline:before { - content: "\f25b"; -} - -.ion-ios-trophy:before { - content: "\f25d"; -} - -.ion-ios-trophy-outline:before { - content: "\f25c"; -} - -.ion-ios-umbrella:before { - content: "\f25f"; -} - -.ion-ios-umbrella-outline:before { - content: "\f25e"; -} - -.ion-ios-undo:before { - content: "\f4c7"; -} - -.ion-ios-undo-outline:before { - content: "\f4c6"; -} - -.ion-ios-unlock:before { - content: "\f261"; -} - -.ion-ios-unlock-outline:before { - content: "\f260"; -} - -.ion-ios-videocam:before { - content: "\f4cd"; -} - -.ion-ios-videocam-outline:before { - content: "\f4cc"; -} - -.ion-ios-volume-down:before { - content: "\f262"; -} - -.ion-ios-volume-down-outline:before { - content: "\f262"; -} - -.ion-ios-volume-mute:before { - content: "\f263"; -} - -.ion-ios-volume-mute-outline:before { - content: "\f263"; -} - -.ion-ios-volume-off:before { - content: "\f264"; -} - -.ion-ios-volume-off-outline:before { - content: "\f264"; -} - -.ion-ios-volume-up:before { - content: "\f265"; -} - -.ion-ios-volume-up-outline:before { - content: "\f265"; -} - -.ion-ios-walk:before { - content: "\f266"; -} - -.ion-ios-walk-outline:before { - content: "\f266"; -} - -.ion-ios-warning:before { - content: "\f268"; -} - -.ion-ios-warning-outline:before { - content: "\f267"; -} - -.ion-ios-watch:before { - content: "\f269"; -} - -.ion-ios-watch-outline:before { - content: "\f269"; -} - -.ion-ios-water:before { - content: "\f26b"; -} - -.ion-ios-water-outline:before { - content: "\f26a"; -} - -.ion-ios-wifi:before { - content: "\f26d"; -} - -.ion-ios-wifi-outline:before { - content: "\f26c"; -} - -.ion-ios-wine:before { - content: "\f26f"; -} - -.ion-ios-wine-outline:before { - content: "\f26e"; -} - -.ion-ios-woman:before { - content: "\f271"; -} - -.ion-ios-woman-outline:before { - content: "\f270"; -} - -.ion-logo-android:before { - content: "\f225"; -} - -.ion-logo-angular:before { - content: "\f227"; -} - -.ion-logo-apple:before { - content: "\f229"; -} - -.ion-logo-bitcoin:before { - content: "\f22b"; -} - -.ion-logo-buffer:before { - content: "\f22d"; -} - -.ion-logo-chrome:before { - content: "\f22f"; -} - -.ion-logo-codepen:before { - content: "\f230"; -} - -.ion-logo-css3:before { - content: "\f231"; -} - -.ion-logo-designernews:before { - content: "\f232"; -} - -.ion-logo-dribbble:before { - content: "\f233"; -} - -.ion-logo-dropbox:before { - content: "\f234"; -} - -.ion-logo-euro:before { - content: "\f235"; -} - -.ion-logo-facebook:before { - content: "\f236"; -} - -.ion-logo-foursquare:before { - content: "\f237"; -} - -.ion-logo-freebsd-devil:before { - content: "\f238"; -} - -.ion-logo-github:before { - content: "\f239"; -} - -.ion-logo-google:before { - content: "\f23a"; -} - -.ion-logo-googleplus:before { - content: "\f23b"; -} - -.ion-logo-hackernews:before { - content: "\f23c"; -} - -.ion-logo-html5:before { - content: "\f23d"; -} - -.ion-logo-instagram:before { - content: "\f23e"; -} - -.ion-logo-javascript:before { - content: "\f23f"; -} - -.ion-logo-linkedin:before { - content: "\f240"; -} - -.ion-logo-markdown:before { - content: "\f241"; -} - -.ion-logo-nodejs:before { - content: "\f242"; -} - -.ion-logo-octocat:before { - content: "\f243"; -} - -.ion-logo-pinterest:before { - content: "\f244"; -} - -.ion-logo-playstation:before { - content: "\f245"; -} - -.ion-logo-python:before { - content: "\f246"; -} - -.ion-logo-reddit:before { - content: "\f247"; -} - -.ion-logo-rss:before { - content: "\f248"; -} - -.ion-logo-sass:before { - content: "\f249"; -} - -.ion-logo-skype:before { - content: "\f24a"; -} - -.ion-logo-snapchat:before { - content: "\f24b"; -} - -.ion-logo-steam:before { - content: "\f24c"; -} - -.ion-logo-tumblr:before { - content: "\f24d"; -} - -.ion-logo-tux:before { - content: "\f2ae"; -} - -.ion-logo-twitch:before { - content: "\f2af"; -} - -.ion-logo-twitter:before { - content: "\f2b0"; -} - -.ion-logo-usd:before { - content: "\f2b1"; -} - -.ion-logo-vimeo:before { - content: "\f2c4"; -} - -.ion-logo-whatsapp:before { - content: "\f2c5"; -} - -.ion-logo-windows:before { - content: "\f32f"; -} - -.ion-logo-wordpress:before { - content: "\f330"; -} - -.ion-logo-xbox:before { - content: "\f34c"; -} - -.ion-logo-yahoo:before { - content: "\f34d"; -} - -.ion-logo-yen:before { - content: "\f34e"; -} - -.ion-logo-youtube:before { - content: "\f34f"; -} - -.ion-md-add:before { - content: "\f273"; -} - -.ion-md-add-circle:before { - content: "\f272"; -} - -.ion-md-alarm:before { - content: "\f274"; -} - -.ion-md-albums:before { - content: "\f275"; -} - -.ion-md-alert:before { - content: "\f276"; -} - -.ion-md-american-football:before { - content: "\f277"; -} - -.ion-md-analytics:before { - content: "\f278"; -} - -.ion-md-aperture:before { - content: "\f279"; -} - -.ion-md-apps:before { - content: "\f27a"; -} - -.ion-md-appstore:before { - content: "\f27b"; -} - -.ion-md-archive:before { - content: "\f27c"; -} - -.ion-md-arrow-back:before { - content: "\f27d"; -} - -.ion-md-arrow-down:before { - content: "\f27e"; -} - -.ion-md-arrow-dropdown:before { - content: "\f280"; -} - -.ion-md-arrow-dropdown-circle:before { - content: "\f27f"; -} - -.ion-md-arrow-dropleft:before { - content: "\f282"; -} - -.ion-md-arrow-dropleft-circle:before { - content: "\f281"; -} - -.ion-md-arrow-dropright:before { - content: "\f284"; -} - -.ion-md-arrow-dropright-circle:before { - content: "\f283"; -} - -.ion-md-arrow-dropup:before { - content: "\f286"; -} - -.ion-md-arrow-dropup-circle:before { - content: "\f285"; -} - -.ion-md-arrow-forward:before { - content: "\f287"; -} - -.ion-md-arrow-round-back:before { - content: "\f288"; -} - -.ion-md-arrow-round-down:before { - content: "\f289"; -} - -.ion-md-arrow-round-forward:before { - content: "\f28a"; -} - -.ion-md-arrow-round-up:before { - content: "\f28b"; -} - -.ion-md-arrow-up:before { - content: "\f28c"; -} - -.ion-md-at:before { - content: "\f28d"; -} - -.ion-md-attach:before { - content: "\f28e"; -} - -.ion-md-backspace:before { - content: "\f28f"; -} - -.ion-md-barcode:before { - content: "\f290"; -} - -.ion-md-baseball:before { - content: "\f291"; -} - -.ion-md-basket:before { - content: "\f292"; -} - -.ion-md-basketball:before { - content: "\f293"; -} - -.ion-md-battery-charging:before { - content: "\f294"; -} - -.ion-md-battery-dead:before { - content: "\f295"; -} - -.ion-md-battery-full:before { - content: "\f296"; -} - -.ion-md-beaker:before { - content: "\f297"; -} - -.ion-md-beer:before { - content: "\f298"; -} - -.ion-md-bicycle:before { - content: "\f299"; -} - -.ion-md-bluetooth:before { - content: "\f29a"; -} - -.ion-md-boat:before { - content: "\f29b"; -} - -.ion-md-body:before { - content: "\f29c"; -} - -.ion-md-bonfire:before { - content: "\f29d"; -} - -.ion-md-book:before { - content: "\f29e"; -} - -.ion-md-bookmark:before { - content: "\f29f"; -} - -.ion-md-bookmarks:before { - content: "\f2a0"; -} - -.ion-md-bowtie:before { - content: "\f2a1"; -} - -.ion-md-briefcase:before { - content: "\f2a2"; -} - -.ion-md-browsers:before { - content: "\f2a3"; -} - -.ion-md-brush:before { - content: "\f2a4"; -} - -.ion-md-bug:before { - content: "\f2a5"; -} - -.ion-md-build:before { - content: "\f2a6"; -} - -.ion-md-bulb:before { - content: "\f2a7"; -} - -.ion-md-bus:before { - content: "\f2a8"; -} - -.ion-md-cafe:before { - content: "\f2a9"; -} - -.ion-md-calculator:before { - content: "\f2aa"; -} - -.ion-md-calendar:before { - content: "\f2ab"; -} - -.ion-md-call:before { - content: "\f2ac"; -} - -.ion-md-camera:before { - content: "\f2ad"; -} - -.ion-md-car:before { - content: "\f2b2"; -} - -.ion-md-card:before { - content: "\f2b3"; -} - -.ion-md-cart:before { - content: "\f2b4"; -} - -.ion-md-cash:before { - content: "\f2b5"; -} - -.ion-md-chatboxes:before { - content: "\f2b6"; -} - -.ion-md-chatbubbles:before { - content: "\f2b7"; -} - -.ion-md-checkbox:before { - content: "\f2b9"; -} - -.ion-md-checkbox-outline:before { - content: "\f2b8"; -} - -.ion-md-checkmark:before { - content: "\f2bc"; -} - -.ion-md-checkmark-circle:before { - content: "\f2bb"; -} - -.ion-md-checkmark-circle-outline:before { - content: "\f2ba"; -} - -.ion-md-clipboard:before { - content: "\f2bd"; -} - -.ion-md-clock:before { - content: "\f2be"; -} - -.ion-md-close:before { - content: "\f2c0"; -} - -.ion-md-close-circle:before { - content: "\f2bf"; -} - -.ion-md-closed-captioning:before { - content: "\f2c1"; -} - -.ion-md-cloud:before { - content: "\f2c9"; -} - -.ion-md-cloud-circle:before { - content: "\f2c2"; -} - -.ion-md-cloud-done:before { - content: "\f2c3"; -} - -.ion-md-cloud-download:before { - content: "\f2c6"; -} - -.ion-md-cloud-outline:before { - content: "\f2c7"; -} - -.ion-md-cloud-upload:before { - content: "\f2c8"; -} - -.ion-md-cloudy:before { - content: "\f2cb"; -} - -.ion-md-cloudy-night:before { - content: "\f2ca"; -} - -.ion-md-code:before { - content: "\f2ce"; -} - -.ion-md-code-download:before { - content: "\f2cc"; -} - -.ion-md-code-working:before { - content: "\f2cd"; -} - -.ion-md-cog:before { - content: "\f2cf"; -} - -.ion-md-color-fill:before { - content: "\f2d0"; -} - -.ion-md-color-filter:before { - content: "\f2d1"; -} - -.ion-md-color-palette:before { - content: "\f2d2"; -} - -.ion-md-color-wand:before { - content: "\f2d3"; -} - -.ion-md-compass:before { - content: "\f2d4"; -} - -.ion-md-construct:before { - content: "\f2d5"; -} - -.ion-md-contact:before { - content: "\f2d6"; -} - -.ion-md-contacts:before { - content: "\f2d7"; -} - -.ion-md-contract:before { - content: "\f2d8"; -} - -.ion-md-contrast:before { - content: "\f2d9"; -} - -.ion-md-copy:before { - content: "\f2da"; -} - -.ion-md-create:before { - content: "\f2db"; -} - -.ion-md-crop:before { - content: "\f2dc"; -} - -.ion-md-cube:before { - content: "\f2dd"; -} - -.ion-md-cut:before { - content: "\f2de"; -} - -.ion-md-desktop:before { - content: "\f2df"; -} - -.ion-md-disc:before { - content: "\f2e0"; -} - -.ion-md-document:before { - content: "\f2e1"; -} - -.ion-md-done-all:before { - content: "\f2e2"; -} - -.ion-md-download:before { - content: "\f2e3"; -} - -.ion-md-easel:before { - content: "\f2e4"; -} - -.ion-md-egg:before { - content: "\f2e5"; -} - -.ion-md-exit:before { - content: "\f2e6"; -} - -.ion-md-expand:before { - content: "\f2e7"; -} - -.ion-md-eye:before { - content: "\f2e9"; -} - -.ion-md-eye-off:before { - content: "\f2e8"; -} - -.ion-md-fastforward:before { - content: "\f2ea"; -} - -.ion-md-female:before { - content: "\f2eb"; -} - -.ion-md-filing:before { - content: "\f2ec"; -} - -.ion-md-film:before { - content: "\f2ed"; -} - -.ion-md-finger-print:before { - content: "\f2ee"; -} - -.ion-md-flag:before { - content: "\f2ef"; -} - -.ion-md-flame:before { - content: "\f2f0"; -} - -.ion-md-flash:before { - content: "\f2f1"; -} - -.ion-md-flask:before { - content: "\f2f2"; -} - -.ion-md-flower:before { - content: "\f2f3"; -} - -.ion-md-folder:before { - content: "\f2f5"; -} - -.ion-md-folder-open:before { - content: "\f2f4"; -} - -.ion-md-football:before { - content: "\f2f6"; -} - -.ion-md-funnel:before { - content: "\f2f7"; -} - -.ion-md-game-controller-a:before { - content: "\f2f8"; -} - -.ion-md-game-controller-b:before { - content: "\f2f9"; -} - -.ion-md-git-branch:before { - content: "\f2fa"; -} - -.ion-md-git-commit:before { - content: "\f2fb"; -} - -.ion-md-git-compare:before { - content: "\f2fc"; -} - -.ion-md-git-merge:before { - content: "\f2fd"; -} - -.ion-md-git-network:before { - content: "\f2fe"; -} - -.ion-md-git-pull-request:before { - content: "\f2ff"; -} - -.ion-md-glasses:before { - content: "\f300"; -} - -.ion-md-globe:before { - content: "\f301"; -} - -.ion-md-grid:before { - content: "\f302"; -} - -.ion-md-hammer:before { - content: "\f303"; -} - -.ion-md-hand:before { - content: "\f304"; -} - -.ion-md-happy:before { - content: "\f305"; -} - -.ion-md-headset:before { - content: "\f306"; -} - -.ion-md-heart:before { - content: "\f308"; -} - -.ion-md-heart-outline:before { - content: "\f307"; -} - -.ion-md-help:before { - content: "\f30b"; -} - -.ion-md-help-buoy:before { - content: "\f309"; -} - -.ion-md-help-circle:before { - content: "\f30a"; -} - -.ion-md-home:before { - content: "\f30c"; -} - -.ion-md-ice-cream:before { - content: "\f30d"; -} - -.ion-md-image:before { - content: "\f30e"; -} - -.ion-md-images:before { - content: "\f30f"; -} - -.ion-md-infinite:before { - content: "\f310"; -} - -.ion-md-information:before { - content: "\f312"; -} - -.ion-md-information-circle:before { - content: "\f311"; -} - -.ion-md-ionic:before { - content: "\f313"; -} - -.ion-md-ionitron:before { - content: "\f314"; -} - -.ion-md-jet:before { - content: "\f315"; -} - -.ion-md-key:before { - content: "\f316"; -} - -.ion-md-keypad:before { - content: "\f317"; -} - -.ion-md-laptop:before { - content: "\f318"; -} - -.ion-md-leaf:before { - content: "\f319"; -} - -.ion-md-link:before { - content: "\f22e"; -} - -.ion-md-list:before { - content: "\f31b"; -} - -.ion-md-list-box:before { - content: "\f31a"; -} - -.ion-md-locate:before { - content: "\f31c"; -} - -.ion-md-lock:before { - content: "\f31d"; -} - -.ion-md-log-in:before { - content: "\f31e"; -} - -.ion-md-log-out:before { - content: "\f31f"; -} - -.ion-md-magnet:before { - content: "\f320"; -} - -.ion-md-mail:before { - content: "\f322"; -} - -.ion-md-mail-open:before { - content: "\f321"; -} - -.ion-md-male:before { - content: "\f323"; -} - -.ion-md-man:before { - content: "\f324"; -} - -.ion-md-map:before { - content: "\f325"; -} - -.ion-md-medal:before { - content: "\f326"; -} - -.ion-md-medical:before { - content: "\f327"; -} - -.ion-md-medkit:before { - content: "\f328"; -} - -.ion-md-megaphone:before { - content: "\f329"; -} - -.ion-md-menu:before { - content: "\f32a"; -} - -.ion-md-mic:before { - content: "\f32c"; -} - -.ion-md-mic-off:before { - content: "\f32b"; -} - -.ion-md-microphone:before { - content: "\f32d"; -} - -.ion-md-moon:before { - content: "\f32e"; -} - -.ion-md-more:before { - content: "\f1c9"; -} - -.ion-md-move:before { - content: "\f331"; -} - -.ion-md-musical-note:before { - content: "\f332"; -} - -.ion-md-musical-notes:before { - content: "\f333"; -} - -.ion-md-navigate:before { - content: "\f334"; -} - -.ion-md-no-smoking:before { - content: "\f335"; -} - -.ion-md-notifications:before { - content: "\f338"; -} - -.ion-md-notifications-off:before { - content: "\f336"; -} - -.ion-md-notifications-outline:before { - content: "\f337"; -} - -.ion-md-nuclear:before { - content: "\f339"; -} - -.ion-md-nutrition:before { - content: "\f33a"; -} - -.ion-md-open:before { - content: "\f33b"; -} - -.ion-md-options:before { - content: "\f33c"; -} - -.ion-md-outlet:before { - content: "\f33d"; -} - -.ion-md-paper:before { - content: "\f33f"; -} - -.ion-md-paper-plane:before { - content: "\f33e"; -} - -.ion-md-partly-sunny:before { - content: "\f340"; -} - -.ion-md-pause:before { - content: "\f341"; -} - -.ion-md-paw:before { - content: "\f342"; -} - -.ion-md-people:before { - content: "\f343"; -} - -.ion-md-person:before { - content: "\f345"; -} - -.ion-md-person-add:before { - content: "\f344"; -} - -.ion-md-phone-landscape:before { - content: "\f346"; -} - -.ion-md-phone-portrait:before { - content: "\f347"; -} - -.ion-md-photos:before { - content: "\f348"; -} - -.ion-md-pie:before { - content: "\f349"; -} - -.ion-md-pin:before { - content: "\f34a"; -} - -.ion-md-pint:before { - content: "\f34b"; -} - -.ion-md-pizza:before { - content: "\f354"; -} - -.ion-md-plane:before { - content: "\f355"; -} - -.ion-md-planet:before { - content: "\f356"; -} - -.ion-md-play:before { - content: "\f357"; -} - -.ion-md-podium:before { - content: "\f358"; -} - -.ion-md-power:before { - content: "\f359"; -} - -.ion-md-pricetag:before { - content: "\f35a"; -} - -.ion-md-pricetags:before { - content: "\f35b"; -} - -.ion-md-print:before { - content: "\f35c"; -} - -.ion-md-pulse:before { - content: "\f35d"; -} - -.ion-md-qr-scanner:before { - content: "\f35e"; -} - -.ion-md-quote:before { - content: "\f35f"; -} - -.ion-md-radio:before { - content: "\f362"; -} - -.ion-md-radio-button-off:before { - content: "\f360"; -} - -.ion-md-radio-button-on:before { - content: "\f361"; -} - -.ion-md-rainy:before { - content: "\f363"; -} - -.ion-md-recording:before { - content: "\f364"; -} - -.ion-md-redo:before { - content: "\f365"; -} - -.ion-md-refresh:before { - content: "\f366"; -} - -.ion-md-refresh-circle:before { - content: "\f228"; -} - -.ion-md-remove:before { - content: "\f368"; -} - -.ion-md-remove-circle:before { - content: "\f367"; -} - -.ion-md-reorder:before { - content: "\f369"; -} - -.ion-md-repeat:before { - content: "\f36a"; -} - -.ion-md-resize:before { - content: "\f36b"; -} - -.ion-md-restaurant:before { - content: "\f36c"; -} - -.ion-md-return-left:before { - content: "\f36d"; -} - -.ion-md-return-right:before { - content: "\f36e"; -} - -.ion-md-reverse-camera:before { - content: "\f36f"; -} - -.ion-md-rewind:before { - content: "\f370"; -} - -.ion-md-ribbon:before { - content: "\f371"; -} - -.ion-md-rose:before { - content: "\f372"; -} - -.ion-md-sad:before { - content: "\f373"; -} - -.ion-md-school:before { - content: "\f374"; -} - -.ion-md-search:before { - content: "\f375"; -} - -.ion-md-send:before { - content: "\f376"; -} - -.ion-md-settings:before { - content: "\f377"; -} - -.ion-md-share:before { - content: "\f379"; -} - -.ion-md-share-alt:before { - content: "\f378"; -} - -.ion-md-shirt:before { - content: "\f37a"; -} - -.ion-md-shuffle:before { - content: "\f37b"; -} - -.ion-md-skip-backward:before { - content: "\f37c"; -} - -.ion-md-skip-forward:before { - content: "\f37d"; -} - -.ion-md-snow:before { - content: "\f37e"; -} - -.ion-md-speedometer:before { - content: "\f37f"; -} - -.ion-md-square:before { - content: "\f381"; -} - -.ion-md-square-outline:before { - content: "\f380"; -} - -.ion-md-star:before { - content: "\f384"; -} - -.ion-md-star-half:before { - content: "\f382"; -} - -.ion-md-star-outline:before { - content: "\f383"; -} - -.ion-md-stats:before { - content: "\f385"; -} - -.ion-md-stopwatch:before { - content: "\f386"; -} - -.ion-md-subway:before { - content: "\f387"; -} - -.ion-md-sunny:before { - content: "\f388"; -} - -.ion-md-swap:before { - content: "\f389"; -} - -.ion-md-switch:before { - content: "\f38a"; -} - -.ion-md-sync:before { - content: "\f38b"; -} - -.ion-md-tablet-landscape:before { - content: "\f38c"; -} - -.ion-md-tablet-portrait:before { - content: "\f38d"; -} - -.ion-md-tennisball:before { - content: "\f38e"; -} - -.ion-md-text:before { - content: "\f38f"; -} - -.ion-md-thermometer:before { - content: "\f390"; -} - -.ion-md-thumbs-down:before { - content: "\f391"; -} - -.ion-md-thumbs-up:before { - content: "\f392"; -} - -.ion-md-thunderstorm:before { - content: "\f393"; -} - -.ion-md-time:before { - content: "\f394"; -} - -.ion-md-timer:before { - content: "\f395"; -} - -.ion-md-train:before { - content: "\f396"; -} - -.ion-md-transgender:before { - content: "\f397"; -} - -.ion-md-trash:before { - content: "\f398"; -} - -.ion-md-trending-down:before { - content: "\f399"; -} - -.ion-md-trending-up:before { - content: "\f39a"; -} - -.ion-md-trophy:before { - content: "\f39b"; -} - -.ion-md-umbrella:before { - content: "\f39c"; -} - -.ion-md-undo:before { - content: "\f39d"; -} - -.ion-md-unlock:before { - content: "\f39e"; -} - -.ion-md-videocam:before { - content: "\f39f"; -} - -.ion-md-volume-down:before { - content: "\f3a0"; -} - -.ion-md-volume-mute:before { - content: "\f3a1"; -} - -.ion-md-volume-off:before { - content: "\f3a2"; -} - -.ion-md-volume-up:before { - content: "\f3a3"; -} - -.ion-md-walk:before { - content: "\f3a4"; -} - -.ion-md-warning:before { - content: "\f3a5"; -} - -.ion-md-watch:before { - content: "\f3a6"; -} - -.ion-md-water:before { - content: "\f3a7"; -} - -.ion-md-wifi:before { - content: "\f3a8"; -} - -.ion-md-wine:before { - content: "\f3a9"; -} - -.ion-md-woman:before { - content: "\f3aa"; -} - -@font-face { - font-family: "Ionicons"; - src: url("../assets/fonts/ionicons.woff2?v=3.0.0-alpha.3") format("woff2"), url("../assets/fonts/ionicons.woff?v=3.0.0-alpha.3") format("woff"), url("../assets/fonts/ionicons.ttf?v=3.0.0-alpha.3") format("truetype"); - font-weight: normal; - font-style: normal; -} - -ion-icon { - display: inline-block; - font-family: "Ionicons"; - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - font-style: normal; - font-variant: normal; - font-weight: normal; - line-height: 1; - text-rendering: auto; - text-transform: none; - speak: none; -} - -ion-icon::before { - display: inline-block; -} - -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 300; - src: local("Roboto Light"), local("Roboto-Light"), url("../assets/fonts/roboto-light.woff2") format("woff2"), url("../assets/fonts/roboto-light.woff") format("woff"), url("../assets/fonts/roboto-light.ttf") format("truetype"); -} - -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 400; - src: local("Roboto"), local("Roboto-Regular"), url("../assets/fonts/roboto-regular.woff2") format("woff2"), url("../assets/fonts/roboto-regular.woff") format("woff"), url("../assets/fonts/roboto-regular.ttf") format("truetype"); -} - -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 500; - src: local("Roboto Medium"), local("Roboto-Medium"), url("../assets/fonts/roboto-medium.woff2") format("woff2"), url("../assets/fonts/roboto-medium.woff") format("woff"), url("../assets/fonts/roboto-medium.ttf") format("truetype"); -} - -@font-face { - font-family: "Roboto"; - font-style: normal; - font-weight: 700; - src: local("Roboto Bold"), local("Roboto-Bold"), url("../assets/fonts/roboto-bold.woff2") format("woff2"), url("../assets/fonts/roboto-bold.woff") format("woff"), url("../assets/fonts/roboto-bold.ttf") format("truetype"); -} - -@font-face { - font-family: "Noto Sans"; - font-style: normal; - font-weight: 300; - src: local("Noto Sans"), local("Noto-Sans-Regular"), url("../assets/fonts/noto-sans-regular.woff") format("woff"), url("../assets/fonts/noto-sans-regular.ttf") format("truetype"); -} - -@font-face { - font-family: "Noto Sans"; - font-style: normal; - font-weight: 400; - src: local("Noto Sans"), local("Noto-Sans-Regular"), url("../assets/fonts/noto-sans-regular.woff") format("woff"), url("../assets/fonts/noto-sans-regular.ttf") format("truetype"); -} - -@font-face { - font-family: "Noto Sans"; - font-style: normal; - font-weight: 500; - src: local("Noto Sans Bold"), local("Noto-Sans-Bold"), url("../assets/fonts/noto-sans-bold.woff") format("woff"), url("../assets/fonts/noto-sans-bold.ttf") format("truetype"); -} - -@font-face { - font-family: "Noto Sans"; - font-style: normal; - font-weight: 700; - src: local("Noto Sans Bold"), local("Noto-Sans-Bold"), url("../assets/fonts/noto-sans-bold.woff") format("woff"), url("../assets/fonts/noto-sans-bold.ttf") format("truetype"); -} - -ion-action-sheet { - left: 0; - top: 0; - position: absolute; - z-index: 1000; - display: block; - width: 100%; - height: 100%; -} - -.action-sheet-wrapper { - left: 0; - right: 0; - top: 0; - bottom: 0; - margin: auto; - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - position: absolute; - z-index: 10; - display: block; - width: 100%; - max-width: 500px; - pointer-events: none; -} - -.action-sheet-button { - width: 100%; -} - -.action-sheet-container { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-flow: column; - -ms-flex-flow: column; - flex-flow: column; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - height: 100%; - max-height: 100%; -} - -.action-sheet-group { - overflow: scroll; - -webkit-flex-shrink: 2; - -ms-flex-negative: 2; - flex-shrink: 2; - pointer-events: all; -} - -.action-sheet-group-cancel { - overflow: hidden; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; -} - -.action-sheet-ios { - text-align: center; -} - -.action-sheet-ios .action-sheet-wrapper { - margin: constant(safe-area-inset-top) auto constant(safe-area-inset-bottom); - margin: env(safe-area-inset-top) auto env(safe-area-inset-bottom); -} - -.action-sheet-ios .action-sheet-container { - padding: 0 10px; -} - -.action-sheet-ios .action-sheet-group { - border-radius: 13px; - margin-bottom: 8px; - background: #f9f9f9; -} - -.action-sheet-ios .action-sheet-group:first-child { - margin-top: 10px; -} - -.action-sheet-ios .action-sheet-group:last-child { - margin-bottom: 10px; -} - -.action-sheet-ios .action-sheet-title { - padding: 1.5rem; - text-align: center; - border-radius: 0; - border-bottom: 0.55px solid #d6d6da; - font-size: 1.3rem; - font-weight: 400; - color: #8f8f8f; -} - -.action-sheet-ios .action-sheet-button { - margin: 0; - padding: 18px; - min-height: 5.6rem; - border-bottom: 0.55px solid #d6d6da; - font-size: 2rem; - color: #007aff; - background: transparent; -} - -.action-sheet-ios .action-sheet-button:last-child { - border-bottom-color: transparent; -} - -.action-sheet-ios .action-sheet-button.activated { - margin-top: -0.55px; - border-top: 0.55px solid #ebebeb; - border-bottom-color: #ebebeb; - background: #ebebeb; -} - -.action-sheet-ios .action-sheet-selected { - font-weight: bold; - background: #fff; -} - -.action-sheet-ios .action-sheet-destructive { - color: #f53d3d; -} - -.action-sheet-ios .action-sheet-cancel { - font-weight: 600; - background: #fff; -} - -.action-sheet-md .action-sheet-title { - text-align: left; - text-align: start; - font-size: 1.6rem; - color: #757575; - padding: 11px 16px 17px; -} - -.action-sheet-md .action-sheet-button { - text-align: left; - text-align: start; - position: relative; - overflow: hidden; - min-height: 4.8rem; - font-size: 1.6rem; - color: #222; - background: transparent; - padding: 0 16px; -} - -.action-sheet-md .action-sheet-button.activated { - background: #f1f1f1; -} - -.action-sheet-md .action-sheet-icon { - padding: 0; - text-align: center; - width: 2.3rem; - font-size: 2.4rem; - vertical-align: middle; - margin: 0 32px 0 0; -} - -.action-sheet-md .action-sheet-group { - background: #fafafa; -} - -.action-sheet-md .action-sheet-group:first-child { - padding-top: 0.8rem; -} - -.action-sheet-md .action-sheet-group:last-child { - padding-bottom: 0.8rem; -} - -.action-sheet-md .action-sheet-group .button-inner { - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -.action-sheet-md .action-sheet-selected { - font-weight: bold; -} - -.action-sheet-wp .action-sheet-title { - text-align: left; - text-align: start; - font-size: 2rem; - color: #4d4d4d; - padding: 11px 16px 17px; -} - -.action-sheet-wp .action-sheet-button { - text-align: left; - text-align: start; - min-height: 4.8rem; - font-size: 1.5rem; - color: #4d4d4d; - background: transparent; - padding: 0 16px; -} - -.action-sheet-wp .action-sheet-button.activated { - background: #aaa; -} - -.action-sheet-wp .action-sheet-icon { - padding: 0; - text-align: center; - width: 2.3rem; - font-size: 2.4rem; - vertical-align: middle; - margin: 0 20px 0 0; -} - -.action-sheet-wp .action-sheet-group { - background: #fff; -} - -.action-sheet-wp .action-sheet-group:first-child { - padding-top: 0.8rem; - -webkit-box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); -} - -.action-sheet-wp .action-sheet-group:last-child { - padding-bottom: 0.8rem; -} - -.action-sheet-wp .action-sheet-group .button-inner { - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -.action-sheet-wp .action-sheet-selected { - font-weight: bold; -} - -.action-sheet-wp .action-sheet-cancel { - background: transparent; -} - -ion-alert { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - z-index: 1000; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - contain: strict; -} - -ion-alert.alert-top { - padding-top: 50px; - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} - -ion-alert input { - width: 100%; -} - -.alert-wrapper { - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - min-width: 250px; - max-height: 90%; - opacity: 0; - contain: content; -} - -.alert-title { - margin: 0; - padding: 0; -} - -.alert-sub-title { - margin: 5px 0 0; - padding: 0; - font-weight: normal; -} - -.alert-message { - overflow-y: scroll; - -webkit-overflow-scrolling: touch; -} - -.alert-input { - padding: 10px 0; - border: 0; - background: inherit; -} - -.alert-input::-moz-placeholder { - color: #999; -} - -.alert-input:-ms-input-placeholder { - color: #999; -} - -.alert-input::-webkit-input-placeholder { - text-indent: 0; - color: #999; -} - -.alert-button-group { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -.alert-button-group-vertical { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.alert-button { - margin: 0; - z-index: 0; - display: block; - font-size: 14px; - line-height: 20px; -} - -.alert-tappable { - text-align: left; - text-align: start; - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - margin: 0; - padding: 0; - width: 100%; - font-size: inherit; - line-height: initial; - background: transparent; -} - -.alert-ios .alert-wrapper { - border-radius: 13px; - overflow: hidden; - max-width: 270px; - background-color: #f8f8f8; - -webkit-box-shadow: none; - box-shadow: none; -} - -.alert-ios .alert-head { - text-align: center; - padding: 12px 16px 7px; -} - -.alert-ios .alert-title { - margin-top: 8px; - font-size: 17px; - font-weight: 600; -} - -.alert-ios .alert-sub-title { - font-size: 14px; - color: #666; -} - -.alert-ios .alert-message, -.alert-ios .alert-input-group { - text-align: center; - font-size: 13px; - color: inherit; - padding: 0 16px 21px; -} - -.alert-ios .alert-message { - max-height: 240px; -} - -.alert-ios .alert-message:empty { - padding: 0 0 12px; -} - -.alert-ios .alert-input { - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - margin-top: 10px; - border-radius: 4px; - border: 0.55px solid #ccc; - background-color: #fff; - padding: 6px; -} - -.alert-ios .alert-radio-group, -.alert-ios .alert-checkbox-group { - overflow: scroll; - max-height: 240px; - border-top: 0.55px solid #dbdbdf; - -webkit-overflow-scrolling: touch; -} - -.alert-ios .alert-tappable { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - min-height: 44px; -} - -.alert-ios .alert-radio-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-ordinal-group: 1; - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px; -} - -.alert-ios [aria-checked=true] .alert-radio-label { - color: #673AB7; -} - -.alert-ios .alert-radio-icon { - position: relative; - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; - min-width: 30px; -} - -.alert-ios [aria-checked=true] .alert-radio-inner { - left: 7px; - top: -7px; - position: absolute; - width: 6px; - height: 12px; - border-width: 2px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #673AB7; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.alert-ios .alert-checkbox-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px; -} - -.alert-ios [aria-checked=true] .alert-checkbox-label { - color: initial; -} - -.alert-ios .alert-checkbox-icon { - border-radius: 50%; - position: relative; - width: 21px; - height: 21px; - border-width: 0.55px; - border-style: solid; - border-color: #c8c7cc; - background-color: #fff; - margin: 10px 6px 10px 16px; -} - -.alert-ios [aria-checked=true] .alert-checkbox-icon { - border-color: #673AB7; - background-color: #673AB7; -} - -.alert-ios [aria-checked=true] .alert-checkbox-inner { - left: 7px; - top: 4px; - position: absolute; - width: 4px; - height: 9px; - border-width: 0.55px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.alert-ios .alert-button-group { - margin-right: -0.55px; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - -.alert-ios .alert-button { - margin: 0; - border-radius: 0; - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1 1 auto; - -ms-flex: 1 1 auto; - flex: 1 1 auto; - min-width: 50%; - height: 44px; - border-top: 0.55px solid #dbdbdf; - border-right: 0.55px solid #dbdbdf; - font-size: 17px; - color: #673AB7; - background-color: transparent; -} - -.alert-ios .alert-button:last-child { - border-right: 0; - font-weight: bold; -} - -.alert-ios .alert-button.activated { - background-color: #e9e9e9; -} - -.alert-md .alert-wrapper { - border-radius: 2px; - max-width: 280px; - background-color: #fafafa; - -webkit-box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); - box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); -} - -.alert-md .alert-head { - text-align: left; - text-align: start; - padding: 24px 24px 20px; -} - -.alert-md .alert-title { - font-size: 22px; -} - -.alert-md .alert-sub-title { - font-size: 16px; -} - -.alert-md .alert-message, -.alert-md .alert-input-group { - color: rgba(0, 0, 0, 0.5); - padding: 0 24px 24px; -} - -.alert-md .alert-message { - max-height: 240px; - font-size: 15px; -} - -.alert-md .alert-message:empty { - padding: 0; -} - -.alert-md .alert-input { - margin: 5px 0; - border-bottom: 1px solid #dedede; - color: #000; -} - -.alert-md .alert-input:focus { - margin-bottom: 4px; - border-bottom: 2px solid #673AB7; -} - -.alert-md .alert-radio-group, -.alert-md .alert-checkbox-group { - position: relative; - overflow: auto; - max-height: 240px; - border-top: 1px solid #dedede; - border-bottom: 1px solid #dedede; -} - -.alert-md .alert-tappable { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - min-height: 4.4rem; -} - -.alert-md .alert-radio-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px 26px; -} - -.alert-md .alert-radio-icon { - left: 13px; - top: 0; - border-radius: 50%; - position: relative; - display: block; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #787878; -} - -.alert-md .alert-radio-inner { - left: 2px; - top: 2px; - border-radius: 50%; - position: absolute; - width: 8px; - height: 8px; - background-color: #673AB7; - -webkit-transform: scale3d(0, 0, 0); - transform: scale3d(0, 0, 0); - -webkit-transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.alert-md [aria-checked=true] .alert-radio-label { - color: #673AB7; -} - -.alert-md [aria-checked=true] .alert-radio-icon { - border-color: #673AB7; -} - -.alert-md [aria-checked=true] .alert-radio-inner { - -webkit-transform: scale3d(1, 1, 1); - transform: scale3d(1, 1, 1); -} - -.alert-md .alert-checkbox-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px 26px; -} - -.alert-md [aria-checked=true] .alert-checkbox-label { - color: initial; -} - -.alert-md .alert-checkbox-icon { - left: 13px; - top: 0; - border-radius: 2px; - position: relative; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #787878; -} - -.alert-md [aria-checked=true] .alert-checkbox-icon { - border-color: #673AB7; - background-color: #673AB7; -} - -.alert-md [aria-checked=true] .alert-checkbox-inner { - left: 3px; - top: 0; - position: absolute; - width: 6px; - height: 10px; - border-width: 2px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.alert-md .alert-button-group { - -webkit-flex-wrap: wrap-reverse; - -ms-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - padding: 8px 8px 8px 24px; -} - -.alert-md .alert-button { - text-align: right; - text-align: end; - border-radius: 2px; - position: relative; - overflow: hidden; - font-weight: 500; - text-transform: uppercase; - color: #673AB7; - background-color: transparent; - margin: 0 8px 0 0; - padding: 10px; -} - -.alert-md .alert-button.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.alert-md .alert-button .button-inner { - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.alert-wp ion-backdrop { - background: #fff; -} - -.alert-wp .alert-wrapper { - border-radius: 0; - width: 100%; - max-width: 520px; - border: 1px solid #673AB7; - background: #e6e6e6; -} - -.alert-wp .alert-head { - text-align: left; - text-align: start; - padding: 20px 22px 5px; -} - -.alert-wp .alert-title { - font-size: 20px; - font-weight: 400; -} - -.alert-wp .alert-sub-title { - font-size: 16px; -} - -.alert-wp .alert-message, -.alert-wp .alert-input-group { - color: #000; - padding: 0 22px 8px; -} - -.alert-wp .alert-message { - max-height: 240px; - font-size: 13px; -} - -.alert-wp .alert-message:empty { - padding: 0; -} - -.alert-wp .alert-input { - border: 2px solid rgba(0, 0, 0, 0.5); - line-height: 3rem; - color: #000; - margin: 5px 0; - padding: 0 8px; -} - -.alert-wp .alert-input:focus { - border-color: #673AB7; -} - -.alert-wp .alert-radio-group, -.alert-wp .alert-checkbox-group { - position: relative; - overflow: auto; - max-height: 240px; -} - -.alert-wp .alert-tappable { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - min-height: 4.4rem; -} - -.alert-wp .alert-radio-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px 26px; -} - -.alert-wp .alert-radio-icon { - left: 13px; - top: 0; - margin: 0; - border-radius: 50%; - position: relative; - display: block; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: rgba(0, 0, 0, 0.5); -} - -.alert-wp .alert-radio-inner { - left: 2px; - top: 2px; - border-radius: 50%; - position: absolute; - display: none; - width: 8px; - height: 8px; - background: #673AB7; -} - -.alert-wp [aria-checked=true] .alert-radio-label { - color: #000; -} - -.alert-wp [aria-checked=true] .alert-radio-icon { - border-color: rgba(0, 0, 0, 0.5); -} - -.alert-wp [aria-checked=true] .alert-radio-inner { - display: block; -} - -.alert-wp .alert-checkbox-label { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - text-overflow: ellipsis; - white-space: nowrap; - color: initial; - padding: 13px 26px; -} - -.alert-wp [aria-checked=true] .alert-checkbox-label { - color: initial; -} - -.alert-wp .alert-checkbox-icon { - left: 13px; - top: 0; - border-radius: 0; - position: relative; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: rgba(0, 0, 0, 0.5); - background: transparent; -} - -.alert-wp [aria-checked=true] .alert-checkbox-icon { - border-color: #673AB7; - background: #673AB7; -} - -.alert-wp [aria-checked=true] .alert-checkbox-inner { - left: 3px; - top: -2px; - position: absolute; - width: 6px; - height: 12px; - border-width: 1px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.alert-wp .alert-button-group { - -webkit-flex-wrap: wrap-reverse; - -ms-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - padding: 20px 22px; -} - -.alert-wp .alert-button-group-vertical .alert-button { - margin-top: 5px; - width: 100%; -} - -.alert-wp .alert-button-group-vertical .alert-button:first-child:not(:only-child) { - margin-right: 0; - margin-top: 0; -} - -.alert-wp .alert-button { - border-radius: 0; - width: 49.5%; - font-weight: 400; - color: #000; - background: #b8b8b8; - padding: 5px; -} - -.alert-wp .alert-button:first-child:not(:only-child) { - margin-right: 1%; -} - -.alert-wp .alert-button.activated { - background: darkgray; -} - -audio, -canvas, -progress, -video { - vertical-align: baseline; -} - -audio:not([controls]) { - display: none; - height: 0; -} - -b, -strong { - font-weight: bold; -} - -img { - max-width: 100%; - border: 0; -} - -svg:not(:root) { - overflow: hidden; -} - -figure { - margin: 1em 40px; -} - -hr { - height: 1px; - border-width: 0; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} - -pre { - overflow: auto; -} - -code, -kbd, -pre, -samp { - font-family: monospace, monospace; - font-size: 1em; -} - -label, -input, -select, -textarea { - font-family: inherit; - line-height: normal; -} - -textarea { - overflow: auto; - height: auto; - font: inherit; - color: inherit; -} - -textarea::-webkit-input-placeholder { - padding-left: 2px; -} - -textarea:-ms-input-placeholder { - padding-left: 2px; -} - -textarea::-ms-input-placeholder { - padding-left: 2px; -} - -textarea::placeholder { - padding-left: 2px; -} - -form, -input, -optgroup, -select { - margin: 0; - font: inherit; - color: inherit; -} - -html input[type="button"], -input[type="reset"], -input[type="submit"] { - cursor: pointer; - -webkit-appearance: button; -} - -a, -a div, -a span, -a ion-icon, -a ion-label, -button, -button div, -button span, -button ion-icon, -button ion-label, -[tappable], -[tappable] div, -[tappable] span, -[tappable] ion-icon, -[tappable] ion-label, -input, -textarea { - -ms-touch-action: manipulation; - touch-action: manipulation; -} - -a ion-label, -button ion-label { - pointer-events: none; -} - -button { - border: 0; - font-family: inherit; - font-style: inherit; - font-variant: inherit; - line-height: 1; - text-transform: none; - cursor: pointer; - -webkit-appearance: button; -} - -[tappable] { - cursor: pointer; -} - -a[disabled], -button[disabled], -html input[disabled] { - cursor: default; -} - -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} - -input[type="checkbox"], -input[type="radio"] { - padding: 0; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -input[type="number"]::-webkit-inner-spin-button, -input[type="number"]::-webkit-outer-spin-button { - height: auto; -} - -input[type="search"]::-webkit-search-cancel-button, -input[type="search"]::-webkit-search-decoration { - -webkit-appearance: none; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -td, -th { - padding: 0; -} - -.hide, -[hidden], -template { - display: none !important; -} - -.sticky { - position: -webkit-sticky; - position: sticky; - top: 0; -} - -:focus, -:active { - outline: none; -} - -.focus-outline :focus { - outline: thin dotted; - outline-offset: -1px; -} - -.focus-outline button:focus, -.focus-outline [ion-button]:focus { - border-color: #51a7e8; - outline: 2px solid #51a7e8; - -webkit-box-shadow: 0 0 8px 1px #51a7e8; - box-shadow: 0 0 8px 1px #51a7e8; -} - -ion-input :focus { - outline: none; -} - -.click-block { - display: none; -} - -.click-block-enabled { - left: 0; - right: 0; - top: 0; - bottom: 0; - -webkit-transform: translate3d(0, -100%, 0) translateY(1px); - transform: translate3d(0, -100%, 0) translateY(1px); - position: absolute; - z-index: 99999; - display: block; - opacity: 0; - contain: strict; -} - -.click-block-active { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -* { - -webkit-box-sizing: border-box; - box-sizing: border-box; - -webkit-tap-highlight-color: transparent; - -webkit-tap-highlight-color: transparent; - -webkit-touch-callout: none; -} - -html { - width: 100%; - height: 100%; - font-size: 62.5%; - -webkit-text-size-adjust: 100%; - -moz-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; - text-size-adjust: 100%; -} - -body { - margin: 0; - padding: 0; - position: fixed; - overflow: hidden; - width: 100%; - max-width: 100%; - height: 100%; - max-height: 100%; - -webkit-font-smoothing: antialiased; - font-smoothing: antialiased; - text-rendering: optimizeLegibility; - -webkit-user-drag: none; - -ms-content-zooming: none; - -ms-touch-action: manipulation; - touch-action: manipulation; - word-wrap: break-word; - -webkit-text-size-adjust: none; - -moz-text-size-adjust: none; - -ms-text-size-adjust: none; - text-size-adjust: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -a { - background-color: transparent; -} - -.enable-hover a:hover { - opacity: .7; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - margin-top: 1.6rem; - margin-bottom: 1rem; - font-weight: 500; - line-height: 1.2; -} - -[padding] h1:first-child, -[padding] h2:first-child, -[padding] h3:first-child, -[padding] h4:first-child, -[padding] h5:first-child, -[padding] h6:first-child { - margin-top: -0.3rem; -} - -h1 + h2, -h1 + h3, -h2 + h3 { - margin-top: -0.3rem; -} - -h1 { - margin-top: 2rem; - font-size: 2.6rem; -} - -h2 { - margin-top: 1.8rem; - font-size: 2.4rem; -} - -h3 { - font-size: 2.2rem; -} - -h4 { - font-size: 2rem; -} - -h5 { - font-size: 1.8rem; -} - -h6 { - font-size: 1.6rem; -} - -small { - font-size: 75%; -} - -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} - -sup { - top: -.5em; -} - -sub { - bottom: -.25em; -} - -ion-app, -ion-nav, -ion-tab, -ion-tabs, -.app-root { - left: 0; - top: 0; - position: absolute; - z-index: 0; - display: block; - width: 100%; - height: 100%; -} - -ion-nav, -ion-tab, -ion-tabs { - overflow: hidden; -} - -ion-tab { - display: none; -} - -ion-tab.show-tab { - display: block; -} - -ion-app, -ion-nav, -ion-tab, -ion-tabs, -.app-root, -.ion-page { - contain: strict; -} - -.ion-page { - left: 0; - top: 0; - position: absolute; - display: block; - width: 100%; - height: 100%; - opacity: 0; -} - -.ion-page.show-page { - opacity: 1; -} - -ion-header { - left: 0; - top: 0; - position: absolute; - z-index: 10; - display: block; - width: 100%; -} - -ion-footer { - left: 0; - bottom: 0; - position: absolute; - z-index: 10; - display: block; - width: 100%; -} - -[app-viewport], -[overlay-portal], -[nav-viewport], -[tab-portal], -.nav-decor { - display: none; -} - -[text-center] { - text-align: center !important; -} - -[text-justify] { - text-align: justify !important; -} - -[text-start] { - text-align: left; - text-align: start !important; -} - -[text-end] { - text-align: right; - text-align: end !important; -} - -[text-left] { - text-align: left !important; -} - -[text-right] { - text-align: right !important; -} - -[text-nowrap] { - white-space: nowrap !important; -} - -[text-wrap] { - white-space: normal !important; -} - -@media (min-width: 576px) { - [text-sm-center] { - text-align: center !important; - } - [text-sm-justify] { - text-align: justify !important; - } - [text-sm-start] { - text-align: left; - text-align: start !important; - } - [text-sm-end] { - text-align: right; - text-align: end !important; - } - [text-sm-left] { - text-align: left !important; - } - [text-sm-right] { - text-align: right !important; - } - [text-sm-nowrap] { - white-space: nowrap !important; - } - [text-sm-wrap] { - white-space: normal !important; - } -} - -@media (min-width: 768px) { - [text-md-center] { - text-align: center !important; - } - [text-md-justify] { - text-align: justify !important; - } - [text-md-start] { - text-align: left; - text-align: start !important; - } - [text-md-end] { - text-align: right; - text-align: end !important; - } - [text-md-left] { - text-align: left !important; - } - [text-md-right] { - text-align: right !important; - } - [text-md-nowrap] { - white-space: nowrap !important; - } - [text-md-wrap] { - white-space: normal !important; - } -} - -@media (min-width: 992px) { - [text-lg-center] { - text-align: center !important; - } - [text-lg-justify] { - text-align: justify !important; - } - [text-lg-start] { - text-align: left; - text-align: start !important; - } - [text-lg-end] { - text-align: right; - text-align: end !important; - } - [text-lg-left] { - text-align: left !important; - } - [text-lg-right] { - text-align: right !important; - } - [text-lg-nowrap] { - white-space: nowrap !important; - } - [text-lg-wrap] { - white-space: normal !important; - } -} - -@media (min-width: 1200px) { - [text-xl-center] { - text-align: center !important; - } - [text-xl-justify] { - text-align: justify !important; - } - [text-xl-start] { - text-align: left; - text-align: start !important; - } - [text-xl-end] { - text-align: right; - text-align: end !important; - } - [text-xl-left] { - text-align: left !important; - } - [text-xl-right] { - text-align: right !important; - } - [text-xl-nowrap] { - white-space: nowrap !important; - } - [text-xl-wrap] { - white-space: normal !important; - } -} - -[text-uppercase] { - text-transform: uppercase !important; -} - -[text-lowercase] { - text-transform: lowercase !important; -} - -[text-capitalize] { - text-transform: capitalize !important; -} - -@media (min-width: 576px) { - [text-sm-uppercase] { - text-transform: uppercase !important; - } - [text-sm-lowercase] { - text-transform: lowercase !important; - } - [text-sm-capitalize] { - text-transform: capitalize !important; - } -} - -@media (min-width: 768px) { - [text-md-uppercase] { - text-transform: uppercase !important; - } - [text-md-lowercase] { - text-transform: lowercase !important; - } - [text-md-capitalize] { - text-transform: capitalize !important; - } -} - -@media (min-width: 992px) { - [text-lg-uppercase] { - text-transform: uppercase !important; - } - [text-lg-lowercase] { - text-transform: lowercase !important; - } - [text-lg-capitalize] { - text-transform: capitalize !important; - } -} - -@media (min-width: 1200px) { - [text-xl-uppercase] { - text-transform: uppercase !important; - } - [text-xl-lowercase] { - text-transform: lowercase !important; - } - [text-xl-capitalize] { - text-transform: capitalize !important; - } -} - -[float-left] { - float: left !important; -} - -[float-right] { - float: right !important; -} - -[float-start] { - float: left !important; -} - -[float-end] { - float: right !important; -} - -@media (min-width: 576px) { - [float-sm-left] { - float: left !important; - } - [float-sm-right] { - float: right !important; - } - [float-sm-start] { - float: left !important; - } - [float-sm-end] { - float: right !important; - } -} - -@media (min-width: 768px) { - [float-md-left] { - float: left !important; - } - [float-md-right] { - float: right !important; - } - [float-md-start] { - float: left !important; - } - [float-md-end] { - float: right !important; - } -} - -@media (min-width: 992px) { - [float-lg-left] { - float: left !important; - } - [float-lg-right] { - float: right !important; - } - [float-lg-start] { - float: left !important; - } - [float-lg-end] { - float: right !important; - } -} - -@media (min-width: 1200px) { - [float-xl-left] { - float: left !important; - } - [float-xl-right] { - float: right !important; - } - [float-xl-start] { - float: left !important; - } - [float-xl-end] { - float: right !important; - } -} - -ion-app.ios { - font-family: -apple-system, "Helvetica Neue", "Roboto", sans-serif; - font-size: 1.4rem; - background-color: #fff; -} - -ion-app.md { - font-family: "Roboto", "Helvetica Neue", sans-serif; - font-size: 1.4rem; - background-color: #fff; -} - -ion-app.wp { - font-family: "Segoe UI", "Noto Sans", sans-serif; - font-size: 1.4rem; - background-color: #fff; -} - -ion-backdrop { - left: 0; - top: 0; - position: absolute; - z-index: 2; - display: block; - width: 100%; - height: 100%; - background-color: #000; - opacity: .01; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -ion-backdrop.backdrop-no-tappable { - cursor: auto; -} - -ion-badge { - padding: 3px 8px; - text-align: center; - display: inline-block; - min-width: 10px; - font-size: 1.3rem; - font-weight: bold; - line-height: 1; - white-space: nowrap; - vertical-align: baseline; -} - -ion-badge:empty { - display: none; -} - -.badge-ios { - border-radius: 10px; - color: #fff; - background-color: #673AB7; -} - -.badge-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.badge-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.badge-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.badge-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.badge-ios-dark { - color: #fff; - background-color: #222; -} - -.badge-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.badge-md { - border-radius: 4px; - color: #fff; - background-color: #673AB7; -} - -.badge-md-primary { - color: #fff; - background-color: #673AB7; -} - -.badge-md-secondary { - color: #fff; - background-color: #32db64; -} - -.badge-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.badge-md-light { - color: #000; - background-color: #f4f4f4; -} - -.badge-md-dark { - color: #fff; - background-color: #222; -} - -.badge-md-optblue { - color: #fff; - background-color: #E00201; -} - -.badge-wp { - border-radius: 0; - color: #fff; - background-color: #673AB7; -} - -.badge-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.badge-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.badge-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.badge-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.badge-wp-dark { - color: #fff; - background-color: #222; -} - -.badge-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.button { - text-align: center; - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - position: relative; - z-index: 0; - display: inline-block; - text-overflow: ellipsis; - text-transform: none; - white-space: nowrap; - cursor: pointer; - vertical-align: top; - vertical-align: -webkit-baseline-middle; - -webkit-transition: background-color, opacity 100ms linear; - transition: background-color, opacity 100ms linear; - -webkit-font-kerning: none; - font-kerning: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - contain: content; -} - -.button-inner { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-flow: row nowrap; - -ms-flex-flow: row nowrap; - flex-flow: row nowrap; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; -} - -[ion-button] { - text-decoration: none; -} - -a[disabled], -button[disabled], -[ion-button][disabled] { - cursor: default; - opacity: .4; - pointer-events: none; -} - -.button-block { - display: block; - clear: both; - width: 100%; - contain: strict; -} - -.button-block::after { - clear: both; -} - -.button-full { - display: block; - width: 100%; - contain: strict; -} - -.button-full.button-outline { - border-radius: 0; - border-right-width: 0; - border-left-width: 0; -} - -[icon-left] ion-icon, -[icon-start] ion-icon { - font-size: 1.4em; - line-height: .67; - pointer-events: none; - padding-right: 0.3em; -} - -[icon-right] ion-icon, -[icon-end] ion-icon { - font-size: 1.4em; - line-height: .67; - pointer-events: none; - padding-left: 0.4em; -} - -.button[icon-only] { - padding: 0; - min-width: .9em; -} - -[icon-only] ion-icon { - padding: 0 0.5em; - font-size: 1.8em; - line-height: .67; - pointer-events: none; -} - -.button-ios { - border-radius: 4px; - height: 2.8em; - font-size: 1.6rem; - color: #fff; - background-color: #673AB7; - margin: 0.4rem 0.2rem; - padding: 0 1em; -} - -.button-ios.activated { - background-color: #734abd; - opacity: 1; -} - -.button-ios:hover:not(.disable-hover) { - opacity: 0.8; -} - -.button-large-ios { - height: 2.8em; - font-size: 2rem; - padding: 0 1em; -} - -.button-small-ios { - height: 2.1em; - font-size: 1.3rem; - padding: 0 0.9em; -} - -.button-small-ios[icon-only] ion-icon { - font-size: 1.3em; -} - -.button-block-ios { - margin-left: 0; - margin-right: 0; -} - -.button-full-ios { - margin-left: 0; - margin-right: 0; - border-radius: 0; - border-right-width: 0; - border-left-width: 0; -} - -.button-outline-ios { - border-radius: 4px; - border-width: 1px; - border-style: solid; - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.button-outline-ios.activated { - color: #fff; - background-color: #673AB7; - opacity: 1; -} - -.button-clear-ios { - border-color: transparent; - color: #673AB7; - background-color: transparent; -} - -.button-clear-ios.activated { - background-color: transparent; - opacity: 0.4; -} - -.button-clear-ios:hover:not(.disable-hover) { - color: #673AB7; - opacity: 0.6; -} - -.button-round-ios { - border-radius: 64px; - padding: 0 2.6rem; -} - -.button-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.button-ios-primary.activated { - background-color: #734abd; -} - -.button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.button-clear-ios-primary { - border-color: transparent; - color: #673AB7; - background-color: transparent; -} - -.button-clear-ios-primary.activated { - opacity: 0.4; -} - -.button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.button-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.button-ios-secondary.activated { - background-color: #2ec95c; -} - -.button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.button-clear-ios-secondary { - border-color: transparent; - color: #32db64; - background-color: transparent; -} - -.button-clear-ios-secondary.activated { - opacity: 0.4; -} - -.button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.button-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.button-ios-danger.activated { - background-color: #e13838; -} - -.button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.button-clear-ios-danger { - border-color: transparent; - color: #f53d3d; - background-color: transparent; -} - -.button-clear-ios-danger.activated { - opacity: 0.4; -} - -.button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.button-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.button-ios-light.activated { - background-color: #e0e0e0; -} - -.button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.button-clear-ios-light { - border-color: transparent; - color: #f4f4f4; - background-color: transparent; -} - -.button-clear-ios-light.activated { - opacity: 0.4; -} - -.button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.button-ios-dark { - color: #fff; - background-color: #222; -} - -.button-ios-dark.activated { - background-color: #343434; -} - -.button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.button-clear-ios-dark { - border-color: transparent; - color: #222; - background-color: transparent; -} - -.button-clear-ios-dark.activated { - opacity: 0.4; -} - -.button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.button-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.button-ios-optblue.activated { - background-color: #e21615; -} - -.button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.button-clear-ios-optblue { - border-color: transparent; - color: #E00201; - background-color: transparent; -} - -.button-clear-ios-optblue.activated { - opacity: 0.4; -} - -.button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.button-strong-ios { - font-weight: 600; -} - -.button-md { - border-radius: 2px; - overflow: hidden; - height: 3.6rem; - font-size: 1.4rem; - font-weight: 500; - text-transform: uppercase; - color: #fff; - background-color: #673AB7; - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - -webkit-transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - margin: 0.4rem 0.2rem; - padding: 0 1.1em; -} - -.button-md:hover:not(.disable-hover) { - background-color: #673AB7; -} - -.button-md.activated { - background-color: #734abd; - -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.14), 0 3px 5px rgba(0, 0, 0, 0.21), 0 0 0 0 transparent; - box-shadow: 0 3px 5px rgba(0, 0, 0, 0.14), 0 3px 5px rgba(0, 0, 0, 0.21), 0 0 0 0 transparent; -} - -.button-md .button-effect { - background-color: #fff; -} - -.button-large-md { - height: 2.8em; - font-size: 2rem; - padding: 0 1em; -} - -.button-small-md { - height: 2.1em; - font-size: 1.3rem; - padding: 0 0.9em; -} - -.button-small-md[icon-only] ion-icon { - font-size: 1.4em; -} - -.button-block-md { - margin-left: 0; - margin-right: 0; -} - -.button-full-md { - margin-left: 0; - margin-right: 0; - border-radius: 0; - border-right-width: 0; - border-left-width: 0; -} - -.button-outline-md { - border-width: 1px; - border-style: solid; - border-color: #673AB7; - color: #673AB7; - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-outline-md:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md.activated { - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; - opacity: 1; -} - -.button-outline-md .button-effect { - background-color: #673AB7; -} - -.button-clear-md { - border-color: transparent; - color: #673AB7; - background-color: transparent; - -webkit-box-shadow: none; - box-shadow: none; - opacity: 1; -} - -.button-clear-md.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-clear-md .button-effect { - background-color: #999; -} - -.button-round-md { - border-radius: 64px; - padding: 0 2.6rem; -} - -.button-md [icon-only] { - padding: 0; -} - -.button-effect { - border-radius: 50%; - -webkit-transform-origin: center center; - transform-origin: center center; - position: absolute; - z-index: 0; - display: none; - background-color: #555; - opacity: .2; - -webkit-transition-timing-function: ease-in-out; - transition-timing-function: ease-in-out; - pointer-events: none; - top: 0; - left: 0; -} - -.md button .button-effect { - display: block; -} - -.button-md-primary { - color: #fff; - background-color: #673AB7; -} - -.button-md-primary:hover:not(.disable-hover) { - background-color: #673AB7; -} - -.button-md-primary.activated { - background-color: #734abd; - opacity: 1; -} - -.button-md-primary .button-effect { - background-color: #fff; -} - -.button-outline-md-primary { - border-color: #6f44bb; - color: #6f44bb; - background-color: transparent; -} - -.button-outline-md-primary:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-primary.activated { - background-color: transparent; -} - -.button-outline-md-primary .button-effect { - background-color: #6f44bb; -} - -.button-clear-md-primary { - border-color: transparent; - color: #673AB7; - background-color: transparent; -} - -.button-clear-md-primary.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.button-md-secondary { - color: #fff; - background-color: #32db64; -} - -.button-md-secondary:hover:not(.disable-hover) { - background-color: #32db64; -} - -.button-md-secondary.activated { - background-color: #2ec95c; - opacity: 1; -} - -.button-md-secondary .button-effect { - background-color: #fff; -} - -.button-outline-md-secondary { - border-color: #30d05f; - color: #30d05f; - background-color: transparent; -} - -.button-outline-md-secondary:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-secondary.activated { - background-color: transparent; -} - -.button-outline-md-secondary .button-effect { - background-color: #30d05f; -} - -.button-clear-md-secondary { - border-color: transparent; - color: #32db64; - background-color: transparent; -} - -.button-clear-md-secondary.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.button-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.button-md-danger:hover:not(.disable-hover) { - background-color: #f53d3d; -} - -.button-md-danger.activated { - background-color: #e13838; - opacity: 1; -} - -.button-md-danger .button-effect { - background-color: #fff; -} - -.button-outline-md-danger { - border-color: #e93a3a; - color: #e93a3a; - background-color: transparent; -} - -.button-outline-md-danger:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-danger.activated { - background-color: transparent; -} - -.button-outline-md-danger .button-effect { - background-color: #e93a3a; -} - -.button-clear-md-danger { - border-color: transparent; - color: #f53d3d; - background-color: transparent; -} - -.button-clear-md-danger.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.button-md-light { - color: #000; - background-color: #f4f4f4; -} - -.button-md-light:hover:not(.disable-hover) { - background-color: #f4f4f4; -} - -.button-md-light.activated { - background-color: #e0e0e0; - opacity: 1; -} - -.button-md-light .button-effect { - background-color: #000; -} - -.button-outline-md-light { - border-color: #e8e8e8; - color: #e8e8e8; - background-color: transparent; -} - -.button-outline-md-light:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-light.activated { - background-color: transparent; -} - -.button-outline-md-light .button-effect { - background-color: #e8e8e8; -} - -.button-clear-md-light { - border-color: transparent; - color: #f4f4f4; - background-color: transparent; -} - -.button-clear-md-light.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.button-md-dark { - color: #fff; - background-color: #222; -} - -.button-md-dark:hover:not(.disable-hover) { - background-color: #222; -} - -.button-md-dark.activated { - background-color: #343434; - opacity: 1; -} - -.button-md-dark .button-effect { - background-color: #fff; -} - -.button-outline-md-dark { - border-color: #2d2d2d; - color: #2d2d2d; - background-color: transparent; -} - -.button-outline-md-dark:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-dark.activated { - background-color: transparent; -} - -.button-outline-md-dark .button-effect { - background-color: #2d2d2d; -} - -.button-clear-md-dark { - border-color: transparent; - color: #222; - background-color: transparent; -} - -.button-clear-md-dark.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.button-md-optblue { - color: #fff; - background-color: #E00201; -} - -.button-md-optblue:hover:not(.disable-hover) { - background-color: #E00201; -} - -.button-md-optblue.activated { - background-color: #e21615; - opacity: 1; -} - -.button-md-optblue .button-effect { - background-color: #fff; -} - -.button-outline-md-optblue { - border-color: #e20f0e; - color: #e20f0e; - background-color: transparent; -} - -.button-outline-md-optblue:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-md-optblue.activated { - background-color: transparent; -} - -.button-outline-md-optblue .button-effect { - background-color: #e20f0e; -} - -.button-clear-md-optblue { - border-color: transparent; - color: #E00201; - background-color: transparent; -} - -.button-clear-md-optblue.activated { - background-color: rgba(158, 158, 158, 0.2); - -webkit-box-shadow: none; - box-shadow: none; -} - -.button-clear-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.button-strong-md { - font-weight: bold; -} - -.button-wp { - border-radius: 0; - height: 3.6rem; - border: 3px solid transparent; - font-size: 1.4rem; - color: #fff; - background-color: #673AB7; - margin: 0.4rem 0.2rem; - padding: 0 1.1em; -} - -.button-wp:hover:not(.disable-hover) { - border-color: #734abd; - background-color: #673AB7; -} - -.button-wp.activated { - background-color: #734abd; -} - -.button-large-wp { - height: 2.8em; - font-size: 2rem; - padding: 0 1em; -} - -.button-small-wp { - height: 2.1em; - font-size: 1.3rem; - padding: 0 0.9em; -} - -.button-small-wp[icon-only] ion-icon { - font-size: 1.4em; -} - -.button-block-wp { - margin-left: 0; - margin-right: 0; -} - -.button-full-wp { - margin-left: 0; - margin-right: 0; - border-radius: 0; - border-right-width: 0; - border-left-width: 0; -} - -.button-outline-wp { - border-width: 1px; - border-style: solid; - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.button-outline-wp:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp.activated { - background-color: rgba(103, 58, 183, 0.16); -} - -.button-clear-wp { - color: #673AB7; - background-color: transparent; -} - -.button-clear-wp.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp:hover:not(.disable-hover) { - background-color: rgba(158, 158, 158, 0.1); -} - -.button-round-wp { - border-radius: 64px; - padding: 0 2.6rem; -} - -.button-wp [icon-only] { - padding: 0; -} - -.button-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.button-wp-primary:hover:not(.disable-hover) { - border-color: #734abd; - background-color: #673AB7; -} - -.button-wp-primary.activated { - background-color: #734abd; -} - -.button-outline-wp-primary { - border-color: #6f44bb; - color: #6f44bb; - background-color: transparent; -} - -.button-outline-wp-primary:hover:not(.disable-hover) { - border-color: #6f44bb; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-primary.activated { - background-color: rgba(111, 68, 187, 0.16); -} - -.button-clear-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.button-clear-wp-primary.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.button-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.button-wp-secondary:hover:not(.disable-hover) { - border-color: #2ec95c; - background-color: #32db64; -} - -.button-wp-secondary.activated { - background-color: #2ec95c; -} - -.button-outline-wp-secondary { - border-color: #30d05f; - color: #30d05f; - background-color: transparent; -} - -.button-outline-wp-secondary:hover:not(.disable-hover) { - border-color: #30d05f; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-secondary.activated { - background-color: rgba(48, 208, 95, 0.16); -} - -.button-clear-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.button-clear-wp-secondary.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.button-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.button-wp-danger:hover:not(.disable-hover) { - border-color: #e13838; - background-color: #f53d3d; -} - -.button-wp-danger.activated { - background-color: #e13838; -} - -.button-outline-wp-danger { - border-color: #e93a3a; - color: #e93a3a; - background-color: transparent; -} - -.button-outline-wp-danger:hover:not(.disable-hover) { - border-color: #e93a3a; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-danger.activated { - background-color: rgba(233, 58, 58, 0.16); -} - -.button-clear-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.button-clear-wp-danger.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.button-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.button-wp-light:hover:not(.disable-hover) { - border-color: #e0e0e0; - background-color: #f4f4f4; -} - -.button-wp-light.activated { - background-color: #e0e0e0; -} - -.button-outline-wp-light { - border-color: #e8e8e8; - color: #e8e8e8; - background-color: transparent; -} - -.button-outline-wp-light:hover:not(.disable-hover) { - border-color: #e8e8e8; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-light.activated { - background-color: rgba(232, 232, 232, 0.16); -} - -.button-clear-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.button-clear-wp-light.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.button-wp-dark { - color: #fff; - background-color: #222; -} - -.button-wp-dark:hover:not(.disable-hover) { - border-color: #343434; - background-color: #222; -} - -.button-wp-dark.activated { - background-color: #343434; -} - -.button-outline-wp-dark { - border-color: #2d2d2d; - color: #2d2d2d; - background-color: transparent; -} - -.button-outline-wp-dark:hover:not(.disable-hover) { - border-color: #2d2d2d; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-dark.activated { - background-color: rgba(45, 45, 45, 0.16); -} - -.button-clear-wp-dark { - color: #222; - background-color: transparent; -} - -.button-clear-wp-dark.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.button-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.button-wp-optblue:hover:not(.disable-hover) { - border-color: #e21615; - background-color: #E00201; -} - -.button-wp-optblue.activated { - background-color: #e21615; -} - -.button-outline-wp-optblue { - border-color: #e20f0e; - color: #e20f0e; - background-color: transparent; -} - -.button-outline-wp-optblue:hover:not(.disable-hover) { - border-color: #e20f0e; - background-color: rgba(158, 158, 158, 0.1); -} - -.button-outline-wp-optblue.activated { - background-color: rgba(226, 15, 14, 0.16); -} - -.button-clear-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.button-clear-wp-optblue.activated { - background-color: rgba(158, 158, 158, 0.2); -} - -.button-clear-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.button-strong-wp { - font-weight: bold; -} - -ion-card { - display: block; - overflow: hidden; -} - -ion-card img { - display: block; - width: 100%; -} - -ion-card-header { - display: block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -ion-card-content { - display: block; -} - -.card-ios { - margin: 12px; - border-radius: 2px; - width: calc(100% - 24px); - font-size: 1.4rem; - background: #fff; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); -} - -.card-ios ion-list { - margin-bottom: 0; -} - -.card-ios > .item:last-child, -.card-ios > .item:last-child .item-inner, -.card-ios > .item-wrapper:last-child .item { - border-bottom: 0; -} - -.card-ios .item-ios.item-block .item-inner { - border: 0; -} - -.card-content-ios { - padding: 13px 16px 14px; - font-size: 1.4rem; - line-height: 1.4; -} - -.card-header-ios { - font-size: 1.6rem; - font-weight: 500; - color: #333; - padding: 16px; -} - -.card-header-ios + .card-content-ios, -.card-ios .item + .card-content-ios { - padding-top: 0; -} - -.card .note-ios { - font-size: 1.3rem; -} - -.card-title-ios { - display: block; - font-size: 1.8rem; - line-height: 1.2; - color: #222; - margin: 2px 0; - padding: 8px 0; -} - -.card-ios h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; -} - -.card-ios h2 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: normal; -} - -.card-ios h3, -.card-ios h4, -.card-ios h5, -.card-ios h6 { - margin: 2px 0; - font-size: 1.4rem; - font-weight: normal; -} - -.card-ios p { - margin: 0 0 2px; - font-size: 1.4rem; - color: #666; -} - -.card-ios + ion-card { - margin-top: 0; -} - -.card-ios .text-ios-primary { - color: #673AB7; -} - -.card-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.card-ios-primary .card-header-ios, -.card-ios-primary .card-title-ios, -.card-ios-primary .card-content-ios, -.card-ios-primary p { - color: #fff; -} - -.card-ios-primary .text-ios-primary, -.card-ios-primary .card-header-ios-primary, -.card-ios-primary .card-title-ios-primary, -.card-ios-primary .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-primary .text-ios-secondary, -.card-ios-primary .card-header-ios-secondary, -.card-ios-primary .card-title-ios-secondary, -.card-ios-primary .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-primary .text-ios-danger, -.card-ios-primary .card-header-ios-danger, -.card-ios-primary .card-title-ios-danger, -.card-ios-primary .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-primary .text-ios-light, -.card-ios-primary .card-header-ios-light, -.card-ios-primary .card-title-ios-light, -.card-ios-primary .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-primary .text-ios-dark, -.card-ios-primary .card-header-ios-dark, -.card-ios-primary .card-title-ios-dark, -.card-ios-primary .card-content-ios-dark { - color: #222; -} - -.card-ios-primary .text-ios-optblue, -.card-ios-primary .card-header-ios-optblue, -.card-ios-primary .card-title-ios-optblue, -.card-ios-primary .card-content-ios-optblue { - color: #E00201; -} - -.card-header-ios-primary, -.card-title-ios-primary, -.card-content-ios-primary { - color: #673AB7; -} - -.card-ios .text-ios-secondary { - color: #32db64; -} - -.card-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.card-ios-secondary .card-header-ios, -.card-ios-secondary .card-title-ios, -.card-ios-secondary .card-content-ios, -.card-ios-secondary p { - color: #fff; -} - -.card-ios-secondary .text-ios-primary, -.card-ios-secondary .card-header-ios-primary, -.card-ios-secondary .card-title-ios-primary, -.card-ios-secondary .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-secondary .text-ios-secondary, -.card-ios-secondary .card-header-ios-secondary, -.card-ios-secondary .card-title-ios-secondary, -.card-ios-secondary .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-secondary .text-ios-danger, -.card-ios-secondary .card-header-ios-danger, -.card-ios-secondary .card-title-ios-danger, -.card-ios-secondary .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-secondary .text-ios-light, -.card-ios-secondary .card-header-ios-light, -.card-ios-secondary .card-title-ios-light, -.card-ios-secondary .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-secondary .text-ios-dark, -.card-ios-secondary .card-header-ios-dark, -.card-ios-secondary .card-title-ios-dark, -.card-ios-secondary .card-content-ios-dark { - color: #222; -} - -.card-ios-secondary .text-ios-optblue, -.card-ios-secondary .card-header-ios-optblue, -.card-ios-secondary .card-title-ios-optblue, -.card-ios-secondary .card-content-ios-optblue { - color: #E00201; -} - -.card-header-ios-secondary, -.card-title-ios-secondary, -.card-content-ios-secondary { - color: #32db64; -} - -.card-ios .text-ios-danger { - color: #f53d3d; -} - -.card-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.card-ios-danger .card-header-ios, -.card-ios-danger .card-title-ios, -.card-ios-danger .card-content-ios, -.card-ios-danger p { - color: #fff; -} - -.card-ios-danger .text-ios-primary, -.card-ios-danger .card-header-ios-primary, -.card-ios-danger .card-title-ios-primary, -.card-ios-danger .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-danger .text-ios-secondary, -.card-ios-danger .card-header-ios-secondary, -.card-ios-danger .card-title-ios-secondary, -.card-ios-danger .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-danger .text-ios-danger, -.card-ios-danger .card-header-ios-danger, -.card-ios-danger .card-title-ios-danger, -.card-ios-danger .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-danger .text-ios-light, -.card-ios-danger .card-header-ios-light, -.card-ios-danger .card-title-ios-light, -.card-ios-danger .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-danger .text-ios-dark, -.card-ios-danger .card-header-ios-dark, -.card-ios-danger .card-title-ios-dark, -.card-ios-danger .card-content-ios-dark { - color: #222; -} - -.card-ios-danger .text-ios-optblue, -.card-ios-danger .card-header-ios-optblue, -.card-ios-danger .card-title-ios-optblue, -.card-ios-danger .card-content-ios-optblue { - color: #E00201; -} - -.card-header-ios-danger, -.card-title-ios-danger, -.card-content-ios-danger { - color: #f53d3d; -} - -.card-ios .text-ios-light { - color: #f4f4f4; -} - -.card-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.card-ios-light .card-header-ios, -.card-ios-light .card-title-ios, -.card-ios-light .card-content-ios, -.card-ios-light p { - color: #000; -} - -.card-ios-light .text-ios-primary, -.card-ios-light .card-header-ios-primary, -.card-ios-light .card-title-ios-primary, -.card-ios-light .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-light .text-ios-secondary, -.card-ios-light .card-header-ios-secondary, -.card-ios-light .card-title-ios-secondary, -.card-ios-light .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-light .text-ios-danger, -.card-ios-light .card-header-ios-danger, -.card-ios-light .card-title-ios-danger, -.card-ios-light .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-light .text-ios-light, -.card-ios-light .card-header-ios-light, -.card-ios-light .card-title-ios-light, -.card-ios-light .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-light .text-ios-dark, -.card-ios-light .card-header-ios-dark, -.card-ios-light .card-title-ios-dark, -.card-ios-light .card-content-ios-dark { - color: #222; -} - -.card-ios-light .text-ios-optblue, -.card-ios-light .card-header-ios-optblue, -.card-ios-light .card-title-ios-optblue, -.card-ios-light .card-content-ios-optblue { - color: #E00201; -} - -.card-header-ios-light, -.card-title-ios-light, -.card-content-ios-light { - color: #f4f4f4; -} - -.card-ios .text-ios-dark { - color: #222; -} - -.card-ios-dark { - color: #fff; - background-color: #222; -} - -.card-ios-dark .card-header-ios, -.card-ios-dark .card-title-ios, -.card-ios-dark .card-content-ios, -.card-ios-dark p { - color: #fff; -} - -.card-ios-dark .text-ios-primary, -.card-ios-dark .card-header-ios-primary, -.card-ios-dark .card-title-ios-primary, -.card-ios-dark .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-dark .text-ios-secondary, -.card-ios-dark .card-header-ios-secondary, -.card-ios-dark .card-title-ios-secondary, -.card-ios-dark .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-dark .text-ios-danger, -.card-ios-dark .card-header-ios-danger, -.card-ios-dark .card-title-ios-danger, -.card-ios-dark .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-dark .text-ios-light, -.card-ios-dark .card-header-ios-light, -.card-ios-dark .card-title-ios-light, -.card-ios-dark .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-dark .text-ios-dark, -.card-ios-dark .card-header-ios-dark, -.card-ios-dark .card-title-ios-dark, -.card-ios-dark .card-content-ios-dark { - color: #222; -} - -.card-ios-dark .text-ios-optblue, -.card-ios-dark .card-header-ios-optblue, -.card-ios-dark .card-title-ios-optblue, -.card-ios-dark .card-content-ios-optblue { - color: #E00201; -} - -.card-header-ios-dark, -.card-title-ios-dark, -.card-content-ios-dark { - color: #222; -} - -.card-ios .text-ios-optblue { - color: #E00201; -} - -.card-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.card-ios-optblue .card-header-ios, -.card-ios-optblue .card-title-ios, -.card-ios-optblue .card-content-ios, -.card-ios-optblue p { - color: #fff; -} - -.card-ios-optblue .text-ios-primary, -.card-ios-optblue .card-header-ios-primary, -.card-ios-optblue .card-title-ios-primary, -.card-ios-optblue .card-content-ios-primary { - color: #673AB7; -} - -.card-ios-optblue .text-ios-secondary, -.card-ios-optblue .card-header-ios-secondary, -.card-ios-optblue .card-title-ios-secondary, -.card-ios-optblue .card-content-ios-secondary { - color: #32db64; -} - -.card-ios-optblue .text-ios-danger, -.card-ios-optblue .card-header-ios-danger, -.card-ios-optblue .card-title-ios-danger, -.card-ios-optblue .card-content-ios-danger { - color: #f53d3d; -} - -.card-ios-optblue .text-ios-light, -.card-ios-optblue .card-header-ios-light, -.card-ios-optblue .card-title-ios-light, -.card-ios-optblue .card-content-ios-light { - color: #f4f4f4; -} - -.card-ios-optblue .text-ios-dark, -.card-ios-optblue .card-header-ios-dark, -.card-ios-optblue .card-title-ios-dark, -.card-ios-optblue .card-content-ios-dark { - color: #222; -} - -.card-ios-optblue .text-ios-optblue, -.card-ios-optblue .card-header-ios-optblue, -.card-ios-optblue .card-title-ios-optblue, -.card-ios-optblue .card-content-ios-optblue { - color: #E00201; -} - -.card-header-ios-optblue, -.card-title-ios-optblue, -.card-content-ios-optblue { - color: #E00201; -} - -.card-md { - margin: 10px; - border-radius: 2px; - width: calc(100% - 20px); - font-size: 1.4rem; - background: #fff; - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); -} - -.card-md ion-list { - margin-bottom: 0; -} - -.card-md > .item:last-child, -.card-md > .item:last-child .item-inner, -.card-md > .item-wrapper:last-child .item { - border-bottom: 0; -} - -.card-md .item-md.item-block .item-inner { - border: 0; -} - -.card-content-md { - padding: 13px 16px; - font-size: 1.4rem; - line-height: 1.5; -} - -.card-header-md { - font-size: 1.6rem; - color: #222; - padding: 16px; -} - -.card-header-md + .card-content-md, -.card-md .item + .card-content-md { - padding-top: 0; -} - -.card .note-md { - font-size: 1.3rem; -} - -.card-title-md { - display: block; - font-size: 2.4rem; - line-height: 1.2; - color: #222; - margin: 2px 0; - padding: 8px 0; -} - -.card-md h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; - color: #222; -} - -.card-md h2 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: normal; - color: #222; -} - -.card-md h3, -.card-md h4, -.card-md h5, -.card-md h6 { - margin: 2px 0; - font-size: 1.4rem; - font-weight: normal; - color: #222; -} - -.card-md p { - margin: 0 0 2px; - font-size: 1.4rem; - font-weight: normal; - line-height: 1.5; - color: #222; -} - -.card-md + ion-card { - margin-top: 0; -} - -.card-md .text-md-primary { - color: #673AB7; -} - -.card-md-primary { - color: #fff; - background-color: #673AB7; -} - -.card-md-primary .card-header-md, -.card-md-primary .card-title-md, -.card-md-primary .card-content-md, -.card-md-primary h1, -.card-md-primary h2, -.card-md-primary h3, -.card-md-primary h4, -.card-md-primary h5, -.card-md-primary h6, -.card-md-primary p { - color: #fff; -} - -.card-md-primary .text-md-primary, -.card-md-primary .card-header-md-primary, -.card-md-primary .card-title-md-primary, -.card-md-primary .card-content-md-primary { - color: #673AB7; -} - -.card-md-primary .text-md-secondary, -.card-md-primary .card-header-md-secondary, -.card-md-primary .card-title-md-secondary, -.card-md-primary .card-content-md-secondary { - color: #32db64; -} - -.card-md-primary .text-md-danger, -.card-md-primary .card-header-md-danger, -.card-md-primary .card-title-md-danger, -.card-md-primary .card-content-md-danger { - color: #f53d3d; -} - -.card-md-primary .text-md-light, -.card-md-primary .card-header-md-light, -.card-md-primary .card-title-md-light, -.card-md-primary .card-content-md-light { - color: #f4f4f4; -} - -.card-md-primary .text-md-dark, -.card-md-primary .card-header-md-dark, -.card-md-primary .card-title-md-dark, -.card-md-primary .card-content-md-dark { - color: #222; -} - -.card-md-primary .text-md-optblue, -.card-md-primary .card-header-md-optblue, -.card-md-primary .card-title-md-optblue, -.card-md-primary .card-content-md-optblue { - color: #E00201; -} - -.card-header-md-primary, -.card-title-md-primary, -.card-content-md-primary { - color: #673AB7; -} - -.card-md .text-md-secondary { - color: #32db64; -} - -.card-md-secondary { - color: #fff; - background-color: #32db64; -} - -.card-md-secondary .card-header-md, -.card-md-secondary .card-title-md, -.card-md-secondary .card-content-md, -.card-md-secondary h1, -.card-md-secondary h2, -.card-md-secondary h3, -.card-md-secondary h4, -.card-md-secondary h5, -.card-md-secondary h6, -.card-md-secondary p { - color: #fff; -} - -.card-md-secondary .text-md-primary, -.card-md-secondary .card-header-md-primary, -.card-md-secondary .card-title-md-primary, -.card-md-secondary .card-content-md-primary { - color: #673AB7; -} - -.card-md-secondary .text-md-secondary, -.card-md-secondary .card-header-md-secondary, -.card-md-secondary .card-title-md-secondary, -.card-md-secondary .card-content-md-secondary { - color: #32db64; -} - -.card-md-secondary .text-md-danger, -.card-md-secondary .card-header-md-danger, -.card-md-secondary .card-title-md-danger, -.card-md-secondary .card-content-md-danger { - color: #f53d3d; -} - -.card-md-secondary .text-md-light, -.card-md-secondary .card-header-md-light, -.card-md-secondary .card-title-md-light, -.card-md-secondary .card-content-md-light { - color: #f4f4f4; -} - -.card-md-secondary .text-md-dark, -.card-md-secondary .card-header-md-dark, -.card-md-secondary .card-title-md-dark, -.card-md-secondary .card-content-md-dark { - color: #222; -} - -.card-md-secondary .text-md-optblue, -.card-md-secondary .card-header-md-optblue, -.card-md-secondary .card-title-md-optblue, -.card-md-secondary .card-content-md-optblue { - color: #E00201; -} - -.card-header-md-secondary, -.card-title-md-secondary, -.card-content-md-secondary { - color: #32db64; -} - -.card-md .text-md-danger { - color: #f53d3d; -} - -.card-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.card-md-danger .card-header-md, -.card-md-danger .card-title-md, -.card-md-danger .card-content-md, -.card-md-danger h1, -.card-md-danger h2, -.card-md-danger h3, -.card-md-danger h4, -.card-md-danger h5, -.card-md-danger h6, -.card-md-danger p { - color: #fff; -} - -.card-md-danger .text-md-primary, -.card-md-danger .card-header-md-primary, -.card-md-danger .card-title-md-primary, -.card-md-danger .card-content-md-primary { - color: #673AB7; -} - -.card-md-danger .text-md-secondary, -.card-md-danger .card-header-md-secondary, -.card-md-danger .card-title-md-secondary, -.card-md-danger .card-content-md-secondary { - color: #32db64; -} - -.card-md-danger .text-md-danger, -.card-md-danger .card-header-md-danger, -.card-md-danger .card-title-md-danger, -.card-md-danger .card-content-md-danger { - color: #f53d3d; -} - -.card-md-danger .text-md-light, -.card-md-danger .card-header-md-light, -.card-md-danger .card-title-md-light, -.card-md-danger .card-content-md-light { - color: #f4f4f4; -} - -.card-md-danger .text-md-dark, -.card-md-danger .card-header-md-dark, -.card-md-danger .card-title-md-dark, -.card-md-danger .card-content-md-dark { - color: #222; -} - -.card-md-danger .text-md-optblue, -.card-md-danger .card-header-md-optblue, -.card-md-danger .card-title-md-optblue, -.card-md-danger .card-content-md-optblue { - color: #E00201; -} - -.card-header-md-danger, -.card-title-md-danger, -.card-content-md-danger { - color: #f53d3d; -} - -.card-md .text-md-light { - color: #f4f4f4; -} - -.card-md-light { - color: #000; - background-color: #f4f4f4; -} - -.card-md-light .card-header-md, -.card-md-light .card-title-md, -.card-md-light .card-content-md, -.card-md-light h1, -.card-md-light h2, -.card-md-light h3, -.card-md-light h4, -.card-md-light h5, -.card-md-light h6, -.card-md-light p { - color: #000; -} - -.card-md-light .text-md-primary, -.card-md-light .card-header-md-primary, -.card-md-light .card-title-md-primary, -.card-md-light .card-content-md-primary { - color: #673AB7; -} - -.card-md-light .text-md-secondary, -.card-md-light .card-header-md-secondary, -.card-md-light .card-title-md-secondary, -.card-md-light .card-content-md-secondary { - color: #32db64; -} - -.card-md-light .text-md-danger, -.card-md-light .card-header-md-danger, -.card-md-light .card-title-md-danger, -.card-md-light .card-content-md-danger { - color: #f53d3d; -} - -.card-md-light .text-md-light, -.card-md-light .card-header-md-light, -.card-md-light .card-title-md-light, -.card-md-light .card-content-md-light { - color: #f4f4f4; -} - -.card-md-light .text-md-dark, -.card-md-light .card-header-md-dark, -.card-md-light .card-title-md-dark, -.card-md-light .card-content-md-dark { - color: #222; -} - -.card-md-light .text-md-optblue, -.card-md-light .card-header-md-optblue, -.card-md-light .card-title-md-optblue, -.card-md-light .card-content-md-optblue { - color: #E00201; -} - -.card-header-md-light, -.card-title-md-light, -.card-content-md-light { - color: #f4f4f4; -} - -.card-md .text-md-dark { - color: #222; -} - -.card-md-dark { - color: #fff; - background-color: #222; -} - -.card-md-dark .card-header-md, -.card-md-dark .card-title-md, -.card-md-dark .card-content-md, -.card-md-dark h1, -.card-md-dark h2, -.card-md-dark h3, -.card-md-dark h4, -.card-md-dark h5, -.card-md-dark h6, -.card-md-dark p { - color: #fff; -} - -.card-md-dark .text-md-primary, -.card-md-dark .card-header-md-primary, -.card-md-dark .card-title-md-primary, -.card-md-dark .card-content-md-primary { - color: #673AB7; -} - -.card-md-dark .text-md-secondary, -.card-md-dark .card-header-md-secondary, -.card-md-dark .card-title-md-secondary, -.card-md-dark .card-content-md-secondary { - color: #32db64; -} - -.card-md-dark .text-md-danger, -.card-md-dark .card-header-md-danger, -.card-md-dark .card-title-md-danger, -.card-md-dark .card-content-md-danger { - color: #f53d3d; -} - -.card-md-dark .text-md-light, -.card-md-dark .card-header-md-light, -.card-md-dark .card-title-md-light, -.card-md-dark .card-content-md-light { - color: #f4f4f4; -} - -.card-md-dark .text-md-dark, -.card-md-dark .card-header-md-dark, -.card-md-dark .card-title-md-dark, -.card-md-dark .card-content-md-dark { - color: #222; -} - -.card-md-dark .text-md-optblue, -.card-md-dark .card-header-md-optblue, -.card-md-dark .card-title-md-optblue, -.card-md-dark .card-content-md-optblue { - color: #E00201; -} - -.card-header-md-dark, -.card-title-md-dark, -.card-content-md-dark { - color: #222; -} - -.card-md .text-md-optblue { - color: #E00201; -} - -.card-md-optblue { - color: #fff; - background-color: #E00201; -} - -.card-md-optblue .card-header-md, -.card-md-optblue .card-title-md, -.card-md-optblue .card-content-md, -.card-md-optblue h1, -.card-md-optblue h2, -.card-md-optblue h3, -.card-md-optblue h4, -.card-md-optblue h5, -.card-md-optblue h6, -.card-md-optblue p { - color: #fff; -} - -.card-md-optblue .text-md-primary, -.card-md-optblue .card-header-md-primary, -.card-md-optblue .card-title-md-primary, -.card-md-optblue .card-content-md-primary { - color: #673AB7; -} - -.card-md-optblue .text-md-secondary, -.card-md-optblue .card-header-md-secondary, -.card-md-optblue .card-title-md-secondary, -.card-md-optblue .card-content-md-secondary { - color: #32db64; -} - -.card-md-optblue .text-md-danger, -.card-md-optblue .card-header-md-danger, -.card-md-optblue .card-title-md-danger, -.card-md-optblue .card-content-md-danger { - color: #f53d3d; -} - -.card-md-optblue .text-md-light, -.card-md-optblue .card-header-md-light, -.card-md-optblue .card-title-md-light, -.card-md-optblue .card-content-md-light { - color: #f4f4f4; -} - -.card-md-optblue .text-md-dark, -.card-md-optblue .card-header-md-dark, -.card-md-optblue .card-title-md-dark, -.card-md-optblue .card-content-md-dark { - color: #222; -} - -.card-md-optblue .text-md-optblue, -.card-md-optblue .card-header-md-optblue, -.card-md-optblue .card-title-md-optblue, -.card-md-optblue .card-content-md-optblue { - color: #E00201; -} - -.card-header-md-optblue, -.card-title-md-optblue, -.card-content-md-optblue { - color: #E00201; -} - -.card-wp { - margin: 8px; - border-radius: 1px; - width: calc(100% - 16px); - font-size: 1.4rem; - background: #fff; - -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.2); -} - -.card-wp ion-list { - margin-bottom: 0; -} - -.card-wp > .item:last-child, -.card-wp > .item:last-child .item-inner, -.card-wp > .item-wrapper:last-child .item { - border-bottom: 0; -} - -.card-wp .item-wp.item-block .item-inner { - border: 0; -} - -.card-content-wp { - padding: 13px 16px; - font-size: 1.4rem; - line-height: 1.5; -} - -.card-header-wp { - font-size: 1.6rem; - color: #222; - padding: 16px; -} - -.card-header-wp + .card-content-wp, -.card-wp .item + .card-content-wp { - padding-top: 0; -} - -.card .note-wp { - font-size: 1.3rem; -} - -.card-title-wp { - display: block; - font-size: 2.4rem; - line-height: 1.2; - color: #222; - margin: 2px 0; - padding: 8px 0; -} - -.card-wp h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; - color: #222; -} - -.card-wp h2 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: normal; - color: #222; -} - -.card-wp h3, -.card-wp h4, -.card-wp h5, -.card-wp h6 { - margin: 2px 0; - font-size: 1.4rem; - font-weight: normal; - color: #222; -} - -.card-wp p { - margin: 0 0 2px; - font-size: 1.4rem; - font-weight: normal; - line-height: 1.5; - color: #222; -} - -.card-wp + ion-card { - margin-top: 0; -} - -.card-wp .text-wp-primary { - color: #673AB7; -} - -.card-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.card-wp-primary .card-header-wp, -.card-wp-primary .card-title-wp, -.card-wp-primary .card-content-wp, -.card-wp-primary h1, -.card-wp-primary h2, -.card-wp-primary h3, -.card-wp-primary h4, -.card-wp-primary h5, -.card-wp-primary h6, -.card-wp-primary p { - color: #fff; -} - -.card-wp-primary .text-wp-primary, -.card-wp-primary .card-header-wp-primary, -.card-wp-primary .card-title-wp-primary, -.card-wp-primary .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-primary .text-wp-secondary, -.card-wp-primary .card-header-wp-secondary, -.card-wp-primary .card-title-wp-secondary, -.card-wp-primary .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-primary .text-wp-danger, -.card-wp-primary .card-header-wp-danger, -.card-wp-primary .card-title-wp-danger, -.card-wp-primary .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-primary .text-wp-light, -.card-wp-primary .card-header-wp-light, -.card-wp-primary .card-title-wp-light, -.card-wp-primary .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-primary .text-wp-dark, -.card-wp-primary .card-header-wp-dark, -.card-wp-primary .card-title-wp-dark, -.card-wp-primary .card-content-wp-dark { - color: #222; -} - -.card-wp-primary .text-wp-optblue, -.card-wp-primary .card-header-wp-optblue, -.card-wp-primary .card-title-wp-optblue, -.card-wp-primary .card-content-wp-optblue { - color: #E00201; -} - -.card-header-wp-primary, -.card-title-wp-primary, -.card-content-wp-primary { - color: #673AB7; -} - -.card-wp .text-wp-secondary { - color: #32db64; -} - -.card-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.card-wp-secondary .card-header-wp, -.card-wp-secondary .card-title-wp, -.card-wp-secondary .card-content-wp, -.card-wp-secondary h1, -.card-wp-secondary h2, -.card-wp-secondary h3, -.card-wp-secondary h4, -.card-wp-secondary h5, -.card-wp-secondary h6, -.card-wp-secondary p { - color: #fff; -} - -.card-wp-secondary .text-wp-primary, -.card-wp-secondary .card-header-wp-primary, -.card-wp-secondary .card-title-wp-primary, -.card-wp-secondary .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-secondary .text-wp-secondary, -.card-wp-secondary .card-header-wp-secondary, -.card-wp-secondary .card-title-wp-secondary, -.card-wp-secondary .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-secondary .text-wp-danger, -.card-wp-secondary .card-header-wp-danger, -.card-wp-secondary .card-title-wp-danger, -.card-wp-secondary .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-secondary .text-wp-light, -.card-wp-secondary .card-header-wp-light, -.card-wp-secondary .card-title-wp-light, -.card-wp-secondary .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-secondary .text-wp-dark, -.card-wp-secondary .card-header-wp-dark, -.card-wp-secondary .card-title-wp-dark, -.card-wp-secondary .card-content-wp-dark { - color: #222; -} - -.card-wp-secondary .text-wp-optblue, -.card-wp-secondary .card-header-wp-optblue, -.card-wp-secondary .card-title-wp-optblue, -.card-wp-secondary .card-content-wp-optblue { - color: #E00201; -} - -.card-header-wp-secondary, -.card-title-wp-secondary, -.card-content-wp-secondary { - color: #32db64; -} - -.card-wp .text-wp-danger { - color: #f53d3d; -} - -.card-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.card-wp-danger .card-header-wp, -.card-wp-danger .card-title-wp, -.card-wp-danger .card-content-wp, -.card-wp-danger h1, -.card-wp-danger h2, -.card-wp-danger h3, -.card-wp-danger h4, -.card-wp-danger h5, -.card-wp-danger h6, -.card-wp-danger p { - color: #fff; -} - -.card-wp-danger .text-wp-primary, -.card-wp-danger .card-header-wp-primary, -.card-wp-danger .card-title-wp-primary, -.card-wp-danger .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-danger .text-wp-secondary, -.card-wp-danger .card-header-wp-secondary, -.card-wp-danger .card-title-wp-secondary, -.card-wp-danger .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-danger .text-wp-danger, -.card-wp-danger .card-header-wp-danger, -.card-wp-danger .card-title-wp-danger, -.card-wp-danger .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-danger .text-wp-light, -.card-wp-danger .card-header-wp-light, -.card-wp-danger .card-title-wp-light, -.card-wp-danger .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-danger .text-wp-dark, -.card-wp-danger .card-header-wp-dark, -.card-wp-danger .card-title-wp-dark, -.card-wp-danger .card-content-wp-dark { - color: #222; -} - -.card-wp-danger .text-wp-optblue, -.card-wp-danger .card-header-wp-optblue, -.card-wp-danger .card-title-wp-optblue, -.card-wp-danger .card-content-wp-optblue { - color: #E00201; -} - -.card-header-wp-danger, -.card-title-wp-danger, -.card-content-wp-danger { - color: #f53d3d; -} - -.card-wp .text-wp-light { - color: #f4f4f4; -} - -.card-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.card-wp-light .card-header-wp, -.card-wp-light .card-title-wp, -.card-wp-light .card-content-wp, -.card-wp-light h1, -.card-wp-light h2, -.card-wp-light h3, -.card-wp-light h4, -.card-wp-light h5, -.card-wp-light h6, -.card-wp-light p { - color: #000; -} - -.card-wp-light .text-wp-primary, -.card-wp-light .card-header-wp-primary, -.card-wp-light .card-title-wp-primary, -.card-wp-light .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-light .text-wp-secondary, -.card-wp-light .card-header-wp-secondary, -.card-wp-light .card-title-wp-secondary, -.card-wp-light .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-light .text-wp-danger, -.card-wp-light .card-header-wp-danger, -.card-wp-light .card-title-wp-danger, -.card-wp-light .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-light .text-wp-light, -.card-wp-light .card-header-wp-light, -.card-wp-light .card-title-wp-light, -.card-wp-light .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-light .text-wp-dark, -.card-wp-light .card-header-wp-dark, -.card-wp-light .card-title-wp-dark, -.card-wp-light .card-content-wp-dark { - color: #222; -} - -.card-wp-light .text-wp-optblue, -.card-wp-light .card-header-wp-optblue, -.card-wp-light .card-title-wp-optblue, -.card-wp-light .card-content-wp-optblue { - color: #E00201; -} - -.card-header-wp-light, -.card-title-wp-light, -.card-content-wp-light { - color: #f4f4f4; -} - -.card-wp .text-wp-dark { - color: #222; -} - -.card-wp-dark { - color: #fff; - background-color: #222; -} - -.card-wp-dark .card-header-wp, -.card-wp-dark .card-title-wp, -.card-wp-dark .card-content-wp, -.card-wp-dark h1, -.card-wp-dark h2, -.card-wp-dark h3, -.card-wp-dark h4, -.card-wp-dark h5, -.card-wp-dark h6, -.card-wp-dark p { - color: #fff; -} - -.card-wp-dark .text-wp-primary, -.card-wp-dark .card-header-wp-primary, -.card-wp-dark .card-title-wp-primary, -.card-wp-dark .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-dark .text-wp-secondary, -.card-wp-dark .card-header-wp-secondary, -.card-wp-dark .card-title-wp-secondary, -.card-wp-dark .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-dark .text-wp-danger, -.card-wp-dark .card-header-wp-danger, -.card-wp-dark .card-title-wp-danger, -.card-wp-dark .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-dark .text-wp-light, -.card-wp-dark .card-header-wp-light, -.card-wp-dark .card-title-wp-light, -.card-wp-dark .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-dark .text-wp-dark, -.card-wp-dark .card-header-wp-dark, -.card-wp-dark .card-title-wp-dark, -.card-wp-dark .card-content-wp-dark { - color: #222; -} - -.card-wp-dark .text-wp-optblue, -.card-wp-dark .card-header-wp-optblue, -.card-wp-dark .card-title-wp-optblue, -.card-wp-dark .card-content-wp-optblue { - color: #E00201; -} - -.card-header-wp-dark, -.card-title-wp-dark, -.card-content-wp-dark { - color: #222; -} - -.card-wp .text-wp-optblue { - color: #E00201; -} - -.card-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.card-wp-optblue .card-header-wp, -.card-wp-optblue .card-title-wp, -.card-wp-optblue .card-content-wp, -.card-wp-optblue h1, -.card-wp-optblue h2, -.card-wp-optblue h3, -.card-wp-optblue h4, -.card-wp-optblue h5, -.card-wp-optblue h6, -.card-wp-optblue p { - color: #fff; -} - -.card-wp-optblue .text-wp-primary, -.card-wp-optblue .card-header-wp-primary, -.card-wp-optblue .card-title-wp-primary, -.card-wp-optblue .card-content-wp-primary { - color: #673AB7; -} - -.card-wp-optblue .text-wp-secondary, -.card-wp-optblue .card-header-wp-secondary, -.card-wp-optblue .card-title-wp-secondary, -.card-wp-optblue .card-content-wp-secondary { - color: #32db64; -} - -.card-wp-optblue .text-wp-danger, -.card-wp-optblue .card-header-wp-danger, -.card-wp-optblue .card-title-wp-danger, -.card-wp-optblue .card-content-wp-danger { - color: #f53d3d; -} - -.card-wp-optblue .text-wp-light, -.card-wp-optblue .card-header-wp-light, -.card-wp-optblue .card-title-wp-light, -.card-wp-optblue .card-content-wp-light { - color: #f4f4f4; -} - -.card-wp-optblue .text-wp-dark, -.card-wp-optblue .card-header-wp-dark, -.card-wp-optblue .card-title-wp-dark, -.card-wp-optblue .card-content-wp-dark { - color: #222; -} - -.card-wp-optblue .text-wp-optblue, -.card-wp-optblue .card-header-wp-optblue, -.card-wp-optblue .card-title-wp-optblue, -.card-wp-optblue .card-content-wp-optblue { - color: #E00201; -} - -.card-header-wp-optblue, -.card-title-wp-optblue, -.card-content-wp-optblue { - color: #E00201; -} - -.checkbox-ios { - position: relative; - display: inline-block; -} - -.checkbox-ios .checkbox-icon { - border-radius: 50%; - position: relative; - width: 21px; - height: 21px; - border-width: 1px; - border-style: solid; - border-color: #c8c7cc; - background-color: #fff; -} - -.checkbox-ios .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-ios .checkbox-checked .checkbox-inner { - left: 7px; - top: 4px; - position: absolute; - width: 4px; - height: 9px; - border-width: 1px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.checkbox-ios.checkbox-disabled, -.item-ios.item-checkbox-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item.item-ios .checkbox-ios { - position: static; - display: block; - margin: 8px 16px 8px 2px; -} - -.item.item-ios .checkbox-ios[item-right], -.item.item-ios .checkbox-ios[item-end] { - margin: 10px 8px 9px 0; -} - -.checkbox-ios-primary .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-ios-primary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-ios-secondary .checkbox-checked { - border-color: #32db64; - background-color: #32db64; -} - -.checkbox-ios-secondary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-ios-danger .checkbox-checked { - border-color: #f53d3d; - background-color: #f53d3d; -} - -.checkbox-ios-danger .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-ios-light .checkbox-checked { - border-color: #f4f4f4; - background-color: #f4f4f4; -} - -.checkbox-ios-light .checkbox-checked .checkbox-inner { - border-color: #000; -} - -.checkbox-ios-dark .checkbox-checked { - border-color: #222; - background-color: #222; -} - -.checkbox-ios-dark .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-ios-optblue .checkbox-checked { - border-color: #E00201; - background-color: #E00201; -} - -.checkbox-ios-optblue .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md { - position: relative; - display: inline-block; -} - -.checkbox-md .checkbox-icon { - border-radius: 2px; - position: relative; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #787878; - background-color: #fff; - -webkit-transition-duration: 280ms; - transition-duration: 280ms; - -webkit-transition-property: background; - transition-property: background; - -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); -} - -.checkbox-md .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-md .checkbox-checked .checkbox-inner { - left: 4px; - top: 0; - position: absolute; - width: 5px; - height: 10px; - border-width: 2px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.checkbox-md.checkbox-disabled, -.item-md.item-checkbox-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item.item-md .checkbox-md { - position: static; - display: block; - margin: 9px 36px 9px 4px; -} - -.item.item-md .checkbox-md[item-right], -.item.item-md .checkbox-md[item-end] { - margin: 11px 10px 10px 0; -} - -.checkbox-md + .item-inner ion-label { - margin-left: 0; -} - -.checkbox-md-primary .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-md-primary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md-secondary .checkbox-checked { - border-color: #32db64; - background-color: #32db64; -} - -.checkbox-md-secondary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md-danger .checkbox-checked { - border-color: #f53d3d; - background-color: #f53d3d; -} - -.checkbox-md-danger .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md-light .checkbox-checked { - border-color: #f4f4f4; - background-color: #f4f4f4; -} - -.checkbox-md-light .checkbox-checked .checkbox-inner { - border-color: #000; -} - -.checkbox-md-dark .checkbox-checked { - border-color: #222; - background-color: #222; -} - -.checkbox-md-dark .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-md-optblue .checkbox-checked { - border-color: #E00201; - background-color: #E00201; -} - -.checkbox-md-optblue .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp { - position: relative; - display: inline-block; -} - -.checkbox-wp .checkbox-icon { - border-radius: 0; - position: relative; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #333; - background-color: #fff; -} - -.checkbox-wp .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-wp .checkbox-checked .checkbox-inner { - left: 3px; - top: -2px; - position: absolute; - width: 6px; - height: 12px; - border-width: 1px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #fff; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.checkbox-wp.checkbox-disabled, -.item-wp.item-checkbox-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item.item-wp .checkbox-wp { - position: static; - display: block; - margin: 9px 16px 9px 4px; -} - -.item.item-wp .checkbox-wp[item-right], -.item.item-wp .checkbox-wp[item-end] { - margin: 11px 10px 10px 0; -} - -.checkbox-wp + .item-inner ion-label { - margin-left: 0; -} - -.checkbox-wp-primary .checkbox-checked { - border-color: #673AB7; - background-color: #673AB7; -} - -.checkbox-wp-primary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp-secondary .checkbox-checked { - border-color: #32db64; - background-color: #32db64; -} - -.checkbox-wp-secondary .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp-danger .checkbox-checked { - border-color: #f53d3d; - background-color: #f53d3d; -} - -.checkbox-wp-danger .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp-light .checkbox-checked { - border-color: #f4f4f4; - background-color: #f4f4f4; -} - -.checkbox-wp-light .checkbox-checked .checkbox-inner { - border-color: #000; -} - -.checkbox-wp-dark .checkbox-checked { - border-color: #222; - background-color: #222; -} - -.checkbox-wp-dark .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -.checkbox-wp-optblue .checkbox-checked { - border-color: #E00201; - background-color: #E00201; -} - -.checkbox-wp-optblue .checkbox-checked .checkbox-inner { - border-color: #fff; -} - -ion-chip { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; - font-weight: normal; - vertical-align: middle; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -ion-chip .button { - border-radius: 50%; - width: 32px; - height: 32px; - margin: 0; -} - -ion-chip ion-icon { - text-align: center; - border-radius: 50%; - width: 32px; - height: 32px; - font-size: 18px; - line-height: 32px; -} - -ion-chip ion-avatar { - border-radius: 50%; - width: 32px; - min-width: 32px; - height: 32px; - min-height: 32px; -} - -ion-chip ion-avatar img { - border-radius: 50%; - display: block; - width: 100%; - max-width: 100%; - height: 100%; - max-height: 100%; -} - -.chip-ios { - border-radius: 16px; - height: 32px; - font-size: 13px; - line-height: 32px; - color: rgba(0, 0, 0, 0.87); - background: rgba(0, 0, 0, 0.12); - margin: 2px 0; -} - -.chip-ios > ion-label { - margin: 0 10px; -} - -.chip-ios > ion-icon { - color: #fff; - background-color: #673AB7; -} - -.chip-ios-primary, -.chip-ios .icon-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.chip-ios-secondary, -.chip-ios .icon-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.chip-ios-danger, -.chip-ios .icon-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.chip-ios-light, -.chip-ios .icon-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.chip-ios-dark, -.chip-ios .icon-ios-dark { - color: #fff; - background-color: #222; -} - -.chip-ios-optblue, -.chip-ios .icon-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.chip-md { - border-radius: 16px; - height: 32px; - font-size: 13px; - line-height: 32px; - color: rgba(0, 0, 0, 0.87); - background: rgba(0, 0, 0, 0.12); - margin: 2px 0; -} - -.chip-md > ion-label { - margin: 0 10px; -} - -.chip-md > ion-icon { - color: #fff; - background-color: #673AB7; -} - -.chip-md-primary, -.chip-md .icon-md-primary { - color: #fff; - background-color: #673AB7; -} - -.chip-md-secondary, -.chip-md .icon-md-secondary { - color: #fff; - background-color: #32db64; -} - -.chip-md-danger, -.chip-md .icon-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.chip-md-light, -.chip-md .icon-md-light { - color: #000; - background-color: #f4f4f4; -} - -.chip-md-dark, -.chip-md .icon-md-dark { - color: #fff; - background-color: #222; -} - -.chip-md-optblue, -.chip-md .icon-md-optblue { - color: #fff; - background-color: #E00201; -} - -.chip-wp { - border-radius: 16px; - height: 32px; - font-size: 13px; - line-height: 32px; - color: rgba(0, 0, 0, 0.87); - background: rgba(0, 0, 0, 0.12); - margin: 2px 0; -} - -.chip-wp > ion-label { - margin: 0 10px; -} - -.chip-wp > ion-icon { - color: #fff; - background-color: #673AB7; -} - -.chip-wp .button { - border: 0; -} - -.chip-wp-primary, -.chip-wp .icon-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.chip-wp-secondary, -.chip-wp .icon-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.chip-wp-danger, -.chip-wp .icon-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.chip-wp-light, -.chip-wp .icon-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.chip-wp-dark, -.chip-wp .icon-wp-dark { - color: #fff; - background-color: #222; -} - -.chip-wp-optblue, -.chip-wp .icon-wp-optblue { - color: #fff; - background-color: #E00201; -} - -ion-content { - left: 0; - top: 0; - position: relative; - display: block; - width: 100%; - height: 100%; - contain: layout size style; -} - -.ion-page > ion-content { - position: absolute; -} - -a { - color: #673AB7; -} - -.scroll-content { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - z-index: 1; - display: block; - overflow-x: hidden; - overflow-y: scroll; - -webkit-overflow-scrolling: touch; - will-change: scroll-position; - contain: size style layout; -} - -ion-content.js-scroll > .scroll-content { - position: relative; - min-height: 100%; - overflow-x: initial; - overflow-y: initial; - -webkit-overflow-scrolling: auto; - will-change: initial; -} - -.disable-scroll .ion-page { - pointer-events: none; - -ms-touch-action: none; - touch-action: none; -} - -ion-content.has-refresher > .scroll-content { - background-color: inherit; -} - -.fixed-content { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - display: block; -} - -[ion-fixed] { - position: absolute; - z-index: 999; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -ion-app [no-padding], -ion-app [no-padding] .scroll-content { - padding: 0; -} - -ion-app [no-margin], -ion-app [no-margin] .scroll-content { - margin: 0; -} - -.content-ios { - color: #000; - background-color: #fff; -} - -.content-ios.outer-content { - background: #efeff4; -} - -.content-ios hr { - height: 0.55px; - background-color: rgba(0, 0, 0, 0.12); -} - -.ios .ion-page.show-page ~ .nav-decor { - left: 0; - top: 0; - position: absolute; - z-index: 0; - display: block; - width: 100%; - height: 100%; - background: #000; - pointer-events: none; -} - -ion-app.ios [padding] { - padding: 16px; -} - -ion-app.ios [padding-top] { - padding-top: 16px; -} - -ion-app.ios [padding-left] { - padding-left: 16px; -} - -ion-app.ios [padding-right] { - padding-right: 16px; -} - -ion-app.ios [padding-bottom] { - padding-bottom: 16px; -} - -ion-app.ios [padding-vertical] { - padding-top: 16px; - padding-bottom: 16px; -} - -ion-app.ios [padding-horizontal] { - padding-left: 16px; - padding-right: 16px; -} - -ion-app.ios [padding] .scroll-content { - padding: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-top: 16px; - padding-bottom: 16px; - padding: 16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.ios [padding-top] .scroll-content { - padding-top: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-top] .scroll-content { - padding-top: 16px; - padding-top: 16px; - } -} - -ion-app.ios [padding-left] .scroll-content { - padding-left: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-left] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.ios [padding-right] .scroll-content { - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-right] .scroll-content { - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.ios [padding-bottom] .scroll-content { - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-bottom] .scroll-content { - padding-bottom: 16px; - padding-bottom: 16px; - } -} - -ion-app.ios [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; - padding-top: 16px; - padding-bottom: 16px; - } -} - -ion-app.ios [padding-horizontal] .scroll-content { - padding-left: 16px; - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.ios [padding-horizontal] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.ios [margin], -ion-app.ios [margin] .scroll-content { - margin: 16px; -} - -ion-app.ios [margin-top], -ion-app.ios [margin-top] .scroll-content { - margin-top: 16px; -} - -ion-app.ios [margin-left], -ion-app.ios [margin-left] .scroll-content { - margin-left: 16px; -} - -ion-app.ios [margin-start], -ion-app.ios [margin-start] .scroll-content { - margin-left: 16px; -} - -ion-app.ios [margin-right], -ion-app.ios [margin-right] .scroll-content { - margin-right: 16px; -} - -ion-app.ios [margin-end], -ion-app.ios [margin-end] .scroll-content { - margin-right: 16px; -} - -ion-app.ios [margin-bottom], -ion-app.ios [margin-bottom] .scroll-content { - margin-bottom: 16px; -} - -ion-app.ios [margin-vertical], -ion-app.ios [margin-vertical] .scroll-content { - margin-top: 16px; - margin-bottom: 16px; -} - -ion-app.ios [margin-horizontal], -ion-app.ios [margin-horizontal] .scroll-content { - margin-left: 16px; - margin-right: 16px; -} - -.content-ios:not([no-bounce]) > .scroll-content::before, -.content-ios:not([no-bounce]) > .scroll-content::after { - position: absolute; - width: 1px; - height: 1px; - content: ""; -} - -.content-ios:not([no-bounce]) > .scroll-content::before { - bottom: -1px; -} - -.content-ios:not([no-bounce]) > .scroll-content::after { - top: -1px; -} - -.platform-core .content-ios .scroll-content::after, -.platform-core .content-ios .scroll-content::before { - position: initial; - top: initial; - bottom: initial; - width: initial; - height: initial; -} - -.content-md { - color: #000; - background-color: #fff; -} - -.content-md hr { - background-color: rgba(0, 0, 0, 0.08); -} - -ion-app.md [padding] { - padding: 16px; -} - -ion-app.md [padding-top] { - padding-top: 16px; -} - -ion-app.md [padding-left] { - padding-left: 16px; -} - -ion-app.md [padding-right] { - padding-right: 16px; -} - -ion-app.md [padding-bottom] { - padding-bottom: 16px; -} - -ion-app.md [padding-vertical] { - padding-top: 16px; - padding-bottom: 16px; -} - -ion-app.md [padding-horizontal] { - padding-left: 16px; - padding-right: 16px; -} - -ion-app.md [padding] .scroll-content { - padding: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-top: 16px; - padding-bottom: 16px; - padding: 16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.md [padding-top] .scroll-content { - padding-top: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-top] .scroll-content { - padding-top: 16px; - padding-top: 16px; - } -} - -ion-app.md [padding-left] .scroll-content { - padding-left: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-left] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.md [padding-right] .scroll-content { - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-right] .scroll-content { - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.md [padding-bottom] .scroll-content { - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-bottom] .scroll-content { - padding-bottom: 16px; - padding-bottom: 16px; - } -} - -ion-app.md [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; - padding-top: 16px; - padding-bottom: 16px; - } -} - -ion-app.md [padding-horizontal] .scroll-content { - padding-left: 16px; - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.md [padding-horizontal] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.md [margin], -ion-app.md [margin] .scroll-content { - margin: 16px; -} - -ion-app.md [margin-top], -ion-app.md [margin-top] .scroll-content { - margin-top: 16px; -} - -ion-app.md [margin-left], -ion-app.md [margin-left] .scroll-content { - margin-left: 16px; -} - -ion-app.md [margin-start], -ion-app.md [margin-start] .scroll-content { - margin-left: 16px; -} - -ion-app.md [margin-right], -ion-app.md [margin-right] .scroll-content { - margin-right: 16px; -} - -ion-app.md [margin-end], -ion-app.md [margin-end] .scroll-content { - margin-right: 16px; -} - -ion-app.md [margin-bottom], -ion-app.md [margin-bottom] .scroll-content { - margin-bottom: 16px; -} - -ion-app.md [margin-vertical], -ion-app.md [margin-vertical] .scroll-content { - margin-top: 16px; - margin-bottom: 16px; -} - -ion-app.md [margin-horizontal], -ion-app.md [margin-horizontal] .scroll-content { - margin-left: 16px; - margin-right: 16px; -} - -.content-wp { - color: #000; - background-color: #fff; -} - -.content-wp hr { - background-color: rgba(0, 0, 0, 0.08); -} - -ion-app.wp [padding] { - padding: 16px; -} - -ion-app.wp [padding-top] { - padding-top: 16px; -} - -ion-app.wp [padding-left] { - padding-left: 16px; -} - -ion-app.wp [padding-right] { - padding-right: 16px; -} - -ion-app.wp [padding-bottom] { - padding-bottom: 16px; -} - -ion-app.wp [padding-vertical] { - padding-top: 16px; - padding-bottom: 16px; -} - -ion-app.wp [padding-horizontal] { - padding-left: 16px; - padding-right: 16px; -} - -ion-app.wp [padding] .scroll-content { - padding: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-top: 16px; - padding-bottom: 16px; - padding: 16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.wp [padding-top] .scroll-content { - padding-top: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-top] .scroll-content { - padding-top: 16px; - padding-top: 16px; - } -} - -ion-app.wp [padding-left] .scroll-content { - padding-left: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-left] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -ion-app.wp [padding-right] .scroll-content { - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-right] .scroll-content { - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.wp [padding-bottom] .scroll-content { - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-bottom] .scroll-content { - padding-bottom: 16px; - padding-bottom: 16px; - } -} - -ion-app.wp [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-vertical] .scroll-content { - padding-top: 16px; - padding-bottom: 16px; - padding-top: 16px; - padding-bottom: 16px; - } -} - -ion-app.wp [padding-horizontal] .scroll-content { - padding-left: 16px; - padding-right: 16px; -} - -@media screen and (orientation: landscape) { - ion-app.wp [padding-horizontal] .scroll-content { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-right: calc(constant(safe-area-inset-right) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - padding-right: calc(env(safe-area-inset-right) + 16px); - } -} - -ion-app.wp [margin], -ion-app.wp [margin] .scroll-content { - margin: 16px; -} - -ion-app.wp [margin-top], -ion-app.wp [margin-top] .scroll-content { - margin-top: 16px; -} - -ion-app.wp [margin-left], -ion-app.wp [margin-left] .scroll-content { - margin-left: 16px; -} - -ion-app.wp [margin-start], -ion-app.wp [margin-start] .scroll-content { - margin-left: 16px; -} - -ion-app.wp [margin-right], -ion-app.wp [margin-right] .scroll-content { - margin-right: 16px; -} - -ion-app.wp [margin-end], -ion-app.wp [margin-end] .scroll-content { - margin-right: 16px; -} - -ion-app.wp [margin-bottom], -ion-app.wp [margin-bottom] .scroll-content { - margin-bottom: 16px; -} - -ion-app.wp [margin-vertical], -ion-app.wp [margin-vertical] .scroll-content { - margin-top: 16px; - margin-bottom: 16px; -} - -ion-app.wp [margin-horizontal], -ion-app.wp [margin-horizontal] .scroll-content { - margin-left: 16px; - margin-right: 16px; -} - -ion-datetime { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; -} - -.datetime-text { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - min-width: 16px; - min-height: 1.2em; - font-size: inherit; - line-height: 1.2; - text-overflow: ellipsis; - white-space: nowrap; -} - -.datetime-disabled, -.item-datetime-disabled ion-label { - opacity: .4; - pointer-events: none; -} - -.item-label-stacked ion-datetime, -.item-label-floating ion-datetime { - padding-left: 0; - width: 100%; -} - -.datetime-ios { - padding: 11px 8px 11px 16px; -} - -.datetime-ios .datetime-placeholder { - color: #999; -} - -.datetime-md { - padding: 13px 8px 13px 16px; -} - -.datetime-md .datetime-placeholder { - color: #999; -} - -.datetime-wp { - padding: 13px 8px 13px 16px; - min-width: 45%; -} - -.datetime-wp .datetime-text { - padding: 0 8px; - min-height: 3.4rem; - border: 2px solid rgba(0, 0, 0, 0.5); - line-height: 3rem; -} - -.item-datetime .datetime-wp ion-label[floating] { - -webkit-transform: translate3d(8px, 41px, 0); - transform: translate3d(8px, 41px, 0); -} - -.datetime-wp .datetime-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.fab { - text-align: center; - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - border-radius: 50%; - position: relative; - z-index: 0; - display: block; - overflow: hidden; - width: 56px; - height: 56px; - font-size: 14px; - line-height: 56px; - text-overflow: ellipsis; - text-transform: none; - white-space: nowrap; - cursor: pointer; - -webkit-transition: background-color, opacity 100ms linear; - transition: background-color, opacity 100ms linear; - background-clip: padding-box; - -webkit-font-kerning: none; - font-kerning: none; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - contain: strict; -} - -.fab ion-icon { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - font-size: 2.4rem; -} - -.fab[mini] { - margin: 8px; - width: 40px; - height: 40px; - line-height: 40px; -} - -.fab[mini] .fab-close-icon { - line-height: 40px; -} - -ion-fab { - position: absolute; - z-index: 999; -} - -ion-fab[center] { - left: 50%; - margin-left: -28px; -} - -ion-fab[middle] { - margin-top: -28px; - top: 50%; -} - -ion-fab[top] { - top: 10px; -} - -ion-fab[right] { - right: 10px; - right: calc(10px + constant(safe-area-inset-right)); - right: calc(10px + env(safe-area-inset-right)); -} - -ion-fab[end] { - right: 10px; - right: calc(constant(safe-area-inset-right) + 10px); - right: calc(env(safe-area-inset-right) + 10px); -} - -ion-fab[bottom] { - bottom: 10px; -} - -ion-fab[left] { - left: 10px; - left: calc(10px + constant(safe-area-inset-left)); - left: calc(10px + env(safe-area-inset-left)); -} - -ion-fab[start] { - left: 10px; - left: calc(constant(safe-area-inset-left) + 10px); - left: calc(env(safe-area-inset-left) + 10px); -} - -ion-fab[top][edge] { - top: -28px; -} - -ion-fab[bottom][edge] { - bottom: -28px; -} - -ion-fab-list { - margin: 66px 0; - position: absolute; - top: 0; - display: none; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - min-width: 56px; - min-height: 56px; -} - -.fab-in-list { - margin: 8px 0; - width: 40px; - height: 40px; - opacity: 0; - visibility: hidden; - -webkit-transform: scale(0); - transform: scale(0); -} - -.fab-in-list.show { - opacity: 1; - visibility: visible; - -webkit-transform: scale(1); - transform: scale(1); -} - -ion-fab-list[side=left] .fab-in-list, -ion-fab-list[side=right] .fab-in-list { - margin: 0 8px; -} - -ion-fab-list[side=top] { - top: auto; - bottom: 0; - -webkit-box-orient: vertical; - -webkit-box-direction: reverse; - -webkit-flex-direction: column-reverse; - -ms-flex-direction: column-reverse; - flex-direction: column-reverse; -} - -ion-fab-list[side=left] { - margin: 0 66px; - right: 0; - -webkit-box-orient: horizontal; - -webkit-box-direction: reverse; - -webkit-flex-direction: row-reverse; - -ms-flex-direction: row-reverse; - flex-direction: row-reverse; -} - -ion-fab-list[side=right] { - margin: 0 66px; - left: 0; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -.fab-list-active { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.fab-close-icon { - left: 0; - right: 0; - top: 0; - position: absolute; - line-height: 56px; - opacity: 0; - -webkit-transform: scale(0.4) rotateZ(-45deg); - transform: scale(0.4) rotateZ(-45deg); - -webkit-transition: all ease-in-out 300ms; - transition: all ease-in-out 300ms; - -webkit-transition-property: opacity, -webkit-transform; - transition-property: opacity, -webkit-transform; - transition-property: transform, opacity; - transition-property: transform, opacity, -webkit-transform; -} - -.fab .button-inner { - -webkit-transition: all ease-in-out 300ms; - transition: all ease-in-out 300ms; - -webkit-transition-property: opacity, -webkit-transform; - transition-property: opacity, -webkit-transform; - transition-property: transform, opacity; - transition-property: transform, opacity, -webkit-transform; -} - -.fab-close-active .fab-close-icon { - opacity: 1; - -webkit-transform: scale(1) rotateZ(0deg); - transform: scale(1) rotateZ(0deg); -} - -.fab-close-active .button-inner { - opacity: 0; - -webkit-transform: scale(0.4) rotateZ(45deg); - transform: scale(0.4) rotateZ(45deg); -} - -.fab-ios { - color: #fff; - background-color: #673AB7; -} - -.fab-ios.activated { - background-color: #734abd; -} - -.fab-ios-in-list { - color: #000; - background-color: #f4f4f4; - -webkit-transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; - transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms; - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; -} - -.fab-ios-in-list.activated { - background-color: #e0e0e0; -} - -.fab-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.fab-ios-primary.activated { - background-color: #734abd; -} - -.fab-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.fab-ios-secondary.activated { - background-color: #2ec95c; -} - -.fab-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.fab-ios-danger.activated { - background-color: #e13838; -} - -.fab-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.fab-ios-light.activated { - background-color: #e0e0e0; -} - -.fab-ios-dark { - color: #fff; - background-color: #222; -} - -.fab-ios-dark.activated { - background-color: #343434; -} - -.fab-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.fab-ios-optblue.activated { - background-color: #e21615; -} - -.fab-md { - color: #fff; - background-color: #673AB7; - -webkit-box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.14), 0 4px 5px rgba(0, 0, 0, 0.1); - box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.14), 0 4px 5px rgba(0, 0, 0, 0.1); - -webkit-transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.fab-md.activated { - background-color: #734abd; - -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.4), 0 4px 7px 0 rgba(0, 0, 0, 0.1); - box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.4), 0 4px 7px 0 rgba(0, 0, 0, 0.1); -} - -.fab-md-in-list { - color: #000; - background-color: #f4f4f4; - -webkit-transition: opacity 200ms ease 10ms, background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 200ms ease 10ms, -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: opacity 200ms ease 10ms, background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 200ms ease 10ms, -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 300ms cubic-bezier(0.4, 0, 0.2, 1), color 300ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 200ms ease 10ms, -webkit-box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.fab-md-in-list.activated { - background-color: #e0e0e0; -} - -.fab-md .button-effect { - background-color: #fff; -} - -.fab-md-primary { - color: #fff; - background-color: #673AB7; -} - -.fab-md-primary.activated { - background-color: #734abd; -} - -.fab-md-primary .button-effect { - background-color: #fff; -} - -.fab-md-secondary { - color: #fff; - background-color: #32db64; -} - -.fab-md-secondary.activated { - background-color: #2ec95c; -} - -.fab-md-secondary .button-effect { - background-color: #fff; -} - -.fab-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.fab-md-danger.activated { - background-color: #e13838; -} - -.fab-md-danger .button-effect { - background-color: #fff; -} - -.fab-md-light { - color: #000; - background-color: #f4f4f4; -} - -.fab-md-light.activated { - background-color: #e0e0e0; -} - -.fab-md-light .button-effect { - background-color: #000; -} - -.fab-md-dark { - color: #fff; - background-color: #222; -} - -.fab-md-dark.activated { - background-color: #343434; -} - -.fab-md-dark .button-effect { - background-color: #fff; -} - -.fab-md-optblue { - color: #fff; - background-color: #E00201; -} - -.fab-md-optblue.activated { - background-color: #e21615; -} - -.fab-md-optblue .button-effect { - background-color: #fff; -} - -.fab-wp { - color: #fff; - background-color: #673AB7; -} - -.fab-wp.activated { - background-color: #734abd; -} - -.fab-wp-in-list { - color: #000; - background-color: #f4f4f4; - -webkit-transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; - transition: opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms; - transition: transform 200ms ease 10ms, opacity 200ms ease 10ms, -webkit-transform 200ms ease 10ms; -} - -.fab-wp-in-list.activated { - background-color: #e0e0e0; -} - -.fab-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.fab-wp-primary.activated { - background-color: #734abd; -} - -.fab-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.fab-wp-secondary.activated { - background-color: #2ec95c; -} - -.fab-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.fab-wp-danger.activated { - background-color: #e13838; -} - -.fab-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.fab-wp-light.activated { - background-color: #e0e0e0; -} - -.fab-wp-dark { - color: #fff; - background-color: #222; -} - -.fab-wp-dark.activated { - background-color: #343434; -} - -.fab-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.fab-wp-optblue.activated { - background-color: #e21615; -} - -.grid { - padding: 5px; - margin-left: auto; - margin-right: auto; - width: 100%; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.grid[no-padding] { - padding: 0; -} - -.grid[no-padding] > .row > .col { - padding: 0; -} - -@media (min-width: 576px) { - .grid[fixed] { - width: 540px; - max-width: 100%; - } -} - -@media (min-width: 768px) { - .grid[fixed] { - width: 720px; - max-width: 100%; - } -} - -@media (min-width: 992px) { - .grid[fixed] { - width: 960px; - max-width: 100%; - } -} - -@media (min-width: 1200px) { - .grid[fixed] { - width: 1140px; - max-width: 100%; - } -} - -.row { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - -.row[nowrap] { - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; -} - -.row[wrap-reverse] { - -webkit-flex-wrap: wrap-reverse; - -ms-flex-wrap: wrap-reverse; - flex-wrap: wrap-reverse; -} - -.row[align-items-start] { - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} - -.row[align-items-center] { - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -.row[align-items-end] { - -webkit-box-align: end; - -webkit-align-items: flex-end; - -ms-flex-align: end; - align-items: flex-end; -} - -.row[align-items-stretch] { - -webkit-box-align: stretch; - -webkit-align-items: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.row[align-items-baseline] { - -webkit-box-align: baseline; - -webkit-align-items: baseline; - -ms-flex-align: baseline; - align-items: baseline; -} - -.row[justify-content-start] { - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -.row[justify-content-center] { - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -} - -.row[justify-content-end] { - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.row[justify-content-around] { - -webkit-justify-content: space-around; - -ms-flex-pack: distribute; - justify-content: space-around; -} - -.row[justify-content-between] { - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; -} - -.col { - padding: 5px; - position: relative; - width: 100%; - margin: 0; - min-height: 1px; - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; -} - -.col[align-self-start] { - -webkit-align-self: flex-start; - -ms-flex-item-align: start; - align-self: flex-start; -} - -.col[align-self-end] { - -webkit-align-self: flex-end; - -ms-flex-item-align: end; - align-self: flex-end; -} - -.col[align-self-center] { - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; -} - -.col[align-self-stretch] { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; -} - -.col[align-self-baseline] { - -webkit-align-self: baseline; - -ms-flex-item-align: baseline; - align-self: baseline; -} - -[col-1] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-1] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-1] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-1] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-1] { - padding: 5px; - } -} - -[col-2] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-2] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-2] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-2] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-2] { - padding: 5px; - } -} - -[col-3] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-3] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-3] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-3] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-3] { - padding: 5px; - } -} - -[col-4] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-4] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-4] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-4] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-4] { - padding: 5px; - } -} - -[col-5] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-5] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-5] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-5] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-5] { - padding: 5px; - } -} - -[col-6] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-6] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-6] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-6] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-6] { - padding: 5px; - } -} - -[col-7] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-7] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-7] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-7] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-7] { - padding: 5px; - } -} - -[col-8] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-8] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-8] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-8] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-8] { - padding: 5px; - } -} - -[col-9] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-9] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-9] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-9] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-9] { - padding: 5px; - } -} - -[col-10] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-10] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-10] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-10] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-10] { - padding: 5px; - } -} - -[col-11] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-11] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-11] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-11] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-11] { - padding: 5px; - } -} - -[col-12] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-12] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-12] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-12] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-12] { - padding: 5px; - } -} - -[col] { - padding: 5px; -} - -@media (min-width: 576px) { - [col] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col] { - padding: 5px; - } -} - -[col] { - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; -} - -[col-auto] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; -} - -[col-1] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 8.33333%; - -ms-flex: 0 0 8.33333%; - flex: 0 0 8.33333%; - width: 8.33333%; - max-width: 8.33333%; -} - -[col-2] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 16.66667%; - -ms-flex: 0 0 16.66667%; - flex: 0 0 16.66667%; - width: 16.66667%; - max-width: 16.66667%; -} - -[col-3] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 25%; - -ms-flex: 0 0 25%; - flex: 0 0 25%; - width: 25%; - max-width: 25%; -} - -[col-4] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 33.33333%; - -ms-flex: 0 0 33.33333%; - flex: 0 0 33.33333%; - width: 33.33333%; - max-width: 33.33333%; -} - -[col-5] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 41.66667%; - -ms-flex: 0 0 41.66667%; - flex: 0 0 41.66667%; - width: 41.66667%; - max-width: 41.66667%; -} - -[col-6] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 50%; - -ms-flex: 0 0 50%; - flex: 0 0 50%; - width: 50%; - max-width: 50%; -} - -[col-7] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 58.33333%; - -ms-flex: 0 0 58.33333%; - flex: 0 0 58.33333%; - width: 58.33333%; - max-width: 58.33333%; -} - -[col-8] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 66.66667%; - -ms-flex: 0 0 66.66667%; - flex: 0 0 66.66667%; - width: 66.66667%; - max-width: 66.66667%; -} - -[col-9] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 75%; - -ms-flex: 0 0 75%; - flex: 0 0 75%; - width: 75%; - max-width: 75%; -} - -[col-10] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 83.33333%; - -ms-flex: 0 0 83.33333%; - flex: 0 0 83.33333%; - width: 83.33333%; - max-width: 83.33333%; -} - -[col-11] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 91.66667%; - -ms-flex: 0 0 91.66667%; - flex: 0 0 91.66667%; - width: 91.66667%; - max-width: 91.66667%; -} - -[col-12] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100%; - -ms-flex: 0 0 100%; - flex: 0 0 100%; - width: 100%; - max-width: 100%; -} - -[pull-0] { - right: auto; -} - -[pull-1] { - right: 8.33333%; -} - -[pull-2] { - right: 16.66667%; -} - -[pull-3] { - right: 25%; -} - -[pull-4] { - right: 33.33333%; -} - -[pull-5] { - right: 41.66667%; -} - -[pull-6] { - right: 50%; -} - -[pull-7] { - right: 58.33333%; -} - -[pull-8] { - right: 66.66667%; -} - -[pull-9] { - right: 75%; -} - -[pull-10] { - right: 83.33333%; -} - -[pull-11] { - right: 91.66667%; -} - -[pull-12] { - right: 100%; -} - -[push-0] { - left: auto; -} - -[push-1] { - left: 8.33333%; -} - -[push-2] { - left: 16.66667%; -} - -[push-3] { - left: 25%; -} - -[push-4] { - left: 33.33333%; -} - -[push-5] { - left: 41.66667%; -} - -[push-6] { - left: 50%; -} - -[push-7] { - left: 58.33333%; -} - -[push-8] { - left: 66.66667%; -} - -[push-9] { - left: 75%; -} - -[push-10] { - left: 83.33333%; -} - -[push-11] { - left: 91.66667%; -} - -[push-12] { - left: 100%; -} - -[offset-1] { - margin-left: 8.33333%; -} - -[offset-2] { - margin-left: 16.66667%; -} - -[offset-3] { - margin-left: 25%; -} - -[offset-4] { - margin-left: 33.33333%; -} - -[offset-5] { - margin-left: 41.66667%; -} - -[offset-6] { - margin-left: 50%; -} - -[offset-7] { - margin-left: 58.33333%; -} - -[offset-8] { - margin-left: 66.66667%; -} - -[offset-9] { - margin-left: 75%; -} - -[offset-10] { - margin-left: 83.33333%; -} - -[offset-11] { - margin-left: 91.66667%; -} - -[col-sm-1] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-1] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-1] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-1] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-1] { - padding: 5px; - } -} - -[col-sm-2] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-2] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-2] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-2] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-2] { - padding: 5px; - } -} - -[col-sm-3] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-3] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-3] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-3] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-3] { - padding: 5px; - } -} - -[col-sm-4] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-4] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-4] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-4] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-4] { - padding: 5px; - } -} - -[col-sm-5] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-5] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-5] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-5] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-5] { - padding: 5px; - } -} - -[col-sm-6] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-6] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-6] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-6] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-6] { - padding: 5px; - } -} - -[col-sm-7] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-7] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-7] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-7] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-7] { - padding: 5px; - } -} - -[col-sm-8] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-8] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-8] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-8] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-8] { - padding: 5px; - } -} - -[col-sm-9] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-9] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-9] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-9] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-9] { - padding: 5px; - } -} - -[col-sm-10] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-10] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-10] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-10] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-10] { - padding: 5px; - } -} - -[col-sm-11] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-11] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-11] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-11] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-11] { - padding: 5px; - } -} - -[col-sm-12] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm-12] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm-12] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm-12] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm-12] { - padding: 5px; - } -} - -[col-sm] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-sm] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-sm] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-sm] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-sm] { - padding: 5px; - } -} - -@media (min-width: 576px) { - [col-sm] { - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; - } - [col-sm-auto] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - } - [col-sm-1] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 8.33333%; - -ms-flex: 0 0 8.33333%; - flex: 0 0 8.33333%; - width: 8.33333%; - max-width: 8.33333%; - } - [col-sm-2] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 16.66667%; - -ms-flex: 0 0 16.66667%; - flex: 0 0 16.66667%; - width: 16.66667%; - max-width: 16.66667%; - } - [col-sm-3] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 25%; - -ms-flex: 0 0 25%; - flex: 0 0 25%; - width: 25%; - max-width: 25%; - } - [col-sm-4] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 33.33333%; - -ms-flex: 0 0 33.33333%; - flex: 0 0 33.33333%; - width: 33.33333%; - max-width: 33.33333%; - } - [col-sm-5] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 41.66667%; - -ms-flex: 0 0 41.66667%; - flex: 0 0 41.66667%; - width: 41.66667%; - max-width: 41.66667%; - } - [col-sm-6] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 50%; - -ms-flex: 0 0 50%; - flex: 0 0 50%; - width: 50%; - max-width: 50%; - } - [col-sm-7] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 58.33333%; - -ms-flex: 0 0 58.33333%; - flex: 0 0 58.33333%; - width: 58.33333%; - max-width: 58.33333%; - } - [col-sm-8] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 66.66667%; - -ms-flex: 0 0 66.66667%; - flex: 0 0 66.66667%; - width: 66.66667%; - max-width: 66.66667%; - } - [col-sm-9] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 75%; - -ms-flex: 0 0 75%; - flex: 0 0 75%; - width: 75%; - max-width: 75%; - } - [col-sm-10] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 83.33333%; - -ms-flex: 0 0 83.33333%; - flex: 0 0 83.33333%; - width: 83.33333%; - max-width: 83.33333%; - } - [col-sm-11] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 91.66667%; - -ms-flex: 0 0 91.66667%; - flex: 0 0 91.66667%; - width: 91.66667%; - max-width: 91.66667%; - } - [col-sm-12] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100%; - -ms-flex: 0 0 100%; - flex: 0 0 100%; - width: 100%; - max-width: 100%; - } - [pull-sm-0] { - right: auto; - } - [pull-sm-1] { - right: 8.33333%; - } - [pull-sm-2] { - right: 16.66667%; - } - [pull-sm-3] { - right: 25%; - } - [pull-sm-4] { - right: 33.33333%; - } - [pull-sm-5] { - right: 41.66667%; - } - [pull-sm-6] { - right: 50%; - } - [pull-sm-7] { - right: 58.33333%; - } - [pull-sm-8] { - right: 66.66667%; - } - [pull-sm-9] { - right: 75%; - } - [pull-sm-10] { - right: 83.33333%; - } - [pull-sm-11] { - right: 91.66667%; - } - [pull-sm-12] { - right: 100%; - } - [push-sm-0] { - left: auto; - } - [push-sm-1] { - left: 8.33333%; - } - [push-sm-2] { - left: 16.66667%; - } - [push-sm-3] { - left: 25%; - } - [push-sm-4] { - left: 33.33333%; - } - [push-sm-5] { - left: 41.66667%; - } - [push-sm-6] { - left: 50%; - } - [push-sm-7] { - left: 58.33333%; - } - [push-sm-8] { - left: 66.66667%; - } - [push-sm-9] { - left: 75%; - } - [push-sm-10] { - left: 83.33333%; - } - [push-sm-11] { - left: 91.66667%; - } - [push-sm-12] { - left: 100%; - } - [offset-sm-0] { - margin-left: 0%; - } - [offset-sm-1] { - margin-left: 8.33333%; - } - [offset-sm-2] { - margin-left: 16.66667%; - } - [offset-sm-3] { - margin-left: 25%; - } - [offset-sm-4] { - margin-left: 33.33333%; - } - [offset-sm-5] { - margin-left: 41.66667%; - } - [offset-sm-6] { - margin-left: 50%; - } - [offset-sm-7] { - margin-left: 58.33333%; - } - [offset-sm-8] { - margin-left: 66.66667%; - } - [offset-sm-9] { - margin-left: 75%; - } - [offset-sm-10] { - margin-left: 83.33333%; - } - [offset-sm-11] { - margin-left: 91.66667%; - } -} - -[col-md-1] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-1] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-1] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-1] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-1] { - padding: 5px; - } -} - -[col-md-2] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-2] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-2] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-2] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-2] { - padding: 5px; - } -} - -[col-md-3] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-3] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-3] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-3] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-3] { - padding: 5px; - } -} - -[col-md-4] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-4] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-4] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-4] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-4] { - padding: 5px; - } -} - -[col-md-5] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-5] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-5] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-5] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-5] { - padding: 5px; - } -} - -[col-md-6] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-6] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-6] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-6] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-6] { - padding: 5px; - } -} - -[col-md-7] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-7] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-7] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-7] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-7] { - padding: 5px; - } -} - -[col-md-8] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-8] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-8] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-8] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-8] { - padding: 5px; - } -} - -[col-md-9] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-9] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-9] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-9] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-9] { - padding: 5px; - } -} - -[col-md-10] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-10] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-10] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-10] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-10] { - padding: 5px; - } -} - -[col-md-11] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-11] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-11] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-11] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-11] { - padding: 5px; - } -} - -[col-md-12] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md-12] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md-12] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md-12] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md-12] { - padding: 5px; - } -} - -[col-md] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-md] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-md] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-md] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-md] { - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; - } - [col-md-auto] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - } - [col-md-1] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 8.33333%; - -ms-flex: 0 0 8.33333%; - flex: 0 0 8.33333%; - width: 8.33333%; - max-width: 8.33333%; - } - [col-md-2] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 16.66667%; - -ms-flex: 0 0 16.66667%; - flex: 0 0 16.66667%; - width: 16.66667%; - max-width: 16.66667%; - } - [col-md-3] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 25%; - -ms-flex: 0 0 25%; - flex: 0 0 25%; - width: 25%; - max-width: 25%; - } - [col-md-4] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 33.33333%; - -ms-flex: 0 0 33.33333%; - flex: 0 0 33.33333%; - width: 33.33333%; - max-width: 33.33333%; - } - [col-md-5] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 41.66667%; - -ms-flex: 0 0 41.66667%; - flex: 0 0 41.66667%; - width: 41.66667%; - max-width: 41.66667%; - } - [col-md-6] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 50%; - -ms-flex: 0 0 50%; - flex: 0 0 50%; - width: 50%; - max-width: 50%; - } - [col-md-7] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 58.33333%; - -ms-flex: 0 0 58.33333%; - flex: 0 0 58.33333%; - width: 58.33333%; - max-width: 58.33333%; - } - [col-md-8] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 66.66667%; - -ms-flex: 0 0 66.66667%; - flex: 0 0 66.66667%; - width: 66.66667%; - max-width: 66.66667%; - } - [col-md-9] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 75%; - -ms-flex: 0 0 75%; - flex: 0 0 75%; - width: 75%; - max-width: 75%; - } - [col-md-10] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 83.33333%; - -ms-flex: 0 0 83.33333%; - flex: 0 0 83.33333%; - width: 83.33333%; - max-width: 83.33333%; - } - [col-md-11] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 91.66667%; - -ms-flex: 0 0 91.66667%; - flex: 0 0 91.66667%; - width: 91.66667%; - max-width: 91.66667%; - } - [col-md-12] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100%; - -ms-flex: 0 0 100%; - flex: 0 0 100%; - width: 100%; - max-width: 100%; - } - [pull-md-0] { - right: auto; - } - [pull-md-1] { - right: 8.33333%; - } - [pull-md-2] { - right: 16.66667%; - } - [pull-md-3] { - right: 25%; - } - [pull-md-4] { - right: 33.33333%; - } - [pull-md-5] { - right: 41.66667%; - } - [pull-md-6] { - right: 50%; - } - [pull-md-7] { - right: 58.33333%; - } - [pull-md-8] { - right: 66.66667%; - } - [pull-md-9] { - right: 75%; - } - [pull-md-10] { - right: 83.33333%; - } - [pull-md-11] { - right: 91.66667%; - } - [pull-md-12] { - right: 100%; - } - [push-md-0] { - left: auto; - } - [push-md-1] { - left: 8.33333%; - } - [push-md-2] { - left: 16.66667%; - } - [push-md-3] { - left: 25%; - } - [push-md-4] { - left: 33.33333%; - } - [push-md-5] { - left: 41.66667%; - } - [push-md-6] { - left: 50%; - } - [push-md-7] { - left: 58.33333%; - } - [push-md-8] { - left: 66.66667%; - } - [push-md-9] { - left: 75%; - } - [push-md-10] { - left: 83.33333%; - } - [push-md-11] { - left: 91.66667%; - } - [push-md-12] { - left: 100%; - } - [offset-md-0] { - margin-left: 0%; - } - [offset-md-1] { - margin-left: 8.33333%; - } - [offset-md-2] { - margin-left: 16.66667%; - } - [offset-md-3] { - margin-left: 25%; - } - [offset-md-4] { - margin-left: 33.33333%; - } - [offset-md-5] { - margin-left: 41.66667%; - } - [offset-md-6] { - margin-left: 50%; - } - [offset-md-7] { - margin-left: 58.33333%; - } - [offset-md-8] { - margin-left: 66.66667%; - } - [offset-md-9] { - margin-left: 75%; - } - [offset-md-10] { - margin-left: 83.33333%; - } - [offset-md-11] { - margin-left: 91.66667%; - } -} - -[col-lg-1] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-1] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-1] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-1] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-1] { - padding: 5px; - } -} - -[col-lg-2] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-2] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-2] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-2] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-2] { - padding: 5px; - } -} - -[col-lg-3] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-3] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-3] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-3] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-3] { - padding: 5px; - } -} - -[col-lg-4] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-4] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-4] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-4] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-4] { - padding: 5px; - } -} - -[col-lg-5] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-5] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-5] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-5] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-5] { - padding: 5px; - } -} - -[col-lg-6] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-6] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-6] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-6] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-6] { - padding: 5px; - } -} - -[col-lg-7] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-7] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-7] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-7] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-7] { - padding: 5px; - } -} - -[col-lg-8] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-8] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-8] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-8] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-8] { - padding: 5px; - } -} - -[col-lg-9] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-9] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-9] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-9] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-9] { - padding: 5px; - } -} - -[col-lg-10] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-10] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-10] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-10] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-10] { - padding: 5px; - } -} - -[col-lg-11] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-11] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-11] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-11] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-11] { - padding: 5px; - } -} - -[col-lg-12] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg-12] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg-12] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg-12] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg-12] { - padding: 5px; - } -} - -[col-lg] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-lg] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-lg] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-lg] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-lg] { - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; - } - [col-lg-auto] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - } - [col-lg-1] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 8.33333%; - -ms-flex: 0 0 8.33333%; - flex: 0 0 8.33333%; - width: 8.33333%; - max-width: 8.33333%; - } - [col-lg-2] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 16.66667%; - -ms-flex: 0 0 16.66667%; - flex: 0 0 16.66667%; - width: 16.66667%; - max-width: 16.66667%; - } - [col-lg-3] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 25%; - -ms-flex: 0 0 25%; - flex: 0 0 25%; - width: 25%; - max-width: 25%; - } - [col-lg-4] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 33.33333%; - -ms-flex: 0 0 33.33333%; - flex: 0 0 33.33333%; - width: 33.33333%; - max-width: 33.33333%; - } - [col-lg-5] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 41.66667%; - -ms-flex: 0 0 41.66667%; - flex: 0 0 41.66667%; - width: 41.66667%; - max-width: 41.66667%; - } - [col-lg-6] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 50%; - -ms-flex: 0 0 50%; - flex: 0 0 50%; - width: 50%; - max-width: 50%; - } - [col-lg-7] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 58.33333%; - -ms-flex: 0 0 58.33333%; - flex: 0 0 58.33333%; - width: 58.33333%; - max-width: 58.33333%; - } - [col-lg-8] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 66.66667%; - -ms-flex: 0 0 66.66667%; - flex: 0 0 66.66667%; - width: 66.66667%; - max-width: 66.66667%; - } - [col-lg-9] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 75%; - -ms-flex: 0 0 75%; - flex: 0 0 75%; - width: 75%; - max-width: 75%; - } - [col-lg-10] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 83.33333%; - -ms-flex: 0 0 83.33333%; - flex: 0 0 83.33333%; - width: 83.33333%; - max-width: 83.33333%; - } - [col-lg-11] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 91.66667%; - -ms-flex: 0 0 91.66667%; - flex: 0 0 91.66667%; - width: 91.66667%; - max-width: 91.66667%; - } - [col-lg-12] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100%; - -ms-flex: 0 0 100%; - flex: 0 0 100%; - width: 100%; - max-width: 100%; - } - [pull-lg-0] { - right: auto; - } - [pull-lg-1] { - right: 8.33333%; - } - [pull-lg-2] { - right: 16.66667%; - } - [pull-lg-3] { - right: 25%; - } - [pull-lg-4] { - right: 33.33333%; - } - [pull-lg-5] { - right: 41.66667%; - } - [pull-lg-6] { - right: 50%; - } - [pull-lg-7] { - right: 58.33333%; - } - [pull-lg-8] { - right: 66.66667%; - } - [pull-lg-9] { - right: 75%; - } - [pull-lg-10] { - right: 83.33333%; - } - [pull-lg-11] { - right: 91.66667%; - } - [pull-lg-12] { - right: 100%; - } - [push-lg-0] { - left: auto; - } - [push-lg-1] { - left: 8.33333%; - } - [push-lg-2] { - left: 16.66667%; - } - [push-lg-3] { - left: 25%; - } - [push-lg-4] { - left: 33.33333%; - } - [push-lg-5] { - left: 41.66667%; - } - [push-lg-6] { - left: 50%; - } - [push-lg-7] { - left: 58.33333%; - } - [push-lg-8] { - left: 66.66667%; - } - [push-lg-9] { - left: 75%; - } - [push-lg-10] { - left: 83.33333%; - } - [push-lg-11] { - left: 91.66667%; - } - [push-lg-12] { - left: 100%; - } - [offset-lg-0] { - margin-left: 0%; - } - [offset-lg-1] { - margin-left: 8.33333%; - } - [offset-lg-2] { - margin-left: 16.66667%; - } - [offset-lg-3] { - margin-left: 25%; - } - [offset-lg-4] { - margin-left: 33.33333%; - } - [offset-lg-5] { - margin-left: 41.66667%; - } - [offset-lg-6] { - margin-left: 50%; - } - [offset-lg-7] { - margin-left: 58.33333%; - } - [offset-lg-8] { - margin-left: 66.66667%; - } - [offset-lg-9] { - margin-left: 75%; - } - [offset-lg-10] { - margin-left: 83.33333%; - } - [offset-lg-11] { - margin-left: 91.66667%; - } -} - -[col-xl-1] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-1] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-1] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-1] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-1] { - padding: 5px; - } -} - -[col-xl-2] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-2] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-2] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-2] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-2] { - padding: 5px; - } -} - -[col-xl-3] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-3] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-3] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-3] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-3] { - padding: 5px; - } -} - -[col-xl-4] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-4] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-4] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-4] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-4] { - padding: 5px; - } -} - -[col-xl-5] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-5] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-5] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-5] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-5] { - padding: 5px; - } -} - -[col-xl-6] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-6] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-6] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-6] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-6] { - padding: 5px; - } -} - -[col-xl-7] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-7] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-7] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-7] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-7] { - padding: 5px; - } -} - -[col-xl-8] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-8] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-8] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-8] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-8] { - padding: 5px; - } -} - -[col-xl-9] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-9] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-9] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-9] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-9] { - padding: 5px; - } -} - -[col-xl-10] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-10] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-10] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-10] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-10] { - padding: 5px; - } -} - -[col-xl-11] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-11] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-11] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-11] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-11] { - padding: 5px; - } -} - -[col-xl-12] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl-12] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl-12] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl-12] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl-12] { - padding: 5px; - } -} - -[col-xl] { - padding: 5px; -} - -@media (min-width: 576px) { - [col-xl] { - padding: 5px; - } -} - -@media (min-width: 768px) { - [col-xl] { - padding: 5px; - } -} - -@media (min-width: 992px) { - [col-xl] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl] { - padding: 5px; - } -} - -@media (min-width: 1200px) { - [col-xl] { - -webkit-flex-basis: 0; - -ms-flex-preferred-size: 0; - flex-basis: 0; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - max-width: 100%; - } - [col-xl-auto] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 auto; - -ms-flex: 0 0 auto; - flex: 0 0 auto; - width: auto; - } - [col-xl-1] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 8.33333%; - -ms-flex: 0 0 8.33333%; - flex: 0 0 8.33333%; - width: 8.33333%; - max-width: 8.33333%; - } - [col-xl-2] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 16.66667%; - -ms-flex: 0 0 16.66667%; - flex: 0 0 16.66667%; - width: 16.66667%; - max-width: 16.66667%; - } - [col-xl-3] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 25%; - -ms-flex: 0 0 25%; - flex: 0 0 25%; - width: 25%; - max-width: 25%; - } - [col-xl-4] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 33.33333%; - -ms-flex: 0 0 33.33333%; - flex: 0 0 33.33333%; - width: 33.33333%; - max-width: 33.33333%; - } - [col-xl-5] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 41.66667%; - -ms-flex: 0 0 41.66667%; - flex: 0 0 41.66667%; - width: 41.66667%; - max-width: 41.66667%; - } - [col-xl-6] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 50%; - -ms-flex: 0 0 50%; - flex: 0 0 50%; - width: 50%; - max-width: 50%; - } - [col-xl-7] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 58.33333%; - -ms-flex: 0 0 58.33333%; - flex: 0 0 58.33333%; - width: 58.33333%; - max-width: 58.33333%; - } - [col-xl-8] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 66.66667%; - -ms-flex: 0 0 66.66667%; - flex: 0 0 66.66667%; - width: 66.66667%; - max-width: 66.66667%; - } - [col-xl-9] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 75%; - -ms-flex: 0 0 75%; - flex: 0 0 75%; - width: 75%; - max-width: 75%; - } - [col-xl-10] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 83.33333%; - -ms-flex: 0 0 83.33333%; - flex: 0 0 83.33333%; - width: 83.33333%; - max-width: 83.33333%; - } - [col-xl-11] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 91.66667%; - -ms-flex: 0 0 91.66667%; - flex: 0 0 91.66667%; - width: 91.66667%; - max-width: 91.66667%; - } - [col-xl-12] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100%; - -ms-flex: 0 0 100%; - flex: 0 0 100%; - width: 100%; - max-width: 100%; - } - [pull-xl-0] { - right: auto; - } - [pull-xl-1] { - right: 8.33333%; - } - [pull-xl-2] { - right: 16.66667%; - } - [pull-xl-3] { - right: 25%; - } - [pull-xl-4] { - right: 33.33333%; - } - [pull-xl-5] { - right: 41.66667%; - } - [pull-xl-6] { - right: 50%; - } - [pull-xl-7] { - right: 58.33333%; - } - [pull-xl-8] { - right: 66.66667%; - } - [pull-xl-9] { - right: 75%; - } - [pull-xl-10] { - right: 83.33333%; - } - [pull-xl-11] { - right: 91.66667%; - } - [pull-xl-12] { - right: 100%; - } - [push-xl-0] { - left: auto; - } - [push-xl-1] { - left: 8.33333%; - } - [push-xl-2] { - left: 16.66667%; - } - [push-xl-3] { - left: 25%; - } - [push-xl-4] { - left: 33.33333%; - } - [push-xl-5] { - left: 41.66667%; - } - [push-xl-6] { - left: 50%; - } - [push-xl-7] { - left: 58.33333%; - } - [push-xl-8] { - left: 66.66667%; - } - [push-xl-9] { - left: 75%; - } - [push-xl-10] { - left: 83.33333%; - } - [push-xl-11] { - left: 91.66667%; - } - [push-xl-12] { - left: 100%; - } - [offset-xl-0] { - margin-left: 0%; - } - [offset-xl-1] { - margin-left: 8.33333%; - } - [offset-xl-2] { - margin-left: 16.66667%; - } - [offset-xl-3] { - margin-left: 25%; - } - [offset-xl-4] { - margin-left: 33.33333%; - } - [offset-xl-5] { - margin-left: 41.66667%; - } - [offset-xl-6] { - margin-left: 50%; - } - [offset-xl-7] { - margin-left: 58.33333%; - } - [offset-xl-8] { - margin-left: 66.66667%; - } - [offset-xl-9] { - margin-left: 75%; - } - [offset-xl-10] { - margin-left: 83.33333%; - } - [offset-xl-11] { - margin-left: 91.66667%; - } -} - -ion-icon { - display: inline-block; - font-size: 1.2em; -} - -ion-icon[small] { - min-height: 1.1em; - font-size: 1.1em; -} - -.icon-ios-primary { - color: #673AB7; -} - -.icon-ios-secondary { - color: #32db64; -} - -.icon-ios-danger { - color: #f53d3d; -} - -.icon-ios-light { - color: #f4f4f4; -} - -.icon-ios-dark { - color: #222; -} - -.icon-ios-optblue { - color: #E00201; -} - -.icon-md-primary { - color: #673AB7; -} - -.icon-md-secondary { - color: #32db64; -} - -.icon-md-danger { - color: #f53d3d; -} - -.icon-md-light { - color: #f4f4f4; -} - -.icon-md-dark { - color: #222; -} - -.icon-md-optblue { - color: #E00201; -} - -.icon-wp-primary { - color: #673AB7; -} - -.icon-wp-secondary { - color: #32db64; -} - -.icon-wp-danger { - color: #f53d3d; -} - -.icon-wp-light { - color: #f4f4f4; -} - -.icon-wp-dark { - color: #222; -} - -.icon-wp-optblue { - color: #E00201; -} - -ion-img { - display: inline-block; - min-width: 20px; - min-height: 20px; - background: #eee; - contain: strict; -} - -ion-img img { - -o-object-fit: cover; - object-fit: cover; -} - -ion-img.img-unloaded img { - display: none; -} - -ion-img.img-loaded img { - display: block; -} - -ion-infinite-scroll { - display: block; - width: 100%; -} - -ion-infinite-scroll-content { - text-align: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - height: 100%; - min-height: 84px; -} - -.infinite-loading { - display: none; - width: 100%; - margin: 0 0 32px; -} - -.infinite-loading-text { - color: #666; - margin: 4px 32px 0; -} - -.infinite-loading-spinner .spinner-ios line, -.infinite-loading-spinner .spinner-ios-small line, -.infinite-loading-spinner .spinner-crescent circle { - stroke: #666; -} - -.infinite-loading-spinner .spinner-bubbles circle, -.infinite-loading-spinner .spinner-circles circle, -.infinite-loading-spinner .spinner-dots circle { - fill: #666; -} - -ion-infinite-scroll-content[state=loading] .infinite-loading { - display: block; -} - -ion-infinite-scroll-content[state=disabled] { - display: none; -} - -ion-input, -ion-textarea { - position: relative; - display: block; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 100%; -} - -.item-input ion-input, -.item-input ion-textarea { - position: static; -} - -.item.item-textarea { - -webkit-box-align: stretch; - -webkit-align-items: stretch; - -ms-flex-align: stretch; - align-items: stretch; -} - -.text-input { - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - border-radius: 0; - display: inline-block; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 92%; - width: calc(100% - 10px); - border: 0; - background: transparent; -} - -.text-input::-moz-placeholder { - color: #999; -} - -.text-input:-ms-input-placeholder { - color: #999; -} - -.text-input::-webkit-input-placeholder { - text-indent: 0; - color: #999; -} - -textarea.text-input { - display: block; -} - -.text-input[disabled] { - opacity: .4; -} - -input.text-input:-webkit-autofill { - background-color: transparent; -} - -.platform-mobile textarea.text-input { - resize: none; -} - -.input-cover { - left: 0; - top: 0; - position: absolute; - width: 100%; - height: 100%; - -ms-touch-action: manipulation; - touch-action: manipulation; -} - -.input[disabled] .input-cover { - pointer-events: none; -} - -.item-input-has-focus .input-cover, -.input-has-focus .input-cover { - display: none; -} - -.item-input-has-focus, -.input-has-focus { - pointer-events: none; -} - -.item-input-has-focus input, -.input-has-focus input, -.item-input-has-focus textarea, -.input-has-focus textarea, -.item-input-has-focus a, -.input-has-focus a, -.item-input-has-focus button, -.input-has-focus button { - pointer-events: auto; -} - -.text-input-clear-icon { - margin: 0; - padding: 0; - background-position: center; - position: absolute; - top: 0; - display: none; - height: 100%; - background-repeat: no-repeat; -} - -.item-input-has-focus.item-input-has-value .text-input-clear-icon, -.input-has-focus.input-has-value .text-input-clear-icon { - display: block; -} - -.text-input-ios { - margin: 11px 8px 11px 0; - padding: 0; - width: calc(100% - 8px); -} - -.input-ios .inset-input { - padding: 5.5px 8px; - margin: 5.5px 16px 5.5px 0; -} - -.item-ios.item-label-stacked .text-input, -.item-ios.item-label-floating .text-input { - margin-left: 0; - margin-top: 8px; - margin-bottom: 8px; - width: calc(100% - 8px); -} - -.item-ios.item-label-stacked .label-ios + .input + .cloned-input, -.item-ios.item-label-floating .label-ios + .input + .cloned-input { - margin-left: 0; -} - -.item-label-stacked .select-ios, -.item-label-floating .select-ios { - padding-left: 0; - padding-top: 8px; - padding-bottom: 8px; -} - -.input-ios[clearInput] { - position: relative; -} - -.input-ios[clearInput] .text-input { - padding-right: 30px; -} - -.input-ios .text-input-clear-icon { - right: 8px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - width: 30px; - background-size: 18px; -} - -.text-input-md { - margin: 13px 8px; - padding: 0; - width: calc(100% - 8px - 8px); -} - -.input-md .inset-input { - padding: 6.5px 8px; - margin: 6.5px 16px; -} - -.item-md.item-input.item-input-has-focus .item-inner, -.item-md.item-input.input-has-focus .item-inner { - border-bottom-color: #673AB7; - -webkit-box-shadow: inset 0 -1px 0 0 #673AB7; - box-shadow: inset 0 -1px 0 0 #673AB7; -} - -.list-md .item-input.item-input-has-focus:last-child, -.list-md .item-input.input-has-focus:last-child { - border-bottom-color: #673AB7; - -webkit-box-shadow: inset 0 -1px 0 0 #673AB7; - box-shadow: inset 0 -1px 0 0 #673AB7; -} - -.list-md .item-input.item-input-has-focus:last-child .item-inner, -.list-md .item-input.input-has-focus:last-child .item-inner { - -webkit-box-shadow: none; - box-shadow: none; -} - -.item-md.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner, -.item-md.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner { - border-bottom-color: #32db64; - -webkit-box-shadow: inset 0 -1px 0 0 #32db64; - box-shadow: inset 0 -1px 0 0 #32db64; -} - -.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child, -.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child { - border-bottom-color: #32db64; - -webkit-box-shadow: inset 0 -1px 0 0 #32db64; - box-shadow: inset 0 -1px 0 0 #32db64; -} - -.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner, -.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner { - -webkit-box-shadow: none; - box-shadow: none; -} - -.item-md.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .item-inner { - border-bottom-color: #f53d3d; - -webkit-box-shadow: inset 0 -1px 0 0 #f53d3d; - box-shadow: inset 0 -1px 0 0 #f53d3d; -} - -.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child { - border-bottom-color: #f53d3d; - -webkit-box-shadow: inset 0 -1px 0 0 #f53d3d; - box-shadow: inset 0 -1px 0 0 #f53d3d; -} - -.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner { - -webkit-box-shadow: none; - box-shadow: none; -} - -.item-label-stacked .text-input-md, -.item-label-floating .text-input-md { - margin-left: 0; - margin-top: 8px; - margin-bottom: 8px; - width: calc(100% - 8px); -} - -.item-label-stacked .select-md, -.item-label-floating .select-md { - padding-left: 0; - padding-top: 8px; - padding-bottom: 8px; -} - -.input-md[clearInput] { - position: relative; -} - -.input-md[clearInput] .text-input { - padding-right: 30px; -} - -.input-md .text-input-clear-icon { - right: 8px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - width: 30px; - background-size: 22px; -} - -.text-input-wp { - margin: 13px 8px; - padding: 0 8px; - width: calc(100% - 8px - 8px); - border: 2px solid rgba(0, 0, 0, 0.5); - line-height: 3rem; -} - -.item-wp .inset-input { - padding: 6.5px 8px; - margin: 6.5px 16px; -} - -.item-wp.item-input.item-input-has-focus .text-input, -.item-wp.item-input.input-has-focus .text-input { - border-color: #673AB7; -} - -.item-wp.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input, -.item-wp.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input { - border-color: #32db64; -} - -.item-wp.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .text-input { - border-color: #f53d3d; -} - -.item-label-stacked .text-input-wp, -.item-label-floating .text-input-wp, -.item-label-stacked .select-wp, -.item-label-floating .select-wp { - margin-left: 0; - margin-top: 8px; - margin-bottom: 8px; - width: calc(100% - 8px); -} - -.item-wp.item-label-stacked [item-right], -.item-wp.item-label-floating [item-right], -.item-wp.item-label-stacked [item-end], -.item-wp.item-label-floating [item-end] { - -webkit-align-self: flex-end; - -ms-flex-item-align: end; - align-self: flex-end; -} - -.input-wp[clearInput] { - position: relative; -} - -.input-wp[clearInput] .text-input { - padding-right: 30px; -} - -.input-wp .text-input-clear-icon { - right: 8px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - width: 30px; - background-size: 22px; -} - -.item { - contain: content; -} - -.item-block { - margin: 0; - padding: 0; - text-align: initial; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - min-height: 4.4rem; - border: 0; - font-weight: normal; - line-height: normal; - text-decoration: none; - color: inherit; -} - -.item-inner { - margin: 0; - padding: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-orient: inherit; - -webkit-box-direction: inherit; - -webkit-flex-direction: inherit; - -ms-flex-direction: inherit; - flex-direction: inherit; - -webkit-box-align: inherit; - -webkit-align-items: inherit; - -ms-flex-align: inherit; - align-items: inherit; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - min-height: inherit; - border: 0; -} - -.input-wrapper { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-orient: inherit; - -webkit-box-direction: inherit; - -webkit-flex-direction: inherit; - -ms-flex-direction: inherit; - flex-direction: inherit; - -webkit-box-align: inherit; - -webkit-align-items: inherit; - -ms-flex-align: inherit; - align-items: inherit; - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - text-overflow: ellipsis; -} - -.item[no-lines], -.item.item[no-lines] .item-inner { - border: 0; -} - -ion-item-group { - display: block; -} - -ion-item-divider { - margin: 0; - padding: 0; - z-index: 100; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - min-height: 30px; -} - -ion-item-divider[sticky] { - position: -webkit-sticky; - position: sticky; - top: 0; -} - -[vertical-align-top], -ion-input.item { - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} - -.item > ion-icon[small]:first-child, -.item-inner > ion-icon[small]:first-child { - min-width: 18px; -} - -.item > ion-icon:first-child, -.item-inner > ion-icon:first-child { - text-align: center; - min-width: 24px; -} - -.item > ion-icon, -.item-inner > ion-icon { - min-height: 2.8rem; - font-size: 2.8rem; - line-height: 1; -} - -.item > ion-icon[large], -.item-inner > ion-icon[large] { - min-height: 3.2rem; - font-size: 3.2rem; -} - -.item > ion-icon[small], -.item-inner > ion-icon[small] { - min-height: 1.8rem; - font-size: 1.8rem; -} - -ion-avatar, -ion-thumbnail { - display: block; - line-height: 1; -} - -ion-avatar img, -ion-thumbnail img { - display: block; -} - -.item-cover { - left: 0; - top: 0; - position: absolute; - width: 100%; - height: 100%; - background: transparent; - cursor: pointer; -} - -ion-reorder { - -webkit-transform: translate3d(300%, 0, 0); - transform: translate3d(300%, 0, 0); - display: none; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - max-width: 40px; - height: 100%; - font-size: 1.7em; - opacity: .25; - -webkit-transition: -webkit-transform 140ms ease-in; - transition: -webkit-transform 140ms ease-in; - transition: transform 140ms ease-in; - transition: transform 140ms ease-in, -webkit-transform 140ms ease-in; - pointer-events: all; - -ms-touch-action: manipulation; - touch-action: manipulation; -} - -.reorder-side-start ion-reorder { - -webkit-transform: translate3d(-300%, 0, 0); - transform: translate3d(-300%, 0, 0); - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; -} - -ion-reorder ion-icon { - pointer-events: none; -} - -.reorder-enabled ion-reorder { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.reorder-visible ion-reorder { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -.reorder-list-active .item, -.reorder-list-active .item-wrapper { - -webkit-transition: -webkit-transform 300ms; - transition: -webkit-transform 300ms; - transition: transform 300ms; - transition: transform 300ms, -webkit-transform 300ms; - will-change: transform; -} - -.reorder-list-active .item-inner { - pointer-events: none; -} - -.item-wrapper.reorder-active, -.item.reorder-active, -.reorder-active { - z-index: 4; - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); - opacity: .8; - -webkit-transition: none; - transition: none; - pointer-events: none; -} - -ion-item-sliding { - position: relative; - display: block; - overflow: hidden; - width: 100%; -} - -ion-item-sliding .item { - position: static; -} - -ion-item-options { - position: absolute; - z-index: 1; - display: none; - height: 100%; - font-size: 14px; - visibility: hidden; - top: 0; - right: 0; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -ion-item-options[side=left] { - right: auto; - left: 0; - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -ion-item-options .button { - margin: 0; - padding: 0 0.7em; - border-radius: 0; - height: 100%; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} - -ion-item-options .button:last-child { - padding-right: 0.7em; -} - -@media screen and (orientation: landscape) { - ion-item-options .button:last-child { - padding-right: calc(constant(safe-area-inset-right) + 0.7em); - padding-right: calc(env(safe-area-inset-right) + 0.7em); - } -} - -ion-item-options:not([icon-left]) .button:not([icon-only]) .button-inner, -ion-item-options:not([icon-start]) .button:not([icon-only]) .button-inner { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -ion-item-options:not([icon-left]) .button:not([icon-only]) ion-icon, -ion-item-options:not([icon-start]) .button:not([icon-only]) ion-icon { - padding-left: 0; - padding-right: 0; - padding-bottom: 0.3em; -} - -ion-item-sliding.active-slide .item, -ion-item-sliding.active-slide .item.activated { - position: relative; - z-index: 2; - opacity: 1; - -webkit-transition: -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 500ms cubic-bezier(0.36, 0.66, 0.04, 1); - pointer-events: none; - will-change: transform; -} - -ion-item-sliding.active-slide ion-item-options { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -ion-item-sliding.active-slide.active-options-left ion-item-options[side=left], -ion-item-sliding.active-slide.active-options-right ion-item-options:not([side=left]) { - width: 100%; - visibility: visible; -} - -button[expandable] { - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-transition-duration: 0; - transition-duration: 0; - -webkit-transition-property: none; - transition-property: none; - -webkit-transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1); - transition-timing-function: cubic-bezier(0.65, 0.05, 0.36, 1); -} - -ion-item-sliding.active-swipe-right button[expandable] { - -webkit-transition-duration: .6s; - transition-duration: .6s; - -webkit-transition-property: padding-left; - transition-property: padding-left; - padding-left: 90%; - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; -} - -ion-item-sliding.active-swipe-left button[expandable] { - -webkit-transition-duration: .6s; - transition-duration: .6s; - -webkit-transition-property: padding-right; - transition-property: padding-right; - padding-right: 90%; - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; -} - -.item-ios { - padding-left: 16px; - padding-left: 16px; - border-radius: 0; - position: relative; - font-size: 1.7rem; - color: #000; - background-color: #fff; - -webkit-transition: background-color 200ms linear; - transition: background-color 200ms linear; -} - -@media screen and (orientation: landscape) { - .item-ios { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -.item-ios.activated { - background-color: #d9d9d9; - -webkit-transition-duration: 0ms; - transition-duration: 0ms; -} - -.item-ios h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; -} - -.item-ios h2 { - margin: 0 0 2px; - font-size: 1.7rem; - font-weight: normal; -} - -.item-ios h3, -.item-ios h4, -.item-ios h5, -.item-ios h6 { - margin: 0 0 3px; - font-size: 1.4rem; - font-weight: normal; - line-height: normal; -} - -.item-ios p { - overflow: inherit; - font-size: 1.4rem; - line-height: normal; - text-overflow: inherit; - color: #8e9093; - margin: 0 0 2px; -} - -.item-ios h2:last-child, -.item-ios h3:last-child, -.item-ios h4:last-child, -.item-ios h5:last-child, -.item-ios h6:last-child, -.item-ios p:last-child { - margin-bottom: 0; -} - -.item-ios.item-block .item-inner { - padding-right: 8px; - padding-right: 8px; - border-bottom: 0.55px solid #c8c7cc; -} - -@media screen and (orientation: landscape) { - .item-ios.item-block .item-inner { - padding-right: calc(constant(safe-area-inset-right) + 8px); - padding-right: calc(env(safe-area-inset-right) + 8px); - } -} - -.item-ios [item-left], -.item-ios [item-start] { - margin: 8px 16px 8px 0; -} - -.item-ios [item-right], -.item-ios [item-end] { - margin: 8px; -} - -.item-ios ion-icon[item-left], -.item-ios ion-icon[item-right], -.item-ios ion-icon[item-start], -.item-ios ion-icon[item-end] { - margin-left: 0; - margin-top: 9px; - margin-bottom: 8px; -} - -.item-ios .item-button { - padding: 0 0.5em; - height: 24px; - font-size: 1.3rem; -} - -.item-ios .item-button[icon-only] ion-icon, -.item-ios .item-button[icon-only] { - padding: 0 1px; -} - -.item-ios ion-avatar[item-left], -.item-ios ion-thumbnail[item-left], -.item-ios ion-avatar[item-start], -.item-ios ion-thumbnail[item-start] { - margin: 8px 16px 8px 0; -} - -.item-ios ion-avatar[item-right], -.item-ios ion-thumbnail[item-right], -.item-ios ion-avatar[item-end], -.item-ios ion-thumbnail[item-end] { - margin: 8px; -} - -.item-ios ion-avatar { - min-width: 36px; - min-height: 36px; -} - -.item-ios ion-avatar ion-img, -.item-ios ion-avatar img { - border-radius: 50%; - overflow: hidden; - width: 36px; - height: 36px; -} - -.item-ios ion-thumbnail { - min-width: 56px; - min-height: 56px; -} - -.item-ios ion-thumbnail ion-img, -.item-ios ion-thumbnail img { - width: 56px; - height: 56px; -} - -.item-ios[detail-push] .item-inner, -button.item-ios:not([detail-none]) .item-inner, -a.item-ios:not([detail-none]) .item-inner { - background-image: url("data:image/svg+xml;charset=utf-8,"); - padding-right: 32px; - background-position: right 14px center; - background-position: right calc(14px + constant(safe-area-inset-right)) center; - background-position: right calc(14px + env(safe-area-inset-right)) center; - background-repeat: no-repeat; - background-size: 14px 14px; -} - -ion-item-group .item-ios:first-child .item-inner { - border-top-width: 0; -} - -ion-item-group .item-ios:last-child .item-inner, -ion-item-group .item-wrapper:last-child .item-ios .item-inner { - border: 0; -} - -.item-divider-ios { - padding-left: 16px; - padding-left: 16px; - color: #222; - background-color: #f7f7f7; -} - -@media screen and (orientation: landscape) { - .item-divider-ios { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -.item-ios .text-ios-primary { - color: #673AB7; -} - -.item-ios-primary, -.item-divider-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.item-ios-primary p, -.item-divider-ios-primary p { - color: #fff; -} - -.item-ios-primary.activated, -.item-divider-ios-primary.activated { - background-color: #734abd; -} - -.item-ios .text-ios-secondary { - color: #32db64; -} - -.item-ios-secondary, -.item-divider-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.item-ios-secondary p, -.item-divider-ios-secondary p { - color: #fff; -} - -.item-ios-secondary.activated, -.item-divider-ios-secondary.activated { - background-color: #2ec95c; -} - -.item-ios .text-ios-danger { - color: #f53d3d; -} - -.item-ios-danger, -.item-divider-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.item-ios-danger p, -.item-divider-ios-danger p { - color: #fff; -} - -.item-ios-danger.activated, -.item-divider-ios-danger.activated { - background-color: #e13838; -} - -.item-ios .text-ios-light { - color: #f4f4f4; -} - -.item-ios-light, -.item-divider-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.item-ios-light p, -.item-divider-ios-light p { - color: #000; -} - -.item-ios-light.activated, -.item-divider-ios-light.activated { - background-color: #e0e0e0; -} - -.item-ios .text-ios-dark { - color: #222; -} - -.item-ios-dark, -.item-divider-ios-dark { - color: #fff; - background-color: #222; -} - -.item-ios-dark p, -.item-divider-ios-dark p { - color: #fff; -} - -.item-ios-dark.activated, -.item-divider-ios-dark.activated { - background-color: #343434; -} - -.item-ios .text-ios-optblue { - color: #E00201; -} - -.item-ios-optblue, -.item-divider-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.item-ios-optblue p, -.item-divider-ios-optblue p { - color: #fff; -} - -.item-ios-optblue.activated, -.item-divider-ios-optblue.activated { - background-color: #e21615; -} - -.list-ios ion-item-sliding { - background-color: #fff; -} - -.item-md { - padding-left: 16px; - padding-right: 0; - position: relative; - font-size: 1.6rem; - font-weight: normal; - text-transform: none; - color: #000; - background-color: #fff; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1); - transition: background-color 300ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.item-md.activated { - background-color: #f1f1f1; -} - -.item-md[no-lines] { - border-width: 0; -} - -.item-md h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; -} - -.item-md h2 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: normal; -} - -.item-md h3, -.item-md h4, -.item-md h5, -.item-md h6 { - margin: 2px 0; - font-size: 1.4rem; - font-weight: normal; - line-height: normal; -} - -.item-md p { - margin: 0 0 2px; - overflow: inherit; - font-size: 1.4rem; - line-height: normal; - text-overflow: inherit; - color: #666; -} - -.item-md.item-block .item-inner { - padding-right: 8px; - border-bottom: 1px solid #dedede; -} - -.item-md [item-left], -.item-md [item-right], -.item-md [item-start], -.item-md [item-end] { - margin: 9px 8px 9px 0; -} - -.item-md ion-icon[item-left], -.item-md ion-icon[item-right], -.item-md ion-icon[item-start], -.item-md ion-icon[item-end] { - margin-left: 0; - margin-top: 11px; - margin-bottom: 10px; -} - -.item-md .item-button { - padding: 0 0.6em; - height: 25px; - font-size: 1.2rem; -} - -.item-md .item-button[icon-only] ion-icon, -.item-md .item-button[icon-only] { - padding: 0 1px; -} - -.item-md ion-icon[item-left] + .item-inner, -.item-md ion-icon[item-left] + .item-input, -.item-md ion-icon[item-start] + .item-inner, -.item-md ion-icon[item-start] + .item-input { - margin-left: 24px; -} - -.item-md ion-avatar[item-left], -.item-md ion-thumbnail[item-left], -.item-md ion-avatar[item-start], -.item-md ion-thumbnail[item-start] { - margin: 8px 16px 8px 0; -} - -.item-md ion-avatar[item-right], -.item-md ion-thumbnail[item-right], -.item-md ion-avatar[item-end], -.item-md ion-thumbnail[item-end] { - margin: 8px; -} - -.item-md ion-avatar { - min-width: 40px; - min-height: 40px; -} - -.item-md ion-avatar ion-img, -.item-md ion-avatar img { - border-radius: 50%; - overflow: hidden; - width: 40px; - height: 40px; -} - -.item-md ion-thumbnail { - min-width: 80px; - min-height: 80px; -} - -.item-md ion-thumbnail ion-img, -.item-md ion-thumbnail img { - width: 80px; - height: 80px; -} - -ion-item-group .item-md:first-child .item-inner { - border-top-width: 0; -} - -ion-item-group .item-md:last-child .item-inner, -ion-item-group .item-md .item-wrapper:last-child .item-inner { - border: 0; -} - -.item-divider-md { - padding-left: 16px; - border-bottom: 1px solid #dedede; - font-size: 1.4rem; - color: #858585; - background-color: #fff; -} - -.item-md .text-md-primary { - color: #673AB7; -} - -.item-md-primary, -.item-divider-md-primary { - color: #fff; - background-color: #673AB7; -} - -.item-md-primary p, -.item-divider-md-primary p { - color: #fff; -} - -.item-md-primary.activated, -.item-divider-md-primary.activated { - background-color: #734abd; -} - -.item-md .text-md-secondary { - color: #32db64; -} - -.item-md-secondary, -.item-divider-md-secondary { - color: #fff; - background-color: #32db64; -} - -.item-md-secondary p, -.item-divider-md-secondary p { - color: #fff; -} - -.item-md-secondary.activated, -.item-divider-md-secondary.activated { - background-color: #2ec95c; -} - -.item-md .text-md-danger { - color: #f53d3d; -} - -.item-md-danger, -.item-divider-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.item-md-danger p, -.item-divider-md-danger p { - color: #fff; -} - -.item-md-danger.activated, -.item-divider-md-danger.activated { - background-color: #e13838; -} - -.item-md .text-md-light { - color: #f4f4f4; -} - -.item-md-light, -.item-divider-md-light { - color: #000; - background-color: #f4f4f4; -} - -.item-md-light p, -.item-divider-md-light p { - color: #000; -} - -.item-md-light.activated, -.item-divider-md-light.activated { - background-color: #e0e0e0; -} - -.item-md .text-md-dark { - color: #222; -} - -.item-md-dark, -.item-divider-md-dark { - color: #fff; - background-color: #222; -} - -.item-md-dark p, -.item-divider-md-dark p { - color: #fff; -} - -.item-md-dark.activated, -.item-divider-md-dark.activated { - background-color: #343434; -} - -.item-md .text-md-optblue { - color: #E00201; -} - -.item-md-optblue, -.item-divider-md-optblue { - color: #fff; - background-color: #E00201; -} - -.item-md-optblue p, -.item-divider-md-optblue p { - color: #fff; -} - -.item-md-optblue.activated, -.item-divider-md-optblue.activated { - background-color: #e21615; -} - -.list-md ion-item-sliding { - background-color: #fff; -} - -.item-md ion-reorder { - font-size: 1.5em; - opacity: .3; -} - -.item-wp { - padding-left: 16px; - padding-right: 0; - position: relative; - font-size: 1.6rem; - font-weight: normal; - text-transform: none; - color: #000; - background-color: #fff; - -webkit-box-shadow: none; - box-shadow: none; -} - -.item-wp.activated { - background-color: #aaa; -} - -.item-wp[no-lines] { - border-width: 0; -} - -.item-wp h1 { - margin: 0 0 2px; - font-size: 2.4rem; - font-weight: normal; -} - -.item-wp h2 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: normal; -} - -.item-wp h3, -.item-wp h4, -.item-wp h5, -.item-wp h6 { - margin: 2px 0; - font-size: 1.4rem; - font-weight: normal; - line-height: normal; -} - -.item-wp p { - margin: 0 0 2px; - overflow: inherit; - font-size: 1.4rem; - line-height: normal; - text-overflow: inherit; - color: #666; -} - -.item-wp.item-block .item-inner { - padding-right: 8px; - border-bottom: 1px solid transparent; -} - -.item-wp [item-left], -.item-wp [item-right], -.item-wp [item-start], -.item-wp [item-end] { - margin: 9px 8px 9px 0; -} - -.item-wp ion-icon[item-left], -.item-wp ion-icon[item-right], -.item-wp ion-icon[item-start], -.item-wp ion-icon[item-end] { - margin-left: 0; - margin-top: 11px; - margin-bottom: 10px; -} - -.item-wp .item-button { - padding: 0 0.6em; - height: 25px; - font-size: 1.2rem; -} - -.item-wp .item-button[icon-only] ion-icon, -.item-wp .item-button[icon-only] { - padding: 0 1px; -} - -.item-wp[text-wrap] ion-label { - font-size: 1.4rem; - line-height: 1.5; -} - -.item-wp ion-icon[item-left] + .item-inner, -.item-wp ion-icon[item-left] + .item-input, -.item-wp ion-icon[item-start] + .item-inner, -.item-wp ion-icon[item-start] + .item-input { - margin-left: 8px; -} - -.item-wp ion-avatar[item-left], -.item-wp ion-thumbnail[item-left], -.item-wp ion-avatar[item-start], -.item-wp ion-thumbnail[item-start] { - margin: 8px 16px 8px 0; -} - -.item-wp ion-avatar[item-right], -.item-wp ion-thumbnail[item-right], -.item-wp ion-avatar[item-end], -.item-wp ion-thumbnail[item-end] { - margin: 8px; -} - -.item-wp ion-avatar { - min-width: 40px; - min-height: 40px; -} - -.item-wp ion-avatar ion-img, -.item-wp ion-avatar img { - border-radius: 50%; - overflow: hidden; - width: 40px; - height: 40px; -} - -.item-wp ion-thumbnail { - min-width: 80px; - min-height: 80px; -} - -.item-wp ion-thumbnail ion-img, -.item-wp ion-thumbnail img { - width: 80px; - height: 80px; -} - -.item-divider-wp { - padding-left: 16px; - border-bottom: 1px solid transparent; - font-size: 2rem; - color: #000; - background-color: #fff; -} - -.item-wp .text-wp-primary { - color: #673AB7; -} - -.item-wp-primary, -.item-divider-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.item-wp-primary p, -.item-divider-wp-primary p { - color: #fff; -} - -.item-wp-primary.activated, -.item-divider-wp-primary.activated { - background-color: #734abd; -} - -.item-wp .text-wp-secondary { - color: #32db64; -} - -.item-wp-secondary, -.item-divider-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.item-wp-secondary p, -.item-divider-wp-secondary p { - color: #fff; -} - -.item-wp-secondary.activated, -.item-divider-wp-secondary.activated { - background-color: #2ec95c; -} - -.item-wp .text-wp-danger { - color: #f53d3d; -} - -.item-wp-danger, -.item-divider-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.item-wp-danger p, -.item-divider-wp-danger p { - color: #fff; -} - -.item-wp-danger.activated, -.item-divider-wp-danger.activated { - background-color: #e13838; -} - -.item-wp .text-wp-light { - color: #f4f4f4; -} - -.item-wp-light, -.item-divider-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.item-wp-light p, -.item-divider-wp-light p { - color: #000; -} - -.item-wp-light.activated, -.item-divider-wp-light.activated { - background-color: #e0e0e0; -} - -.item-wp .text-wp-dark { - color: #222; -} - -.item-wp-dark, -.item-divider-wp-dark { - color: #fff; - background-color: #222; -} - -.item-wp-dark p, -.item-divider-wp-dark p { - color: #fff; -} - -.item-wp-dark.activated, -.item-divider-wp-dark.activated { - background-color: #343434; -} - -.item-wp .text-wp-optblue { - color: #E00201; -} - -.item-wp-optblue, -.item-divider-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.item-wp-optblue p, -.item-divider-wp-optblue p { - color: #fff; -} - -.item-wp-optblue.activated, -.item-divider-wp-optblue.activated { - background-color: #e21615; -} - -.list-wp ion-item-sliding { - background-color: #fff; -} - -ion-label { - margin: 0; - display: block; - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - font-size: inherit; - text-overflow: ellipsis; - white-space: nowrap; -} - -.item-input ion-label { - -webkit-box-flex: initial; - -webkit-flex: initial; - -ms-flex: initial; - flex: initial; - max-width: 200px; - pointer-events: none; -} - -[text-wrap] ion-label { - white-space: normal; -} - -ion-label[fixed] { - -webkit-box-flex: 0; - -webkit-flex: 0 0 100px; - -ms-flex: 0 0 100px; - flex: 0 0 100px; - width: 100px; - min-width: 100px; - max-width: 200px; -} - -.item-label-stacked ion-label, -.item-label-floating ion-label { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - width: auto; - max-width: 100%; -} - -ion-label[stacked], -ion-label[floating] { - margin-bottom: 0; -} - -.item-label-stacked .input-wrapper, -.item-label-floating .input-wrapper { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.item-label-stacked ion-select, -.item-label-floating ion-select { - -webkit-align-self: stretch; - -ms-flex-item-align: stretch; - align-self: stretch; - max-width: 100%; -} - -.label-ios { - margin: 11px 8px 11px 0; -} - -.label-ios + ion-input .text-input, -.label-ios + ion-textarea .text-input, -.label-ios + .input + .cloned-input { - margin-left: 16px; - width: calc(100% - (16px / 2) - 16px); -} - -.label-ios[stacked] { - margin-bottom: 4px; - font-size: 1.2rem; -} - -.label-ios[floating] { - margin-bottom: 0; - -webkit-transform: translate3d(0, 27px, 0); - transform: translate3d(0, 27px, 0); - -webkit-transform-origin: left top; - transform-origin: left top; - -webkit-transition: -webkit-transform 150ms ease-in-out; - transition: -webkit-transform 150ms ease-in-out; - transition: transform 150ms ease-in-out; - transition: transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out; -} - -.item-input-has-focus .label-ios[floating], -.input-has-focus .label-ios[floating], -.item-input-has-value .label-ios[floating], -.input-has-value .label-ios[floating] { - -webkit-transform: translate3d(0, 0, 0) scale(0.8); - transform: translate3d(0, 0, 0) scale(0.8); -} - -.item-ios.item-label-stacked [item-right], -.item-ios.item-label-floating [item-right], -.item-ios.item-label-stacked [item-end], -.item-ios.item-label-floating [item-end] { - margin-top: 6px; - margin-bottom: 6px; -} - -.label-ios-primary, -.item-input .label-ios-primary, -.item-select .label-ios-primary, -.item-datetime .label-ios-primary { - color: #673AB7; -} - -.label-ios-secondary, -.item-input .label-ios-secondary, -.item-select .label-ios-secondary, -.item-datetime .label-ios-secondary { - color: #32db64; -} - -.label-ios-danger, -.item-input .label-ios-danger, -.item-select .label-ios-danger, -.item-datetime .label-ios-danger { - color: #f53d3d; -} - -.label-ios-light, -.item-input .label-ios-light, -.item-select .label-ios-light, -.item-datetime .label-ios-light { - color: #f4f4f4; -} - -.label-ios-dark, -.item-input .label-ios-dark, -.item-select .label-ios-dark, -.item-datetime .label-ios-dark { - color: #222; -} - -.label-ios-optblue, -.item-input .label-ios-optblue, -.item-select .label-ios-optblue, -.item-datetime .label-ios-optblue { - color: #E00201; -} - -.label-md { - margin: 13px 8px 13px 0; -} - -[text-wrap] .label-md { - font-size: 1.4rem; - line-height: 1.5; -} - -.item-input .label-md, -.item-select .label-md, -.item-datetime .label-md { - color: #999; -} - -.label-md[stacked] { - font-size: 1.2rem; -} - -.label-md[floating] { - -webkit-transform: translate3d(0, 27px, 0); - transform: translate3d(0, 27px, 0); - -webkit-transform-origin: left top; - transform-origin: left top; - -webkit-transition: -webkit-transform 150ms ease-in-out; - transition: -webkit-transform 150ms ease-in-out; - transition: transform 150ms ease-in-out; - transition: transform 150ms ease-in-out, -webkit-transform 150ms ease-in-out; -} - -.label-md[stacked], -.label-md[floating] { - margin-left: 0; - margin-bottom: 0; -} - -.item-input-has-focus .label-md[stacked], -.input-has-focus .label-md[stacked], -.item-input-has-focus .label-md[floating], -.input-has-focus .label-md[floating] { - color: #673AB7; -} - -.item-input-has-focus .label-md[floating], -.input-has-focus .label-md[floating], -.item-input-has-value .label-md[floating], -.input-has-value .label-md[floating] { - -webkit-transform: translate3d(0, 0, 0) scale(0.8); - transform: translate3d(0, 0, 0) scale(0.8); -} - -.item-md.item-label-stacked [item-right], -.item-md.item-label-floating [item-right], -.item-md.item-label-stacked [item-end], -.item-md.item-label-floating [item-end] { - margin-top: 7px; - margin-bottom: 7px; -} - -.label-md-primary, -.item-input .label-md-primary, -.item-select .label-md-primary, -.item-datetime .label-md-primary { - color: #673AB7; -} - -.label-md-secondary, -.item-input .label-md-secondary, -.item-select .label-md-secondary, -.item-datetime .label-md-secondary { - color: #32db64; -} - -.label-md-danger, -.item-input .label-md-danger, -.item-select .label-md-danger, -.item-datetime .label-md-danger { - color: #f53d3d; -} - -.label-md-light, -.item-input .label-md-light, -.item-select .label-md-light, -.item-datetime .label-md-light { - color: #f4f4f4; -} - -.label-md-dark, -.item-input .label-md-dark, -.item-select .label-md-dark, -.item-datetime .label-md-dark { - color: #222; -} - -.label-md-optblue, -.item-input .label-md-optblue, -.item-select .label-md-optblue, -.item-datetime .label-md-optblue { - color: #E00201; -} - -.label-wp { - margin: 13px 8px 13px 0; -} - -.item-input .label-wp, -.item-select .label-wp, -.item-datetime .label-wp { - color: #999; -} - -.label-wp[stacked] { - font-size: 1.2rem; -} - -.label-wp[floating] { - -webkit-transform: translate3d(8px, 34px, 0); - transform: translate3d(8px, 34px, 0); - -webkit-transform-origin: left top; - transform-origin: left top; -} - -.label-wp[stacked], -.label-wp[floating] { - margin-left: 0; - margin-bottom: 0; -} - -.item-input-has-focus .label-wp[stacked], -.input-has-focus .label-wp[stacked], -.item-input-has-focus .label-wp[floating], -.input-has-focus .label-wp[floating] { - color: #673AB7; -} - -.item-input-has-focus .label-wp[floating], -.input-has-focus .label-wp[floating], -.item-input-has-value .label-wp[floating], -.input-has-value .label-wp[floating] { - -webkit-transform: translate3d(0, 0, 0) scale(0.8); - transform: translate3d(0, 0, 0) scale(0.8); -} - -.item-wp.item-label-stacked [item-right], -.item-wp.item-label-floating [item-right], -.item-wp.item-label-stacked [item-end], -.item-wp.item-label-floating [item-end] { - margin-top: 13px; - margin-bottom: 13px; -} - -.label-wp-primary, -.item-input .label-wp-primary, -.item-select .label-wp-primary, -.item-datetime .label-wp-primary { - color: #673AB7; -} - -.label-wp-secondary, -.item-input .label-wp-secondary, -.item-select .label-wp-secondary, -.item-datetime .label-wp-secondary { - color: #32db64; -} - -.label-wp-danger, -.item-input .label-wp-danger, -.item-select .label-wp-danger, -.item-datetime .label-wp-danger { - color: #f53d3d; -} - -.label-wp-light, -.item-input .label-wp-light, -.item-select .label-wp-light, -.item-datetime .label-wp-light { - color: #f4f4f4; -} - -.label-wp-dark, -.item-input .label-wp-dark, -.item-select .label-wp-dark, -.item-datetime .label-wp-dark { - color: #222; -} - -.label-wp-optblue, -.item-input .label-wp-optblue, -.item-select .label-wp-optblue, -.item-datetime .label-wp-optblue { - color: #E00201; -} - -ion-list-header { - margin: 0; - padding: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - min-height: 4rem; -} - -ion-list { - margin: 0; - padding: 0; - display: block; - list-style-type: none; -} - -ion-list[inset] { - overflow: hidden; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.list-ios { - margin: -1px 0 32px; -} - -.list-ios > .item-block:first-child { - border-top: 0.55px solid #c8c7cc; -} - -.list-ios > .item-block:last-child, -.list-ios > .item-wrapper:last-child .item-block { - border-bottom: 0.55px solid #c8c7cc; -} - -.list-ios > .item-block:last-child .item-inner, -.list-ios > .item-wrapper:last-child .item-block .item-inner { - border-bottom: 0; -} - -.list-ios .item-block .item-inner { - border-bottom: 0.55px solid #c8c7cc; -} - -.list-ios .item[no-lines], -.list-ios .item[no-lines] .item-inner { - border-width: 0; -} - -.list-ios ion-item-options { - border-bottom: 0.55px solid #c8c7cc; -} - -.list-ios ion-item-options .button { - margin: 0; - border-radius: 0; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - height: 100%; - min-height: 100%; - border: 0; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.list-ios ion-item-options .button::before { - margin: 0 auto; -} - -.list-ios:not([inset]) + .list-ios:not([inset]) ion-list-header { - margin-top: -10px; - padding-top: 0; -} - -.list-ios[inset] { - margin: 16px; - border-radius: 4px; -} - -.list-ios[inset] ion-list-header { - background-color: #fff; -} - -.list-ios[inset] .item { - border-bottom: 1px solid #c8c7cc; -} - -.list-ios[inset] .item-inner { - border-bottom: 0; -} - -.list-ios[inset] > .item:first-child, -.list-ios[inset] > .item-wrapper:first-child .item { - border-top: 0; -} - -.list-ios[inset] > .item:last-child, -.list-ios[inset] > .item-wrapper:last-child .item { - border-bottom: 0; -} - -.list-ios[inset] + ion-list[inset] { - margin-top: 0; -} - -.list-ios[no-lines] ion-list-header, -.list-ios[no-lines] ion-item-options, -.list-ios[no-lines] .item, -.list-ios[no-lines] .item .item-inner { - border-width: 0; -} - -.list-header-ios { - padding-left: 16px; - padding-left: 16px; - position: relative; - border-bottom: 0.55px solid #c8c7cc; - font-size: 1.2rem; - font-weight: 500; - letter-spacing: 0.1rem; - text-transform: uppercase; - color: #333; - background: transparent; -} - -@media screen and (orientation: landscape) { - .list-header-ios { - padding-left: calc(constant(safe-area-inset-left) + 16px); - padding-left: calc(env(safe-area-inset-left) + 16px); - } -} - -.list-header-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.list-header-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.list-header-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.list-header-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.list-header-ios-dark { - color: #fff; - background-color: #222; -} - -.list-header-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.list-md { - margin: -1px 0 16px; -} - -.list-md .item-block .item-inner { - border-bottom: 1px solid #dedede; -} - -.list-md > .item-block:last-child ion-label, -.list-md > .item-block:last-child .item-inner, -.list-md > .item-wrapper:last-child ion-label, -.list-md > .item-wrapper:last-child .item-inner { - border-bottom: 0; -} - -.list-md > ion-input:last-child::after { - left: 0; -} - -.list-md ion-item-options { - border-bottom: 1px solid #dedede; -} - -.list-md ion-item-options .button { - margin: 0; - border-radius: 0; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - height: 100%; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.list-md ion-item-options .button::before { - margin: 0 auto; -} - -.list-md .item[no-lines], -.list-md .item[no-lines] .item-inner { - border-width: 0; -} - -.list-md + ion-list ion-list-header { - margin-top: -16px; -} - -.list-md[inset] { - margin: 16px; - border-radius: 2px; -} - -.list-md[inset] .item:first-child { - border-top-left-radius: 2px; - border-top-right-radius: 2px; - border-top-width: 0; -} - -.list-md[inset] .item:last-child { - border-bottom-right-radius: 2px; - border-bottom-left-radius: 2px; - border-bottom-width: 0; -} - -.list-md[inset] .item-input { - padding-left: 0; - padding-right: 0; -} - -.list-md[inset] + ion-list[inset] { - margin-top: 0; -} - -.list-md[inset] ion-list-header { - background-color: #fff; -} - -.list-md[no-lines] .item-block, -.list-md[no-lines] ion-item-options, -.list-md[no-lines] .item .item-inner { - border-width: 0; -} - -.list-header-md { - padding-left: 16px; - margin-bottom: 13px; - min-height: 4.5rem; - border-top: 1px solid #dedede; - font-size: 1.4rem; - color: #757575; -} - -.list-header-md-primary { - color: #fff; - background-color: #673AB7; -} - -.list-header-md-secondary { - color: #fff; - background-color: #32db64; -} - -.list-header-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.list-header-md-light { - color: #000; - background-color: #f4f4f4; -} - -.list-header-md-dark { - color: #fff; - background-color: #222; -} - -.list-header-md-optblue { - color: #fff; - background-color: #E00201; -} - -.list-md .item-input:last-child { - border-bottom: 1px solid #dedede; -} - -.list-wp { - margin: 0 0 16px; -} - -.list-wp .item-block .item-inner { - border-bottom: 1px solid transparent; -} - -.list-wp > .item-block:first-child, -.list-wp > .item-wrapper:first-child .item-block { - border-top: 1px solid transparent; -} - -.list-wp > .item-block:last-child, -.list-wp > .item-wrapper:last-child .item-block { - border-bottom: 1px solid transparent; -} - -.list-wp > .item-block:last-child ion-label, -.list-wp > .item-block:last-child .item-inner, -.list-wp > .item-wrapper:last-child ion-label, -.list-wp > .item-wrapper:last-child .item-inner { - border-bottom: 0; -} - -.list-wp > ion-input:last-child::after { - left: 0; -} - -.list-wp ion-item-options .button { - margin: 1px 0; - border-radius: 0; - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - height: calc(100% - 2px); - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.list-wp ion-item-options .button::before { - margin: 0 auto; -} - -.list-wp .item[no-lines], -.list-wp .item[no-lines] .item-inner { - border-width: 0; -} - -.list-wp + ion-list ion-list-header { - margin-top: -16px; - padding-top: 0; -} - -.list-wp[inset] { - margin: 16px; - border-radius: 2px; -} - -.list-wp[inset] .item:first-child { - border-top-left-radius: 2px; - border-top-right-radius: 2px; - border-top-width: 0; -} - -.list-wp[inset] .item:last-child { - border-bottom-right-radius: 2px; - border-bottom-left-radius: 2px; - border-bottom-width: 0; -} - -.list-wp[inset] .item-input { - padding-left: 0; - padding-right: 0; -} - -.list-wp[inset] + ion-list[inset] { - margin-top: 0; -} - -.list-wp[inset] ion-list-header { - background-color: #fff; -} - -.list-wp[no-lines] .item, -.list-wp[no-lines] .item .item-inner { - border-width: 0; -} - -.list-header-wp { - padding-left: 16px; - border-bottom: 1px solid transparent; - font-size: 2rem; - color: #000; -} - -.list-header-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.list-header-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.list-header-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.list-header-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.list-header-wp-dark { - color: #fff; - background-color: #222; -} - -.list-header-wp-optblue { - color: #fff; - background-color: #E00201; -} - -ion-loading { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - z-index: 1000; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - contain: strict; -} - -.loading-wrapper { - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - opacity: 0; -} - -.loading-ios .loading-wrapper { - border-radius: 8px; - max-width: 270px; - max-height: 90%; - color: #000; - background: #f8f8f8; - padding: 24px 34px; -} - -.loading-ios .loading-content { - font-weight: bold; -} - -.loading-ios .loading-spinner + .loading-content { - margin-left: 16px; -} - -.loading-ios .spinner-ios line, -.loading-ios .spinner-ios-small line { - stroke: #69717d; -} - -.loading-ios .spinner-bubbles circle { - fill: #69717d; -} - -.loading-ios .spinner-circles circle { - fill: #69717d; -} - -.loading-ios .spinner-crescent circle { - stroke: #69717d; -} - -.loading-ios .spinner-dots circle { - fill: #69717d; -} - -.loading-md .loading-wrapper { - border-radius: 2px; - max-width: 280px; - max-height: 90%; - color: rgba(0, 0, 0, 0.5); - background: #fafafa; - -webkit-box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); - box-shadow: 0 16px 20px rgba(0, 0, 0, 0.4); - padding: 24px; -} - -.loading-md .loading-spinner + .loading-content { - margin-left: 16px; -} - -.loading-md .spinner-ios line, -.loading-md .spinner-ios-small line { - stroke: #673AB7; -} - -.loading-md .spinner-bubbles circle { - fill: #673AB7; -} - -.loading-md .spinner-circles circle { - fill: #673AB7; -} - -.loading-md .spinner-crescent circle { - stroke: #673AB7; -} - -.loading-md .spinner-dots circle { - fill: #673AB7; -} - -.loading-wp .loading-wrapper { - border-radius: 2px; - max-width: 280px; - max-height: 90%; - color: #fff; - background: #000; - padding: 20px; -} - -.loading-wp .loading-spinner + .loading-content { - margin-left: 16px; -} - -.loading-wp .spinner-ios line, -.loading-wp .spinner-ios-small line { - stroke: #fff; -} - -.loading-wp .spinner-bubbles circle { - fill: #fff; -} - -.loading-wp .spinner-circles circle { - fill: #fff; -} - -.loading-wp .spinner-crescent circle { - stroke: #fff; -} - -.loading-wp .spinner-dots circle { - fill: #fff; -} - -ion-menu { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - display: none; - contain: strict; -} - -ion-menu.show-menu { - display: block; -} - -.menu-inner { - left: 0; - right: auto; - top: 0; - bottom: 0; - -webkit-transform: translate3d(-9999px, 0, 0); - transform: translate3d(-9999px, 0, 0); - position: absolute; - display: block; - width: 304px; - height: 100%; - contain: strict; -} - -.menu-inner > ion-header, -.menu-inner > ion-content, -.menu-inner > ion-footer { - position: absolute; -} - -ion-menu[side=left] > .menu-inner { - right: auto; - left: 0; -} - -ion-menu[side=right] > .menu-inner { - right: 0; - left: auto; -} - -ion-menu[side=end] > .menu-inner { - left: auto; - right: 0; -} - -ion-menu ion-backdrop { - z-index: -1; - display: none; - opacity: .01; -} - -.menu-content { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -.menu-content-open { - cursor: pointer; - -ms-touch-action: manipulation; - touch-action: manipulation; -} - -.menu-content-open ion-pane, -.menu-content-open ion-content, -.menu-content-open .toolbar { - pointer-events: none; -} - -@media (max-width: 340px) { - .menu-inner { - width: 264px; - } -} - -ion-menu[type=reveal] { - z-index: 0; -} - -ion-menu[type=reveal].show-menu .menu-inner { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -ion-menu[type=overlay] { - z-index: 80; -} - -ion-menu[type=overlay] .show-backdrop { - display: block; -} - -.ios .menu-inner { - background: #fff; -} - -.ios .menu-content-reveal { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.ios .menu-content-push { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.ios ion-menu[type=overlay] .menu-inner { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.md .menu-inner { - background: #fff; -} - -.md .menu-content-reveal { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.md .menu-content-push { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.md ion-menu[type=overlay] .menu-inner { - -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); - box-shadow: 0 0 10px rgba(0, 0, 0, 0.25); -} - -.wp .menu-inner { - background: #f2f2f2; -} - -ion-modal { - left: 0; - top: 0; - position: absolute; - display: block; - width: 100%; - height: 100%; - contain: strict; -} - -@media not all and (min-width: 768px) and (min-height: 600px) { - ion-modal ion-backdrop { - visibility: hidden; - } -} - -.modal-wrapper { - z-index: 10; - height: 100%; - contain: strict; -} - -@media only screen and (min-width: 768px) and (min-height: 600px) { - .modal-wrapper { - left: calc(50% - (600px/2)); - top: calc(50% - (500px/2)); - position: absolute; - width: 600px; - height: 500px; - } -} - -@media only screen and (min-width: 768px) and (min-height: 768px) { - .modal-wrapper { - left: calc(50% - (600px/2)); - top: calc(50% - (600px/2)); - position: absolute; - width: 600px; - height: 600px; - } -} - -.ios .modal-wrapper { - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); -} - -@media only screen and (min-width: 768px) and (min-height: 600px) { - .ios .modal-wrapper { - border-radius: 10px; - overflow: hidden; - } -} - -.md .modal-wrapper { - -webkit-transform: translate3d(0, 40px, 0); - transform: translate3d(0, 40px, 0); - opacity: .01; -} - -@media only screen and (min-width: 768px) and (min-height: 600px) { - .md .modal-wrapper { - border-radius: 2px; - overflow: hidden; - -webkit-box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4); - box-shadow: 0 28px 48px rgba(0, 0, 0, 0.4); - } -} - -.wp .modal-wrapper { - -webkit-transform: translate3d(0, 40px, 0); - transform: translate3d(0, 40px, 0); - opacity: .01; -} - -.note-ios { - color: #aeacb4; -} - -.note-ios-primary { - color: #673AB7; -} - -.note-ios-secondary { - color: #32db64; -} - -.note-ios-danger { - color: #f53d3d; -} - -.note-ios-light { - color: #f4f4f4; -} - -.note-ios-dark { - color: #222; -} - -.note-ios-optblue { - color: #E00201; -} - -.note-md { - color: #c5c5c5; -} - -.note-md-primary { - color: #673AB7; -} - -.note-md-secondary { - color: #32db64; -} - -.note-md-danger { - color: #f53d3d; -} - -.note-md-light { - color: #f4f4f4; -} - -.note-md-dark { - color: #222; -} - -.note-md-optblue { - color: #E00201; -} - -.note-wp { - color: rgba(0, 0, 0, 0.5); -} - -.note-wp-primary { - color: #673AB7; -} - -.note-wp-secondary { - color: #32db64; -} - -.note-wp-danger { - color: #f53d3d; -} - -.note-wp-light { - color: #f4f4f4; -} - -.note-wp-dark { - color: #222; -} - -.note-wp-optblue { - color: #E00201; -} - -ion-picker-cmp { - left: 0; - top: 0; - position: absolute; - z-index: 1000; - display: block; - width: 100%; - height: 100%; - contain: strict; -} - -.picker-toolbar { - z-index: 1; - width: 100%; - contain: strict; -} - -.picker-wrapper { - left: 0; - right: 0; - bottom: 0; - margin: auto; - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - position: absolute; - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - width: 100%; - max-width: 500px; - contain: strict; -} - -.picker-columns { - margin-bottom: constant(safe-area-inset-bottom); - margin-bottom: env(safe-area-inset-bottom); - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - contain: strict; -} - -.picker-col { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - height: 100%; - -webkit-box-sizing: content-box; - box-sizing: content-box; - contain: content; -} - -.picker-opts { - position: relative; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - max-width: 100%; -} - -.picker-prefix { - text-align: right; - text-align: end; - position: relative; - -webkit-box-flex: 2; - -webkit-flex: 2; - -ms-flex: 2; - flex: 2; - min-width: 45%; - max-width: 50%; - white-space: nowrap; -} - -.picker-suffix { - text-align: left; - text-align: start; - position: relative; - -webkit-box-flex: 2; - -webkit-flex: 2; - -ms-flex: 2; - flex: 2; - min-width: 45%; - max-width: 50%; - white-space: nowrap; -} - -.picker-opt { - left: 0; - top: 0; - text-align: center; - position: absolute; - display: block; - overflow: hidden; - width: 100%; - text-overflow: ellipsis; - white-space: nowrap; - will-change: transform; - contain: strict; -} - -.picker-opt.picker-opt-disabled { - pointer-events: none; -} - -.picker-opt-disabled { - opacity: 0; -} - -.picker-opts-left { - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -.picker-opts-right { - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; -} - -.picker-above-highlight, -.picker-below-highlight { - display: none; - pointer-events: none; -} - -.picker-ios .picker-wrapper { - height: 260px; - border-top: 1px solid #c8c7cc; - background: #fff; -} - -.picker-ios .picker-toolbar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - height: 44px; - border-bottom: 0.55px solid #c8c7cc; - background: #fff; -} - -.picker-ios .picker-toolbar-button { - text-align: right; - text-align: end; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.picker-ios .picker-toolbar-button:last-child .picker-button { - font-weight: 600; -} - -.picker-ios .picker-toolbar-cancel { - text-align: left; - text-align: start; - font-weight: normal; -} - -.picker-ios .picker-button, -.picker-ios .picker-button.activated { - margin: 0; - height: 44px; - color: #673AB7; - background: transparent; -} - -.picker-columns { - height: 215px; - -webkit-perspective: 1000px; - perspective: 1000px; -} - -.picker-ios .picker-col { - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - padding: 0 4px; -} - -.picker-ios .picker-prefix, -.picker-ios .picker-suffix, -.picker-ios .picker-opts { - top: 77px; - font-size: 20px; - line-height: 42px; - color: #000; - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - pointer-events: none; -} - -.picker-ios .picker-opt { - margin: 0; - -webkit-transform-origin: center center; - transform-origin: center center; - height: 4.6rem; - font-size: 20px; - line-height: 42px; - color: #000; - background: transparent; - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - -webkit-transition-timing-function: ease-out; - transition-timing-function: ease-out; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - pointer-events: auto; - padding: 0; -} - -.picker-ios .picker-above-highlight { - left: 0; - top: 0; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 10; - display: block; - width: 100%; - height: 81px; - border-bottom: 1px solid #c8c7cc; - background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to bottom, white 20%, rgba(255, 255, 255, 0.7) 100%); -} - -.picker-ios .picker-below-highlight { - left: 0; - top: 115px; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 11; - display: block; - width: 100%; - height: 119px; - border-top: 1px solid #c8c7cc; - background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.7) 100%); -} - -.picker-md .picker-wrapper { - height: 260px; - border-top: 0.55px solid #dedede; - background: #fff; -} - -.picker-md .picker-toolbar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - height: 44px; - background: #fff; -} - -.picker-md .picker-button, -.picker-md .picker-button.activated { - margin: 0; - height: 44px; - color: #673AB7; - background: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} - -.picker-md .picker-columns { - height: 216px; - -webkit-perspective: 1800px; - perspective: 1800px; -} - -.picker-md .picker-col { - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - padding: 0 8px; -} - -.picker-md .picker-prefix, -.picker-md .picker-suffix, -.picker-md .picker-opts { - top: 77px; - font-size: 22px; - line-height: 42px; - color: #000; - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - pointer-events: none; -} - -.picker-md .picker-opt { - margin: 0; - height: 4.3rem; - font-size: 22px; - line-height: 42px; - color: #000; - background: transparent; - -webkit-transition-timing-function: ease-out; - transition-timing-function: ease-out; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - pointer-events: auto; - padding: 0; -} - -.picker-md .picker-prefix, -.picker-md .picker-suffix, -.picker-md .picker-opt.picker-opt-selected { - color: #673AB7; -} - -.picker-md .picker-above-highlight { - left: 0; - top: 0; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 10; - width: 100%; - height: 81px; - border-bottom: 1px solid #dedede; - background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to bottom, white 20%, rgba(255, 255, 255, 0.7) 100%); -} - -.picker-md .picker-below-highlight { - left: 0; - top: 115px; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 11; - width: 100%; - height: 119px; - border-top: 1px solid #dedede; - background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.7) 100%); -} - -.picker-wp .picker-wrapper { - height: 260px; - border-top: 0.55px solid transparent; - background: #fff; -} - -.picker-wp .picker-toolbar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-pack: end; - -webkit-justify-content: flex-end; - -ms-flex-pack: end; - justify-content: flex-end; - height: 44px; - border-width: 0.55px; - background: #fff; -} - -.picker-wp .picker-toolbar-button { - text-align: right; - text-align: end; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.picker-wp .picker-toolbar-cancel { - text-align: left; - text-align: start; - font-weight: normal; -} - -.picker-wp .picker-button, -.picker-wp .picker-button.activated { - margin: 0; - height: 44px; - color: #673AB7; - background: transparent; - -webkit-box-shadow: none; - box-shadow: none; -} - -.picker-wp .picker-columns { - height: 216px; - -webkit-perspective: 1800px; - perspective: 1800px; -} - -.picker-wp .picker-col { - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - padding: 0 4px; -} - -.picker-wp .picker-prefix, -.picker-wp .picker-suffix, -.picker-wp .picker-opts { - top: 77px; - font-size: 22px; - line-height: 42px; - color: #000; - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; - pointer-events: none; -} - -.picker-wp .picker-opt { - margin: 0; - height: 4.2rem; - font-size: 22px; - line-height: 42px; - color: #000; - background: transparent; - -webkit-transition-timing-function: ease-out; - transition-timing-function: ease-out; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - pointer-events: auto; - padding: 0; -} - -.picker-wp .picker-prefix, -.picker-wp .picker-suffix, -.picker-wp .picker-opt-selected { - color: #673AB7; -} - -.picker-wp .picker-above-highlight { - left: 0; - top: 0; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 10; - width: 100%; - height: 81px; - border-bottom: 1px solid transparent; - background: -webkit-gradient(linear, left top, left bottom, color-stop(20%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to bottom, white 20%, rgba(255, 255, 255, 0.7) 100%); -} - -.picker-wp .picker-below-highlight { - left: 0; - top: 115px; - -webkit-transform: translate3d(0, 0, 90px); - transform: translate3d(0, 0, 90px); - position: absolute; - z-index: 11; - width: 100%; - height: 119px; - border-top: 1px solid transparent; - background: -webkit-gradient(linear, left bottom, left top, color-stop(30%, white), to(rgba(255, 255, 255, 0.7))); - background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.7) 100%); -} - -ion-popover { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - z-index: 1000; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -} - -.popover-wrapper { - z-index: 10; - opacity: 0; -} - -.popover-content { - position: absolute; - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: auto; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.popover-content ion-content, -.popover-content .scroll-content { - contain: none; -} - -.popover-content .scroll-content { - position: relative; -} - -.popover-ios .popover-content { - border-radius: 10px; - width: 200px; - min-width: 0; - min-height: 0; - max-height: 90%; - color: #000; - background: #fff; -} - -.popover-ios .popover-arrow { - position: absolute; - display: block; - overflow: hidden; - width: 20px; - height: 10px; -} - -.popover-ios .popover-arrow::after { - left: 3px; - top: 3px; - border-radius: 3px; - position: absolute; - z-index: 10; - width: 14px; - height: 14px; - background-color: #fff; - content: ""; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.popover-ios.popover-bottom .popover-arrow { - top: auto; - bottom: -10px; -} - -.popover-ios.popover-bottom .popover-arrow::after { - top: -6px; -} - -.popover-ios .item-ios { - padding-left: 16px; -} - -.popover-ios .item-ios[detail-push] .item-inner, -.popover-ios button.item-ios:not([detail-none]) .item-inner, -.popover-ios a.item-ios:not([detail-none]) .item-inner { - background-position: right 14px center; -} - -.popover-md .popover-content { - border-radius: 2px; - -webkit-transform-origin: left top; - transform-origin: left top; - width: 250px; - min-width: 0; - min-height: 0; - max-height: 90%; - color: #000; - background: #fff; - -webkit-box-shadow: 0 3px 12px 2px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 12px 2px rgba(0, 0, 0, 0.3); -} - -.popover-md .popover-viewport { - opacity: 0; - -webkit-transition-delay: 100ms; - transition-delay: 100ms; -} - -.popover-wp .popover-content { - border-radius: 0; - -webkit-transform-origin: left top; - transform-origin: left top; - width: 200px; - min-width: 0; - min-height: 0; - max-height: 90%; - border: 2px solid #ccc; - color: #000; - background: #fff; -} - -.popover-wp .popover-viewport { - opacity: 0; - -webkit-transition-delay: 100ms; - transition-delay: 100ms; -} - -.radio-ios { - position: relative; - display: inline-block; -} - -.radio-ios .radio-icon { - position: relative; - display: block; - width: 16px; - height: 21px; -} - -.radio-ios .radio-checked .radio-inner { - left: 7px; - top: 4px; - position: absolute; - width: 5px; - height: 12px; - border-width: 2px; - border-top-width: 0; - border-left-width: 0; - border-style: solid; - border-color: #673AB7; - -webkit-transform: rotate(45deg); - transform: rotate(45deg); -} - -.radio-ios.radio-disabled, -.item-ios.item-radio-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item-ios .radio-ios { - position: static; - display: block; - margin: 8px 11px 8px 8px; -} - -.item-ios .radio-ios[item-left], .item-ios .radio-ios[item-start] { - margin: 8px 21px 8px 3px; -} - -.item-radio.item-ios ion-label { - margin-left: 0; -} - -.item-radio-checked.item-ios ion-label { - color: #673AB7; -} - -.item-radio-ios-primary.item-radio-checked ion-label { - color: #673AB7; -} - -.radio-ios-primary .radio-checked { - color: #673AB7; -} - -.radio-ios-primary .radio-checked .radio-inner { - border-color: #673AB7; -} - -.item-radio-ios-secondary.item-radio-checked ion-label { - color: #32db64; -} - -.radio-ios-secondary .radio-checked { - color: #32db64; -} - -.radio-ios-secondary .radio-checked .radio-inner { - border-color: #32db64; -} - -.item-radio-ios-danger.item-radio-checked ion-label { - color: #f53d3d; -} - -.radio-ios-danger .radio-checked { - color: #f53d3d; -} - -.radio-ios-danger .radio-checked .radio-inner { - border-color: #f53d3d; -} - -.item-radio-ios-light.item-radio-checked ion-label { - color: #f4f4f4; -} - -.radio-ios-light .radio-checked { - color: #f4f4f4; -} - -.radio-ios-light .radio-checked .radio-inner { - border-color: #f4f4f4; -} - -.item-radio-ios-dark.item-radio-checked ion-label { - color: #222; -} - -.radio-ios-dark .radio-checked { - color: #222; -} - -.radio-ios-dark .radio-checked .radio-inner { - border-color: #222; -} - -.item-radio-ios-optblue.item-radio-checked ion-label { - color: #E00201; -} - -.radio-ios-optblue .radio-checked { - color: #E00201; -} - -.radio-ios-optblue .radio-checked .radio-inner { - border-color: #E00201; -} - -.radio-md { - position: relative; - display: inline-block; -} - -.radio-md .radio-icon { - left: 0; - top: 0; - margin: 0; - border-radius: 50%; - position: relative; - display: block; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #787878; -} - -.radio-md .radio-inner { - left: 2px; - top: 2px; - border-radius: 50%; - position: absolute; - width: 8px; - height: 8px; - background-color: #673AB7; - -webkit-transform: scale3d(0, 0, 0); - transform: scale3d(0, 0, 0); - -webkit-transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1); - transition: transform 280ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 280ms cubic-bezier(0.4, 0, 0.2, 1); -} - -.radio-md .radio-checked { - border-color: #673AB7; -} - -.radio-md .radio-checked .radio-inner { - -webkit-transform: scale3d(1, 1, 1); - transform: scale3d(1, 1, 1); -} - -.radio-md.radio-disabled, -.item-md.item-radio-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item-md .radio-md { - position: static; - display: block; - margin: 9px 10px 9px 0; -} - -.item-md .radio-md[item-left], .item-md .radio-md[item-start] { - margin: 11px 36px 10px 4px; -} - -.item-radio.item-md ion-label { - margin-left: 0; -} - -.item-radio-checked.item-md ion-label { - color: #673AB7; -} - -.item-radio-md-primary.item-radio-checked ion-label { - color: #673AB7; -} - -.radio-md-primary .radio-checked { - border-color: #673AB7; -} - -.radio-md-primary .radio-inner { - background-color: #673AB7; -} - -.item-radio-md-secondary.item-radio-checked ion-label { - color: #32db64; -} - -.radio-md-secondary .radio-checked { - border-color: #32db64; -} - -.radio-md-secondary .radio-inner { - background-color: #32db64; -} - -.item-radio-md-danger.item-radio-checked ion-label { - color: #f53d3d; -} - -.radio-md-danger .radio-checked { - border-color: #f53d3d; -} - -.radio-md-danger .radio-inner { - background-color: #f53d3d; -} - -.item-radio-md-light.item-radio-checked ion-label { - color: #f4f4f4; -} - -.radio-md-light .radio-checked { - border-color: #f4f4f4; -} - -.radio-md-light .radio-inner { - background-color: #f4f4f4; -} - -.item-radio-md-dark.item-radio-checked ion-label { - color: #222; -} - -.radio-md-dark .radio-checked { - border-color: #222; -} - -.radio-md-dark .radio-inner { - background-color: #222; -} - -.item-radio-md-optblue.item-radio-checked ion-label { - color: #E00201; -} - -.radio-md-optblue .radio-checked { - border-color: #E00201; -} - -.radio-md-optblue .radio-inner { - background-color: #E00201; -} - -.radio-wp { - position: relative; - display: inline-block; -} - -.radio-wp .radio-icon { - left: 0; - top: 0; - margin: 0; - border-radius: 50%; - position: relative; - display: block; - width: 16px; - height: 16px; - border-width: 2px; - border-style: solid; - border-color: #333; -} - -.radio-wp .radio-inner { - left: 2px; - top: 2px; - border-radius: 50%; - position: absolute; - display: none; - width: 8px; - height: 8px; - background-color: #333; -} - -.radio-wp .radio-checked { - border-color: #673AB7; -} - -.radio-wp .radio-checked .radio-inner { - display: block; -} - -.radio-wp.radio-disabled, -.item-wp.item-radio-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item-wp .radio-wp { - position: static; - display: block; - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; - margin: 9px 20px 9px 4px; -} - -.item-wp .radio-wp[item-right], .item-wp .radio-wp[item-end] { - -webkit-box-ordinal-group: 1; - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - margin: 11px 10px 10px 0; -} - -.item-radio.item-wp ion-label { - margin-left: 0; -} - -.radio-wp-primary .radio-checked { - border-color: #673AB7; -} - -.radio-wp-secondary .radio-checked { - border-color: #32db64; -} - -.radio-wp-danger .radio-checked { - border-color: #f53d3d; -} - -.radio-wp-light .radio-checked { - border-color: #f4f4f4; -} - -.radio-wp-dark .radio-checked { - border-color: #222; -} - -.radio-wp-optblue .radio-checked { - border-color: #E00201; -} - -.item-range .item-inner { - overflow: visible; - width: 100%; -} - -.item-range .input-wrapper { - overflow: visible; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - width: 100%; -} - -.item-range ion-range { - width: 100%; -} - -.item-range ion-range ion-label { - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; -} - -ion-range { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -ion-range ion-label { - -webkit-box-flex: initial; - -webkit-flex: initial; - -ms-flex: initial; - flex: initial; -} - -ion-range ion-icon { - min-height: 2.4rem; - font-size: 2.4rem; - line-height: 1; -} - -.range-slider { - position: relative; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - cursor: pointer; -} - -.range-ios { - padding: 8px 16px; -} - -.range-ios [range-left] { - margin: 0 20px 0 0; -} - -.range-ios [range-right] { - margin: 0 0 0 20px; -} - -.range-ios.range-has-pin { - padding-top: 20px; -} - -.range-ios .range-slider { - height: 42px; -} - -.range-ios .range-bar { - left: 0; - top: 21px; - border-radius: 1px; - position: absolute; - width: 100%; - height: 1px; - background: #bdbdbd; - pointer-events: none; -} - -.range-ios.range-pressed .range-bar-active { - will-change: left, right; -} - -.range-ios.range-pressed .range-knob-handle { - will-change: left; -} - -.range-ios .range-bar-active { - bottom: 0; - width: auto; - background: #673AB7; -} - -.range-ios .range-knob-handle { - left: 0; - top: 21px; - margin-left: -21px; - margin-top: -21px; - text-align: center; - position: absolute; - width: 42px; - height: 42px; -} - -.range-ios .range-knob { - left: 7px; - top: 7px; - border-radius: 50%; - position: absolute; - width: 28px; - height: 28px; - background: #fff; - -webkit-box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.02); - box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.13), 0 0 0 1px rgba(0, 0, 0, 0.02); - pointer-events: none; -} - -.range-ios .range-tick { - margin-left: -0.5px; - border-radius: 0; - position: absolute; - top: 17.5px; - width: 1px; - height: 8px; - background: #bdbdbd; - pointer-events: none; -} - -.range-ios .range-tick-active { - background: #673AB7; -} - -.range-ios .range-pin { - text-align: center; - border-radius: 50px; - -webkit-transform: translate3d(0, 28px, 0) scale(0.01); - transform: translate3d(0, 28px, 0) scale(0.01); - position: relative; - top: -20px; - display: inline-block; - min-width: 28px; - font-size: 12px; - color: #000; - background: transparent; - -webkit-transition: -webkit-transform 120ms ease; - transition: -webkit-transform 120ms ease; - transition: transform 120ms ease; - transition: transform 120ms ease, -webkit-transform 120ms ease; - padding: 8px; -} - -.range-ios .range-knob-pressed .range-pin { - -webkit-transform: translate3d(0, 0, 0) scale(1); - transform: translate3d(0, 0, 0) scale(1); -} - -.range-ios.range-disabled { - opacity: .5; -} - -.range-ios-primary .range-bar-active, -.range-ios-primary .range-tick-active { - background: #673AB7; -} - -.range-ios-secondary .range-bar-active, -.range-ios-secondary .range-tick-active { - background: #32db64; -} - -.range-ios-danger .range-bar-active, -.range-ios-danger .range-tick-active { - background: #f53d3d; -} - -.range-ios-light .range-bar-active, -.range-ios-light .range-tick-active { - background: #f4f4f4; -} - -.range-ios-dark .range-bar-active, -.range-ios-dark .range-tick-active { - background: #222; -} - -.range-ios-optblue .range-bar-active, -.range-ios-optblue .range-tick-active { - background: #E00201; -} - -.range-md { - padding: 8px; -} - -.range-md [range-left] { - margin: 0 12px 0 0; -} - -.range-md [range-right] { - margin: 0 0 0 12px; -} - -.range-md.range-has-pin { - padding-top: 28px; -} - -.range-md .range-slider { - height: 42px; -} - -.range-md .range-bar { - left: 0; - top: 21px; - position: absolute; - width: 100%; - height: 2px; - background: #bdbdbd; - pointer-events: none; -} - -.range-md.range-pressed .range-bar-active { - will-change: left, right; -} - -.range-md.range-pressed .range-knob-handle { - will-change: left; -} - -.range-md .range-bar-active { - bottom: 0; - width: auto; - background: #673AB7; -} - -.range-md .range-knob-handle { - left: 0; - top: 21px; - margin-left: -21px; - margin-top: -21px; - text-align: center; - position: absolute; - width: 42px; - height: 42px; -} - -.range-md .range-knob { - left: 12px; - top: 13px; - border-radius: 50%; - position: absolute; - z-index: 2; - width: 18px; - height: 18px; - background: #673AB7; - -webkit-transform: scale(0.67); - transform: scale(0.67); - -webkit-transition-duration: 120ms; - transition-duration: 120ms; - -webkit-transition-property: background-color, border, -webkit-transform; - transition-property: background-color, border, -webkit-transform; - transition-property: transform, background-color, border; - transition-property: transform, background-color, border, -webkit-transform; - -webkit-transition-timing-function: ease; - transition-timing-function: ease; - pointer-events: none; -} - -.range-md .range-tick { - margin-left: -1px; - border-radius: 50%; - position: absolute; - top: 21px; - z-index: 1; - width: 2px; - height: 2px; - background: #000; - pointer-events: none; -} - -.range-md .range-tick-active { - background: #000; -} - -.range-md .range-pin { - padding: 8px 0; - text-align: center; - border-radius: 50%; - -webkit-transform: translate3d(0, 28px, 0) scale(0.01); - transform: translate3d(0, 28px, 0) scale(0.01); - position: relative; - top: -20px; - display: inline-block; - min-width: 28px; - height: 28px; - font-size: 12px; - color: #fff; - background: #673AB7; - -webkit-transition: background-color 120ms ease, -webkit-transform 120ms ease; - transition: background-color 120ms ease, -webkit-transform 120ms ease; - transition: transform 120ms ease, background-color 120ms ease; - transition: transform 120ms ease, background-color 120ms ease, -webkit-transform 120ms ease; -} - -.range-md .range-pin::before { - left: 50%; - top: 3px; - border-top-left-radius: 50%; - border-top-right-radius: 50%; - border-bottom-right-radius: 50%; - border-bottom-left-radius: 0; - margin-left: -13px; - position: absolute; - z-index: -1; - width: 26px; - height: 26px; - background: #673AB7; - content: ""; - -webkit-transform: rotate(-45deg); - transform: rotate(-45deg); - -webkit-transition: background-color 120ms ease; - transition: background-color 120ms ease; -} - -.range-md .range-knob-pressed .range-pin { - -webkit-transform: translate3d(0, 0, 0) scale(1); - transform: translate3d(0, 0, 0) scale(1); -} - -.range-md:not(.range-has-pin) .range-knob-pressed .range-knob { - -webkit-transform: scale(1); - transform: scale(1); -} - -.range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md .range-knob-min.range-knob-min .range-pin, -.range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md.range-disabled .range-bar-active { - background-color: #bdbdbd; -} - -.range-md.range-disabled .range-knob { - outline: 5px solid #fff; - background-color: #bdbdbd; - -webkit-transform: scale(0.55); - transform: scale(0.55); -} - -.range-md-primary .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-primary .range-bar-active, -.range-md-primary .range-knob, -.range-md-primary .range-pin, -.range-md-primary .range-pin::before { - background: #673AB7; -} - -.range-md-secondary .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-secondary .range-bar-active, -.range-md-secondary .range-knob, -.range-md-secondary .range-pin, -.range-md-secondary .range-pin::before { - background: #32db64; -} - -.range-md-danger .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-danger .range-bar-active, -.range-md-danger .range-knob, -.range-md-danger .range-pin, -.range-md-danger .range-pin::before { - background: #f53d3d; -} - -.range-md-light .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-light .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-light .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-light .range-bar-active, -.range-md-light .range-knob, -.range-md-light .range-pin, -.range-md-light .range-pin::before { - background: #f4f4f4; -} - -.range-md-dark .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-dark .range-bar-active, -.range-md-dark .range-knob, -.range-md-dark .range-pin, -.range-md-dark .range-pin::before { - background: #222; -} - -.range-md-optblue .range-md .range-knob-min.range-knob-min .range-knob { - border: 2px solid #bdbdbd; - background: #fff; -} - -.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin, -.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin::before { - color: #fff; - background: #bdbdbd; -} - -.range-md-optblue .range-bar-active, -.range-md-optblue .range-knob, -.range-md-optblue .range-pin, -.range-md-optblue .range-pin::before { - background: #E00201; -} - -.range-wp { - padding: 8px; -} - -.range-wp [range-left] { - margin: 0 12px 0 0; -} - -.range-wp [range-right] { - margin: 0 0 0 12px; -} - -.range-wp.range-has-pin { - padding-top: 28px; -} - -.range-wp .range-slider { - height: 42px; -} - -.range-wp .range-bar { - left: 0; - top: 21px; - position: absolute; - width: 100%; - height: 2px; - background: #bdbdbd; - pointer-events: none; -} - -.range-wp.range-pressed .range-bar-active { - will-change: left, right; -} - -.range-wp.range-pressed .range-knob-handle { - will-change: left; -} - -.range-wp .range-bar-active { - bottom: 0; - width: auto; - background: #673AB7; -} - -.range-wp .range-knob-handle { - left: 0; - top: 21px; - margin-left: -21px; - margin-top: -21px; - text-align: center; - position: absolute; - width: 42px; - height: 42px; -} - -.range-wp .range-knob { - left: 17px; - top: 10px; - border-radius: 4px; - position: absolute; - width: 8px; - height: 24px; - background: #673AB7; - pointer-events: none; -} - -.range-wp .range-tick { - margin-left: -1px; - border-radius: 4px; - position: absolute; - top: 19px; - width: 2px; - height: 6px; - background: #bdbdbd; - pointer-events: none; -} - -.range-wp .range-tick-active { - background: #673AB7; -} - -.range-wp .range-pin { - text-align: center; - border-radius: 50px; - -webkit-transform: translate3d(0, 28px, 0) scale(0.01); - transform: translate3d(0, 28px, 0) scale(0.01); - position: relative; - top: -24px; - display: inline-block; - min-width: 28px; - font-size: 12px; - color: #fff; - background: #673AB7; - -webkit-transition: -webkit-transform 120ms ease; - transition: -webkit-transform 120ms ease; - transition: transform 120ms ease; - transition: transform 120ms ease, -webkit-transform 120ms ease; - padding: 8px; -} - -.range-wp .range-knob-pressed .range-pin { - -webkit-transform: translate3d(0, 0, 0) scale(1); - transform: translate3d(0, 0, 0) scale(1); -} - -.range-wp.range-disabled { - opacity: .5; -} - -.range-wp-primary .range-bar-active, -.range-wp-primary .range-tick-active, -.range-wp-primary .range-knob, -.range-wp-primary .range-pin { - background: #673AB7; -} - -.range-wp-secondary .range-bar-active, -.range-wp-secondary .range-tick-active, -.range-wp-secondary .range-knob, -.range-wp-secondary .range-pin { - background: #32db64; -} - -.range-wp-danger .range-bar-active, -.range-wp-danger .range-tick-active, -.range-wp-danger .range-knob, -.range-wp-danger .range-pin { - background: #f53d3d; -} - -.range-wp-light .range-bar-active, -.range-wp-light .range-tick-active, -.range-wp-light .range-knob, -.range-wp-light .range-pin { - background: #f4f4f4; -} - -.range-wp-dark .range-bar-active, -.range-wp-dark .range-tick-active, -.range-wp-dark .range-knob, -.range-wp-dark .range-pin { - background: #222; -} - -.range-wp-optblue .range-bar-active, -.range-wp-optblue .range-tick-active, -.range-wp-optblue .range-knob, -.range-wp-optblue .range-pin { - background: #E00201; -} - -ion-refresher { - left: 0; - top: 0; - position: absolute; - z-index: 0; - display: none; - width: 100%; - height: 60px; -} - -ion-refresher.refresher-active { - display: block; -} - -.has-refresher > .scroll-content { - margin-top: -1px; - border-top: 1px solid #ddd; - -webkit-transition: -webkit-transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: -webkit-transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); - transition: transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1), -webkit-transform 320ms cubic-bezier(0.36, 0.66, 0.04, 1); -} - -ion-refresher-content { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - height: 100%; -} - -.refresher-pulling, -.refresher-refreshing { - display: none; - width: 100%; -} - -.refresher-pulling-icon, -.refresher-refreshing-icon { - text-align: center; - -webkit-transform-origin: center; - transform-origin: center; - font-size: 30px; - color: #000; - -webkit-transition: 200ms; - transition: 200ms; -} - -.refresher-pulling-text, -.refresher-refreshing-text { - text-align: center; - font-size: 16px; - color: #000; -} - -.refresher-refreshing .spinner-ios line, -.refresher-refreshing .spinner-ios-small line, -.refresher-refreshing .spinner-crescent circle { - stroke: #000; -} - -.refresher-refreshing .spinner-bubbles circle, -.refresher-refreshing .spinner-circles circle, -.refresher-refreshing .spinner-dots circle { - fill: #000; -} - -ion-refresher-content[state=pulling] .refresher-pulling { - display: block; -} - -ion-refresher-content[state=ready] .refresher-pulling { - display: block; -} - -ion-refresher-content[state=ready] .refresher-pulling-icon { - -webkit-transform: rotate(180deg); - transform: rotate(180deg); -} - -ion-refresher-content[state=refreshing] .refresher-refreshing { - display: block; -} - -ion-refresher-content[state=cancelling] .refresher-pulling { - display: block; -} - -ion-refresher-content[state=cancelling] .refresher-pulling-icon { - -webkit-transform: scale(0); - transform: scale(0); -} - -ion-refresher-content[state=completing] .refresher-refreshing { - display: block; -} - -ion-refresher-content[state=completing] .refresher-refreshing-icon { - -webkit-transform: scale(0); - transform: scale(0); -} - -ion-scroll { - position: relative; - display: block; -} - -ion-scroll.scroll-x .scroll-content { - overflow-x: auto; -} - -ion-scroll.scroll-y .scroll-content { - overflow-y: auto; -} - -ion-scroll[center] .scroll-content { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -} - -ion-scroll .scroll-content { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - overflow-y: hidden; - overflow-x: hidden; - -webkit-overflow-scrolling: touch; - will-change: scroll-position; -} - -ion-searchbar { - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - width: 100%; -} - -.searchbar-icon { - pointer-events: none; -} - -.searchbar-input-container { - position: relative; - display: block; - -webkit-flex-shrink: 1; - -ms-flex-negative: 1; - flex-shrink: 1; - width: 100%; -} - -.searchbar-input { - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - display: block; - width: 100%; - border: 0; - font-family: inherit; -} - -.searchbar-clear-icon { - margin: 0; - padding: 0; - display: none; - min-height: 0; -} - -.searchbar-has-value.searchbar-has-focus .searchbar-clear-icon { - display: block; -} - -.searchbar-ios { - padding: 0 8px; - min-height: 44px; - border-top: 0.55px solid transparent; - border-bottom: 0.55px solid rgba(0, 0, 0, 0.05); - background: rgba(0, 0, 0, 0.2); -} - -.searchbar-ios .searchbar-search-icon { - left: 9px; - top: 9px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - margin-left: calc(50% - 60px); - position: absolute; - width: 14px; - height: 14px; - background-repeat: no-repeat; - background-size: 13px; -} - -.searchbar-ios .searchbar-input { - padding: 0 28px; - border-radius: 5px; - height: 3rem; - font-size: 1.4rem; - font-weight: 400; - color: #000; - background-color: #fff; -} - -.searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(0, 0, 0, 0.5); -} - -.searchbar-ios .searchbar-clear-icon { - right: 0; - top: 0; - background-image: url("data:image/svg+xml;charset=utf-8,"); - background-position: center; - position: absolute; - width: 30px; - height: 100%; - background-repeat: no-repeat; - background-size: 18px; -} - -.searchbar-ios .searchbar-ios-cancel { - padding: 0 0 0 8px; - margin-left: 0; - display: none; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - height: 30px; - cursor: pointer; -} - -.searchbar-ios.searchbar-left-aligned .searchbar-search-icon { - margin-left: 0; -} - -.searchbar-ios.searchbar-left-aligned .searchbar-input { - padding-left: 30px; -} - -.searchbar-ios.searchbar-show-cancel.searchbar-has-focus .searchbar-ios-cancel { - display: block; -} - -.toolbar .searchbar-ios { - border-bottom-width: 0; - background: transparent; -} - -.toolbar .searchbar-ios .searchbar-input { - background: rgba(0, 0, 0, 0.08); -} - -.toolbar .searchbar-ios .searchbar-ios-cancel { - padding: 0; -} - -.toolbar .searchbar-ios.searchbar-has-focus .searchbar-ios-cancel { - padding-left: 8px; -} - -.searchbar-ios .searchbar-md-cancel { - display: none; -} - -.searchbar-ios-primary .searchbar-ios-cancel { - color: #673AB7; -} - -.searchbar-ios-primary .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #734abd; -} - -.toolbar-ios-primary .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-primary .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios-secondary .searchbar-ios-cancel { - color: #32db64; -} - -.searchbar-ios-secondary .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #2ec95c; -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-secondary .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios-danger .searchbar-ios-cancel { - color: #f53d3d; -} - -.searchbar-ios-danger .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #e13838; -} - -.toolbar-ios-danger .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-danger .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios-light .searchbar-ios-cancel { - color: #f4f4f4; -} - -.searchbar-ios-light .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #e0e0e0; -} - -.toolbar-ios-light .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-light .searchbar-ios .searchbar-input { - color: #000; - background: rgba(0, 0, 0, 0.08); -} - -.toolbar-ios-light .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.toolbar-ios-light .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.toolbar-ios-light .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(0, 0, 0, 0.5); -} - -.toolbar-ios-light .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-light .searchbar-ios .searchbar-ios-cancel { - color: #673AB7; -} - -.searchbar-ios-dark .searchbar-ios-cancel { - color: #222; -} - -.searchbar-ios-dark .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #343434; -} - -.toolbar-ios-dark .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-dark .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios-optblue .searchbar-ios-cancel { - color: #E00201; -} - -.searchbar-ios-optblue .searchbar-ios-cancel:hover:not(.disable-hover) { - color: #e21615; -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-search-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-input { - color: #fff; - background: rgba(255, 255, 255, 0.08); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-input::-moz-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-input:-ms-input-placeholder { - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: rgba(255, 255, 255, 0.5); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-clear-icon { - background-image: url("data:image/svg+xml;charset=utf-8,"); -} - -.toolbar-ios-optblue .searchbar-ios .searchbar-ios-cancel { - color: #fff; -} - -.searchbar-ios.searchbar-animated.searchbar-show-cancel .searchbar-ios-cancel { - display: block; -} - -.searchbar-ios.searchbar-animated .searchbar-search-icon, -.searchbar-ios.searchbar-animated .searchbar-input { - -webkit-transition: all 300ms ease; - transition: all 300ms ease; -} - -.searchbar-animated.searchbar-has-focus .searchbar-ios-cancel { - opacity: 1; - pointer-events: auto; -} - -.searchbar-animated .searchbar-ios-cancel { - margin-right: -100%; - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - opacity: 0; - -webkit-transition: all 300ms ease; - transition: all 300ms ease; - pointer-events: none; -} - -.searchbar-md { - background: inherit; - padding: 8px; -} - -.searchbar-md .searchbar-search-icon { - left: 16px; - top: 11px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - width: 21px; - height: 21px; -} - -.searchbar-md .searchbar-md-cancel { - left: 10px; - top: 0; - margin: 0; - display: none; - width: 21px; - height: 100%; -} - -.searchbar-md .searchbar-search-icon, -.searchbar-md .searchbar-md-cancel { - position: absolute; - background-repeat: no-repeat; - background-size: 20px; -} - -.searchbar-md .searchbar-search-icon.activated, -.searchbar-md .searchbar-md-cancel.activated { - background-color: transparent; -} - -.searchbar-md .searchbar-input { - padding: 6px 55px; - border-radius: 2px; - background-position: left 8px center; - height: auto; - font-size: 1.6rem; - font-weight: 400; - line-height: 3rem; - color: #141414; - background-color: #fff; - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); -} - -.searchbar-md .searchbar-input::-moz-placeholder { - color: #aeaeae; -} - -.searchbar-md .searchbar-input:-ms-input-placeholder { - color: #aeaeae; -} - -.searchbar-md .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: #aeaeae; -} - -.searchbar-md .searchbar-clear-icon { - right: 13px; - top: 0; - background-image: url("data:image/svg+xml;charset=utf-8,"); - padding: 0; - background-position: center; - position: absolute; - width: 22px; - height: 100%; - background-repeat: no-repeat; - background-size: 22px; -} - -.searchbar-md .searchbar-clear-icon.activated { - background-color: transparent; -} - -.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-search-icon { - display: none; -} - -.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-md-cancel { - display: -webkit-inline-box; - display: -webkit-inline-flex; - display: -ms-inline-flexbox; - display: inline-flex; -} - -.toolbar .searchbar-md { - padding: 3px; -} - -.toolbar .searchbar-md .searchbar-md-cancel { - left: 14px; -} - -.searchbar-md .searchbar-ios-cancel { - display: none; -} - -.searchbar-wp { - background: transparent; - padding: 8px; -} - -.searchbar-wp .searchbar-input-container { - border: 2px solid rgba(0, 0, 0, 0.5); -} - -.searchbar-wp .searchbar-search-icon { - right: 8px; - top: 5px; - background-image: url("data:image/svg+xml;charset=utf-8,"); - position: absolute; - width: 21px; - height: 21px; - background-repeat: no-repeat; - background-size: 20px; -} - -.searchbar-wp .searchbar-search-icon.activated { - background-color: transparent; -} - -.searchbar-wp .searchbar-input { - padding: 0 8px; - border-radius: 0; - background-position: left 8px center; - height: auto; - font-size: 1.4rem; - font-weight: 400; - line-height: 3rem; - color: #141414; - background-color: #fff; -} - -.searchbar-wp .searchbar-input::-moz-placeholder { - color: #858585; -} - -.searchbar-wp .searchbar-input:-ms-input-placeholder { - color: #858585; -} - -.searchbar-wp .searchbar-input::-webkit-input-placeholder { - text-indent: 0; - color: #858585; -} - -.searchbar-wp .searchbar-clear-icon { - right: 8px; - top: 0; - background-image: url("data:image/svg+xml;charset=utf-8,"); - padding: 0; - background-position: center; - position: absolute; - width: 22px; - height: 100%; - background-repeat: no-repeat; - background-size: 22px; -} - -.searchbar-wp .searchbar-clear-icon.activated { - background-color: transparent; -} - -.searchbar-wp.searchbar-has-focus .searchbar-input-container { - border-color: #673AB7; -} - -.searchbar-wp.searchbar-has-value .searchbar-search-icon { - display: none; -} - -.searchbar-wp .searchbar-ios-cancel { - display: none; -} - -.searchbar-wp .searchbar-md-cancel { - display: none; -} - -.toolbar .searchbar-wp { - padding: 2px; -} - -.searchbar-wp-primary.searchbar-has-focus .searchbar-input-container { - border-color: #673AB7; -} - -.searchbar-wp-secondary.searchbar-has-focus .searchbar-input-container { - border-color: #32db64; -} - -.searchbar-wp-danger.searchbar-has-focus .searchbar-input-container { - border-color: #f53d3d; -} - -.searchbar-wp-light.searchbar-has-focus .searchbar-input-container { - border-color: #f4f4f4; -} - -.searchbar-wp-dark.searchbar-has-focus .searchbar-input-container { - border-color: #222; -} - -.searchbar-wp-optblue.searchbar-has-focus .searchbar-input-container { - border-color: #E00201; -} - -ion-segment { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; -} - -.segment-button { - margin-left: 0; - margin-right: 0; - text-align: center; - position: relative; - display: block; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - cursor: pointer; -} - -.segment-ios .segment-button { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 0; - height: 3.2rem; - border-width: 1px; - border-style: solid; - border-color: #673AB7; - font-size: 1.3rem; - line-height: 3rem; - color: #673AB7; - background-color: transparent; -} - -.segment-ios .segment-button ion-icon { - font-size: 2.6rem; - line-height: 2.8rem; -} - -.segment-ios .segment-button.segment-activated { - color: #fff; - background-color: #673AB7; - opacity: 1; - -webkit-transition: 100ms all linear; - transition: 100ms all linear; -} - -.segment-ios .segment-button:hover:not(.segment-activated) { - background-color: rgba(103, 58, 183, 0.1); - -webkit-transition: 100ms all linear; - transition: 100ms all linear; -} - -.segment-ios .segment-button:active:not(.segment-activated) { - background-color: rgba(103, 58, 183, 0.16); - -webkit-transition: 100ms all linear; - transition: 100ms all linear; -} - -.segment-ios .segment-button:first-of-type { - border-top-left-radius: 4px; - border-top-right-radius: 0; - border-bottom-right-radius: 0; - border-bottom-left-radius: 4px; - margin-right: 0; -} - -.segment-ios .segment-button:not(:first-of-type) { - border-left-width: 0; -} - -.segment-ios .segment-button:last-of-type { - border-top-left-radius: 0; - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; - border-bottom-left-radius: 0; - margin-left: 0; - border-left-width: 0; -} - -[dir="rtl"] .segment-ios .segment-button:first-of-type { - border-left-width: 0; -} - -[dir="rtl"] .segment-ios .segment-button:last-of-type { - border-left-width: 1px; -} - -.segment-ios.segment-disabled { - opacity: .4; - pointer-events: none; -} - -.segment-ios .segment-button-disabled { - color: rgba(103, 58, 183, 0.3); - pointer-events: none; -} - -.toolbar-ios .segment-ios { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; -} - -.toolbar-ios .segment-button { - max-width: 100px; - height: 2.6rem; - font-size: 1.2rem; - line-height: 2.5rem; -} - -.toolbar-ios .segment-button ion-icon { - font-size: 2.2rem; - line-height: 2.4rem; -} - -.segment-ios-primary .segment-button { - border-color: #673AB7; - color: #673AB7; -} - -.segment-ios-primary .segment-button:hover:not(.segment-activated) { - background-color: rgba(103, 58, 183, 0.1); -} - -.segment-ios-primary .segment-button:active:not(.segment-activated) { - background-color: rgba(103, 58, 183, 0.16); -} - -.segment-ios-primary .segment-button.segment-activated { - color: #fff; - background-color: #673AB7; -} - -.segment-ios-primary .segment-button-disabled { - color: rgba(103, 58, 183, 0.3); -} - -.toolbar-ios-primary .segment-ios .segment-button.segment-activated { - color: #673AB7; -} - -.segment-ios-secondary .segment-button { - border-color: #32db64; - color: #32db64; -} - -.segment-ios-secondary .segment-button:hover:not(.segment-activated) { - background-color: rgba(50, 219, 100, 0.1); -} - -.segment-ios-secondary .segment-button:active:not(.segment-activated) { - background-color: rgba(50, 219, 100, 0.16); -} - -.segment-ios-secondary .segment-button.segment-activated { - color: #fff; - background-color: #32db64; -} - -.segment-ios-secondary .segment-button-disabled { - color: rgba(50, 219, 100, 0.3); -} - -.toolbar-ios-secondary .segment-ios .segment-button.segment-activated { - color: #32db64; -} - -.segment-ios-danger .segment-button { - border-color: #f53d3d; - color: #f53d3d; -} - -.segment-ios-danger .segment-button:hover:not(.segment-activated) { - background-color: rgba(245, 61, 61, 0.1); -} - -.segment-ios-danger .segment-button:active:not(.segment-activated) { - background-color: rgba(245, 61, 61, 0.16); -} - -.segment-ios-danger .segment-button.segment-activated { - color: #fff; - background-color: #f53d3d; -} - -.segment-ios-danger .segment-button-disabled { - color: rgba(245, 61, 61, 0.3); -} - -.toolbar-ios-danger .segment-ios .segment-button.segment-activated { - color: #f53d3d; -} - -.segment-ios-light .segment-button { - border-color: #f4f4f4; - color: #f4f4f4; -} - -.segment-ios-light .segment-button:hover:not(.segment-activated) { - background-color: rgba(244, 244, 244, 0.1); -} - -.segment-ios-light .segment-button:active:not(.segment-activated) { - background-color: rgba(244, 244, 244, 0.16); -} - -.segment-ios-light .segment-button.segment-activated { - color: #000; - background-color: #f4f4f4; -} - -.segment-ios-light .segment-button-disabled { - color: rgba(244, 244, 244, 0.3); -} - -.toolbar-ios-light .segment-ios .segment-button.segment-activated { - color: #f4f4f4; -} - -.segment-ios-dark .segment-button { - border-color: #222; - color: #222; -} - -.segment-ios-dark .segment-button:hover:not(.segment-activated) { - background-color: rgba(34, 34, 34, 0.1); -} - -.segment-ios-dark .segment-button:active:not(.segment-activated) { - background-color: rgba(34, 34, 34, 0.16); -} - -.segment-ios-dark .segment-button.segment-activated { - color: #fff; - background-color: #222; -} - -.segment-ios-dark .segment-button-disabled { - color: rgba(34, 34, 34, 0.3); -} - -.toolbar-ios-dark .segment-ios .segment-button.segment-activated { - color: #222; -} - -.segment-ios-optblue .segment-button { - border-color: #E00201; - color: #E00201; -} - -.segment-ios-optblue .segment-button:hover:not(.segment-activated) { - background-color: rgba(224, 2, 1, 0.1); -} - -.segment-ios-optblue .segment-button:active:not(.segment-activated) { - background-color: rgba(224, 2, 1, 0.16); -} - -.segment-ios-optblue .segment-button.segment-activated { - color: #fff; - background-color: #E00201; -} - -.segment-ios-optblue .segment-button-disabled { - color: rgba(224, 2, 1, 0.3); -} - -.toolbar-ios-optblue .segment-ios .segment-button.segment-activated { - color: #E00201; -} - -.segment-md .segment-button { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - width: 0; - height: 4.2rem; - border-bottom-width: 2px; - border-bottom-style: solid; - border-bottom-color: rgba(0, 0, 0, 0.1); - font-size: 1.2rem; - font-weight: 500; - line-height: 4rem; - text-transform: uppercase; - color: #673AB7; - background-color: transparent; - opacity: 0.7; - -webkit-transition: 100ms all linear; - transition: 100ms all linear; - padding: 0 6px; -} - -.segment-md .segment-button ion-icon { - font-size: 2.6rem; - line-height: 4rem; -} - -.segment-md .segment-button.activated, .segment-md .segment-button.segment-activated { - border-color: #673AB7; - opacity: 1; -} - -.segment-md.segment-disabled, -.segment-md .segment-button-disabled { - opacity: 0.3; - pointer-events: none; -} - -.toolbar .segment-md { - margin: 0 auto; -} - -.toolbar .segment-md .segment-button.activated, -.toolbar .segment-md .segment-button.segment-activated { - opacity: 1; -} - -.segment-md-primary .segment-button { - color: #673AB7; -} - -.segment-md-primary .segment-button.activated, .segment-md-primary .segment-button.segment-activated { - border-color: #673AB7; - color: #673AB7; - opacity: 1; -} - -.segment-md-secondary .segment-button { - color: #32db64; -} - -.segment-md-secondary .segment-button.activated, .segment-md-secondary .segment-button.segment-activated { - border-color: #32db64; - color: #32db64; - opacity: 1; -} - -.segment-md-danger .segment-button { - color: #f53d3d; -} - -.segment-md-danger .segment-button.activated, .segment-md-danger .segment-button.segment-activated { - border-color: #f53d3d; - color: #f53d3d; - opacity: 1; -} - -.segment-md-light .segment-button { - color: #f4f4f4; -} - -.segment-md-light .segment-button.activated, .segment-md-light .segment-button.segment-activated { - border-color: #f4f4f4; - color: #f4f4f4; - opacity: 1; -} - -.segment-md-dark .segment-button { - color: #222; -} - -.segment-md-dark .segment-button.activated, .segment-md-dark .segment-button.segment-activated { - border-color: #222; - color: #222; - opacity: 1; -} - -.segment-md-optblue .segment-button { - color: #E00201; -} - -.segment-md-optblue .segment-button.activated, .segment-md-optblue .segment-button.segment-activated { - border-color: #E00201; - color: #E00201; - opacity: 1; -} - -.segment-wp { - -webkit-box-pack: start; - -webkit-justify-content: flex-start; - -ms-flex-pack: start; - justify-content: flex-start; -} - -.segment-wp .segment-button { - height: 4rem; - font-size: 1.3rem; - font-weight: bold; - line-height: 4rem; - text-transform: uppercase; - color: #000; - background-color: transparent; - opacity: 0.5; - padding: 0 6px; -} - -.segment-wp .segment-button.segment-activated { - opacity: 1; -} - -.segment-wp .segment-button ion-icon { - font-size: 2.6rem; - line-height: 4rem; -} - -.segment-wp.segment-disabled, -.segment-wp .segment-button-disabled { - opacity: 0.3; - pointer-events: none; -} - -.toolbar .segment-wp { - margin: 0 auto; -} - -.segment-wp-primary .segment-button { - color: #673AB7; -} - -.segment-wp-primary .segment-button.activated, .segment-wp-primary .segment-button.segment-activated { - border-color: #673AB7; - color: #673AB7; - opacity: 1; -} - -.segment-wp-secondary .segment-button { - color: #32db64; -} - -.segment-wp-secondary .segment-button.activated, .segment-wp-secondary .segment-button.segment-activated { - border-color: #32db64; - color: #32db64; - opacity: 1; -} - -.segment-wp-danger .segment-button { - color: #f53d3d; -} - -.segment-wp-danger .segment-button.activated, .segment-wp-danger .segment-button.segment-activated { - border-color: #f53d3d; - color: #f53d3d; - opacity: 1; -} - -.segment-wp-light .segment-button { - color: #f4f4f4; -} - -.segment-wp-light .segment-button.activated, .segment-wp-light .segment-button.segment-activated { - border-color: #f4f4f4; - color: #f4f4f4; - opacity: 1; -} - -.segment-wp-dark .segment-button { - color: #222; -} - -.segment-wp-dark .segment-button.activated, .segment-wp-dark .segment-button.segment-activated { - border-color: #222; - color: #222; - opacity: 1; -} - -.segment-wp-optblue .segment-button { - color: #E00201; -} - -.segment-wp-optblue .segment-button.activated, .segment-wp-optblue .segment-button.segment-activated { - border-color: #E00201; - color: #E00201; - opacity: 1; -} - -ion-select { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - max-width: 45%; -} - -.select-text { - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - min-width: 16px; - font-size: inherit; - text-overflow: ellipsis; - white-space: nowrap; -} - -.item-multiple-inputs ion-select { - position: relative; -} - -.select-disabled, -.item-select-disabled ion-label { - opacity: .4; - pointer-events: none; -} - -.select-popover ion-list { - margin: -1px 0; -} - -.select-ios { - padding: 11px 8px 11px 16px; -} - -.select-ios .select-placeholder { - color: #999; -} - -.select-ios .select-icon { - position: relative; - width: 12px; - height: 18px; -} - -.select-ios .select-icon .select-icon-inner { - left: 5px; - top: 50%; - margin-top: -2px; - position: absolute; - width: 0; - height: 0; - border-top: 5px solid; - border-right: 5px solid transparent; - border-left: 5px solid transparent; - color: #999; - pointer-events: none; -} - -.select-md { - padding: 13px 8px 13px 16px; -} - -.select-md .select-placeholder { - color: #999; -} - -.select-md .item-select ion-label { - margin-left: 0; -} - -.select-md .select-icon { - position: relative; - width: 12px; - height: 19px; -} - -.select-md .select-icon .select-icon-inner { - left: 5px; - top: 50%; - margin-top: -3px; - position: absolute; - width: 0; - height: 0; - border-top: 5px solid; - border-right: 5px solid transparent; - border-left: 5px solid transparent; - color: #999; - pointer-events: none; -} - -.select-wp { - margin: 13px 8px; - padding: 0 8px; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - max-width: 100%; - border: 2px solid rgba(0, 0, 0, 0.5); - line-height: 3rem; -} - -.select-wp .select-placeholder { - color: rgba(0, 0, 0, 0.5); -} - -.item-wp.item-select ion-label { - margin-left: 0; -} - -.select-wp .select-icon { - position: relative; - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; - width: 18px; - height: 18px; -} - -.select-wp .select-icon .select-icon-inner { - left: 5px; - top: 3px; - position: absolute; - display: block; - width: 9px; - height: 9px; - border-top: 2px solid rgba(0, 0, 0, 0.5); - border-right: 2px solid rgba(0, 0, 0, 0.5); - -webkit-transform: rotate(135deg); - transform: rotate(135deg); - pointer-events: none; -} - -.select-wp .select-text { - min-height: 3rem; -} - -.hidden-show-when { - display: none !important; -} - -.hidden-hide-when { - display: none !important; -} - -.swiper-container { - margin-left: auto; - margin-right: auto; - padding: 0; - position: relative; - z-index: 1; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - width: 100%; - height: 100%; -} - -.swiper-container-no-flexbox .swiper-slide { - float: left; -} - -.swiper-container-vertical > .swiper-wrapper { - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; -} - -.swiper-wrapper { - padding: 0; - position: relative; - z-index: 1; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - height: 100%; - -webkit-transition-property: -webkit-transform; - transition-property: -webkit-transform; - transition-property: transform; - transition-property: transform, -webkit-transform; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} - -.swiper-container-android .swiper-slide, -.swiper-wrapper { - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); -} - -.swiper-container-multirow > .swiper-wrapper { - -webkit-flex-wrap: wrap; - -ms-flex-wrap: wrap; - flex-wrap: wrap; -} - -.swiper-container-free-mode > .swiper-wrapper { - margin: 0 auto; - -webkit-transition-timing-function: ease-out; - transition-timing-function: ease-out; -} - -.swiper-slide { - text-align: center; - position: relative; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; - font-size: 18px; - -webkit-box-sizing: border-box; - box-sizing: border-box; -} - -.swiper-container-autoheight, -.swiper-container-autoheight .swiper-slide { - height: auto; -} - -.swiper-container-autoheight .swiper-wrapper { - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; - -webkit-transition-property: height, -webkit-transform; - transition-property: height, -webkit-transform; - transition-property: transform, height; - transition-property: transform, height, -webkit-transform; -} - -.swiper-container .swiper-notification { - left: 0; - top: 0; - position: absolute; - z-index: -1000; - opacity: 0; - pointer-events: none; -} - -.swiper-wp8-horizontal { - -ms-touch-action: pan-y; - touch-action: pan-y; -} - -.swiper-wp8-vertical { - -ms-touch-action: pan-x; - touch-action: pan-x; -} - -.swiper-button-prev, -.swiper-button-next { - top: 50%; - margin-top: -22px; - background-position: center; - position: absolute; - z-index: 10; - width: 27px; - height: 44px; - background-repeat: no-repeat; - background-size: 27px 44px; - cursor: pointer; -} - -.swiper-button-prev.swiper-button-disabled, -.swiper-button-next.swiper-button-disabled { - cursor: auto; - opacity: .35; - pointer-events: none; -} - -.swiper-button-prev, -.swiper-container-rtl .swiper-button-next { - left: 10px; - right: auto; - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-button-prev.swiper-button-black, -.swiper-container-rtl .swiper-button-next.swiper-button-black { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-button-prev.swiper-button-white, -.swiper-container-rtl .swiper-button-next.swiper-button-white { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-button-next, -.swiper-container-rtl .swiper-button-prev { - left: auto; - right: 10px; - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-button-next.swiper-button-black, -.swiper-container-rtl .swiper-button-prev.swiper-button-black { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-button-next.swiper-button-white, -.swiper-container-rtl .swiper-button-prev.swiper-button-white { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E"); -} - -.swiper-pagination { - text-align: center; - -webkit-transform: translate3d(0, 0, 0); - transform: translate3d(0, 0, 0); - position: absolute; - z-index: 10; - -webkit-transition: 300ms; - transition: 300ms; - pointer-events: none; -} - -.swiper-pagination.swiper-pagination-hidden { - opacity: 0; -} - -.swiper-pagination-fraction, -.swiper-pagination-custom, -.swiper-container-horizontal > .swiper-pagination-bullets { - left: 0; - bottom: 10px; - width: 100%; -} - -.swiper-pagination-bullet { - border-radius: 100%; - display: inline-block; - width: 8px; - height: 8px; - background: #000; - opacity: .2; - pointer-events: auto; -} - -button.swiper-pagination-bullet { - margin: 0; - padding: 0; - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; -} - -.swiper-pagination-clickable .swiper-pagination-bullet { - cursor: pointer; -} - -.swiper-pagination-white .swiper-pagination-bullet { - background: #fff; -} - -.swiper-pagination-bullet-active { - background: #007aff; - opacity: 1; -} - -.swiper-pagination-white .swiper-pagination-bullet-active { - background: #fff; -} - -.swiper-pagination-black .swiper-pagination-bullet-active { - background: #000; -} - -.swiper-container-vertical > .swiper-pagination-bullets { - right: 10px; - top: 50%; - -webkit-transform: translate3d(0, -50%, 0); - transform: translate3d(0, -50%, 0); -} - -.swiper-container-vertical > .swiper-pagination-bullets .swiper-pagination-bullet { - margin: 5px 0; - display: block; -} - -.swiper-container-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet { - margin: 0 5px; -} - -.swiper-pagination-progress { - position: absolute; - background: rgba(0, 0, 0, 0.25); -} - -.swiper-pagination-progress .swiper-pagination-progressbar { - left: 0; - top: 0; - -webkit-transform-origin: left top; - transform-origin: left top; - position: absolute; - width: 100%; - height: 100%; - background: #007aff; - -webkit-transform: scale(0); - transform: scale(0); -} - -.swiper-container-rtl .swiper-pagination-progress .swiper-pagination-progressbar { - -webkit-transform-origin: right top; - transform-origin: right top; -} - -.swiper-container-horizontal > .swiper-pagination-progress { - left: 0; - top: 0; - width: 100%; - height: 4px; -} - -.swiper-container-vertical > .swiper-pagination-progress { - left: 0; - top: 0; - width: 4px; - height: 100%; -} - -.swiper-pagination-progress.swiper-pagination-white { - background: rgba(255, 255, 255, 0.5); -} - -.swiper-pagination-progress.swiper-pagination-white .swiper-pagination-progressbar { - background: #fff; -} - -.swiper-pagination-progress.swiper-pagination-black .swiper-pagination-progressbar { - background: #000; -} - -.swiper-container-3d { - -webkit-perspective: 1200px; - perspective: 1200px; -} - -.swiper-container-3d .swiper-wrapper, -.swiper-container-3d .swiper-slide, -.swiper-container-3d .swiper-slide-shadow-left, -.swiper-container-3d .swiper-slide-shadow-right, -.swiper-container-3d .swiper-slide-shadow-top, -.swiper-container-3d .swiper-slide-shadow-bottom, -.swiper-container-3d .swiper-cube-shadow { - -webkit-transform-style: preserve-3d; - transform-style: preserve-3d; -} - -.swiper-container-3d .swiper-slide-shadow-left, -.swiper-container-3d .swiper-slide-shadow-right, -.swiper-container-3d .swiper-slide-shadow-top, -.swiper-container-3d .swiper-slide-shadow-bottom { - left: 0; - top: 0; - position: absolute; - z-index: 10; - width: 100%; - height: 100%; - pointer-events: none; -} - -.swiper-container-3d .swiper-slide-shadow-left { - background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), to(transparent)); - background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent); -} - -.swiper-container-3d .swiper-slide-shadow-right { - background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(transparent)); - background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent); -} - -.swiper-container-3d .swiper-slide-shadow-top { - background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.5)), to(transparent)); - background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent); -} - -.swiper-container-3d .swiper-slide-shadow-bottom { - background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.5)), to(transparent)); - background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent); -} - -.swiper-container-coverflow .swiper-wrapper, -.swiper-container-flip .swiper-wrapper { - -webkit-perspective: 1200px; - perspective: 1200px; -} - -.swiper-container-cube, -.swiper-container-flip { - overflow: visible; -} - -.swiper-container-cube .swiper-slide, -.swiper-container-flip .swiper-slide { - z-index: 1; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; - pointer-events: none; -} - -.swiper-container-cube .swiper-slide .swiper-slide, -.swiper-container-flip .swiper-slide .swiper-slide { - pointer-events: none; -} - -.swiper-container-cube .swiper-slide-active, -.swiper-container-flip .swiper-slide-active, -.swiper-container-cube .swiper-slide-active .swiper-slide-active, -.swiper-container-flip .swiper-slide-active .swiper-slide-active { - pointer-events: auto; -} - -.swiper-container-cube .swiper-slide-shadow-top, -.swiper-container-flip .swiper-slide-shadow-top, -.swiper-container-cube .swiper-slide-shadow-bottom, -.swiper-container-flip .swiper-slide-shadow-bottom, -.swiper-container-cube .swiper-slide-shadow-left, -.swiper-container-flip .swiper-slide-shadow-left, -.swiper-container-cube .swiper-slide-shadow-right, -.swiper-container-flip .swiper-slide-shadow-right { - z-index: 0; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} - -.swiper-container-cube .swiper-slide { - -webkit-transform-origin: 0 0; - transform-origin: 0 0; - width: 100%; - height: 100%; - visibility: hidden; -} - -.swiper-container-cube.swiper-container-rtl .swiper-slide { - -webkit-transform-origin: 100% 0; - transform-origin: 100% 0; -} - -.swiper-container-cube .swiper-slide-active, -.swiper-container-cube .swiper-slide-next, -.swiper-container-cube .swiper-slide-prev, -.swiper-container-cube .swiper-slide-next + .swiper-slide { - visibility: visible; - pointer-events: auto; -} - -.swiper-container-cube .swiper-cube-shadow { - left: 0; - bottom: 0; - position: absolute; - z-index: 0; - width: 100%; - height: 100%; - background: #000; - opacity: .6; - -webkit-filter: blur(50px); - filter: blur(50px); -} - -.swiper-container-fade.swiper-container-free-mode .swiper-slide { - -webkit-transition-timing-function: ease-out; - transition-timing-function: ease-out; -} - -.swiper-container-fade .swiper-slide { - -webkit-transition-property: opacity; - transition-property: opacity; - pointer-events: none; -} - -.swiper-container-fade .swiper-slide .swiper-slide { - pointer-events: none; -} - -.swiper-container-fade .swiper-slide-active, -.swiper-container-fade .swiper-slide-active .swiper-slide-active { - pointer-events: auto; -} - -.swiper-zoom-container { - text-align: center; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - width: 100%; - height: 100%; -} - -.swiper-zoom-container > img, -.swiper-zoom-container > svg, -.swiper-zoom-container > canvas { - max-width: 100%; - max-height: 100%; - -o-object-fit: contain; - object-fit: contain; -} - -.swiper-scrollbar { - border-radius: 10px; - position: relative; - background: rgba(0, 0, 0, 0.1); - -ms-touch-action: none; - touch-action: none; -} - -.swiper-container-horizontal > .swiper-scrollbar { - left: 1%; - bottom: 3px; - position: absolute; - z-index: 50; - width: 98%; - height: 5px; -} - -.swiper-container-vertical > .swiper-scrollbar { - right: 3px; - top: 1%; - position: absolute; - z-index: 50; - width: 5px; - height: 98%; -} - -.swiper-scrollbar-drag { - left: 0; - top: 0; - border-radius: 10px; - position: relative; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.5); -} - -.swiper-scrollbar-cursor-drag { - cursor: move; -} - -.swiper-lazy-preloader { - left: 50%; - top: 50%; - margin-left: -21px; - margin-top: -21px; - -webkit-transform-origin: 50%; - transform-origin: 50%; - position: absolute; - z-index: 10; - width: 42px; - height: 42px; - -webkit-animation: swiper-preloader-spin 1s steps(12, end) infinite; - animation: swiper-preloader-spin 1s steps(12, end) infinite; -} - -.swiper-lazy-preloader::after { - background-position: 50%; - display: block; - width: 100%; - height: 100%; - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); - background-repeat: no-repeat; - background-size: 100%; - content: ""; -} - -.swiper-lazy-preloader-white::after { - background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); -} - -@-webkit-keyframes swiper-preloader-spin { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@keyframes swiper-preloader-spin { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -ion-slides { - display: block; - width: 100%; - height: 100%; -} - -.slide-zoom { - text-align: center; - display: block; - width: 100%; -} - -.swiper-slide img { - width: auto; - max-width: 100%; - height: auto; - max-height: 100%; -} - -ion-spinner { - position: relative; - display: inline-block; - width: 28px; - height: 28px; -} - -ion-spinner svg { - left: 0; - top: 0; - position: absolute; - width: 100%; - height: 100%; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -ion-spinner.spinner-paused svg { - -webkit-animation-play-state: paused; - animation-play-state: paused; -} - -.spinner-ios line, -.spinner-ios-small line { - stroke-width: 4px; - stroke-linecap: round; -} - -.spinner-ios svg, -.spinner-ios-small svg { - -webkit-animation: spinner-fade-out 1s linear infinite; - animation: spinner-fade-out 1s linear infinite; -} - -.spinner-bubbles svg { - -webkit-animation: spinner-scale-out 1s linear infinite; - animation: spinner-scale-out 1s linear infinite; -} - -.spinner-circles svg { - -webkit-animation: spinner-fade-out 1s linear infinite; - animation: spinner-fade-out 1s linear infinite; -} - -.spinner-crescent circle { - fill: transparent; - stroke-width: 4px; - stroke-dasharray: 128px; - stroke-dashoffset: 82px; -} - -.spinner-crescent svg { - -webkit-animation: spinner-rotate 1s linear infinite; - animation: spinner-rotate 1s linear infinite; -} - -.spinner-dots circle { - stroke-width: 0; -} - -.spinner-dots svg { - -webkit-transform-origin: center; - transform-origin: center; - -webkit-animation: spinner-dots 1s linear infinite; - animation: spinner-dots 1s linear infinite; -} - -@-webkit-keyframes spinner-fade-out { - 0% { - opacity: 1; - } - 100% { - opacity: 0; - } -} - -@keyframes spinner-fade-out { - 0% { - opacity: 1; - } - 100% { - opacity: 0; - } -} - -@-webkit-keyframes spinner-scale-out { - 0% { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } - 100% { - -webkit-transform: scale(0, 0); - transform: scale(0, 0); - } -} - -@keyframes spinner-scale-out { - 0% { - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } - 100% { - -webkit-transform: scale(0, 0); - transform: scale(0, 0); - } -} - -@-webkit-keyframes spinner-rotate { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@keyframes spinner-rotate { - 0% { - -webkit-transform: rotate(0deg); - transform: rotate(0deg); - } - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@-webkit-keyframes spinner-dots { - 0% { - opacity: .9; - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } - 50% { - opacity: .3; - -webkit-transform: scale(0.4, 0.4); - transform: scale(0.4, 0.4); - } - 100% { - opacity: .9; - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } -} - -@keyframes spinner-dots { - 0% { - opacity: .9; - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } - 50% { - opacity: .3; - -webkit-transform: scale(0.4, 0.4); - transform: scale(0.4, 0.4); - } - 100% { - opacity: .9; - -webkit-transform: scale(1, 1); - transform: scale(1, 1); - } -} - -.spinner-ios-ios line, -.spinner-ios-ios-small line { - stroke: #69717d; -} - -.spinner-ios-bubbles circle { - fill: #000; -} - -.spinner-ios-circles circle { - fill: #69717d; -} - -.spinner-ios-crescent circle { - stroke: #000; -} - -.spinner-ios-dots circle { - fill: #444; -} - -.spinner-ios-primary.spinner-ios line, -.spinner-ios-primary.spinner-ios-small line, -.spinner-ios-primary.spinner-crescent circle { - stroke: #673AB7; -} - -.spinner-ios-primary.spinner-bubbles circle, -.spinner-ios-primary.spinner-circles circle, -.spinner-ios-primary.spinner-dots circle { - fill: #673AB7; -} - -.spinner-ios-secondary.spinner-ios line, -.spinner-ios-secondary.spinner-ios-small line, -.spinner-ios-secondary.spinner-crescent circle { - stroke: #32db64; -} - -.spinner-ios-secondary.spinner-bubbles circle, -.spinner-ios-secondary.spinner-circles circle, -.spinner-ios-secondary.spinner-dots circle { - fill: #32db64; -} - -.spinner-ios-danger.spinner-ios line, -.spinner-ios-danger.spinner-ios-small line, -.spinner-ios-danger.spinner-crescent circle { - stroke: #f53d3d; -} - -.spinner-ios-danger.spinner-bubbles circle, -.spinner-ios-danger.spinner-circles circle, -.spinner-ios-danger.spinner-dots circle { - fill: #f53d3d; -} - -.spinner-ios-light.spinner-ios line, -.spinner-ios-light.spinner-ios-small line, -.spinner-ios-light.spinner-crescent circle { - stroke: #f4f4f4; -} - -.spinner-ios-light.spinner-bubbles circle, -.spinner-ios-light.spinner-circles circle, -.spinner-ios-light.spinner-dots circle { - fill: #f4f4f4; -} - -.spinner-ios-dark.spinner-ios line, -.spinner-ios-dark.spinner-ios-small line, -.spinner-ios-dark.spinner-crescent circle { - stroke: #222; -} - -.spinner-ios-dark.spinner-bubbles circle, -.spinner-ios-dark.spinner-circles circle, -.spinner-ios-dark.spinner-dots circle { - fill: #222; -} - -.spinner-ios-optblue.spinner-ios line, -.spinner-ios-optblue.spinner-ios-small line, -.spinner-ios-optblue.spinner-crescent circle { - stroke: #E00201; -} - -.spinner-ios-optblue.spinner-bubbles circle, -.spinner-ios-optblue.spinner-circles circle, -.spinner-ios-optblue.spinner-dots circle { - fill: #E00201; -} - -.spinner-md-ios line, -.spinner-md-ios-small line { - stroke: #69717d; -} - -.spinner-md-bubbles circle { - fill: #000; -} - -.spinner-md-circles circle { - fill: #69717d; -} - -.spinner-md-crescent circle { - stroke: #000; -} - -.spinner-md-dots circle { - fill: #444; -} - -.spinner-md-primary.spinner-ios line, -.spinner-md-primary.spinner-ios-small line, -.spinner-md-primary.spinner-crescent circle { - stroke: #673AB7; -} - -.spinner-md-primary.spinner-bubbles circle, -.spinner-md-primary.spinner-circles circle, -.spinner-md-primary.spinner-dots circle { - fill: #673AB7; -} - -.spinner-md-secondary.spinner-ios line, -.spinner-md-secondary.spinner-ios-small line, -.spinner-md-secondary.spinner-crescent circle { - stroke: #32db64; -} - -.spinner-md-secondary.spinner-bubbles circle, -.spinner-md-secondary.spinner-circles circle, -.spinner-md-secondary.spinner-dots circle { - fill: #32db64; -} - -.spinner-md-danger.spinner-ios line, -.spinner-md-danger.spinner-ios-small line, -.spinner-md-danger.spinner-crescent circle { - stroke: #f53d3d; -} - -.spinner-md-danger.spinner-bubbles circle, -.spinner-md-danger.spinner-circles circle, -.spinner-md-danger.spinner-dots circle { - fill: #f53d3d; -} - -.spinner-md-light.spinner-ios line, -.spinner-md-light.spinner-ios-small line, -.spinner-md-light.spinner-crescent circle { - stroke: #f4f4f4; -} - -.spinner-md-light.spinner-bubbles circle, -.spinner-md-light.spinner-circles circle, -.spinner-md-light.spinner-dots circle { - fill: #f4f4f4; -} - -.spinner-md-dark.spinner-ios line, -.spinner-md-dark.spinner-ios-small line, -.spinner-md-dark.spinner-crescent circle { - stroke: #222; -} - -.spinner-md-dark.spinner-bubbles circle, -.spinner-md-dark.spinner-circles circle, -.spinner-md-dark.spinner-dots circle { - fill: #222; -} - -.spinner-md-optblue.spinner-ios line, -.spinner-md-optblue.spinner-ios-small line, -.spinner-md-optblue.spinner-crescent circle { - stroke: #E00201; -} - -.spinner-md-optblue.spinner-bubbles circle, -.spinner-md-optblue.spinner-circles circle, -.spinner-md-optblue.spinner-dots circle { - fill: #E00201; -} - -.spinner-wp-ios line, -.spinner-wp-ios-small line { - stroke: #69717d; -} - -.spinner-wp-bubbles circle { - fill: #000; -} - -.spinner-wp-circles circle { - fill: #69717d; -} - -.spinner-wp-crescent circle { - stroke: #000; -} - -.spinner-wp-dots circle { - fill: #444; -} - -.spinner-wp-primary.spinner-ios line, -.spinner-wp-primary.spinner-ios-small line, -.spinner-wp-primary.spinner-crescent circle { - stroke: #673AB7; -} - -.spinner-wp-primary.spinner-bubbles circle, -.spinner-wp-primary.spinner-circles circle, -.spinner-wp-primary.spinner-dots circle { - fill: #673AB7; -} - -.spinner-wp-secondary.spinner-ios line, -.spinner-wp-secondary.spinner-ios-small line, -.spinner-wp-secondary.spinner-crescent circle { - stroke: #32db64; -} - -.spinner-wp-secondary.spinner-bubbles circle, -.spinner-wp-secondary.spinner-circles circle, -.spinner-wp-secondary.spinner-dots circle { - fill: #32db64; -} - -.spinner-wp-danger.spinner-ios line, -.spinner-wp-danger.spinner-ios-small line, -.spinner-wp-danger.spinner-crescent circle { - stroke: #f53d3d; -} - -.spinner-wp-danger.spinner-bubbles circle, -.spinner-wp-danger.spinner-circles circle, -.spinner-wp-danger.spinner-dots circle { - fill: #f53d3d; -} - -.spinner-wp-light.spinner-ios line, -.spinner-wp-light.spinner-ios-small line, -.spinner-wp-light.spinner-crescent circle { - stroke: #f4f4f4; -} - -.spinner-wp-light.spinner-bubbles circle, -.spinner-wp-light.spinner-circles circle, -.spinner-wp-light.spinner-dots circle { - fill: #f4f4f4; -} - -.spinner-wp-dark.spinner-ios line, -.spinner-wp-dark.spinner-ios-small line, -.spinner-wp-dark.spinner-crescent circle { - stroke: #222; -} - -.spinner-wp-dark.spinner-bubbles circle, -.spinner-wp-dark.spinner-circles circle, -.spinner-wp-dark.spinner-dots circle { - fill: #222; -} - -.spinner-wp-optblue.spinner-ios line, -.spinner-wp-optblue.spinner-ios-small line, -.spinner-wp-optblue.spinner-crescent circle { - stroke: #E00201; -} - -.spinner-wp-optblue.spinner-bubbles circle, -.spinner-wp-optblue.spinner-circles circle, -.spinner-wp-optblue.spinner-dots circle { - fill: #E00201; -} - -.split-pane { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: absolute; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-flex-wrap: nowrap; - -ms-flex-wrap: nowrap; - flex-wrap: nowrap; - contain: strict; -} - -.split-pane-side:not(ion-menu) { - display: none; -} - -.split-pane-visible > .split-pane-side, -.split-pane-visible > .split-pane-main { - left: 0; - right: 0; - top: 0; - bottom: 0; - position: relative; - z-index: 0; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-shadow: none !important; - box-shadow: none !important; -} - -.split-pane-visible > .split-pane-side { - -webkit-flex-shrink: 0; - -ms-flex-negative: 0; - flex-shrink: 0; - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; -} - -.split-pane-visible > .split-pane-main, -.split-pane-visible > ion-nav.split-pane-side, -.split-pane-visible > ion-tabs.split-pane-side, -.split-pane-visible > ion-menu.menu-enabled { - display: block; -} - -.split-pane-visible > ion-split-pane.split-pane-side, -.split-pane-visible > ion-split-pane.split-pane-main { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; -} - -.split-pane-visible > ion-menu.menu-enabled > .menu-inner { - left: 0; - right: 0; - width: auto; - -webkit-box-shadow: none !important; - box-shadow: none !important; - -webkit-transform: none !important; - transform: none !important; -} - -.split-pane-visible > ion-menu.menu-enabled > .ion-backdrop { - display: hidden !important; -} - -.split-pane-visible > .split-pane-side[side=start] { - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; -} - -.split-pane-visible > .split-pane-side[side=end] { - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; -} - -.split-pane-visible > .split-pane-side[side=left] { - -webkit-box-ordinal-group: 0; - -webkit-order: -1; - -ms-flex-order: -1; - order: -1; -} - -.split-pane-visible > .split-pane-side[side=right] { - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; -} - -.split-pane-ios.split-pane-visible > .split-pane-side { - min-width: 270px; - max-width: 28%; - border-right: 0.55px solid #c8c7cc; - border-left: 0; -} - -.split-pane-ios.split-pane-visible > .split-pane-side[side=right] { - border-right: 0; - border-left: 0.55px solid #c8c7cc; -} - -.split-pane-md.split-pane-visible > .split-pane-side { - min-width: 270px; - max-width: 28%; - border-right: 1px solid #dedede; - border-left: 0; -} - -.split-pane-md.split-pane-visible > .split-pane-side[side=right] { - border-right: 0; - border-left: 1px solid #dedede; -} - -.split-pane-wp.split-pane-visible > .split-pane-side { - min-width: 270px; - max-width: 28%; - border-right: 1px solid transparent; - border-left: 0; -} - -.split-pane-wp.split-pane-visible > .split-pane-side[side=right] { - border-right: 0; - border-left: 1px solid transparent; -} - -.tabbar { - left: 0; - bottom: 0; - position: absolute; - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - width: 100%; - opacity: 0; -} - -.tabbar-hidden .tabbar { - display: none; -} - -.tabbar.show-tabbar { - opacity: 1; -} - -[tabsPlacement=top] > .tabbar { - top: 0; - bottom: auto; -} - -.tab-button { - margin: 0; - text-align: center; - border-radius: 0; - position: relative; - z-index: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - border: 0; - text-decoration: none; - background: none; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.tab-disabled { - pointer-events: none; -} - -.tab-disabled ion-badge, -.tab-disabled ion-icon, -.tab-disabled span { - opacity: .4; -} - -.tab-button-text { - margin-top: 3px; - margin-bottom: 2px; -} - -.tab-button-text, -.tab-button-icon { - display: none; - overflow: hidden; - -webkit-align-self: center; - -ms-flex-item-align: center; - align-self: center; - min-width: 26px; - max-width: 100%; - text-overflow: ellipsis; - white-space: nowrap; -} - -.has-icon .tab-button-icon, -.has-title .tab-button-text { - display: block; -} - -.has-title-only .tab-button-text { - white-space: normal; -} - -[tabsLayout=icon-bottom] .tab-button .tab-button-icon { - -webkit-box-ordinal-group: 11; - -webkit-order: 10; - -ms-flex-order: 10; - order: 10; -} - -[tabsLayout=icon-left] .tab-button, -[tabsLayout=icon-right] .tab-button, -[tabsLayout=icon-start] .tab-button, -[tabsLayout=icon-end] .tab-button { - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; -} - -[tabsLayout=icon-left] .tab-button .tab-button-icon, -[tabsLayout=icon-start] .tab-button .tab-button-icon { - padding-right: 8px; - text-align: right; - text-align: end; -} - -[tabsLayout=icon-right] .tab-button .tab-button-icon, -[tabsLayout=icon-end] .tab-button .tab-button-icon { - padding-left: 8px; - text-align: left; - text-align: start; - -webkit-box-ordinal-group: 11; - -webkit-order: 10; - -ms-flex-order: 10; - order: 10; -} - -.tab-hidden, -.tab-highlight, -[tabsLayout=icon-hide] .tab-button-icon, -[tabsLayout=title-hide] .tab-button-text { - display: none; -} - -.tab-badge { - right: 4%; - top: 6%; - right: calc(50% - 50px); - padding: 1px 6px; - position: absolute; - height: auto; - font-size: 12px; - line-height: 16px; -} - -.has-icon .tab-badge { - right: calc(50% - 30px); -} - -[tabsLayout=icon-bottom] .tab-badge, -[tabsLayout=icon-left] .tab-badge, -[tabsLayout=icon-right] .tab-badge, -[tabsLayout=icon-start] .tab-badge, -[tabsLayout=icon-end] .tab-badge { - right: calc(50% - 50px); -} - -.tabs-ios .tabbar { - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; - border-top: 0.55px solid rgba(0, 0, 0, 0.3); - background: #f8f8f8; -} - -.tabs-ios[tabsPlacement=top] .tabbar { - border-top: 0; - border-bottom: 0.55px solid rgba(0, 0, 0, 0.3); -} - -.tabs-ios .tab-button { - max-width: 240px; - min-height: 49px; - font-size: 10px; - font-weight: 500; - color: #8c8c8c; - padding: 0 2px; -} - -.tabs-ios .tab-button:hover:not(.disable-hover), -.tabs-ios .tab-button[aria-selected=true] { - color: #673AB7; -} - -.tabs-ios .tab-button[aria-selected=true] .tab-button-icon { - color: #673AB7; -} - -.tabs-ios .tab-button-text { - margin-top: 0; - margin-bottom: 1px; - min-height: 11px; -} - -.tabs-ios .has-title-only .tab-button-text { - font-size: 12px; -} - -.tabs-ios .tab-button-icon { - margin-top: 4px; - margin-bottom: 1px; - min-width: 35px; - height: 30px; - font-size: 30px; - color: #8c8c8c; -} - -.tabs-ios .tab-button-icon::before { - vertical-align: top; -} - -.tabs-ios[tabsLayout=icon-right] .tab-button .tab-button-text, -.tabs-ios[tabsLayout=icon-left] .tab-button .tab-button-text, -.tabs-ios[tabsLayout=icon-end] .tab-button .tab-button-text, -.tabs-ios[tabsLayout=icon-start] .tab-button .tab-button-text { - font-size: 1.4rem; - line-height: 1.1; -} - -.tabs-ios[tabsLayout=icon-right] .tab-button ion-icon, -.tabs-ios[tabsLayout=icon-left] .tab-button ion-icon, -.tabs-ios[tabsLayout=icon-end] .tab-button ion-icon, -.tabs-ios[tabsLayout=icon-start] .tab-button ion-icon { - min-width: 24px; - height: 26px; - font-size: 24px; -} - -.tabs-ios[tabsLayout=icon-hide] .tab-button, -.tabs-ios .tab-button.has-title-only { - min-height: 41px; -} - -.tabs-ios[tabsLayout=icon-hide] .tab-button .tab-button-text, -.tabs-ios .tab-button.has-title-only .tab-button-text { - margin: 2px 0; - font-size: 1.4rem; - line-height: 1.1; -} - -.tabs-ios[tabsLayout=title-hide] .tab-button, -.tabs-ios .tab-button.icon-only { - min-height: 41px; -} - -.tabs-ios-primary .tabbar { - border-color: #512e90; - background-color: #673AB7; -} - -.tabs-ios-primary .tab-button, -.tabs-ios-primary .tab-button-icon, -.tabs-ios-primary .tab-button:hover:not(.disable-hover), -.tabs-ios-primary .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-primary .tab-button[aria-selected=true], -.tabs-ios-primary .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-ios-secondary .tabbar { - border-color: #21b94e; - background-color: #32db64; -} - -.tabs-ios-secondary .tab-button, -.tabs-ios-secondary .tab-button-icon, -.tabs-ios-secondary .tab-button:hover:not(.disable-hover), -.tabs-ios-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-secondary .tab-button[aria-selected=true], -.tabs-ios-secondary .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-ios-danger .tabbar { - border-color: #f30d0d; - background-color: #f53d3d; -} - -.tabs-ios-danger .tab-button, -.tabs-ios-danger .tab-button-icon, -.tabs-ios-danger .tab-button:hover:not(.disable-hover), -.tabs-ios-danger .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-danger .tab-button[aria-selected=true], -.tabs-ios-danger .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-ios-light .tabbar { - border-color: #dbdbdb; - background-color: #f4f4f4; -} - -.tabs-ios-light .tab-button, -.tabs-ios-light .tab-button-icon, -.tabs-ios-light .tab-button:hover:not(.disable-hover), -.tabs-ios-light .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(0, 0, 0, 0.7); -} - -.tabs-ios-light .tab-button[aria-selected=true], -.tabs-ios-light .tab-button[aria-selected=true] .tab-button-icon { - color: #000; -} - -.tabs-ios-dark .tabbar { - border-color: #090909; - background-color: #222; -} - -.tabs-ios-dark .tab-button, -.tabs-ios-dark .tab-button-icon, -.tabs-ios-dark .tab-button:hover:not(.disable-hover), -.tabs-ios-dark .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-dark .tab-button[aria-selected=true], -.tabs-ios-dark .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-ios-optblue .tabbar { - border-color: #ad0201; - background-color: #E00201; -} - -.tabs-ios-optblue .tab-button, -.tabs-ios-optblue .tab-button-icon, -.tabs-ios-optblue .tab-button:hover:not(.disable-hover), -.tabs-ios-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-ios-optblue .tab-button[aria-selected=true], -.tabs-ios-optblue .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md .tabbar { - background: #f8f8f8; -} - -.tabs-md .tab-button { - min-height: 5.6rem; - font-weight: normal; - color: rgba(60, 60, 60, 0.7); - padding: 0; -} - -.tabs-md .tab-button[aria-selected=true] { - color: #673AB7; - padding: 0; -} - -.tabs-md .tab-button-text { - font-size: 1.2rem; - text-transform: none; - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; - margin: 0; - -webkit-transform-origin: 50% 80%; - transform-origin: 50% 80%; -} - -.tabs-md .tab-button[aria-selected=true] .tab-button-text { - -webkit-transform: scale3d(1.16667, 1.16667, 1); - transform: scale3d(1.16667, 1.16667, 1); - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; -} - -.tabs-md[tabsLayout=icon-top] .has-icon .tab-button-text { - margin-top: 4px; - margin-bottom: 0; -} - -.tabs-md[tabsLayout=icon-bottom] .tab-button .tab-button-text { - margin-top: 0; -} - -.tabs-md .tab-button-icon { - margin-top: 1px; - min-width: 2.4rem; - font-size: 2.4rem; - color: rgba(60, 60, 60, 0.7); - -webkit-transition: -webkit-transform 0.3s ease-in-out; - transition: -webkit-transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out; - transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out; - -webkit-transform-origin: 50% 150%; - transform-origin: 50% 150%; -} - -.tabs-md .tab-button[aria-selected=true] .tab-button-icon { - color: #673AB7; - -webkit-transform: translate3d(0, -2px, 0); - transform: translate3d(0, -2px, 0); -} - -.tabs-md[tabsLayout=icon-right] .tab-button[aria-selected=true] .tab-button-icon, -.tabs-md[tabsLayout=icon-end] .tab-button[aria-selected=true] .tab-button-icon { - -webkit-transform: translate3d(2px, 0, 0); - transform: translate3d(2px, 0, 0); -} - -.tabs-md[tabsLayout=icon-bottom] .tab-button[aria-selected=true] .tab-button-icon { - -webkit-transform: translate3d(0, 2px, 0); - transform: translate3d(0, 2px, 0); -} - -.tabs-md[tabsLayout=icon-left] .tab-button[aria-selected=true] .tab-button-icon, -.tabs-md[tabsLayout=icon-start] .tab-button[aria-selected=true] .tab-button-icon { - -webkit-transform: translate3d(-2px, 0, 0); - transform: translate3d(-2px, 0, 0); -} - -.tabs-md[tabsLayout=icon-hide] .tab-button, -.tabs-md[tabsLayout=title-hide] .tab-button, -.tabs-md .tab-button.icon-only, -.tabs-md .tab-button.has-title-only { - padding: 0 10px; -} - -.tabs-md[tabsHighlight=true] .tab-highlight { - left: 0; - bottom: 0; - -webkit-transform-origin: 0 0; - transform-origin: 0 0; - position: absolute; - display: block; - width: 1px; - height: 2px; - background: #673AB7; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.tabs-md[tabsHighlight=true] .tab-highlight.animate { - -webkit-transition-duration: 300ms; - transition-duration: 300ms; -} - -.tabs-md[tabsHighlight=true][tabsPlacement=bottom] > .tabbar > .tab-highlight { - top: 0; -} - -.tabs-md-primary .tabbar { - background-color: #673AB7; -} - -.tabs-md-primary .tab-button, -.tabs-md-primary .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-primary .tab-button:hover:not(.disable-hover), -.tabs-md-primary .tab-button[aria-selected=true], -.tabs-md-primary .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-primary[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-md-secondary .tabbar { - background-color: #32db64; -} - -.tabs-md-secondary .tab-button, -.tabs-md-secondary .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-secondary .tab-button:hover:not(.disable-hover), -.tabs-md-secondary .tab-button[aria-selected=true], -.tabs-md-secondary .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-secondary[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-md-danger .tabbar { - background-color: #f53d3d; -} - -.tabs-md-danger .tab-button, -.tabs-md-danger .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-danger .tab-button:hover:not(.disable-hover), -.tabs-md-danger .tab-button[aria-selected=true], -.tabs-md-danger .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-danger[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-md-light .tabbar { - background-color: #f4f4f4; -} - -.tabs-md-light .tab-button, -.tabs-md-light .tab-button-icon { - color: rgba(0, 0, 0, 0.7); -} - -.tabs-md-light .tab-button:hover:not(.disable-hover), -.tabs-md-light .tab-button[aria-selected=true], -.tabs-md-light .tab-button[aria-selected=true] .tab-button-icon { - color: #000; -} - -.tabs-md-light[tabsHighlight=true] .tab-highlight { - background: #000; -} - -.tabs-md-dark .tabbar { - background-color: #222; -} - -.tabs-md-dark .tab-button, -.tabs-md-dark .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-dark .tab-button:hover:not(.disable-hover), -.tabs-md-dark .tab-button[aria-selected=true], -.tabs-md-dark .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-dark[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-md-optblue .tabbar { - background-color: #E00201; -} - -.tabs-md-optblue .tab-button, -.tabs-md-optblue .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-md-optblue .tab-button:hover:not(.disable-hover), -.tabs-md-optblue .tab-button[aria-selected=true], -.tabs-md-optblue .tab-button[aria-selected=true] .tab-button-icon { - color: #fff; -} - -.tabs-md-optblue[tabsHighlight=true] .tab-highlight { - background: #fff; -} - -.tabs-wp .tabbar { - background: #f8f8f8; -} - -.tabs-wp .tab-button { - border-radius: 0; - min-height: 4.8rem; - border-bottom: 2px solid transparent; - font-size: 1.2rem; - font-weight: normal; - color: rgba(140, 140, 140, 0.7); - -webkit-box-shadow: none; - box-shadow: none; - padding: 12px 10px 5px; -} - -.tabs-wp .tab-button[aria-selected=true] { - border-bottom-color: #673AB7; - color: #673AB7; -} - -.tabs-wp .tab-button.activated { - background: rgba(0, 0, 0, 0.1); -} - -.tabs-wp[tabsPlacement=bottom] .tab-button { - border-top: 2px solid transparent; - border-bottom-width: 0; -} - -.tabs-wp[tabsPlacement=bottom] .tab-button[aria-selected=true] { - border-top-color: #673AB7; -} - -.tabs-wp .tab-button-text { - margin-top: 5px; - margin-bottom: 5px; -} - -.tabs-wp .tab-button-icon { - min-width: 2.4rem; - font-size: 2.4rem; - color: rgba(140, 140, 140, 0.7); -} - -.tabs-wp .tab-button[aria-selected=true] .tab-button-icon { - color: #673AB7; -} - -.tabs-wp[tabsLayout=icon-bottom] .tab-button { - padding-top: 8px; - padding-bottom: 8px; -} - -.tabs-wp[tabsLayout=icon-right] .tab-button, -.tabs-wp[tabsLayout=icon-left] .tab-button, -.tabs-wp[tabsLayout=icon-end] .tab-button, -.tabs-wp[tabsLayout=icon-start] .tab-button { - padding-bottom: 10px; -} - -.tabs-wp[tabsLayout=icon-right] .tab-button ion-icon, -.tabs-wp[tabsLayout=icon-left] .tab-button ion-icon, -.tabs-wp[tabsLayout=icon-end] .tab-button ion-icon, -.tabs-wp[tabsLayout=icon-start] .tab-button ion-icon { - min-width: 24px; -} - -.tabs-wp[tabsLayout=icon-hide] .tab-button, -.tabs-wp[tabsLayout=title-hide] .tab-button, -.tabs-wp .tab-button.icon-only, -.tabs-wp .tab-button.has-title-only { - padding: 6px 10px; -} - -.tabs-wp-primary .tabbar { - background-color: #673AB7; -} - -.tabs-wp-primary .tab-button, -.tabs-wp-primary .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-primary .tab-button:hover:not(.disable-hover), -.tabs-wp-primary .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-primary .tab-button[aria-selected=true], -.tabs-wp-primary .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -.tabs-wp-secondary .tabbar { - background-color: #32db64; -} - -.tabs-wp-secondary .tab-button, -.tabs-wp-secondary .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-secondary .tab-button:hover:not(.disable-hover), -.tabs-wp-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-secondary .tab-button[aria-selected=true], -.tabs-wp-secondary .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -.tabs-wp-danger .tabbar { - background-color: #f53d3d; -} - -.tabs-wp-danger .tab-button, -.tabs-wp-danger .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-danger .tab-button:hover:not(.disable-hover), -.tabs-wp-danger .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-danger .tab-button[aria-selected=true], -.tabs-wp-danger .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -.tabs-wp-light .tabbar { - background-color: #f4f4f4; -} - -.tabs-wp-light .tab-button, -.tabs-wp-light .tab-button-icon { - color: rgba(0, 0, 0, 0.7); -} - -.tabs-wp-light .tab-button:hover:not(.disable-hover), -.tabs-wp-light .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-light .tab-button[aria-selected=true], -.tabs-wp-light .tab-button[aria-selected=true] .tab-button-icon { - border-color: #000; - color: #000; -} - -.tabs-wp-dark .tabbar { - background-color: #222; -} - -.tabs-wp-dark .tab-button, -.tabs-wp-dark .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-dark .tab-button:hover:not(.disable-hover), -.tabs-wp-dark .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-dark .tab-button[aria-selected=true], -.tabs-wp-dark .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -.tabs-wp-optblue .tabbar { - background-color: #E00201; -} - -.tabs-wp-optblue .tab-button, -.tabs-wp-optblue .tab-button-icon { - color: rgba(255, 255, 255, 0.7); -} - -.tabs-wp-optblue .tab-button:hover:not(.disable-hover), -.tabs-wp-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon, -.tabs-wp-optblue .tab-button[aria-selected=true], -.tabs-wp-optblue .tab-button[aria-selected=true] .tab-button-icon { - border-color: #fff; - color: #fff; -} - -ion-toast { - left: 0; - top: 0; - position: absolute; - z-index: 1000; - display: block; - width: 100%; - height: 100%; - pointer-events: none; - contain: strict; -} - -.toast-container { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - pointer-events: auto; - contain: content; -} - -.toast-button { - padding: 19px 16px 17px; - font-size: 1.5rem; -} - -.toast-message { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; -} - -.toast-ios .toast-wrapper { - left: 10px; - right: 10px; - margin: auto; - border-radius: 0.65rem; - position: absolute; - z-index: 10; - display: block; - max-width: 700px; - background: rgba(0, 0, 0, 0.9); -} - -.toast-ios .toast-wrapper.toast-top { - -webkit-transform: translate3d(0, -100%, 0); - transform: translate3d(0, -100%, 0); - margin: constant(safe-area-inset-top) auto auto; - margin: env(safe-area-inset-top) auto auto; - top: 0; -} - -.toast-ios .toast-wrapper.toast-bottom { - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - margin: auto auto constant(safe-area-inset-bottom); - margin: auto auto env(safe-area-inset-bottom); - bottom: 0; -} - -.toast-ios .toast-wrapper.toast-middle { - opacity: .01; -} - -.toast-ios .toast-message { - font-size: 1.4rem; - color: #fff; - padding: 1.5rem; -} - -.toast-md .toast-wrapper { - left: 0; - right: 0; - margin: auto; - position: absolute; - z-index: 10; - display: block; - width: 100%; - max-width: 700px; - background: #333; -} - -.toast-md .toast-wrapper.toast-top { - -webkit-transform: translate3d(0, -100%, 0); - transform: translate3d(0, -100%, 0); - top: 0; -} - -.toast-md .toast-wrapper.toast-bottom { - -webkit-transform: translate3d(0, 100%, 0); - transform: translate3d(0, 100%, 0); - bottom: 0; -} - -.toast-md .toast-wrapper.toast-middle { - opacity: .01; -} - -.toast-md .toast-message { - font-size: 1.5rem; - color: #fff; - padding: 19px 16px 17px; -} - -.toast-wp .toast-wrapper { - left: 0; - right: 0; - margin: auto; - border-radius: 0; - position: absolute; - z-index: 10; - display: block; - max-width: 700px; - background: black; -} - -.toast-wp .toast-wrapper.toast-top { - top: 0; - opacity: .01; -} - -.toast-wp .toast-wrapper.toast-bottom { - bottom: 0; - opacity: .01; -} - -.toast-wp .toast-wrapper.toast-middle { - opacity: .01; -} - -.toast-message { - font-size: 1.4rem; - color: #fff; - padding: 1.5rem; -} - -.toast-button { - color: #fff; -} - -.toggle-ios { - position: relative; - width: 51px; - height: 32px; - -webkit-box-sizing: content-box; - box-sizing: content-box; - contain: strict; -} - -.toggle-ios .toggle-icon { - border-radius: 16px; - position: relative; - display: block; - width: 100%; - height: 100%; - background-color: #e6e6e6; - -webkit-transition: background-color 300ms; - transition: background-color 300ms; - pointer-events: none; -} - -.toggle-ios .toggle-icon::before { - left: 2px; - right: 2px; - top: 2px; - bottom: 2px; - border-radius: 16px; - position: absolute; - background-color: #fff; - content: ""; - -webkit-transform: scale3d(1, 1, 1); - transform: scale3d(1, 1, 1); - -webkit-transition: -webkit-transform 300ms; - transition: -webkit-transform 300ms; - transition: transform 300ms; - transition: transform 300ms, -webkit-transform 300ms; -} - -.toggle-ios .toggle-inner { - left: 2px; - top: 2px; - border-radius: 14px; - position: absolute; - width: 28px; - height: 28px; - background-color: #fff; - -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1); - box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16), 0 3px 1px rgba(0, 0, 0, 0.1); - -webkit-transition: width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms, -webkit-transform 300ms; - transition: width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms, -webkit-transform 300ms; - transition: transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms; - transition: transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms, -webkit-transform 300ms; - will-change: transform; - contain: strict; -} - -.toggle-ios.toggle-checked .toggle-icon { - background-color: #673AB7; -} - -.toggle-ios.toggle-activated .toggle-icon::before, -.toggle-ios.toggle-checked .toggle-icon::before { - -webkit-transform: scale3d(0, 0, 0); - transform: scale3d(0, 0, 0); -} - -.toggle-ios.toggle-checked .toggle-inner { - -webkit-transform: translate3d(19px, 0, 0); - transform: translate3d(19px, 0, 0); -} - -.toggle-ios.toggle-activated.toggle-checked .toggle-inner::before { - -webkit-transform: scale3d(0, 0, 0); - transform: scale3d(0, 0, 0); -} - -.toggle-ios.toggle-activated .toggle-inner { - width: 34px; -} - -.toggle-ios.toggle-activated.toggle-checked .toggle-inner { - left: -4px; -} - -.toggle-ios.toggle-disabled, -.item-ios.item-toggle-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.item-ios .toggle-ios { - margin: 0; - padding: 6px 8px 5px 16px; -} - -.item-ios .toggle-ios[item-left], -.item-ios .toggle-ios[item-start] { - padding: 6px 16px 5px 0; -} - -.toggle-ios-primary.toggle-checked .toggle-icon { - background-color: #673AB7; -} - -.toggle-ios-secondary.toggle-checked .toggle-icon { - background-color: #32db64; -} - -.toggle-ios-danger.toggle-checked .toggle-icon { - background-color: #f53d3d; -} - -.toggle-ios-light.toggle-checked .toggle-icon { - background-color: #f4f4f4; -} - -.toggle-ios-dark.toggle-checked .toggle-icon { - background-color: #222; -} - -.toggle-ios-optblue.toggle-checked .toggle-icon { - background-color: #E00201; -} - -.toggle-md { - position: relative; - width: 36px; - height: 14px; - -webkit-box-sizing: content-box; - box-sizing: content-box; - contain: strict; - padding: 12px; -} - -.toggle-md .toggle-icon { - border-radius: 14px; - position: relative; - display: block; - width: 100%; - height: 100%; - background-color: #dedede; - -webkit-transition: background-color 300ms; - transition: background-color 300ms; - pointer-events: none; -} - -.toggle-md .toggle-inner { - left: 0; - top: -3px; - border-radius: 50%; - position: absolute; - width: 20px; - height: 20px; - background-color: #fff; - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12); - -webkit-transition-duration: 300ms; - transition-duration: 300ms; - -webkit-transition-property: background-color, -webkit-transform; - transition-property: background-color, -webkit-transform; - transition-property: transform, background-color; - transition-property: transform, background-color, -webkit-transform; - will-change: transform, background-color; - contain: strict; -} - -.toggle-md.toggle-checked .toggle-icon { - background-color: #ae94dd; -} - -.toggle-md.toggle-checked .toggle-inner { - -webkit-transform: translate3d(16px, 0, 0); - transform: translate3d(16px, 0, 0); - background-color: #673AB7; -} - -.toggle-md.toggle-disabled, -.item-md.item-toggle-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.toggle-md.toggle-disabled ion-radio { - opacity: 0.3; -} - -.item-md .toggle-md { - cursor: pointer; - margin: 0; - padding: 12px 8px 12px 16px; -} - -.item-md .toggle-md[item-left], -.item-md .toggle-md[item-start] { - padding: 12px 18px 12px 2px; -} - -.item-md.item-toggle ion-label { - margin-left: 0; -} - -.toggle-md-primary.toggle-checked .toggle-icon { - background-color: #ae94dd; -} - -.toggle-md-primary.toggle-checked .toggle-inner { - background-color: #673AB7; -} - -.toggle-md-secondary.toggle-checked .toggle-icon { - background-color: #9eeeb6; -} - -.toggle-md-secondary.toggle-checked .toggle-inner { - background-color: #32db64; -} - -.toggle-md-danger.toggle-checked .toggle-icon { - background-color: #fbb6b6; -} - -.toggle-md-danger.toggle-checked .toggle-inner { - background-color: #f53d3d; -} - -.toggle-md-light.toggle-checked .toggle-icon { - background-color: white; -} - -.toggle-md-light.toggle-checked .toggle-inner { - background-color: #f4f4f4; -} - -.toggle-md-dark.toggle-checked .toggle-icon { - background-color: #626262; -} - -.toggle-md-dark.toggle-checked .toggle-inner { - background-color: #222; -} - -.toggle-md-optblue.toggle-checked .toggle-icon { - background-color: #fe6362; -} - -.toggle-md-optblue.toggle-checked .toggle-inner { - background-color: #E00201; -} - -.toggle-wp { - position: relative; - width: 40px; - height: 18px; - -webkit-box-sizing: content-box; - box-sizing: content-box; - contain: strict; -} - -.toggle-wp .toggle-icon { - border-radius: 18px; - position: relative; - display: block; - width: 100%; - height: 100%; - border: 2px solid #323232; - background-color: transparent; - pointer-events: none; - contain: strict; -} - -.toggle-wp .toggle-inner { - left: 2px; - top: 2px; - border-radius: 50%; - position: absolute; - width: 10px; - height: 10px; - background-color: #323232; - -webkit-transition-duration: 300ms; - transition-duration: 300ms; - -webkit-transition-property: background-color, -webkit-transform; - transition-property: background-color, -webkit-transform; - transition-property: transform, background-color; - transition-property: transform, background-color, -webkit-transform; - will-change: transform, background-color; -} - -.toggle-wp.toggle-checked .toggle-icon { - border-color: #673AB7; - background-color: #673AB7; -} - -.toggle-wp.toggle-checked .toggle-inner { - -webkit-transform: translate3d(22px, 0, 0); - transform: translate3d(22px, 0, 0); - background-color: #fff; -} - -.toggle-wp.toggle-disabled, -.item-wp.item-toggle-disabled ion-label { - opacity: 0.3; - pointer-events: none; -} - -.toggle-wp.toggle-disabled ion-radio { - opacity: 0.3; -} - -.item-wp .toggle-wp { - margin: 0; - cursor: pointer; - padding: 12px 8px 12px 16px; -} - -.item-wp .toggle-wp[item-left], -.item-wp .toggle-wp[item-start] { - padding: 12px 18px 12px 2px; -} - -.item-wp.item-toggle ion-label { - margin-left: 0; -} - -.toggle-wp-primary.toggle-checked .toggle-icon { - border-color: #673AB7; - background-color: #673AB7; -} - -.toggle-wp-primary.toggle-checked .toggle-inner { - background-color: #fff; -} - -.toggle-wp-secondary.toggle-checked .toggle-icon { - border-color: #32db64; - background-color: #32db64; -} - -.toggle-wp-secondary.toggle-checked .toggle-inner { - background-color: #fff; -} - -.toggle-wp-danger.toggle-checked .toggle-icon { - border-color: #f53d3d; - background-color: #f53d3d; -} - -.toggle-wp-danger.toggle-checked .toggle-inner { - background-color: #fff; -} - -.toggle-wp-light.toggle-checked .toggle-icon { - border-color: #f4f4f4; - background-color: #f4f4f4; -} - -.toggle-wp-light.toggle-checked .toggle-inner { - background-color: #000; -} - -.toggle-wp-dark.toggle-checked .toggle-icon { - border-color: #222; - background-color: #222; -} - -.toggle-wp-dark.toggle-checked .toggle-inner { - background-color: #fff; -} - -.toggle-wp-optblue.toggle-checked .toggle-icon { - border-color: #E00201; - background-color: #E00201; -} - -.toggle-wp-optblue.toggle-checked .toggle-inner { - background-color: #fff; -} - -ion-toolbar { - position: relative; - z-index: 10; -} - -.toolbar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-orient: horizontal; - -webkit-box-direction: normal; - -webkit-flex-direction: row; - -ms-flex-direction: row; - flex-direction: row; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-box-pack: justify; - -webkit-justify-content: space-between; - -ms-flex-pack: justify; - justify-content: space-between; - width: 100%; - contain: content; -} - -.toolbar-background { - left: 0; - top: 0; - position: absolute; - z-index: -1; - width: 100%; - height: 100%; - border: 0; - -webkit-transform: translateZ(0); - transform: translateZ(0); - pointer-events: none; - contain: strict; -} - -ion-title { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.toolbar-title { - display: block; - overflow: hidden; - width: 100%; - text-overflow: ellipsis; - white-space: nowrap; -} - -ion-buttons { - margin: 0 0.2rem; - display: block; - -webkit-transform: translateZ(0); - transform: translateZ(0); - pointer-events: none; -} - -ion-buttons button, -ion-buttons a, -ion-buttons input, -ion-buttons textarea, -ion-buttons div { - pointer-events: auto; -} - -.toolbar[transparent] .toolbar-background { - border-color: transparent; - background: transparent; -} - -ion-buttons, -.bar-button-menutoggle { - z-index: 99; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -ion-navbar.toolbar { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.bar-button { - margin: 0; - padding: 0; - text-align: center; - -moz-appearance: none; - -ms-appearance: none; - -webkit-appearance: none; - appearance: none; - position: relative; - display: inline-block; - line-height: 1; - text-overflow: ellipsis; - text-transform: none; - white-space: nowrap; - cursor: pointer; - vertical-align: top; - vertical-align: -webkit-baseline-middle; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.bar-button::after { - left: -2px; - right: -2px; - top: -7px; - bottom: -6px; - position: absolute; - content: ""; -} - -.bar-button-menutoggle { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -.back-button { - display: none; -} - -.back-button.show-back-button { - display: inline-block; -} - -.back-button-text { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -.toolbar-ios { - padding: 4px; - padding-left: 4px; - padding-right: 4px; - min-height: 44px; -} - -@media screen and (orientation: landscape) { - .toolbar-ios { - padding-left: calc(constant(safe-area-inset-left) + 4px); - padding-right: calc(constant(safe-area-inset-right) + 4px); - padding-left: calc(env(safe-area-inset-left) + 4px); - padding-right: calc(env(safe-area-inset-right) + 4px); - } -} - -.toolbar-background-ios { - background: #f8f8f8; -} - -.header-ios .toolbar-background-ios, -.footer-ios .toolbar-background-ios { - border-style: solid; - border-color: rgba(0, 0, 0, 0.3); -} - -.header-ios .toolbar-ios:last-child .toolbar-background-ios { - border-width: 0 0 0.55px; -} - -.footer-ios .toolbar-ios:first-child .toolbar-background-ios { - border-width: 0.55px 0 0; -} - -.header-ios[no-border] .toolbar-ios:last-child .toolbar-background-ios { - border-bottom-width: 0; -} - -.footer-ios[no-border] .toolbar-ios:first-child .toolbar-background-ios { - border-top-width: 0; -} - -.toolbar-content-ios { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-ordinal-group: 5; - -webkit-order: 4; - -ms-flex-order: 4; - order: 4; - min-width: 0; -} - -.toolbar-title-ios { - text-align: center; - font-size: 1.7rem; - font-weight: 600; - color: #000; - pointer-events: auto; -} - -.toolbar-ios ion-title { - left: 0; - top: 0; - padding: 0 90px 1px; - position: absolute; - width: 100%; - height: 100%; - -webkit-transform: translateZ(0); - transform: translateZ(0); - pointer-events: none; -} - -.bar-buttons-ios { - -webkit-box-ordinal-group: 4; - -webkit-order: 3; - -ms-flex-order: 3; - order: 3; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.bar-buttons-ios[left] { - -webkit-box-ordinal-group: 3; - -webkit-order: 2; - -ms-flex-order: 2; - order: 2; -} - -.bar-buttons-ios[end] { - text-align: right; - text-align: end; - -webkit-box-ordinal-group: 6; - -webkit-order: 5; - -ms-flex-order: 5; - order: 5; -} - -.bar-buttons-ios[right] { - text-align: right; - -webkit-box-ordinal-group: 7; - -webkit-order: 6; - -ms-flex-order: 6; - order: 6; -} - -.bar-button-ios { - padding: 0 4px; - border-radius: 4px; - height: 32px; - border: 0; - font-size: 1.7rem; -} - -.bar-button-outline-ios { - border-width: 1px; - border-style: solid; - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.bar-button-outline-ios:hover:not(.disable-hover) { - opacity: .4; -} - -.bar-button-outline-ios.activated { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-ios { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-ios:hover:not(.disable-hover) { - color: #fff; - opacity: .4; -} - -.bar-button-solid-ios.activated { - color: #fff; - background-color: #734abd; - opacity: .4; -} - -.bar-button-ios.bar-button-icon-start ion-icon { - padding-right: 0.3em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-ios.bar-button-icon-end ion-icon { - padding-left: 0.4em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-ios[icon-only] { - padding: 0; - min-width: .9em; -} - -.bar-button-ios[icon-only] ion-icon { - padding: 0 0.1em; - font-size: 1.8em; - line-height: .67; - pointer-events: none; -} - -.back-button-ios { - margin: 0; - z-index: 99; - overflow: visible; - -webkit-box-ordinal-group: 1; - -webkit-order: 0; - -ms-flex-order: 0; - order: 0; - min-height: 3.2rem; - line-height: 1; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.back-button-icon-ios { - margin: -1px 0 0; - display: inherit; - min-width: 18px; - font-size: 3.4rem; -} - -.back-button-text-ios { - letter-spacing: -.01em; -} - -.bar-button-menutoggle-ios { - margin: 0 6px; - padding: 0; - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; - min-width: 36px; -} - -.bar-button-menutoggle-ios ion-icon { - padding: 0 6px; - font-size: 2.8rem; -} - -.bar-button-menutoggle-ios[end], -.bar-button-menutoggle-ios[right] { - -webkit-box-ordinal-group: 8; - -webkit-order: 7; - -ms-flex-order: 7; - order: 7; -} - -.bar-button-default-ios, -.bar-button-default.bar-button-ios-default, -.bar-button-clear-ios-default { - color: #673AB7; - background-color: transparent; -} - -.bar-button-default-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-default:hover:not(.disable-hover), -.bar-button-clear-ios-default:hover:not(.disable-hover) { - color: #673AB7; -} - -.bar-button-default-ios.activated, -.bar-button-default.bar-button-ios-default.activated, -.bar-button-clear-ios-default.activated { - opacity: .4; -} - -.bar-button-clear-ios, -.bar-button-default.bar-button-ios-clear, -.bar-button-clear-ios-clear { - color: #673AB7; - background-color: transparent; -} - -.bar-button-clear-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-clear:hover:not(.disable-hover), -.bar-button-clear-ios-clear:hover:not(.disable-hover) { - color: #673AB7; -} - -.bar-button-clear-ios.activated, -.bar-button-default.bar-button-ios-clear.activated, -.bar-button-clear-ios-clear.activated { - opacity: .4; -} - -.toolbar-ios-primary .toolbar-background-ios { - background: #673AB7; -} - -.toolbar-ios-primary .toolbar-title-ios, -.toolbar-ios-primary .bar-button-clear-ios, -.toolbar-ios-primary .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-primary .bar-button-primary-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-primary, -.toolbar-ios-primary .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-primary .bar-button-primary-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-primary .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-primary .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-primary .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-primary .bar-button-secondary-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-primary .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-primary .bar-button-secondary-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-primary .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-primary .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-primary .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-primary .bar-button-danger-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-danger, -.toolbar-ios-primary .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-primary .bar-button-danger-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-primary .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-primary .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-primary .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-primary .bar-button-light-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-light, -.toolbar-ios-primary .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-primary .bar-button-light-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-primary .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-primary .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-primary .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-primary .bar-button-dark-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-dark, -.toolbar-ios-primary .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-primary .bar-button-dark-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-primary .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-primary .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-primary .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-primary .bar-button-optblue-ios, -.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-primary .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-primary .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-primary .bar-button-optblue-ios.activated, -.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-primary .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-primary .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-primary .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-primary .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-primary .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-primary-ios, -.bar-button-default.bar-button-ios-primary, -.bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.bar-button-primary-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.bar-button-primary-ios.activated, -.bar-button-default.bar-button-ios-primary.activated, -.bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-secondary .toolbar-background-ios { - background: #32db64; -} - -.toolbar-ios-secondary .toolbar-title-ios, -.toolbar-ios-secondary .bar-button-clear-ios, -.toolbar-ios-secondary .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-secondary .bar-button-primary-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary, -.toolbar-ios-secondary .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-secondary .bar-button-primary-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-secondary .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-secondary .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-secondary .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-secondary .bar-button-secondary-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-secondary .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-secondary .bar-button-secondary-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-secondary .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-secondary .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-secondary .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-secondary .bar-button-danger-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger, -.toolbar-ios-secondary .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-secondary .bar-button-danger-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-secondary .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-secondary .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-secondary .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-secondary .bar-button-light-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-light, -.toolbar-ios-secondary .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-secondary .bar-button-light-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-secondary .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-secondary .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-secondary .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-secondary .bar-button-dark-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark, -.toolbar-ios-secondary .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-secondary .bar-button-dark-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-secondary .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-secondary .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-secondary .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-secondary .bar-button-optblue-ios, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-secondary .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-secondary .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-secondary .bar-button-optblue-ios.activated, -.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-secondary .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-secondary .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-secondary .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-secondary .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-secondary .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-secondary-ios, -.bar-button-default.bar-button-ios-secondary, -.bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.bar-button-secondary-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.bar-button-secondary-ios.activated, -.bar-button-default.bar-button-ios-secondary.activated, -.bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-danger .toolbar-background-ios { - background: #f53d3d; -} - -.toolbar-ios-danger .toolbar-title-ios, -.toolbar-ios-danger .bar-button-clear-ios, -.toolbar-ios-danger .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-danger .bar-button-primary-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-primary, -.toolbar-ios-danger .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-danger .bar-button-primary-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-danger .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-danger .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-danger .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-danger .bar-button-secondary-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-danger .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-danger .bar-button-secondary-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-danger .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-danger .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-danger .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-danger .bar-button-danger-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-danger, -.toolbar-ios-danger .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-danger .bar-button-danger-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-danger .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-danger .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-danger .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-danger .bar-button-light-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-light, -.toolbar-ios-danger .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-danger .bar-button-light-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-danger .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-danger .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-danger .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-danger .bar-button-dark-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-dark, -.toolbar-ios-danger .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-danger .bar-button-dark-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-danger .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-danger .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-danger .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-danger .bar-button-optblue-ios, -.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-danger .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-danger .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-danger .bar-button-optblue-ios.activated, -.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-danger .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-danger .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-danger .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-danger .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-danger .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-danger-ios, -.bar-button-default.bar-button-ios-danger, -.bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.bar-button-danger-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.bar-button-danger-ios.activated, -.bar-button-default.bar-button-ios-danger.activated, -.bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-light .toolbar-background-ios { - background: #f4f4f4; -} - -.toolbar-ios-light .toolbar-title-ios, -.toolbar-ios-light .bar-button-clear-ios, -.toolbar-ios-light .bar-button-default-ios { - color: #000; -} - -.toolbar-ios-light .bar-button-primary-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-primary, -.toolbar-ios-light .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-light .bar-button-primary-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-light .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-light .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-light .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-light .bar-button-secondary-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-light .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-light .bar-button-secondary-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-light .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-light .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-light .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-light .bar-button-danger-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-danger, -.toolbar-ios-light .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-light .bar-button-danger-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-light .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-light .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-light .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-light .bar-button-light-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-light, -.toolbar-ios-light .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-light .bar-button-light-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-light .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-light .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-light .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-light .bar-button-dark-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-dark, -.toolbar-ios-light .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-light .bar-button-dark-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-light .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-light .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-light .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-light .bar-button-optblue-ios, -.toolbar-ios-light .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-light .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-light .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-light .bar-button-optblue-ios.activated, -.toolbar-ios-light .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-light .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-light .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-light .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-light .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-light .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-light-ios, -.bar-button-default.bar-button-ios-light, -.bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.bar-button-light-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.bar-button-light-ios.activated, -.bar-button-default.bar-button-ios-light.activated, -.bar-button-clear-ios-light.activated { - opacity: .4; -} - -.bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-dark .toolbar-background-ios { - background: #222; -} - -.toolbar-ios-dark .toolbar-title-ios, -.toolbar-ios-dark .bar-button-clear-ios, -.toolbar-ios-dark .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-dark .bar-button-primary-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-primary, -.toolbar-ios-dark .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-dark .bar-button-primary-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-dark .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-dark .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-dark .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-dark .bar-button-secondary-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-dark .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-dark .bar-button-secondary-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-dark .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-dark .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-dark .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-dark .bar-button-danger-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-danger, -.toolbar-ios-dark .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-dark .bar-button-danger-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-dark .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-dark .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-dark .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-dark .bar-button-light-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-light, -.toolbar-ios-dark .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-dark .bar-button-light-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-dark .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-dark .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-dark .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-dark .bar-button-dark-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-dark, -.toolbar-ios-dark .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-dark .bar-button-dark-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-dark .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-dark .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-dark .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-dark .bar-button-optblue-ios, -.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-dark .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-dark .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-dark .bar-button-optblue-ios.activated, -.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-dark .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-dark .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-dark .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-dark .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-dark .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-dark-ios, -.bar-button-default.bar-button-ios-dark, -.bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.bar-button-dark-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.bar-button-dark-ios.activated, -.bar-button-default.bar-button-ios-dark.activated, -.bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-optblue .toolbar-background-ios { - background: #E00201; -} - -.toolbar-ios-optblue .toolbar-title-ios, -.toolbar-ios-optblue .bar-button-clear-ios, -.toolbar-ios-optblue .bar-button-default-ios { - color: #fff; -} - -.toolbar-ios-optblue .bar-button-primary-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary, -.toolbar-ios-optblue .bar-button-clear-ios-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-primary-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-ios-optblue .bar-button-primary-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary.activated, -.toolbar-ios-optblue .bar-button-clear-ios-primary.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-primary { - border-color: #673AB7; - color: #673AB7; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-primary.activated { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-optblue .bar-button-solid-ios-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-ios-optblue .bar-button-solid-ios-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-ios-optblue .bar-button-secondary-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary, -.toolbar-ios-optblue .bar-button-clear-ios-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-secondary-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-ios-optblue .bar-button-secondary-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary.activated, -.toolbar-ios-optblue .bar-button-clear-ios-secondary.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-secondary { - border-color: #32db64; - color: #32db64; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-secondary.activated { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-optblue .bar-button-solid-ios-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-ios-optblue .bar-button-solid-ios-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-ios-optblue .bar-button-danger-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger, -.toolbar-ios-optblue .bar-button-clear-ios-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-danger-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-ios-optblue .bar-button-danger-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger.activated, -.toolbar-ios-optblue .bar-button-clear-ios-danger.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-danger { - border-color: #f53d3d; - color: #f53d3d; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-danger.activated { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-optblue .bar-button-solid-ios-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-ios-optblue .bar-button-solid-ios-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-ios-optblue .bar-button-light-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-light, -.toolbar-ios-optblue .bar-button-clear-ios-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-light-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-light:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-ios-optblue .bar-button-light-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-light.activated, -.toolbar-ios-optblue .bar-button-clear-ios-light.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-light { - border-color: #f4f4f4; - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-light.activated { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-optblue .bar-button-solid-ios-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-ios-optblue .bar-button-solid-ios-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-ios-optblue .bar-button-dark-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark, -.toolbar-ios-optblue .bar-button-clear-ios-dark { - color: #222; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-dark-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-ios-optblue .bar-button-dark-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark.activated, -.toolbar-ios-optblue .bar-button-clear-ios-dark.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-dark { - border-color: #222; - color: #222; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-dark.activated { - color: #fff; - background-color: #222; -} - -.toolbar-ios-optblue .bar-button-solid-ios-dark { - color: #fff; - background-color: #222; -} - -.toolbar-ios-optblue .bar-button-solid-ios-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-ios-optblue .bar-button-optblue-ios, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue, -.toolbar-ios-optblue .bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-optblue-ios:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.toolbar-ios-optblue .bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-ios-optblue .bar-button-optblue-ios.activated, -.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue.activated, -.toolbar-ios-optblue .bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.toolbar-ios-optblue .bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.toolbar-ios-optblue .bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-optblue .bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-ios-optblue .bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-optblue-ios, -.bar-button-default.bar-button-ios-optblue, -.bar-button-clear-ios-optblue { - color: #E00201; - background-color: transparent; -} - -.bar-button-optblue-ios:hover:not(.disable-hover), -.bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover), -.bar-button-clear-ios-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.bar-button-optblue-ios.activated, -.bar-button-default.bar-button-ios-optblue.activated, -.bar-button-clear-ios-optblue.activated { - opacity: .4; -} - -.bar-button-outline-ios-optblue { - border-color: #E00201; - color: #E00201; - background-color: transparent; -} - -.bar-button-outline-ios-optblue.activated { - color: #fff; - background-color: #E00201; -} - -.bar-button-solid-ios-optblue { - color: #fff; - background-color: #E00201; -} - -.bar-button-solid-ios-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-strong-ios { - font-weight: 600; -} - -.toolbar-md { - padding: 4px; - min-height: 56px; -} - -.toolbar-background-md { - border-color: #b2b2b2; - background: #f8f8f8; -} - -.header-md::after, -.tabs-md[tabsPlacement="top"] > .tabbar::after, -.footer-md::before, -.tabs-md[tabsPlacement="bottom"] > .tabbar::before { - left: 0; - bottom: -5px; - background-position: left 0 top -2px; - position: absolute; - width: 100%; - height: 5px; - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==); - background-repeat: repeat-x; - content: ""; -} - -.footer-md::before, -.tabs-md[tabsPlacement="bottom"] > .tabbar::before { - top: -2px; - bottom: auto; - background-position: left 0 top 0; - height: 2px; -} - -.header-md[no-border]::after, -.footer-md[no-border]::before, -.tabs-md[tabsPlacement="top"][no-border] > .tabbar::after, -.tabs-md[tabsPlacement="bottom"][no-border] > .tabbar::before { - display: none; -} - -.toolbar-content-md { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-ordinal-group: 4; - -webkit-order: 3; - -ms-flex-order: 3; - order: 3; - min-width: 0; - max-width: 100%; -} - -.toolbar-title-md { - padding: 0 12px; - font-size: 2rem; - font-weight: 500; - color: #424242; -} - -.bar-buttons-md { - -webkit-box-ordinal-group: 5; - -webkit-order: 4; - -ms-flex-order: 4; - order: 4; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.bar-buttons-md[left] { - -webkit-box-ordinal-group: 3; - -webkit-order: 2; - -ms-flex-order: 2; - order: 2; -} - -.bar-button-md:first-child { - margin-left: 0; -} - -.bar-buttons-md[end] { - text-align: right; - text-align: end; - -webkit-box-ordinal-group: 6; - -webkit-order: 5; - -ms-flex-order: 5; - order: 5; -} - -.bar-buttons-md[right] { - text-align: right; - -webkit-box-ordinal-group: 7; - -webkit-order: 6; - -ms-flex-order: 6; - order: 6; -} - -.bar-button-md { - margin: 0 0.2rem; - padding: 0 5px; - border-radius: 2px; - height: 32px; - border: 0; - font-size: 1.4rem; - font-weight: 500; - text-transform: uppercase; -} - -.bar-button-solid-md, -.bar-button-outline-md { - overflow: hidden; -} - -.bar-button-outline-md { - border-width: 1px; - border-style: solid; - border-color: #424242; - color: #424242; - background-color: transparent; -} - -.bar-button-outline-md:hover:not(.disable-hover) { - opacity: .4; -} - -.bar-button-outline-md.activated { - background-color: transparent; -} - -.bar-button-outline-md .button-effect { - background-color: #424242; -} - -.bar-button-solid-md { - color: #fff; - background-color: #424242; -} - -.bar-button-solid-md:hover:not(.disable-hover) { - color: #fff; -} - -.bar-button-solid-md.activated { - color: #fff; - background-color: #515151; -} - -.bar-button-md.bar-button-icon-start ion-icon { - padding-right: 0.3em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-md.bar-button-icon-end ion-icon { - padding-left: 0.4em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-md[icon-only] { - padding: 0; -} - -.bar-button-md[icon-only] ion-icon { - padding: 0 0.1em; - min-width: 28px; - font-size: 1.8em; - line-height: .67; - pointer-events: none; -} - -.back-button-md { - margin: 0 6px; - min-width: 44px; - -webkit-box-shadow: none; - box-shadow: none; -} - -.back-button-icon-md { - margin: 0; - padding: 0 6px; - text-align: left; - text-align: start; - font-size: 2.4rem; - font-weight: normal; -} - -.bar-button-menutoggle-md { - margin: 0 6px; - padding: 0 2px; - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; - min-width: 44px; -} - -.bar-button-menutoggle-md ion-icon { - padding: 0 6px; - font-size: 2.4rem; -} - -.bar-button-menutoggle-md[end], -.bar-button-menutoggle-md[right] { - margin: 0 2px; - -webkit-box-ordinal-group: 8; - -webkit-order: 7; - -ms-flex-order: 7; - order: 7; - min-width: 28px; -} - -.bar-button-default-md, -.bar-button-clear-md-default, -.bar-button-md-default { - color: #424242; - background-color: transparent; -} - -.bar-button-default-md:hover:not(.disable-hover), -.bar-button-clear-md-default:hover:not(.disable-hover), -.bar-button-md-default:hover:not(.disable-hover) { - color: #424242; -} - -.bar-button-clear-md, -.bar-button-clear-md-clear, -.bar-button-md-clear { - color: #424242; - background-color: transparent; -} - -.bar-button-clear-md:hover:not(.disable-hover), -.bar-button-clear-md-clear:hover:not(.disable-hover), -.bar-button-md-clear:hover:not(.disable-hover) { - color: #424242; -} - -.toolbar-md-primary .toolbar-background-md { - background: #673AB7; -} - -.toolbar-md-primary .bar-button-clear-md, -.toolbar-md-primary .bar-button-default-md, -.toolbar-md-primary .bar-button-outline-md, -.toolbar-md-primary .toolbar-title-md { - color: #fff; -} - -.toolbar-md-primary .bar-button-clear-md .button-effect, -.toolbar-md-primary .bar-button-default-md .button-effect, -.toolbar-md-primary .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-primary .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-primary .bar-button-primary-md, -.toolbar-md-primary .bar-button-clear-md-primary, -.toolbar-md-primary .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-primary .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-primary .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-primary .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-primary .bar-button-secondary-md, -.toolbar-md-primary .bar-button-clear-md-secondary, -.toolbar-md-primary .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-primary .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-primary .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-primary .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-primary .bar-button-danger-md, -.toolbar-md-primary .bar-button-clear-md-danger, -.toolbar-md-primary .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-primary .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-primary .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-primary .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-primary .bar-button-light-md, -.toolbar-md-primary .bar-button-clear-md-light, -.toolbar-md-primary .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-primary .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-primary .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-primary .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-primary .bar-button-dark-md, -.toolbar-md-primary .bar-button-clear-md-dark, -.toolbar-md-primary .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-primary .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-primary .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-primary .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-primary .bar-button-optblue-md, -.toolbar-md-primary .bar-button-clear-md-optblue, -.toolbar-md-primary .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-primary .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-primary .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-primary .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-primary .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-primary .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-primary-md, -.bar-button-clear-md-primary, -.bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.bar-button-primary-md:hover:not(.disable-hover), -.bar-button-clear-md-primary:hover:not(.disable-hover), -.bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-secondary .toolbar-background-md { - background: #32db64; -} - -.toolbar-md-secondary .bar-button-clear-md, -.toolbar-md-secondary .bar-button-default-md, -.toolbar-md-secondary .bar-button-outline-md, -.toolbar-md-secondary .toolbar-title-md { - color: #fff; -} - -.toolbar-md-secondary .bar-button-clear-md .button-effect, -.toolbar-md-secondary .bar-button-default-md .button-effect, -.toolbar-md-secondary .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-secondary .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-secondary .bar-button-primary-md, -.toolbar-md-secondary .bar-button-clear-md-primary, -.toolbar-md-secondary .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-secondary .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-secondary .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-secondary .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-secondary .bar-button-secondary-md, -.toolbar-md-secondary .bar-button-clear-md-secondary, -.toolbar-md-secondary .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-secondary .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-secondary .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-secondary .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-secondary .bar-button-danger-md, -.toolbar-md-secondary .bar-button-clear-md-danger, -.toolbar-md-secondary .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-secondary .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-secondary .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-secondary .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-secondary .bar-button-light-md, -.toolbar-md-secondary .bar-button-clear-md-light, -.toolbar-md-secondary .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-secondary .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-secondary .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-secondary .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-secondary .bar-button-dark-md, -.toolbar-md-secondary .bar-button-clear-md-dark, -.toolbar-md-secondary .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-secondary .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-secondary .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-secondary .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-secondary .bar-button-optblue-md, -.toolbar-md-secondary .bar-button-clear-md-optblue, -.toolbar-md-secondary .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-secondary .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-secondary .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-secondary .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-secondary .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-secondary .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-secondary-md, -.bar-button-clear-md-secondary, -.bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.bar-button-secondary-md:hover:not(.disable-hover), -.bar-button-clear-md-secondary:hover:not(.disable-hover), -.bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-danger .toolbar-background-md { - background: #f53d3d; -} - -.toolbar-md-danger .bar-button-clear-md, -.toolbar-md-danger .bar-button-default-md, -.toolbar-md-danger .bar-button-outline-md, -.toolbar-md-danger .toolbar-title-md { - color: #fff; -} - -.toolbar-md-danger .bar-button-clear-md .button-effect, -.toolbar-md-danger .bar-button-default-md .button-effect, -.toolbar-md-danger .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-danger .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-danger .bar-button-primary-md, -.toolbar-md-danger .bar-button-clear-md-primary, -.toolbar-md-danger .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-danger .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-danger .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-danger .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-danger .bar-button-secondary-md, -.toolbar-md-danger .bar-button-clear-md-secondary, -.toolbar-md-danger .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-danger .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-danger .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-danger .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-danger .bar-button-danger-md, -.toolbar-md-danger .bar-button-clear-md-danger, -.toolbar-md-danger .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-danger .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-danger .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-danger .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-danger .bar-button-light-md, -.toolbar-md-danger .bar-button-clear-md-light, -.toolbar-md-danger .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-danger .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-danger .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-danger .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-danger .bar-button-dark-md, -.toolbar-md-danger .bar-button-clear-md-dark, -.toolbar-md-danger .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-danger .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-danger .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-danger .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-danger .bar-button-optblue-md, -.toolbar-md-danger .bar-button-clear-md-optblue, -.toolbar-md-danger .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-danger .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-danger .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-danger .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-danger .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-danger .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-danger-md, -.bar-button-clear-md-danger, -.bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.bar-button-danger-md:hover:not(.disable-hover), -.bar-button-clear-md-danger:hover:not(.disable-hover), -.bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-light .toolbar-background-md { - background: #f4f4f4; -} - -.toolbar-md-light .bar-button-clear-md, -.toolbar-md-light .bar-button-default-md, -.toolbar-md-light .bar-button-outline-md, -.toolbar-md-light .toolbar-title-md { - color: #424242; -} - -.toolbar-md-light .bar-button-clear-md .button-effect, -.toolbar-md-light .bar-button-default-md .button-effect, -.toolbar-md-light .bar-button-outline-md .button-effect { - background-color: #424242; -} - -.toolbar-md-light .bar-button-outline-md { - border-color: #424242; -} - -.toolbar-md-light .bar-button-primary-md, -.toolbar-md-light .bar-button-clear-md-primary, -.toolbar-md-light .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-light .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-light .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-light .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-light .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-light .bar-button-secondary-md, -.toolbar-md-light .bar-button-clear-md-secondary, -.toolbar-md-light .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-light .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-light .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-light .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-light .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-light .bar-button-danger-md, -.toolbar-md-light .bar-button-clear-md-danger, -.toolbar-md-light .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-light .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-light .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-light .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-light .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-light .bar-button-light-md, -.toolbar-md-light .bar-button-clear-md-light, -.toolbar-md-light .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-light .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-light .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-light .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-light .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-light .bar-button-dark-md, -.toolbar-md-light .bar-button-clear-md-dark, -.toolbar-md-light .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-light .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-light .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-light .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-light .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-light .bar-button-optblue-md, -.toolbar-md-light .bar-button-clear-md-optblue, -.toolbar-md-light .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-light .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-light .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-light .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-light .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-light .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-light .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-light .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-light-md, -.bar-button-clear-md-light, -.bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.bar-button-light-md:hover:not(.disable-hover), -.bar-button-clear-md-light:hover:not(.disable-hover), -.bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.bar-button-outline-md-light.activated { - background-color: transparent; -} - -.bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-dark .toolbar-background-md { - background: #222; -} - -.toolbar-md-dark .bar-button-clear-md, -.toolbar-md-dark .bar-button-default-md, -.toolbar-md-dark .bar-button-outline-md, -.toolbar-md-dark .toolbar-title-md { - color: #fff; -} - -.toolbar-md-dark .bar-button-clear-md .button-effect, -.toolbar-md-dark .bar-button-default-md .button-effect, -.toolbar-md-dark .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-dark .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-dark .bar-button-primary-md, -.toolbar-md-dark .bar-button-clear-md-primary, -.toolbar-md-dark .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-dark .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-dark .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-dark .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-dark .bar-button-secondary-md, -.toolbar-md-dark .bar-button-clear-md-secondary, -.toolbar-md-dark .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-dark .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-dark .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-dark .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-dark .bar-button-danger-md, -.toolbar-md-dark .bar-button-clear-md-danger, -.toolbar-md-dark .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-dark .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-dark .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-dark .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-dark .bar-button-light-md, -.toolbar-md-dark .bar-button-clear-md-light, -.toolbar-md-dark .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-dark .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-dark .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-dark .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-dark .bar-button-dark-md, -.toolbar-md-dark .bar-button-clear-md-dark, -.toolbar-md-dark .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-dark .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-dark .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-dark .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-dark .bar-button-optblue-md, -.toolbar-md-dark .bar-button-clear-md-optblue, -.toolbar-md-dark .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-dark .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-dark .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-dark .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-dark .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-dark .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-dark-md, -.bar-button-clear-md-dark, -.bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.bar-button-dark-md:hover:not(.disable-hover), -.bar-button-clear-md-dark:hover:not(.disable-hover), -.bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-optblue .toolbar-background-md { - background: #E00201; -} - -.toolbar-md-optblue .bar-button-clear-md, -.toolbar-md-optblue .bar-button-default-md, -.toolbar-md-optblue .bar-button-outline-md, -.toolbar-md-optblue .toolbar-title-md { - color: #fff; -} - -.toolbar-md-optblue .bar-button-clear-md .button-effect, -.toolbar-md-optblue .bar-button-default-md .button-effect, -.toolbar-md-optblue .bar-button-outline-md .button-effect { - background-color: #fff; -} - -.toolbar-md-optblue .bar-button-outline-md { - border-color: #fff; -} - -.toolbar-md-optblue .bar-button-primary-md, -.toolbar-md-optblue .bar-button-clear-md-primary, -.toolbar-md-optblue .bar-button-md-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-primary-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-primary:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-md-optblue .bar-button-outline-md-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-primary.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-primary .button-effect { - background-color: #734abd; -} - -.toolbar-md-optblue .bar-button-solid-md-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-md-optblue .bar-button-solid-md-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-md-optblue .bar-button-secondary-md, -.toolbar-md-optblue .bar-button-clear-md-secondary, -.toolbar-md-optblue .bar-button-md-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-secondary-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-secondary:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-md-optblue .bar-button-outline-md-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-secondary.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-secondary .button-effect { - background-color: #2ec95c; -} - -.toolbar-md-optblue .bar-button-solid-md-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-md-optblue .bar-button-solid-md-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-md-optblue .bar-button-danger-md, -.toolbar-md-optblue .bar-button-clear-md-danger, -.toolbar-md-optblue .bar-button-md-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-danger-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-danger:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-md-optblue .bar-button-outline-md-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-danger.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-danger .button-effect { - background-color: #e13838; -} - -.toolbar-md-optblue .bar-button-solid-md-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-md-optblue .bar-button-solid-md-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-md-optblue .bar-button-light-md, -.toolbar-md-optblue .bar-button-clear-md-light, -.toolbar-md-optblue .bar-button-md-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-light-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-light:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-md-optblue .bar-button-outline-md-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-light.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-light .button-effect { - background-color: #e0e0e0; -} - -.toolbar-md-optblue .bar-button-solid-md-light { - color: #424242; - background-color: #f4f4f4; -} - -.toolbar-md-optblue .bar-button-solid-md-light.activated { - color: #424242; - background-color: #e0e0e0; -} - -.toolbar-md-optblue .bar-button-dark-md, -.toolbar-md-optblue .bar-button-clear-md-dark, -.toolbar-md-optblue .bar-button-md-dark { - color: #222; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-dark-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-dark:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-md-optblue .bar-button-outline-md-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-dark.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-dark .button-effect { - background-color: #343434; -} - -.toolbar-md-optblue .bar-button-solid-md-dark { - color: #fff; - background-color: #222; -} - -.toolbar-md-optblue .bar-button-solid-md-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-md-optblue .bar-button-optblue-md, -.toolbar-md-optblue .bar-button-clear-md-optblue, -.toolbar-md-optblue .bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-optblue-md:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-clear-md-optblue:hover:not(.disable-hover), -.toolbar-md-optblue .bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-md-optblue .bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.toolbar-md-optblue .bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.toolbar-md-optblue .bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-md-optblue .bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-optblue-md, -.bar-button-clear-md-optblue, -.bar-button-md-optblue { - color: #E00201; - background-color: transparent; -} - -.bar-button-optblue-md:hover:not(.disable-hover), -.bar-button-clear-md-optblue:hover:not(.disable-hover), -.bar-button-md-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.bar-button-outline-md-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.bar-button-outline-md-optblue.activated { - background-color: transparent; -} - -.bar-button-outline-md-optblue .button-effect { - background-color: #e21615; -} - -.bar-button-solid-md-optblue { - color: #fff; - background-color: #E00201; -} - -.bar-button-solid-md-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-strong-md { - font-weight: bold; -} - -.toolbar-wp { - padding: 4px; - min-height: 46px; -} - -.toolbar-background-wp { - border-color: #b2b2b2; - background: #f8f8f8; -} - -.toolbar-content-wp { - -webkit-box-flex: 1; - -webkit-flex: 1; - -ms-flex: 1; - flex: 1; - -webkit-box-ordinal-group: 4; - -webkit-order: 3; - -ms-flex-order: 3; - order: 3; - min-width: 0; - max-width: 100%; -} - -.toolbar-title-wp { - font-size: 1.5rem; - font-weight: bold; - text-transform: uppercase; - color: #000; - padding: 0 6px; -} - -.bar-buttons-wp { - -webkit-box-ordinal-group: 5; - -webkit-order: 4; - -ms-flex-order: 4; - order: 4; - -webkit-transform: translateZ(0); - transform: translateZ(0); -} - -.bar-buttons-wp[left] { - -webkit-box-ordinal-group: 3; - -webkit-order: 2; - -ms-flex-order: 2; - order: 2; -} - -.bar-buttons-wp[left] .bar-button:first-child { - margin-left: 0; -} - -.bar-buttons-wp[end] { - text-align: right; - text-align: end; - -webkit-box-ordinal-group: 6; - -webkit-order: 5; - -ms-flex-order: 5; - order: 5; -} - -.bar-buttons-wp[right] { - text-align: right; - -webkit-box-ordinal-group: 7; - -webkit-order: 6; - -ms-flex-order: 6; - order: 6; -} - -.bar-button-wp { - margin: 0 0.2rem; - padding: 0 5px; - border-radius: 2px; - height: 32px; - border: 0; - font-size: 1.4rem; - font-weight: 500; - text-transform: uppercase; -} - -.bar-button-solid-wp, -.bar-button-outline-wp { - overflow: hidden; -} - -.bar-button-outline-wp { - border-width: 1px; - border-style: solid; - border-color: #000; - color: #000; - background-color: transparent; -} - -.bar-button-outline-wp:hover:not(.disable-hover) { - opacity: .4; -} - -.bar-button-outline-wp.activated { - color: #fff; - background-color: #000; -} - -.bar-button-solid-wp { - color: #fff; - background-color: #000; -} - -.bar-button-solid-wp:hover:not(.disable-hover) { - color: #fff; -} - -.bar-button-solid-wp.activated { - color: #fff; - background-color: #141414; -} - -.bar-button-wp.bar-button-icon-start ion-icon { - padding-right: 0.3em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-wp.bar-button-icon-end ion-icon { - padding-left: 0.4em; - font-size: 1.4em; - line-height: .67; - pointer-events: none; -} - -.bar-button-wp[icon-only] { - padding: 0; -} - -.bar-button-wp[icon-only] ion-icon { - padding: 0 0.1em; - min-width: 28px; - font-size: 1.8em; - line-height: .67; - pointer-events: none; -} - -.back-button-wp { - margin: 0 6px; - min-width: 44px; - -webkit-box-shadow: none; - box-shadow: none; -} - -.back-button-icon-wp { - text-align: left; - text-align: start; - margin: 0; - padding: 0 6px; - font-size: 2.4rem; - font-weight: normal; -} - -.bar-button-menutoggle-wp { - margin: 0 6px; - padding: 0 2px; - -webkit-box-ordinal-group: 2; - -webkit-order: 1; - -ms-flex-order: 1; - order: 1; - min-width: 44px; -} - -.bar-button-menutoggle-wp ion-icon { - padding: 0 6px; - font-size: 2.4rem; -} - -.bar-button-menutoggle-wp[end], -.bar-button-menutoggle-wp[right] { - margin: 0 2px; - -webkit-box-ordinal-group: 8; - -webkit-order: 7; - -ms-flex-order: 7; - order: 7; - min-width: 28px; -} - -.bar-button-default-wp, -.bar-button-clear-wp-default, -.bar-button-wp-default { - color: #000; - background-color: transparent; -} - -.bar-button-default-wp:hover:not(.disable-hover), -.bar-button-clear-wp-default:hover:not(.disable-hover), -.bar-button-wp-default:hover:not(.disable-hover) { - color: #000; -} - -.bar-button-clear-wp, -.bar-button-clear-wp-clear, -.bar-button-wp-clear { - color: #000; - background-color: transparent; -} - -.bar-button-clear-wp:hover:not(.disable-hover), -.bar-button-clear-wp-clear:hover:not(.disable-hover), -.bar-button-wp-clear:hover:not(.disable-hover) { - color: #000; -} - -.toolbar-wp-primary .toolbar-background-wp { - background: #673AB7; -} - -.toolbar-wp-primary .bar-button-clear-wp, -.toolbar-wp-primary .bar-button-default-wp, -.toolbar-wp-primary .bar-button-outline-wp, -.toolbar-wp-primary .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-primary .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-primary .bar-button-primary-wp, -.toolbar-wp-primary .bar-button-clear-wp-primary, -.toolbar-wp-primary .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-primary .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-primary .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-primary .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-primary .bar-button-secondary-wp, -.toolbar-wp-primary .bar-button-clear-wp-secondary, -.toolbar-wp-primary .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-primary .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-primary .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-primary .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-primary .bar-button-danger-wp, -.toolbar-wp-primary .bar-button-clear-wp-danger, -.toolbar-wp-primary .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-primary .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-primary .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-primary .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-primary .bar-button-light-wp, -.toolbar-wp-primary .bar-button-clear-wp-light, -.toolbar-wp-primary .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-primary .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-primary .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-primary .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-primary .bar-button-dark-wp, -.toolbar-wp-primary .bar-button-clear-wp-dark, -.toolbar-wp-primary .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-primary .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-primary .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-primary .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-primary .bar-button-optblue-wp, -.toolbar-wp-primary .bar-button-clear-wp-optblue, -.toolbar-wp-primary .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-primary .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-primary .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-primary .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-primary .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-primary .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-primary-wp, -.bar-button-clear-wp-primary, -.bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.bar-button-primary-wp:hover:not(.disable-hover), -.bar-button-clear-wp-primary:hover:not(.disable-hover), -.bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-secondary .toolbar-background-wp { - background: #32db64; -} - -.toolbar-wp-secondary .bar-button-clear-wp, -.toolbar-wp-secondary .bar-button-default-wp, -.toolbar-wp-secondary .bar-button-outline-wp, -.toolbar-wp-secondary .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-secondary .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-secondary .bar-button-primary-wp, -.toolbar-wp-secondary .bar-button-clear-wp-primary, -.toolbar-wp-secondary .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-secondary .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-secondary .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-secondary .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-secondary .bar-button-secondary-wp, -.toolbar-wp-secondary .bar-button-clear-wp-secondary, -.toolbar-wp-secondary .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-secondary .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-secondary .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-secondary .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-secondary .bar-button-danger-wp, -.toolbar-wp-secondary .bar-button-clear-wp-danger, -.toolbar-wp-secondary .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-secondary .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-secondary .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-secondary .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-secondary .bar-button-light-wp, -.toolbar-wp-secondary .bar-button-clear-wp-light, -.toolbar-wp-secondary .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-secondary .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-secondary .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-secondary .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-secondary .bar-button-dark-wp, -.toolbar-wp-secondary .bar-button-clear-wp-dark, -.toolbar-wp-secondary .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-secondary .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-secondary .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-secondary .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-secondary .bar-button-optblue-wp, -.toolbar-wp-secondary .bar-button-clear-wp-optblue, -.toolbar-wp-secondary .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-secondary .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-secondary .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-secondary .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-secondary .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-secondary .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-secondary-wp, -.bar-button-clear-wp-secondary, -.bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.bar-button-secondary-wp:hover:not(.disable-hover), -.bar-button-clear-wp-secondary:hover:not(.disable-hover), -.bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-danger .toolbar-background-wp { - background: #f53d3d; -} - -.toolbar-wp-danger .bar-button-clear-wp, -.toolbar-wp-danger .bar-button-default-wp, -.toolbar-wp-danger .bar-button-outline-wp, -.toolbar-wp-danger .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-danger .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-danger .bar-button-primary-wp, -.toolbar-wp-danger .bar-button-clear-wp-primary, -.toolbar-wp-danger .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-danger .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-danger .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-danger .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-danger .bar-button-secondary-wp, -.toolbar-wp-danger .bar-button-clear-wp-secondary, -.toolbar-wp-danger .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-danger .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-danger .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-danger .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-danger .bar-button-danger-wp, -.toolbar-wp-danger .bar-button-clear-wp-danger, -.toolbar-wp-danger .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-danger .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-danger .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-danger .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-danger .bar-button-light-wp, -.toolbar-wp-danger .bar-button-clear-wp-light, -.toolbar-wp-danger .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-danger .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-danger .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-danger .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-danger .bar-button-dark-wp, -.toolbar-wp-danger .bar-button-clear-wp-dark, -.toolbar-wp-danger .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-danger .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-danger .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-danger .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-danger .bar-button-optblue-wp, -.toolbar-wp-danger .bar-button-clear-wp-optblue, -.toolbar-wp-danger .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-danger .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-danger .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-danger .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-danger .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-danger .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-danger-wp, -.bar-button-clear-wp-danger, -.bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.bar-button-danger-wp:hover:not(.disable-hover), -.bar-button-clear-wp-danger:hover:not(.disable-hover), -.bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-light .toolbar-background-wp { - background: #f4f4f4; -} - -.toolbar-wp-light .bar-button-clear-wp, -.toolbar-wp-light .bar-button-default-wp, -.toolbar-wp-light .bar-button-outline-wp, -.toolbar-wp-light .toolbar-title-wp { - color: #000; -} - -.toolbar-wp-light .bar-button-outline-wp { - border-color: #000; -} - -.toolbar-wp-light .bar-button-primary-wp, -.toolbar-wp-light .bar-button-clear-wp-primary, -.toolbar-wp-light .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-light .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-light .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-light .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-light .bar-button-secondary-wp, -.toolbar-wp-light .bar-button-clear-wp-secondary, -.toolbar-wp-light .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-light .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-light .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-light .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-light .bar-button-danger-wp, -.toolbar-wp-light .bar-button-clear-wp-danger, -.toolbar-wp-light .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-light .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-light .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-light .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-light .bar-button-light-wp, -.toolbar-wp-light .bar-button-clear-wp-light, -.toolbar-wp-light .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-light .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-light .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-light .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-light .bar-button-dark-wp, -.toolbar-wp-light .bar-button-clear-wp-dark, -.toolbar-wp-light .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-light .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-light .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-light .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-light .bar-button-optblue-wp, -.toolbar-wp-light .bar-button-clear-wp-optblue, -.toolbar-wp-light .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-light .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-light .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-light .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-light .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-light .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-light-wp, -.bar-button-clear-wp-light, -.bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.bar-button-light-wp:hover:not(.disable-hover), -.bar-button-clear-wp-light:hover:not(.disable-hover), -.bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-dark .toolbar-background-wp { - background: #222; -} - -.toolbar-wp-dark .bar-button-clear-wp, -.toolbar-wp-dark .bar-button-default-wp, -.toolbar-wp-dark .bar-button-outline-wp, -.toolbar-wp-dark .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-dark .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-dark .bar-button-primary-wp, -.toolbar-wp-dark .bar-button-clear-wp-primary, -.toolbar-wp-dark .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-dark .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-dark .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-dark .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-dark .bar-button-secondary-wp, -.toolbar-wp-dark .bar-button-clear-wp-secondary, -.toolbar-wp-dark .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-dark .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-dark .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-dark .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-dark .bar-button-danger-wp, -.toolbar-wp-dark .bar-button-clear-wp-danger, -.toolbar-wp-dark .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-dark .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-dark .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-dark .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-dark .bar-button-light-wp, -.toolbar-wp-dark .bar-button-clear-wp-light, -.toolbar-wp-dark .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-dark .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-dark .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-dark .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-dark .bar-button-dark-wp, -.toolbar-wp-dark .bar-button-clear-wp-dark, -.toolbar-wp-dark .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-dark .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-dark .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-dark .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-dark .bar-button-optblue-wp, -.toolbar-wp-dark .bar-button-clear-wp-optblue, -.toolbar-wp-dark .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-dark .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-dark .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-dark .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-dark .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-dark .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-dark-wp, -.bar-button-clear-wp-dark, -.bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.bar-button-dark-wp:hover:not(.disable-hover), -.bar-button-clear-wp-dark:hover:not(.disable-hover), -.bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-optblue .toolbar-background-wp { - background: #E00201; -} - -.toolbar-wp-optblue .bar-button-clear-wp, -.toolbar-wp-optblue .bar-button-default-wp, -.toolbar-wp-optblue .bar-button-outline-wp, -.toolbar-wp-optblue .toolbar-title-wp { - color: #fff; -} - -.toolbar-wp-optblue .bar-button-outline-wp { - border-color: #fff; -} - -.toolbar-wp-optblue .bar-button-primary-wp, -.toolbar-wp-optblue .bar-button-clear-wp-primary, -.toolbar-wp-optblue .bar-button-wp-primary { - color: #673AB7; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-primary-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-primary:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-primary:hover:not(.disable-hover) { - color: #673AB7; -} - -.toolbar-wp-optblue .bar-button-outline-wp-primary { - border-color: #734abd; - color: #734abd; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-optblue .bar-button-solid-wp-primary { - color: #fff; - background-color: #673AB7; -} - -.toolbar-wp-optblue .bar-button-solid-wp-primary.activated { - color: #fff; - background-color: #734abd; -} - -.toolbar-wp-optblue .bar-button-secondary-wp, -.toolbar-wp-optblue .bar-button-clear-wp-secondary, -.toolbar-wp-optblue .bar-button-wp-secondary { - color: #32db64; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-secondary-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-secondary:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-secondary:hover:not(.disable-hover) { - color: #32db64; -} - -.toolbar-wp-optblue .bar-button-outline-wp-secondary { - border-color: #2ec95c; - color: #2ec95c; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-optblue .bar-button-solid-wp-secondary { - color: #fff; - background-color: #32db64; -} - -.toolbar-wp-optblue .bar-button-solid-wp-secondary.activated { - color: #fff; - background-color: #2ec95c; -} - -.toolbar-wp-optblue .bar-button-danger-wp, -.toolbar-wp-optblue .bar-button-clear-wp-danger, -.toolbar-wp-optblue .bar-button-wp-danger { - color: #f53d3d; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-danger-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-danger:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-danger:hover:not(.disable-hover) { - color: #f53d3d; -} - -.toolbar-wp-optblue .bar-button-outline-wp-danger { - border-color: #e13838; - color: #e13838; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-optblue .bar-button-solid-wp-danger { - color: #fff; - background-color: #f53d3d; -} - -.toolbar-wp-optblue .bar-button-solid-wp-danger.activated { - color: #fff; - background-color: #e13838; -} - -.toolbar-wp-optblue .bar-button-light-wp, -.toolbar-wp-optblue .bar-button-clear-wp-light, -.toolbar-wp-optblue .bar-button-wp-light { - color: #f4f4f4; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-light-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-light:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-light:hover:not(.disable-hover) { - color: #f4f4f4; -} - -.toolbar-wp-optblue .bar-button-outline-wp-light { - border-color: #e0e0e0; - color: #e0e0e0; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-optblue .bar-button-solid-wp-light { - color: #000; - background-color: #f4f4f4; -} - -.toolbar-wp-optblue .bar-button-solid-wp-light.activated { - color: #000; - background-color: #e0e0e0; -} - -.toolbar-wp-optblue .bar-button-dark-wp, -.toolbar-wp-optblue .bar-button-clear-wp-dark, -.toolbar-wp-optblue .bar-button-wp-dark { - color: #222; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-dark-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-dark:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-dark:hover:not(.disable-hover) { - color: #222; -} - -.toolbar-wp-optblue .bar-button-outline-wp-dark { - border-color: #343434; - color: #343434; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-optblue .bar-button-solid-wp-dark { - color: #fff; - background-color: #222; -} - -.toolbar-wp-optblue .bar-button-solid-wp-dark.activated { - color: #fff; - background-color: #343434; -} - -.toolbar-wp-optblue .bar-button-optblue-wp, -.toolbar-wp-optblue .bar-button-clear-wp-optblue, -.toolbar-wp-optblue .bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-optblue-wp:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-clear-wp-optblue:hover:not(.disable-hover), -.toolbar-wp-optblue .bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.toolbar-wp-optblue .bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.toolbar-wp-optblue .bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.toolbar-wp-optblue .bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.toolbar-wp-optblue .bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-optblue-wp, -.bar-button-clear-wp-optblue, -.bar-button-wp-optblue { - color: #E00201; - background-color: transparent; -} - -.bar-button-optblue-wp:hover:not(.disable-hover), -.bar-button-clear-wp-optblue:hover:not(.disable-hover), -.bar-button-wp-optblue:hover:not(.disable-hover) { - color: #E00201; -} - -.bar-button-outline-wp-optblue { - border-color: #e21615; - color: #e21615; - background-color: transparent; -} - -.bar-button-outline-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-solid-wp-optblue { - color: #fff; - background-color: #E00201; -} - -.bar-button-solid-wp-optblue.activated { - color: #fff; - background-color: #e21615; -} - -.bar-button-strong-wp { - font-weight: bold; -} - -.text-ios-primary { - color: #673AB7; -} - -.text-ios-secondary { - color: #32db64; -} - -.text-ios-danger { - color: #f53d3d; -} - -.text-ios-light { - color: #f4f4f4; -} - -.text-ios-dark { - color: #222; -} - -.text-ios-optblue { - color: #E00201; -} - -.text-md-primary { - color: #673AB7; -} - -.text-md-secondary { - color: #32db64; -} - -.text-md-danger { - color: #f53d3d; -} - -.text-md-light { - color: #f4f4f4; -} - -.text-md-dark { - color: #222; -} - -.text-md-optblue { - color: #E00201; -} - -.text-wp-primary { - color: #673AB7; -} - -.text-wp-secondary { - color: #32db64; -} - -.text-wp-danger { - color: #f53d3d; -} - -.text-wp-light { - color: #f4f4f4; -} - -.text-wp-dark { - color: #222; -} - -.text-wp-optblue { - color: #E00201; -} - -.virtual-loading { - opacity: 0; -} - -.virtual-scroll { - position: relative; - contain: content; -} - -.virtual-scroll .virtual-position, -.virtual-scroll .virtual-position.item { - left: 0; - top: 0; - position: absolute; - -webkit-transition-duration: 0ms; - transition-duration: 0ms; - contain: content; -} - -.virtual-scroll .virtual-last { - display: none; -} - -.ios ion-nav > .ion-page > .toolbar.statusbar-padding:first-child, -.ios ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.ios ion-tab > .ion-page > .toolbar.statusbar-padding:first-child, -.ios ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child, -.ios ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child, -.ios ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(44px + 20px); - min-height: calc(44px + constant(safe-area-inset-top)); - min-height: calc(44px + env(safe-area-inset-top)); -} - -.ios ion-nav > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-tab > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-menu > .menu-inner > ion-content.statusbar-padding:first-child .scroll-content, -.ios ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -.ios ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.ios ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.ios ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -.ios ion-nav > .ion-page > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-nav > .ion-page > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-tab > .ion-page > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-tab > .ion-page > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child ion-title, -.ios ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child ion-segment, -.ios ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child ion-title { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - height: calc(44px + 20px); - height: calc(44px + constant(safe-area-inset-top)); - height: calc(44px + env(safe-area-inset-top)); - min-height: calc(44px + 20px); - min-height: calc(44px + constant(safe-area-inset-top)); - min-height: calc(44px + env(safe-area-inset-top)); -} - -@media only screen and (max-width: 767px) { - .ios .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(44px + 20px); - min-height: calc(44px + constant(safe-area-inset-top)); - min-height: calc(44px + env(safe-area-inset-top)); - } - .ios .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } - .ios .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, - .ios .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } - .ios .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-segment, - .ios .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child ion-title { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - height: calc(44px + 20px); - height: calc(44px + constant(safe-area-inset-top)); - height: calc(44px + env(safe-area-inset-top)); - min-height: calc(44px + 20px); - min-height: calc(44px + constant(safe-area-inset-top)); - min-height: calc(44px + env(safe-area-inset-top)); - } -} - -.ios .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar { - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); -} - -.ios ion-footer .toolbar:last-child { - padding-bottom: calc(constant(safe-area-inset-bottom) + 4px); - padding-bottom: calc(env(safe-area-inset-bottom) + 4px); - min-height: calc(44px + constant(safe-area-inset-bottom)); - min-height: calc(44px + env(safe-area-inset-bottom)); -} - -.md ion-nav > .ion-page > .toolbar.statusbar-padding:first-child, -.md ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.md ion-tab > .ion-page > .toolbar.statusbar-padding:first-child, -.md ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.md ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child, -.md ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child, -.md ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(56px + 20px); - min-height: calc(56px + constant(safe-area-inset-top)); - min-height: calc(56px + env(safe-area-inset-top)); -} - -.md ion-nav > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-tab > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-menu > .menu-inner > ion-content.statusbar-padding:first-child .scroll-content, -.md ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -.md ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.md ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.md ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -@media only screen and (max-width: 767px) { - .md .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(56px + 20px); - min-height: calc(56px + constant(safe-area-inset-top)); - min-height: calc(56px + env(safe-area-inset-top)); - } - .md .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } - .md .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, - .md .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } -} - -.md .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar { - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); -} - -.md ion-footer .toolbar:last-child { - padding-bottom: calc(constant(safe-area-inset-bottom) + 4px); - padding-bottom: calc(env(safe-area-inset-bottom) + 4px); - min-height: calc(56px + constant(safe-area-inset-bottom)); - min-height: calc(56px + env(safe-area-inset-bottom)); -} - -.wp ion-nav > .ion-page > .toolbar.statusbar-padding:first-child, -.wp ion-nav > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.wp ion-tab > .ion-page > .toolbar.statusbar-padding:first-child, -.wp ion-tab > .ion-page > ion-header > .toolbar.statusbar-padding:first-child, -.wp ion-tabs > .ion-page.tab-subpage > ion-header > .toolbar.statusbar-padding:first-child, -.wp ion-menu > .menu-inner > .toolbar.statusbar-padding:first-child, -.wp ion-menu > .menu-inner > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(46px + 20px); - min-height: calc(46px + constant(safe-area-inset-top)); - min-height: calc(46px + env(safe-area-inset-top)); -} - -.wp ion-nav > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-tab > .ion-page > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-menu > .menu-inner > ion-content.statusbar-padding:first-child .scroll-content, -.wp ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -.wp ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-nav > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-nav > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-tab > .ion-page > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-tab > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-tabs > .ion-page.tab-subpage > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-menu > .menu-inner > ion-content.statusbar-padding:first-child[padding-top] .scroll-content, -.wp ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, -.wp ion-menu > .menu-inner > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); -} - -@media only screen and (max-width: 767px) { - .wp .modal-wrapper > .ion-page > ion-header > .toolbar.statusbar-padding:first-child { - padding-top: calc(20px + 4px); - padding-top: calc(constant(safe-area-inset-top) + 4px); - padding-top: calc(env(safe-area-inset-top) + 4px); - min-height: calc(46px + 20px); - min-height: calc(46px + constant(safe-area-inset-top)); - min-height: calc(46px + env(safe-area-inset-top)); - } - .wp .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child .scroll-content { - padding-top: 20px; - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } - .wp .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding] .scroll-content, - .wp .modal-wrapper > .ion-page > ion-header > ion-content.statusbar-padding:first-child[padding-top] .scroll-content { - padding-top: calc(16px + 20px); - padding-top: constant(safe-area-inset-top); - padding-top: env(safe-area-inset-top); - } -} - -.wp .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar { - padding-bottom: constant(safe-area-inset-bottom); - padding-bottom: env(safe-area-inset-bottom); -} - -.wp ion-footer .toolbar:last-child { - padding-bottom: calc(constant(safe-area-inset-bottom) + 4px); - padding-bottom: calc(env(safe-area-inset-bottom) + 4px); - min-height: calc(46px + constant(safe-area-inset-bottom)); - min-height: calc(46px + env(safe-area-inset-bottom)); -} - -image-viewer.ion-page { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - height: 100%; - opacity: 1; -} - -image-viewer.ion-page ion-navbar.toolbar .toolbar-background { - background-color: transparent; -} - -image-viewer.ion-page ion-navbar.toolbar.toolbar-ios { - padding-top: calc(20px + 4px); -} - -image-viewer.ion-page ion-navbar .bar-button-default { - color: white; -} - -image-viewer.ion-page .backdrop { - will-change: opacity; -} - -image-viewer.ion-page .image-wrapper { - position: relative; - z-index: 10; - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - overflow: hidden; - -webkit-box-orient: vertical; - -webkit-box-direction: normal; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin-top: 56px; - -webkit-box-flex: 1; - -webkit-flex-grow: 1; - -ms-flex-positive: 1; - flex-grow: 1; - -webkit-box-pack: center; - -webkit-justify-content: center; - -ms-flex-pack: center; - justify-content: center; -} - -image-viewer.ion-page .image { - will-change: transform; -} - -image-viewer.ion-page img { - display: block; - max-width: 100%; - max-height: 100%; - margin: 0 auto; -} - -@font-face { - font-family: Roboto; - src: url("../assets/fonts/Roboto-Light.ttf"); -} - -* { - font-family: Roboto; - font-size: 16px; -} - -.align-center { - text-align: center; -} - -.highlight { - background-color: #f4f4f4; -} - -.center { - display: block; - margin: 0 auto; -} - -.vertical-center { - position: absolute; - top: 50%; - -webkit-transform: translateY(-50%); - transform: translateY(-50%); -} - -.top-radius { - border-radius: 10% 10% 0 0; -} - -.bottom-radius { - border-radius: 0 0 10% 10%; -} - -.round { - border-radius: 50%; -} - -.transparent-header .toolbar-content, -.transparent-header .back-button { - color: white; -} - -.transparent-header .toolbar-background, -.transparent-header ion-navbar, -.transparent-header ion-header { - background: transparent !important; - background-color: transparent !important; -} - -.transparent-header .header-md::after, -.transparent-header .toolbar-background-ios { - background-image: none; - border-bottom: 0; -} - -.transparent-header .header-ios .toolbar-background-ios, -.transparent-header .footer-ios .toolbar-background-ios { - border: 0; -} - -#menu-right button { - padding-left: 16px; -} - -#menu-right ion-content { - background: #00d2ff; - /* fallback for old browsers */ - /* Chrome 10-25, Safari 5.1-6 */ - background: -webkit-gradient(linear, right top, left top, from(#3a7bd5), to(#00d2ff)); - background: linear-gradient(to left, #3a7bd5, #00d2ff); - /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ -} - -#menu-right .menu-inner { - width: 10vh; -} - -@media screen and (orientation: landscape) { - #menu-right .menu-inner { - width: 15vh; - } -} - -#menu-right .active-menu-item { - position: absolute; - border-top: 6px solid transparent; - border-bottom: 6px solid transparent; - border-left: 6px solid #ffffff; -} - -#menu-right .label { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - -webkit-box-align: center; - -webkit-align-items: center; - -ms-flex-align: center; - align-items: center; -} - -#menu-right .list-md[no-lines] .item-block, -#menu-right .list-md[no-lines] ion-item-options, -#menu-right .list-md[no-lines] .item .item-inner, -#menu-right .list-ios[no-lines] .item-block, -#menu-right .list-ios[no-lines] ion-item-options, -#menu-right .list-ios[no-lines] .item .item-inner { - padding: .3rem 0; - background: transparent; - color: white; -} - -#menu-right ion-icon { - line-height: 1; -} - -.icon-badge { - top: 0px; - right: 0px; - background: #E00201; - color: white; - font-size: 12px; - position: absolute; - padding: 5px 8px; - border-radius: 15px; -} - -#menu-avatar .user-avatar { - max-width: 125px; - height: 125px; - padding: .5em; -} - -#menu-avatar h3, -#menu-avatar .label { - color: white; - font-weight: bold; - font-size: 14px; -} - -#menu-avatar .item { - background: transparent; -} - -#menu-avatar ion-content { - background: #649173; - /* fallback for old browsers */ - /* Chrome 10-25, Safari 5.1-6 */ - background: -webkit-gradient(linear, right top, left top, from(#DBD5A4), to(#649173)); - background: linear-gradient(to left, #DBD5A4, #649173); - /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ -} - -#menu-avatar .menu-inner { - background: rgba(255, 255, 255, 0.3); -} - -#menu-material .scroll-content .name { - font-weight: 500; - margin-top: 0px; - margin-left: 0px; - font-size: 24px; -} - -#menu-material .scroll-content .e-mail { - margin-top: 0; - margin-bottom: 5px; -} - -#menu-material .user-avatar { - max-width: 125px; - height: 125px; - padding: .5em; - height: 12vh; -} - -#menu-material h3, -#menu-material .label { - color: #111; - font-weight: 500; -} - -#menu-material .menu-inner { - -webkit-box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12) !important; - box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12) !important; -} - -#menu-material .menu-header { - background-image: url("../assets/img/misc/sidemenubg.jpg"); - background-size: cover; - color: white; - padding-bottom: 15px; -} - -#menu-material .item-md { - background-color: rgba(255, 255, 255, 0.28) !important; -} - -#menu-material ion-icon { - color: #111; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-background { - background: #19152C; - border: #19152C; -} - -#menu-dark .sidemenuHeader ion-toolbar ion-buttons button { - color: #fff; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item { - background: transparent; - color: #fff; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar { - background: #fff; - color: #8835C3; - border-radius: 50%; - text-align: center; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar h2 { - margin: 0; - font-size: 25px; - line-height: 40px; - color: #19152C; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item h2 { - font-size: 12px; - font-weight: normal; -} - -#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item p { - font-size: 11px; - font-weight: normal; - color: #fff; -} - -#menu-dark .menu { - background: #19152C; -} - -#menu-dark .menu ion-list button { - background: transparent; - color: #C9C7D3; - font-size: 13px; -} - -#menu-dark .menu ion-list button .item-inner { - border-bottom: 1px solid #474456 !important; -} - -#menu-dark .menu ion-list button .item-inner img { - width: 30px; - height: 30px; - vertical-align: middle; - margin-right: 10px; - margin-bottom: 5px; -} - -page-auth .scroll-content { - background-color: #eee; -} - -page-auth .mat-card { - width: 80%; - margin-left: 10%; - margin-top: 35%; - border-radius: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-auth h4 { - font-weight: normal; -} - -page-auth button.mat-primary { - background-color: #E00201 !important; -} - -page-auth .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-auth .rounded-circle { - border-radius: 50% !important; -} - -page-auth .img-fluid { - max-width: 40%; - height: auto; - margin-top: -70px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); -} - -page-auth ion-icon { - font-size: 2.2em; -} - -page-googleplaytab .SwipedTabs-indicatorSegment { - -webkit-transition: 0.2s all; - transition: 0.2s all; - -webkit-transform-origin: top 0 left 0; - transform-origin: top 0 left 0; - height: 1px; - position: relative; - top: -2px; - background-color: blue !important; -} - -page-googleplaytab .SwipedTabs-tabs ion-segment-button { - border: none !important; - color: #111 !important; - background-color: white !important; - padding-left: 16px !important; - padding-right: 20px !important; -} - -page-googleplaytab .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab { - color: blue !important; -} - -page-googleplaytab .SwipedTabs-tabs { - width: -webkit-fit-content !important; - width: -moz-fit-content !important; - width: fit-content !important; -} - -page-googleplaytab .toolbar * { - margin: 0 !important; -} - -page-googleplaytab .tabsContent .scroll-content { - overflow-x: scroll !important; -} - -page-googleplaytab .tabsContent { - height: 50px !important; -} - -page-googleplaytab .segment-button { - max-width: initial !important; - -webkit-box-flex: 1 !important; - -webkit-flex: auto !important; - -ms-flex: auto !important; - flex: auto !important; - width: initial !important; -} - -page-googleplaytab .segment-md .segment-button { - font-size: 2.0rem; -} - -page-googleplaytab .scroll-content { - background-color: #eee !important; -} - -page-googleplaytab .grid { - padding: 0px; -} - -page-googleplaytab h1 { - margin: 2px 0; - font-size: 2.2rem !important; -} - -page-googleplaytab .scroll-content { - background-color: #eee !important; - padding: 0px !important; -} - -page-googleplaytab .mat-card { - -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(156, 39, 176, 0.6) !important; - box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(156, 39, 176, 0.6) !important; - margin-bottom: 3px; -} - -page-googleplaytab h2 { - font-size: 2.0rem; - font-weight: normal; -} - -page-input .example-form { - min-width: 150px; - max-width: 500px; - width: 100%; -} - -page-input .example-full-width { - width: 100%; -} - -page-input .cusicon { - padding-top: 36px; - font-size: 23px; - color: #3272b2; -} - -page-input mat-grid-tile { - background: white !important; -} - -page-input .fadeIn { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; - -webkit-animation-duration: 15s; - animation-duration: 15s; - -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); - transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); -} - -@font-face { - page-input { - font-family: Roboto; - src: url("../../assets/fonts/Roboto-Bold.ttf") !important; - } -} - -page-input h1 { - margin: 2px 0; - font-size: 1.6rem; - font-weight: bold !important; - color: #3272b2; -} - -page-input .box { - -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; - box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; -} - -page-input .scroll-content { - background-color: #eee !important; -} - -page-input .mat-card { - padding: 7px 16px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-input * { - font-size: 14px; -} - -page-input .mat-card-title { - margin-bottom: 0px; -} - -page-input .button-md-primary { - background-color: #E00201 !important; - margin-bottom: 0px !important; - height: 50px; -} - -page-input .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-input .fab-md-optblue { - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-input ion-footer { - position: absolute; -} - -page-input .cardinfo { - font-size: 19px !important; - padding-bottom: 30px !important; -} - -page-input .schdul { - border-radius: 5px; - color: red; - padding-bottom: 20px; -} - -page-input ion-input { - color: red; - background-color: lightgray; - padding-left: 10px; - font-weight: bold; -} - -page-input ion-label { - font-weight: bold; -} - -page-input .input-cover { - position: static; -} - -page-input .leaveDays { - color: red; -} - -page-bounced-reject .scroll-content { - background-color: #eee !important; -} - -page-bounced-reject .mat-card { - padding: 7px 16px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - border-radius: 10px; -} - -page-login .scroll-content { - background-image: url("../assets/img/misc/login.jpg"); - background-size: cover; -} - -page-login .form { - margin: 22px; - font: inherit; - color: inherit; -} - -page-login .mat-card { - margin-top: 50%; - background-color: rgba(255, 255, 255, 0.57); - border-radius: 10px; -} - -page-login .login-session { - margin-top: 50%; -} - -page-login img { - height: 70px !important; -} - -page-login * { - font-size: 25px !important; -} - -page-login button.mat-primary { - background-color: #E00201 !important; -} - -page-login .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-otp .scroll-content { - background-color: #eee; -} - -page-otp .mat-card { - width: 80%; - margin-left: 10%; - margin-top: 35%; - border-radius: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-otp h4 { - font-weight: normal; -} - -page-otp button.mat-primary { - background-color: #E00201 !important; -} - -page-otp .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-otp .rounded-circle { - border-radius: 50% !important; - background-image: url("../assets/img/misc/avatar.jpg"); -} - -page-otp .img-fluid { - max-width: 40%; - height: auto; - margin-top: -70px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); -} - -page-otp ion-icon { - font-size: 2.2em; -} - -page-password .scroll-content { - background-color: #eee; -} - -page-password .mat-card { - width: 80%; - margin-left: 10%; - margin-top: 35%; - border-radius: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-password h4 { - font-weight: normal; -} - -page-password button.mat-primary { - background-color: #dd4437 !important; -} - -page-password .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-password .rounded-circle { - border-radius: 50% !important; - background-image: url("../assets/img/misc/avatar.jpg"); -} - -page-password .img-fluid { - max-width: 40%; - height: auto; - margin-top: -70px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2); -} - -page-password ion-icon { - font-size: 2.2em; -} - -page-pd-allocation mat-grid-tile { - background: white !important; -} - -page-pd-allocation .fadeIn { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; - -webkit-animation-duration: 15s; - animation-duration: 15s; - -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); - transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); -} - -@font-face { - page-pd-allocation { - font-family: Roboto; - src: url("../../assets/fonts/Roboto-Bold.ttf") !important; - } -} - -page-pd-allocation .box { - -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; - box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(50, 114, 178, 0.59) !important; -} - -page-pd-allocation .scroll-content { - background-color: #eee !important; - padding: 0px !important; -} - -page-pd-allocation * { - font-size: 14px; -} - -page-pd-allocation .mat-card-title { - margin-bottom: 0px; -} - -page-pd-allocation .lettericon { - background-color: cadetblue; - padding: 10px 15px 10px 15px; - border-radius: 50%; - color: #fff; -} - -page-pd-allocation .mat-card-header-text { - margin: 0px; -} - -page-pd-allocation .mat-card-subtitle { - margin-bottom: 0px; -} - -page-pd-allocation .mat-card-content > :last-child:not(.mat-card-footer) { - margin-top: 0px; -} - -page-pd-allocation p { - margin-top: 0 !important; - margin-left: 5% !important; -} - -page-pd-allocation h2 { - margin: 1px !important; -} - -page-pd-allocation .mat-card { - border-radius: 10px; -} - -page-pd-list mat-grid-tile { - background: white !important; -} - -page-pd-list .grid { - padding: 0px; -} - -page-pd-list .scroll-content { - padding: 0px !important; -} - -page-pd-list .fadeIn { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; - -webkit-animation-duration: 15s; - animation-duration: 15s; - -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); - transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); -} - -@font-face { - page-pd-list { - font-family: Roboto; - src: url("../../assets/fonts/Roboto-Bold.ttf") !important; - } -} - -page-pd-list h1 { - margin: 2px 0; - font-size: 2.2rem !important; -} - -page-pd-list .scroll-content { - padding: 0px !important; -} - -page-pd-list .mat-card { - padding: 0px !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; -} - -page-pd-list * { - font-size: 10px; -} - -page-pd-list .mat-card-title { - margin-bottom: 0px; -} - -page-pd-list .list-md { - margin: 0px; -} - -page-pd-list .lettericon { - background-color: cadetblue; - padding: 10px 15px 10px 15px; - border-radius: 50%; - color: #fff; -} - -page-pd-list .label-md { - margin: 0px; -} - -page-pd-list .item-md h4 { - font-size: 1.7rem; -} - -page-pd-list .item-md ion-icon[item-start] + .item-inner { - margin-left: 0px; -} - -page-pd-list .mat-raised-button { - border-radius: 30px; - padding: 19px 45px; - line-height: 0px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-list .button-md-primary { - margin-bottom: 0px !important; - height: 50px; -} - -page-pd-list ion-fab[middle] { - top: 17% !important; -} - -page-pd-list .fab-md-optblue { - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-list ion-footer { - position: absolute; -} - -page-pd-list ion-slide.swiper-slide { - -webkit-box-align: start; - -webkit-align-items: flex-start; - -ms-flex-align: start; - align-items: flex-start; -} - -page-pd-list ion-slides { - height: auto; -} - -page-pd-question .SwipedTabs-indicatorSegment { - -webkit-transition: 0.2s all; - transition: 0.2s all; - -webkit-transform-origin: top 0 left 0; - transform-origin: top 0 left 0; - height: 1px; - position: relative; - top: -2px; - background-color: blue !important; -} - -page-pd-question .SwipedTabs-tabs ion-segment-button { - border: none !important; - color: #111 !important; - background-color: white !important; - padding-left: 16px !important; - padding-right: 20px !important; -} - -page-pd-question .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab { - color: blue !important; -} - -page-pd-question .SwipedTabs-tabs { - width: -webkit-fit-content !important; - width: -moz-fit-content !important; - width: fit-content !important; -} - -page-pd-question .toolbar * { - margin: 0 !important; -} - -page-pd-question .tabsContent .scroll-content { - overflow-x: scroll !important; -} - -page-pd-question .tabsContent { - height: 50px !important; -} - -page-pd-question .segment-button { - max-width: initial !important; - -webkit-box-flex: 1 !important; - -webkit-flex: auto !important; - -ms-flex: auto !important; - flex: auto !important; - width: initial !important; -} - -page-pd-question .segment-md .segment-button { - font-size: 2.0rem; -} - -page-pd-question .scroll-content { - background-color: white !important; -} - -page-pd-question .mat-card1 { - margin-bottom: 5px; -} - -page-pd-question ion-scroll { - position: inherit !important; -} - -page-pd-question .button-md { - padding: 25px 0px 25px 0px !important; -} - -page-pd-question-category mat-grid-tile { - background: white !important; -} - -page-pd-question-category .fadeIn { - -webkit-animation-name: fadeIn; - animation-name: fadeIn; - -webkit-animation-duration: 15s; - animation-duration: 15s; - -webkit-transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); - transition: all 0.5s cubic-bezier(0.36, -0.64, 0.34, 1.76); -} - -@font-face { - page-pd-question-category { - font-family: Roboto; - src: url("../../assets/fonts/Roboto-Bold.ttf") !important; - } -} - -page-pd-question-category mat-grid-tile { - background: white !important; -} - -page-pd-question-category .grid { - padding: 0px; -} - -page-pd-question-category h1 { - margin: 2px 0; - font-size: 2.2rem !important; -} - -page-pd-question-category .scroll-content { - background-color: #eee !important; - padding: 0px !important; -} - -page-pd-question-category .mat-card { - padding: 0px !important; - -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2), 0 13px 24px -11px rgba(0, 0, 0, 0.2); -} - -page-pd-question-category * { - font-size: 16px; -} - -page-pd-question-category .mat-card-title { - margin-bottom: 0px; -} - -page-pd-question-category .list-md { - margin: 0px; -} - -page-pd-question-category .lettericon { - background-color: cadetblue; - padding: 10px 15px 10px 15px; - border-radius: 50%; - color: #fff; -} - -page-pd-question-category .label-md { - margin: 0px; -} - -page-pd-question-category .item-md h4 { - font-size: 1.7rem; -} - -page-pd-question-category .item-md ion-icon[item-start] + .item-inner { - margin-left: 0px; -} - -page-pd-question-category .button-md-primary { - margin-bottom: 0px !important; - height: 50px; -} - -page-pd-question-address .scroll-content { - background-color: #eee; -} - -page-pd-question-address .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-address .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-assessed-daily-sales .input-cover { - position: static; -} - -page-pd-question-assessed-dash .mat-card { - border-radius: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assessed-dash .htag { - font-size: 1.5rem; - margin-top: 0px; -} - -page-pd-question-assessed-dash .ion-icon-custome { - font-size: 2.8em; - color: #e00201; -} - -page-pd-question-assessed-dash .item-ribbon { - background-color: #fff; - position: relative; - -webkit-filter: none; - filter: none; - opacity: 1; -} - -page-pd-question-assessed-dash .item-ribbon .ribbon { - position: absolute; - right: -5px; - top: -5px; - z-index: 2; - overflow: hidden; - width: 75px; - height: 75px; - text-align: right; -} - -page-pd-question-assessed-dash .item-ribbon .ribbon span { - font-size: 1rem; - font-weight: bold; - color: #fff; - text-transform: uppercase; - text-align: center; - line-height: 20px; - transform: rotate(45deg); - -webkit-transform: rotate(45deg); - width: 100px; - display: block; - background: #f53d3d; - position: absolute; - top: 19px; - right: -21px; -} - -page-pd-question-assessed-dash .item-ribbon .ribbon span::before { - content: ""; - position: absolute; - left: 0; - top: 100%; - z-index: -1; - border-left: 3px solid #f53d3d; - border-right: 3px solid transparent; - border-bottom: 3px solid transparent; - border-top: 3px solid #f53d3d; -} - -page-pd-question-assessed-dash .item-ribbon .ribbon span::after { - content: ""; - position: absolute; - right: 0; - top: 100%; - z-index: -1; - border-left: 3px solid transparent; - border-right: 3px solid #f53d3d; - border-bottom: 3px solid transparent; - border-top: 3px solid #f53d3d; -} - -page-pd-question-assessed-dash .ribbon.cruzeiro span { - color: white; - background: #20c127; -} - -page-pd-question-assessed-dash .ribbon.cruzeiro span::before { - border-left: 3px solid #20c127; - border-top: 3px solid #20c127; -} - -page-pd-question-assessed-dash .ribbon.cruzeiro span::after { - border-right: 3px solid #20c127; - border-top: 3px solid #20c127; -} - -page-pd-question-assessed-dash .ribbon.default span { - color: white; - background: #f53d3d; -} - -page-pd-question-assessed-dash .ribbon.default span::before { - border-left: 3px solid #f53d3d; - border-top: 3px solid #f53d3d; -} - -page-pd-question-assessed-dash .ribbon.default span::after { - border-right: 3px solid #f53d3d; - border-top: 3px solid #f53d3d; -} - -page-pd-question-assessed-info .scroll-content { - background-color: none; -} - -page-pd-question-assessed-info ion-scroll.scroll-y .scroll-content { - width: 100%; - height: 200px; -} - -page-pd-question-assessed-info span { - font-size: 12px; -} - -page-pd-question-assests .scroll-content { - padding: 16px; -} - -page-pd-question-assests .scroll-content { - background-color: #eee; -} - -page-pd-question-assests .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-assests .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-banking .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-banking .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-banking .scroll-content { - background-color: #eee; -} - -page-pd-question-business-group .mat-expansion-panel { - margin-bottom: 10px !important; - background-color: #e14533 !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-business-group .mat-expansion-panel-header-title { - color: #fff !important; -} - -page-pd-question-business-group .mat-card { - margin-bottom: 10px; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - padding: 3px 10px !important; -} - -page-pd-question-business-group .item-ribbon { - background-color: #fff; - position: relative; - -webkit-filter: none; - filter: none; - opacity: 1; -} - -page-pd-question-business-group .item-ribbon .ribbon { - position: absolute; - right: -5px; - top: -5px; - z-index: 2; - overflow: hidden; - width: 75px; - height: 75px; - text-align: right; -} - -page-pd-question-business-group .item-ribbon .ribbon span { - font-size: 1rem; - font-weight: bold; - color: #fff; - text-transform: uppercase; - text-align: center; - line-height: 20px; - transform: rotate(45deg); - -webkit-transform: rotate(45deg); - width: 73px; - display: block; - background: #f53d3d; - position: absolute; - top: 10px; - right: -17px; -} - -page-pd-question-business-group .item-ribbon .ribbon span::before { - content: ""; - position: absolute; - left: 0; - top: 100%; - z-index: -1; - border-left: 3px solid #f53d3d; - border-right: 3px solid transparent; - border-bottom: 3px solid transparent; - border-top: 3px solid #f53d3d; -} - -page-pd-question-business-group .item-ribbon .ribbon span::after { - content: ""; - position: absolute; - right: 0; - top: 100%; - z-index: -1; - border-left: 3px solid transparent; - border-right: 3px solid #f53d3d; - border-bottom: 3px solid transparent; - border-top: 3px solid #f53d3d; -} - -page-pd-question-business-group .ribbon.answered span { - color: white; - background: green; -} - -page-pd-question-business-group .ribbon.answered span::before { - border-left: 3px solid green; - border-top: 3px solid green; -} - -page-pd-question-business-group .ribbon.answered span::after { - border-right: 3px solid green; - border-top: 3px solid green; -} - -page-pd-question-business-group .ribbon.notanswered span { - color: white; - background: #f53d3d; -} - -page-pd-question-business-group .ribbon.notanswered span::before { - border-left: 3px solid #f53d3d; - border-top: 3px solid #f53d3d; -} - -page-pd-question-business-group .ribbon.notanswered span::after { - border-right: 3px solid #f53d3d; - border-top: 3px solid #f53d3d; -} - -page-pd-question-business-group .ribbon.javascript span { - color: black; - background: #f7e023; -} - -page-pd-question-business-group .ribbon.javascript span::before { - border-left: 3px solid #f7e023; - border-top: 3px solid #f7e023; -} - -page-pd-question-business-group .ribbon.javascript span::after { - border-right: 3px solid #f7e023; - border-top: 3px solid #f7e023; -} - -page-pd-question-business-assets mat-form-field { - width: 100%; -} - -page-pd-question-business-assets .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-business-assets .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-business-assets .scroll-content { - background-color: #eee; -} - -page-pd-question-business-banking .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-business-banking .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-business-banking .accordion { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-business-banking .scroll-content { - background-color: #eee; -} - -page-pd-question-business-info mat-form-field { - width: 100%; -} - -page-pd-question-business-info mat-card-title { - font-weight: bold; - font-size: 18px; -} - -page-pd-question-business-info mat-card-header { - font-weight: bold; - font-size: 18px; -} - -page-pd-question-business-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-business-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-business-info .scroll-content { - background-color: #eee; -} - -page-pd-question-business-info mat-radio-button { - padding: 0 5px 0 5px; -} - -page-pd-question-business-info .mat-radio-button.mat-accent .mat-radio-inner-circle { - background-color: #673AB7; -} - -page-pd-question-business-info .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle { - border-color: #673AB7; -} - -page-pd-question-business-info .ses { - padding-top: 10px; -} - -page-pd-question-client-info mat-hint { - font-size: 12px; -} - -page-pd-question-client-info .scroll-content { - background-color: #eee; -} - -page-pd-question-client-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-client-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-financial-info mat-form-field { - width: 100%; -} - -page-pd-question-financial-info .info > span { - bottom: 20px; - margin-left: 10px; - font-size: 13px; -} - -page-pd-question-financial-info i, page-pd-question-financial-info b { - font-size: 12px; -} - -page-pd-question-financial-info .greenhighlight { - color: green; - background-color: white; -} - -page-pd-question-financial-info .highlight { - color: red; - background-color: white; -} - -page-pd-question-financial-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-financial-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-financial-info .scroll-content { - background-color: #eee; -} - -page-pd-question-financial-info .large { - height: 50px; -} - -page-pd-question-financial-info .mat-form-field-label { - white-space: normal; -} - -page-pd-question-financial-info textarea.mat-input-element { - padding: 0px 0; - margin: 5px 0; -} - -page-pd-question-financial-info .mat-input-placeholder { - white-space: normal; -} - -page-pd-question-stock-info mat-hint { - font-size: 12px; -} - -page-pd-question-stock-info .scroll-content { - background-color: #eee; -} - -page-pd-question-stock-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-stock-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-stock-info .mat-form-field-label { - white-space: normal; -} - -page-pd-question-stock-info textarea.mat-input-element { - padding: 0px 0; - margin: 5px 0; -} - -page-pd-question-stock-info .mat-input-placeholder { - white-space: normal; -} - -page-pd-question-stock-info mat-select { - margin: 5px 0; -} - -page-pd-question-supplier-info mat-hint { - font-size: 12px; -} - -page-pd-question-supplier-info .scroll-content { - background-color: #eee; -} - -page-pd-question-supplier-info .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-supplier-info .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-current-loans mat-form-field { - width: 100%; -} - -page-pd-question-current-loans mat-hint { - font-size: 11px; -} - -page-pd-question-current-loans .scroll-content { - background-color: #eee; -} - -page-pd-question-current-loans .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-current-loans .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-family mat-form-field { - width: 100%; -} - -page-pd-question-family .scroll-content { - background-color: #eee; -} - -page-pd-question-family .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-family .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-family h4 { - font-size: 120%; -} - -page-pd-question-final-remark mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-final-remark mat-form-field { - width: 100%; -} - -page-pd-question-final-remark .scroll-content { - background-color: #eee; -} - -page-pd-question-final-remark .mat-form-field-label { - white-space: normal; -} - -page-pd-question-final-remark textarea.mat-input-element { - padding: 0px 0; - margin: 5px 0; -} - -page-pd-question-final-remark .mat-input-placeholder { - white-space: normal; -} - -page-pd-question-final-remark mat-select { - margin: 5px 0; -} - -page-pd-question-general-info .item-md { - padding-left: 0px !important; -} - -page-pd-question-general-info .scroll-content { - padding: 6px !important; - background-color: #eee; -} - -page-pd-question-general-info .button-large-md { - height: 20px !important; - padding: 0px !important; -} - -page-pd-question-general-info .mat-card { - margin-bottom: 10px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-general-info .label-md { - margin: 10px 0px 10px 0 !important; -} - -page-pd-question-general-info ion-toggle { - zoom: 0.8; -} - -page-pd-question-lender-representative mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-lender-representative .scroll-content { - background-color: #eee; -} - -page-pd-question-loans mat-hint { - font-size: 12px; -} - -page-pd-question-loans .scroll-content { - background-color: #eee; -} - -page-pd-question-loans .mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-loans .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-neighbour-hood mat-form-field { - width: 100%; -} - -page-pd-question-neighbour-hood mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-neighbour-hood mat-hint { - font-size: 11px; -} - -page-pd-question-neighbour-hood .scroll-content { - background-color: #eee; -} - -page-pd-question-neighbour-hood .mat-form-field-label { - white-space: normal; -} - -page-pd-question-neighbour-hood textarea.mat-input-element { - padding: 0px 0; - margin: 5px 0; -} - -page-pd-question-neighbour-hood .mat-input-placeholder { - white-space: normal; -} - -page-pd-question-neighbour-hood mat-select { - margin: 5px 0; -} - -page-pd-question-other-income mat-form-field { - width: 100%; -} - -page-pd-question-other-income mat-hint { - font-size: 11px; -} - -page-pd-question-other-income mat-card { - margin-bottom: 15px; - border-radius: 10px !important; - -webkit-box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; - box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0 rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2) !important; -} - -page-pd-question-other-income .mat-card-content { - margin-bottom: 0px !important; -} - -page-pd-question-other-income .scroll-content { - background-color: #eee; -} - -page-pd-question-rental-info .button-md { - padding: 0 2.9em !important; -} +.ion-ios-add:before{content:"\f102"}.ion-ios-add-circle:before{content:"\f101"}.ion-ios-add-circle-outline:before{content:"\f100"}.ion-ios-add-outline:before{content:"\f102"}.ion-ios-alarm:before{content:"\f3c8"}.ion-ios-alarm-outline:before{content:"\f3c7"}.ion-ios-albums:before{content:"\f3ca"}.ion-ios-albums-outline:before{content:"\f3c9"}.ion-ios-alert:before{content:"\f104"}.ion-ios-alert-outline:before{content:"\f103"}.ion-ios-american-football:before{content:"\f106"}.ion-ios-american-football-outline:before{content:"\f105"}.ion-ios-analytics:before{content:"\f3ce"}.ion-ios-analytics-outline:before{content:"\f3cd"}.ion-ios-aperture:before{content:"\f108"}.ion-ios-aperture-outline:before{content:"\f107"}.ion-ios-apps:before{content:"\f10a"}.ion-ios-apps-outline:before{content:"\f109"}.ion-ios-appstore:before{content:"\f10c"}.ion-ios-appstore-outline:before{content:"\f10b"}.ion-ios-archive:before{content:"\f10e"}.ion-ios-archive-outline:before{content:"\f10d"}.ion-ios-arrow-back:before{content:"\f3cf"}.ion-ios-arrow-back-outline:before{content:"\f3cf"}.ion-ios-arrow-down:before{content:"\f3d0"}.ion-ios-arrow-down-outline:before{content:"\f3d0"}.ion-ios-arrow-dropdown:before{content:"\f110"}.ion-ios-arrow-dropdown-circle:before{content:"\f10f"}.ion-ios-arrow-dropdown-circle-outline:before{content:"\f10f"}.ion-ios-arrow-dropdown-outline:before{content:"\f110"}.ion-ios-arrow-dropleft:before{content:"\f112"}.ion-ios-arrow-dropleft-circle:before{content:"\f111"}.ion-ios-arrow-dropleft-circle-outline:before{content:"\f111"}.ion-ios-arrow-dropleft-outline:before{content:"\f112"}.ion-ios-arrow-dropright:before{content:"\f114"}.ion-ios-arrow-dropright-circle:before{content:"\f113"}.ion-ios-arrow-dropright-circle-outline:before{content:"\f113"}.ion-ios-arrow-dropright-outline:before{content:"\f114"}.ion-ios-arrow-dropup:before{content:"\f116"}.ion-ios-arrow-dropup-circle:before{content:"\f115"}.ion-ios-arrow-dropup-circle-outline:before{content:"\f115"}.ion-ios-arrow-dropup-outline:before{content:"\f116"}.ion-ios-arrow-forward:before{content:"\f3d1"}.ion-ios-arrow-forward-outline:before{content:"\f3d1"}.ion-ios-arrow-round-back:before{content:"\f117"}.ion-ios-arrow-round-back-outline:before{content:"\f117"}.ion-ios-arrow-round-down:before{content:"\f118"}.ion-ios-arrow-round-down-outline:before{content:"\f118"}.ion-ios-arrow-round-forward:before{content:"\f119"}.ion-ios-arrow-round-forward-outline:before{content:"\f119"}.ion-ios-arrow-round-up:before{content:"\f11a"}.ion-ios-arrow-round-up-outline:before{content:"\f11a"}.ion-ios-arrow-up:before{content:"\f3d8"}.ion-ios-arrow-up-outline:before{content:"\f3d8"}.ion-ios-at:before{content:"\f3da"}.ion-ios-at-outline:before{content:"\f3d9"}.ion-ios-attach:before{content:"\f11b"}.ion-ios-attach-outline:before{content:"\f11b"}.ion-ios-backspace:before{content:"\f11d"}.ion-ios-backspace-outline:before{content:"\f11c"}.ion-ios-barcode:before{content:"\f3dc"}.ion-ios-barcode-outline:before{content:"\f3db"}.ion-ios-baseball:before{content:"\f3de"}.ion-ios-baseball-outline:before{content:"\f3dd"}.ion-ios-basket:before{content:"\f11f"}.ion-ios-basket-outline:before{content:"\f11e"}.ion-ios-basketball:before{content:"\f3e0"}.ion-ios-basketball-outline:before{content:"\f3df"}.ion-ios-battery-charging:before{content:"\f120"}.ion-ios-battery-charging-outline:before{content:"\f120"}.ion-ios-battery-dead:before{content:"\f121"}.ion-ios-battery-dead-outline:before{content:"\f121"}.ion-ios-battery-full:before{content:"\f122"}.ion-ios-battery-full-outline:before{content:"\f122"}.ion-ios-beaker:before{content:"\f124"}.ion-ios-beaker-outline:before{content:"\f123"}.ion-ios-beer:before{content:"\f126"}.ion-ios-beer-outline:before{content:"\f125"}.ion-ios-bicycle:before{content:"\f127"}.ion-ios-bicycle-outline:before{content:"\f127"}.ion-ios-bluetooth:before{content:"\f128"}.ion-ios-bluetooth-outline:before{content:"\f128"}.ion-ios-boat:before{content:"\f12a"}.ion-ios-boat-outline:before{content:"\f129"}.ion-ios-body:before{content:"\f3e4"}.ion-ios-body-outline:before{content:"\f3e3"}.ion-ios-bonfire:before{content:"\f12c"}.ion-ios-bonfire-outline:before{content:"\f12b"}.ion-ios-book:before{content:"\f3e8"}.ion-ios-book-outline:before{content:"\f3e7"}.ion-ios-bookmark:before{content:"\f12e"}.ion-ios-bookmark-outline:before{content:"\f12d"}.ion-ios-bookmarks:before{content:"\f3ea"}.ion-ios-bookmarks-outline:before{content:"\f3e9"}.ion-ios-bowtie:before{content:"\f130"}.ion-ios-bowtie-outline:before{content:"\f12f"}.ion-ios-briefcase:before{content:"\f3ee"}.ion-ios-briefcase-outline:before{content:"\f3ed"}.ion-ios-browsers:before{content:"\f3f0"}.ion-ios-browsers-outline:before{content:"\f3ef"}.ion-ios-brush:before{content:"\f132"}.ion-ios-brush-outline:before{content:"\f131"}.ion-ios-bug:before{content:"\f134"}.ion-ios-bug-outline:before{content:"\f133"}.ion-ios-build:before{content:"\f136"}.ion-ios-build-outline:before{content:"\f135"}.ion-ios-bulb:before{content:"\f138"}.ion-ios-bulb-outline:before{content:"\f137"}.ion-ios-bus:before{content:"\f13a"}.ion-ios-bus-outline:before{content:"\f139"}.ion-ios-cafe:before{content:"\f13c"}.ion-ios-cafe-outline:before{content:"\f13b"}.ion-ios-calculator:before{content:"\f3f2"}.ion-ios-calculator-outline:before{content:"\f3f1"}.ion-ios-calendar:before{content:"\f3f4"}.ion-ios-calendar-outline:before{content:"\f3f3"}.ion-ios-call:before{content:"\f13e"}.ion-ios-call-outline:before{content:"\f13d"}.ion-ios-camera:before{content:"\f3f6"}.ion-ios-camera-outline:before{content:"\f3f5"}.ion-ios-car:before{content:"\f140"}.ion-ios-car-outline:before{content:"\f13f"}.ion-ios-card:before{content:"\f142"}.ion-ios-card-outline:before{content:"\f141"}.ion-ios-cart:before{content:"\f3f8"}.ion-ios-cart-outline:before{content:"\f3f7"}.ion-ios-cash:before{content:"\f144"}.ion-ios-cash-outline:before{content:"\f143"}.ion-ios-chatboxes:before{content:"\f3fa"}.ion-ios-chatboxes-outline:before{content:"\f3f9"}.ion-ios-chatbubbles:before{content:"\f146"}.ion-ios-chatbubbles-outline:before{content:"\f145"}.ion-ios-checkbox:before{content:"\f148"}.ion-ios-checkbox-outline:before{content:"\f147"}.ion-ios-checkmark:before{content:"\f3ff"}.ion-ios-checkmark-circle:before{content:"\f14a"}.ion-ios-checkmark-circle-outline:before{content:"\f149"}.ion-ios-checkmark-outline:before{content:"\f3ff"}.ion-ios-clipboard:before{content:"\f14c"}.ion-ios-clipboard-outline:before{content:"\f14b"}.ion-ios-clock:before{content:"\f403"}.ion-ios-clock-outline:before{content:"\f402"}.ion-ios-close:before{content:"\f406"}.ion-ios-close-circle:before{content:"\f14e"}.ion-ios-close-circle-outline:before{content:"\f14d"}.ion-ios-close-outline:before{content:"\f406"}.ion-ios-closed-captioning:before{content:"\f150"}.ion-ios-closed-captioning-outline:before{content:"\f14f"}.ion-ios-cloud:before{content:"\f40c"}.ion-ios-cloud-circle:before{content:"\f152"}.ion-ios-cloud-circle-outline:before{content:"\f151"}.ion-ios-cloud-done:before{content:"\f154"}.ion-ios-cloud-done-outline:before{content:"\f153"}.ion-ios-cloud-download:before{content:"\f408"}.ion-ios-cloud-download-outline:before{content:"\f407"}.ion-ios-cloud-outline:before{content:"\f409"}.ion-ios-cloud-upload:before{content:"\f40b"}.ion-ios-cloud-upload-outline:before{content:"\f40a"}.ion-ios-cloudy:before{content:"\f410"}.ion-ios-cloudy-night:before{content:"\f40e"}.ion-ios-cloudy-night-outline:before{content:"\f40d"}.ion-ios-cloudy-outline:before{content:"\f40f"}.ion-ios-code:before{content:"\f157"}.ion-ios-code-download:before{content:"\f155"}.ion-ios-code-download-outline:before{content:"\f155"}.ion-ios-code-outline:before{content:"\f157"}.ion-ios-code-working:before{content:"\f156"}.ion-ios-code-working-outline:before{content:"\f156"}.ion-ios-cog:before{content:"\f412"}.ion-ios-cog-outline:before{content:"\f411"}.ion-ios-color-fill:before{content:"\f159"}.ion-ios-color-fill-outline:before{content:"\f158"}.ion-ios-color-filter:before{content:"\f414"}.ion-ios-color-filter-outline:before{content:"\f413"}.ion-ios-color-palette:before{content:"\f15b"}.ion-ios-color-palette-outline:before{content:"\f15a"}.ion-ios-color-wand:before{content:"\f416"}.ion-ios-color-wand-outline:before{content:"\f415"}.ion-ios-compass:before{content:"\f15d"}.ion-ios-compass-outline:before{content:"\f15c"}.ion-ios-construct:before{content:"\f15f"}.ion-ios-construct-outline:before{content:"\f15e"}.ion-ios-contact:before{content:"\f41a"}.ion-ios-contact-outline:before{content:"\f419"}.ion-ios-contacts:before{content:"\f161"}.ion-ios-contacts-outline:before{content:"\f160"}.ion-ios-contract:before{content:"\f162"}.ion-ios-contract-outline:before{content:"\f162"}.ion-ios-contrast:before{content:"\f163"}.ion-ios-contrast-outline:before{content:"\f163"}.ion-ios-copy:before{content:"\f41c"}.ion-ios-copy-outline:before{content:"\f41b"}.ion-ios-create:before{content:"\f165"}.ion-ios-create-outline:before{content:"\f164"}.ion-ios-crop:before{content:"\f41e"}.ion-ios-crop-outline:before{content:"\f166"}.ion-ios-cube:before{content:"\f168"}.ion-ios-cube-outline:before{content:"\f167"}.ion-ios-cut:before{content:"\f16a"}.ion-ios-cut-outline:before{content:"\f169"}.ion-ios-desktop:before{content:"\f16c"}.ion-ios-desktop-outline:before{content:"\f16b"}.ion-ios-disc:before{content:"\f16e"}.ion-ios-disc-outline:before{content:"\f16d"}.ion-ios-document:before{content:"\f170"}.ion-ios-document-outline:before{content:"\f16f"}.ion-ios-done-all:before{content:"\f171"}.ion-ios-done-all-outline:before{content:"\f171"}.ion-ios-download:before{content:"\f420"}.ion-ios-download-outline:before{content:"\f41f"}.ion-ios-easel:before{content:"\f173"}.ion-ios-easel-outline:before{content:"\f172"}.ion-ios-egg:before{content:"\f175"}.ion-ios-egg-outline:before{content:"\f174"}.ion-ios-exit:before{content:"\f177"}.ion-ios-exit-outline:before{content:"\f176"}.ion-ios-expand:before{content:"\f178"}.ion-ios-expand-outline:before{content:"\f178"}.ion-ios-eye:before{content:"\f425"}.ion-ios-eye-off:before{content:"\f17a"}.ion-ios-eye-off-outline:before{content:"\f179"}.ion-ios-eye-outline:before{content:"\f424"}.ion-ios-fastforward:before{content:"\f427"}.ion-ios-fastforward-outline:before{content:"\f426"}.ion-ios-female:before{content:"\f17b"}.ion-ios-female-outline:before{content:"\f17b"}.ion-ios-filing:before{content:"\f429"}.ion-ios-filing-outline:before{content:"\f428"}.ion-ios-film:before{content:"\f42b"}.ion-ios-film-outline:before{content:"\f42a"}.ion-ios-finger-print:before{content:"\f17c"}.ion-ios-finger-print-outline:before{content:"\f17c"}.ion-ios-flag:before{content:"\f42d"}.ion-ios-flag-outline:before{content:"\f42c"}.ion-ios-flame:before{content:"\f42f"}.ion-ios-flame-outline:before{content:"\f42e"}.ion-ios-flash:before{content:"\f17e"}.ion-ios-flash-outline:before{content:"\f17d"}.ion-ios-flask:before{content:"\f431"}.ion-ios-flask-outline:before{content:"\f430"}.ion-ios-flower:before{content:"\f433"}.ion-ios-flower-outline:before{content:"\f432"}.ion-ios-folder:before{content:"\f435"}.ion-ios-folder-open:before{content:"\f180"}.ion-ios-folder-open-outline:before{content:"\f17f"}.ion-ios-folder-outline:before{content:"\f434"}.ion-ios-football:before{content:"\f437"}.ion-ios-football-outline:before{content:"\f436"}.ion-ios-funnel:before{content:"\f182"}.ion-ios-funnel-outline:before{content:"\f181"}.ion-ios-game-controller-a:before{content:"\f439"}.ion-ios-game-controller-a-outline:before{content:"\f438"}.ion-ios-game-controller-b:before{content:"\f43b"}.ion-ios-game-controller-b-outline:before{content:"\f43a"}.ion-ios-git-branch:before{content:"\f183"}.ion-ios-git-branch-outline:before{content:"\f183"}.ion-ios-git-commit:before{content:"\f184"}.ion-ios-git-commit-outline:before{content:"\f184"}.ion-ios-git-compare:before{content:"\f185"}.ion-ios-git-compare-outline:before{content:"\f185"}.ion-ios-git-merge:before{content:"\f186"}.ion-ios-git-merge-outline:before{content:"\f186"}.ion-ios-git-network:before{content:"\f187"}.ion-ios-git-network-outline:before{content:"\f187"}.ion-ios-git-pull-request:before{content:"\f188"}.ion-ios-git-pull-request-outline:before{content:"\f188"}.ion-ios-glasses:before{content:"\f43f"}.ion-ios-glasses-outline:before{content:"\f43e"}.ion-ios-globe:before{content:"\f18a"}.ion-ios-globe-outline:before{content:"\f189"}.ion-ios-grid:before{content:"\f18c"}.ion-ios-grid-outline:before{content:"\f18b"}.ion-ios-hammer:before{content:"\f18e"}.ion-ios-hammer-outline:before{content:"\f18d"}.ion-ios-hand:before{content:"\f190"}.ion-ios-hand-outline:before{content:"\f18f"}.ion-ios-happy:before{content:"\f192"}.ion-ios-happy-outline:before{content:"\f191"}.ion-ios-headset:before{content:"\f194"}.ion-ios-headset-outline:before{content:"\f193"}.ion-ios-heart:before{content:"\f443"}.ion-ios-heart-outline:before{content:"\f442"}.ion-ios-help:before{content:"\f446"}.ion-ios-help-buoy:before{content:"\f196"}.ion-ios-help-buoy-outline:before{content:"\f195"}.ion-ios-help-circle:before{content:"\f198"}.ion-ios-help-circle-outline:before{content:"\f197"}.ion-ios-help-outline:before{content:"\f446"}.ion-ios-home:before{content:"\f448"}.ion-ios-home-outline:before{content:"\f447"}.ion-ios-ice-cream:before{content:"\f19a"}.ion-ios-ice-cream-outline:before{content:"\f199"}.ion-ios-image:before{content:"\f19c"}.ion-ios-image-outline:before{content:"\f19b"}.ion-ios-images:before{content:"\f19e"}.ion-ios-images-outline:before{content:"\f19d"}.ion-ios-infinite:before{content:"\f44a"}.ion-ios-infinite-outline:before{content:"\f449"}.ion-ios-information:before{content:"\f44d"}.ion-ios-information-circle:before{content:"\f1a0"}.ion-ios-information-circle-outline:before{content:"\f19f"}.ion-ios-information-outline:before{content:"\f44d"}.ion-ios-ionic:before{content:"\f1a1"}.ion-ios-ionic-outline:before{content:"\f44e"}.ion-ios-ionitron:before{content:"\f1a3"}.ion-ios-ionitron-outline:before{content:"\f1a2"}.ion-ios-jet:before{content:"\f1a5"}.ion-ios-jet-outline:before{content:"\f1a4"}.ion-ios-key:before{content:"\f1a7"}.ion-ios-key-outline:before{content:"\f1a6"}.ion-ios-keypad:before{content:"\f450"}.ion-ios-keypad-outline:before{content:"\f44f"}.ion-ios-laptop:before{content:"\f1a8"}.ion-ios-laptop-outline:before{content:"\f1a8"}.ion-ios-leaf:before{content:"\f1aa"}.ion-ios-leaf-outline:before{content:"\f1a9"}.ion-ios-link:before{content:"\f22a"}.ion-ios-link-outline:before{content:"\f1ca"}.ion-ios-list:before{content:"\f454"}.ion-ios-list-box:before{content:"\f1ac"}.ion-ios-list-box-outline:before{content:"\f1ab"}.ion-ios-list-outline:before{content:"\f454"}.ion-ios-locate:before{content:"\f1ae"}.ion-ios-locate-outline:before{content:"\f1ad"}.ion-ios-lock:before{content:"\f1b0"}.ion-ios-lock-outline:before{content:"\f1af"}.ion-ios-log-in:before{content:"\f1b1"}.ion-ios-log-in-outline:before{content:"\f1b1"}.ion-ios-log-out:before{content:"\f1b2"}.ion-ios-log-out-outline:before{content:"\f1b2"}.ion-ios-magnet:before{content:"\f1b4"}.ion-ios-magnet-outline:before{content:"\f1b3"}.ion-ios-mail:before{content:"\f1b8"}.ion-ios-mail-open:before{content:"\f1b6"}.ion-ios-mail-open-outline:before{content:"\f1b5"}.ion-ios-mail-outline:before{content:"\f1b7"}.ion-ios-male:before{content:"\f1b9"}.ion-ios-male-outline:before{content:"\f1b9"}.ion-ios-man:before{content:"\f1bb"}.ion-ios-man-outline:before{content:"\f1ba"}.ion-ios-map:before{content:"\f1bd"}.ion-ios-map-outline:before{content:"\f1bc"}.ion-ios-medal:before{content:"\f1bf"}.ion-ios-medal-outline:before{content:"\f1be"}.ion-ios-medical:before{content:"\f45c"}.ion-ios-medical-outline:before{content:"\f45b"}.ion-ios-medkit:before{content:"\f45e"}.ion-ios-medkit-outline:before{content:"\f45d"}.ion-ios-megaphone:before{content:"\f1c1"}.ion-ios-megaphone-outline:before{content:"\f1c0"}.ion-ios-menu:before{content:"\f1c3"}.ion-ios-menu-outline:before{content:"\f1c2"}.ion-ios-mic:before{content:"\f461"}.ion-ios-mic-off:before{content:"\f45f"}.ion-ios-mic-off-outline:before{content:"\f1c4"}.ion-ios-mic-outline:before{content:"\f460"}.ion-ios-microphone:before{content:"\f1c6"}.ion-ios-microphone-outline:before{content:"\f1c5"}.ion-ios-moon:before{content:"\f468"}.ion-ios-moon-outline:before{content:"\f467"}.ion-ios-more:before{content:"\f1c8"}.ion-ios-more-outline:before{content:"\f1c7"}.ion-ios-move:before{content:"\f1cb"}.ion-ios-move-outline:before{content:"\f1cb"}.ion-ios-musical-note:before{content:"\f46b"}.ion-ios-musical-note-outline:before{content:"\f1cc"}.ion-ios-musical-notes:before{content:"\f46c"}.ion-ios-musical-notes-outline:before{content:"\f1cd"}.ion-ios-navigate:before{content:"\f46e"}.ion-ios-navigate-outline:before{content:"\f46d"}.ion-ios-no-smoking:before{content:"\f1cf"}.ion-ios-no-smoking-outline:before{content:"\f1ce"}.ion-ios-notifications:before{content:"\f1d3"}.ion-ios-notifications-off:before{content:"\f1d1"}.ion-ios-notifications-off-outline:before{content:"\f1d0"}.ion-ios-notifications-outline:before{content:"\f1d2"}.ion-ios-nuclear:before{content:"\f1d5"}.ion-ios-nuclear-outline:before{content:"\f1d4"}.ion-ios-nutrition:before{content:"\f470"}.ion-ios-nutrition-outline:before{content:"\f46f"}.ion-ios-open:before{content:"\f1d7"}.ion-ios-open-outline:before{content:"\f1d6"}.ion-ios-options:before{content:"\f1d9"}.ion-ios-options-outline:before{content:"\f1d8"}.ion-ios-outlet:before{content:"\f1db"}.ion-ios-outlet-outline:before{content:"\f1da"}.ion-ios-paper:before{content:"\f472"}.ion-ios-paper-outline:before{content:"\f471"}.ion-ios-paper-plane:before{content:"\f1dd"}.ion-ios-paper-plane-outline:before{content:"\f1dc"}.ion-ios-partly-sunny:before{content:"\f1df"}.ion-ios-partly-sunny-outline:before{content:"\f1de"}.ion-ios-pause:before{content:"\f478"}.ion-ios-pause-outline:before{content:"\f477"}.ion-ios-paw:before{content:"\f47a"}.ion-ios-paw-outline:before{content:"\f479"}.ion-ios-people:before{content:"\f47c"}.ion-ios-people-outline:before{content:"\f47b"}.ion-ios-person:before{content:"\f47e"}.ion-ios-person-add:before{content:"\f1e1"}.ion-ios-person-add-outline:before{content:"\f1e0"}.ion-ios-person-outline:before{content:"\f47d"}.ion-ios-phone-landscape:before{content:"\f1e2"}.ion-ios-phone-landscape-outline:before{content:"\f1e2"}.ion-ios-phone-portrait:before{content:"\f1e3"}.ion-ios-phone-portrait-outline:before{content:"\f1e3"}.ion-ios-photos:before{content:"\f482"}.ion-ios-photos-outline:before{content:"\f481"}.ion-ios-pie:before{content:"\f484"}.ion-ios-pie-outline:before{content:"\f483"}.ion-ios-pin:before{content:"\f1e5"}.ion-ios-pin-outline:before{content:"\f1e4"}.ion-ios-pint:before{content:"\f486"}.ion-ios-pint-outline:before{content:"\f485"}.ion-ios-pizza:before{content:"\f1e7"}.ion-ios-pizza-outline:before{content:"\f1e6"}.ion-ios-plane:before{content:"\f1e9"}.ion-ios-plane-outline:before{content:"\f1e8"}.ion-ios-planet:before{content:"\f1eb"}.ion-ios-planet-outline:before{content:"\f1ea"}.ion-ios-play:before{content:"\f488"}.ion-ios-play-outline:before{content:"\f487"}.ion-ios-podium:before{content:"\f1ed"}.ion-ios-podium-outline:before{content:"\f1ec"}.ion-ios-power:before{content:"\f1ef"}.ion-ios-power-outline:before{content:"\f1ee"}.ion-ios-pricetag:before{content:"\f48d"}.ion-ios-pricetag-outline:before{content:"\f48c"}.ion-ios-pricetags:before{content:"\f48f"}.ion-ios-pricetags-outline:before{content:"\f48e"}.ion-ios-print:before{content:"\f1f1"}.ion-ios-print-outline:before{content:"\f1f0"}.ion-ios-pulse:before{content:"\f493"}.ion-ios-pulse-outline:before{content:"\f1f2"}.ion-ios-qr-scanner:before{content:"\f1f3"}.ion-ios-qr-scanner-outline:before{content:"\f1f3"}.ion-ios-quote:before{content:"\f1f5"}.ion-ios-quote-outline:before{content:"\f1f4"}.ion-ios-radio:before{content:"\f1f9"}.ion-ios-radio-button-off:before{content:"\f1f6"}.ion-ios-radio-button-off-outline:before{content:"\f1f6"}.ion-ios-radio-button-on:before{content:"\f1f7"}.ion-ios-radio-button-on-outline:before{content:"\f1f7"}.ion-ios-radio-outline:before{content:"\f1f8"}.ion-ios-rainy:before{content:"\f495"}.ion-ios-rainy-outline:before{content:"\f494"}.ion-ios-recording:before{content:"\f497"}.ion-ios-recording-outline:before{content:"\f496"}.ion-ios-redo:before{content:"\f499"}.ion-ios-redo-outline:before{content:"\f498"}.ion-ios-refresh:before{content:"\f49c"}.ion-ios-refresh-circle:before{content:"\f226"}.ion-ios-refresh-circle-outline:before{content:"\f224"}.ion-ios-refresh-outline:before{content:"\f49c"}.ion-ios-remove:before{content:"\f1fc"}.ion-ios-remove-circle:before{content:"\f1fb"}.ion-ios-remove-circle-outline:before{content:"\f1fa"}.ion-ios-remove-outline:before{content:"\f1fc"}.ion-ios-reorder:before{content:"\f1fd"}.ion-ios-reorder-outline:before{content:"\f1fd"}.ion-ios-repeat:before{content:"\f1fe"}.ion-ios-repeat-outline:before{content:"\f1fe"}.ion-ios-resize:before{content:"\f1ff"}.ion-ios-resize-outline:before{content:"\f1ff"}.ion-ios-restaurant:before{content:"\f201"}.ion-ios-restaurant-outline:before{content:"\f200"}.ion-ios-return-left:before{content:"\f202"}.ion-ios-return-left-outline:before{content:"\f202"}.ion-ios-return-right:before{content:"\f203"}.ion-ios-return-right-outline:before{content:"\f203"}.ion-ios-reverse-camera:before{content:"\f49f"}.ion-ios-reverse-camera-outline:before{content:"\f49e"}.ion-ios-rewind:before{content:"\f4a1"}.ion-ios-rewind-outline:before{content:"\f4a0"}.ion-ios-ribbon:before{content:"\f205"}.ion-ios-ribbon-outline:before{content:"\f204"}.ion-ios-rose:before{content:"\f4a3"}.ion-ios-rose-outline:before{content:"\f4a2"}.ion-ios-sad:before{content:"\f207"}.ion-ios-sad-outline:before{content:"\f206"}.ion-ios-school:before{content:"\f209"}.ion-ios-school-outline:before{content:"\f208"}.ion-ios-search:before{content:"\f4a5"}.ion-ios-search-outline:before{content:"\f20a"}.ion-ios-send:before{content:"\f20c"}.ion-ios-send-outline:before{content:"\f20b"}.ion-ios-settings:before{content:"\f4a7"}.ion-ios-settings-outline:before{content:"\f20d"}.ion-ios-share:before{content:"\f211"}.ion-ios-share-alt:before{content:"\f20f"}.ion-ios-share-alt-outline:before{content:"\f20e"}.ion-ios-share-outline:before{content:"\f210"}.ion-ios-shirt:before{content:"\f213"}.ion-ios-shirt-outline:before{content:"\f212"}.ion-ios-shuffle:before{content:"\f4a9"}.ion-ios-shuffle-outline:before{content:"\f4a9"}.ion-ios-skip-backward:before{content:"\f215"}.ion-ios-skip-backward-outline:before{content:"\f214"}.ion-ios-skip-forward:before{content:"\f217"}.ion-ios-skip-forward-outline:before{content:"\f216"}.ion-ios-snow:before{content:"\f218"}.ion-ios-snow-outline:before{content:"\f22c"}.ion-ios-speedometer:before{content:"\f4b0"}.ion-ios-speedometer-outline:before{content:"\f4af"}.ion-ios-square:before{content:"\f21a"}.ion-ios-square-outline:before{content:"\f219"}.ion-ios-star:before{content:"\f4b3"}.ion-ios-star-half:before{content:"\f4b1"}.ion-ios-star-half-outline:before{content:"\f4b1"}.ion-ios-star-outline:before{content:"\f4b2"}.ion-ios-stats:before{content:"\f21c"}.ion-ios-stats-outline:before{content:"\f21b"}.ion-ios-stopwatch:before{content:"\f4b5"}.ion-ios-stopwatch-outline:before{content:"\f4b4"}.ion-ios-subway:before{content:"\f21e"}.ion-ios-subway-outline:before{content:"\f21d"}.ion-ios-sunny:before{content:"\f4b7"}.ion-ios-sunny-outline:before{content:"\f4b6"}.ion-ios-swap:before{content:"\f21f"}.ion-ios-swap-outline:before{content:"\f21f"}.ion-ios-switch:before{content:"\f221"}.ion-ios-switch-outline:before{content:"\f220"}.ion-ios-sync:before{content:"\f222"}.ion-ios-sync-outline:before{content:"\f222"}.ion-ios-tablet-landscape:before{content:"\f223"}.ion-ios-tablet-landscape-outline:before{content:"\f223"}.ion-ios-tablet-portrait:before{content:"\f24e"}.ion-ios-tablet-portrait-outline:before{content:"\f24e"}.ion-ios-tennisball:before{content:"\f4bb"}.ion-ios-tennisball-outline:before{content:"\f4ba"}.ion-ios-text:before{content:"\f250"}.ion-ios-text-outline:before{content:"\f24f"}.ion-ios-thermometer:before{content:"\f252"}.ion-ios-thermometer-outline:before{content:"\f251"}.ion-ios-thumbs-down:before{content:"\f254"}.ion-ios-thumbs-down-outline:before{content:"\f253"}.ion-ios-thumbs-up:before{content:"\f256"}.ion-ios-thumbs-up-outline:before{content:"\f255"}.ion-ios-thunderstorm:before{content:"\f4bd"}.ion-ios-thunderstorm-outline:before{content:"\f4bc"}.ion-ios-time:before{content:"\f4bf"}.ion-ios-time-outline:before{content:"\f4be"}.ion-ios-timer:before{content:"\f4c1"}.ion-ios-timer-outline:before{content:"\f4c0"}.ion-ios-train:before{content:"\f258"}.ion-ios-train-outline:before{content:"\f257"}.ion-ios-transgender:before{content:"\f259"}.ion-ios-transgender-outline:before{content:"\f259"}.ion-ios-trash:before{content:"\f4c5"}.ion-ios-trash-outline:before{content:"\f4c4"}.ion-ios-trending-down:before{content:"\f25a"}.ion-ios-trending-down-outline:before{content:"\f25a"}.ion-ios-trending-up:before{content:"\f25b"}.ion-ios-trending-up-outline:before{content:"\f25b"}.ion-ios-trophy:before{content:"\f25d"}.ion-ios-trophy-outline:before{content:"\f25c"}.ion-ios-umbrella:before{content:"\f25f"}.ion-ios-umbrella-outline:before{content:"\f25e"}.ion-ios-undo:before{content:"\f4c7"}.ion-ios-undo-outline:before{content:"\f4c6"}.ion-ios-unlock:before{content:"\f261"}.ion-ios-unlock-outline:before{content:"\f260"}.ion-ios-videocam:before{content:"\f4cd"}.ion-ios-videocam-outline:before{content:"\f4cc"}.ion-ios-volume-down:before{content:"\f262"}.ion-ios-volume-down-outline:before{content:"\f262"}.ion-ios-volume-mute:before{content:"\f263"}.ion-ios-volume-mute-outline:before{content:"\f263"}.ion-ios-volume-off:before{content:"\f264"}.ion-ios-volume-off-outline:before{content:"\f264"}.ion-ios-volume-up:before{content:"\f265"}.ion-ios-volume-up-outline:before{content:"\f265"}.ion-ios-walk:before{content:"\f266"}.ion-ios-walk-outline:before{content:"\f266"}.ion-ios-warning:before{content:"\f268"}.ion-ios-warning-outline:before{content:"\f267"}.ion-ios-watch:before{content:"\f269"}.ion-ios-watch-outline:before{content:"\f269"}.ion-ios-water:before{content:"\f26b"}.ion-ios-water-outline:before{content:"\f26a"}.ion-ios-wifi:before{content:"\f26d"}.ion-ios-wifi-outline:before{content:"\f26c"}.ion-ios-wine:before{content:"\f26f"}.ion-ios-wine-outline:before{content:"\f26e"}.ion-ios-woman:before{content:"\f271"}.ion-ios-woman-outline:before{content:"\f270"}.ion-logo-android:before{content:"\f225"}.ion-logo-angular:before{content:"\f227"}.ion-logo-apple:before{content:"\f229"}.ion-logo-bitcoin:before{content:"\f22b"}.ion-logo-buffer:before{content:"\f22d"}.ion-logo-chrome:before{content:"\f22f"}.ion-logo-codepen:before{content:"\f230"}.ion-logo-css3:before{content:"\f231"}.ion-logo-designernews:before{content:"\f232"}.ion-logo-dribbble:before{content:"\f233"}.ion-logo-dropbox:before{content:"\f234"}.ion-logo-euro:before{content:"\f235"}.ion-logo-facebook:before{content:"\f236"}.ion-logo-foursquare:before{content:"\f237"}.ion-logo-freebsd-devil:before{content:"\f238"}.ion-logo-github:before{content:"\f239"}.ion-logo-google:before{content:"\f23a"}.ion-logo-googleplus:before{content:"\f23b"}.ion-logo-hackernews:before{content:"\f23c"}.ion-logo-html5:before{content:"\f23d"}.ion-logo-instagram:before{content:"\f23e"}.ion-logo-javascript:before{content:"\f23f"}.ion-logo-linkedin:before{content:"\f240"}.ion-logo-markdown:before{content:"\f241"}.ion-logo-nodejs:before{content:"\f242"}.ion-logo-octocat:before{content:"\f243"}.ion-logo-pinterest:before{content:"\f244"}.ion-logo-playstation:before{content:"\f245"}.ion-logo-python:before{content:"\f246"}.ion-logo-reddit:before{content:"\f247"}.ion-logo-rss:before{content:"\f248"}.ion-logo-sass:before{content:"\f249"}.ion-logo-skype:before{content:"\f24a"}.ion-logo-snapchat:before{content:"\f24b"}.ion-logo-steam:before{content:"\f24c"}.ion-logo-tumblr:before{content:"\f24d"}.ion-logo-tux:before{content:"\f2ae"}.ion-logo-twitch:before{content:"\f2af"}.ion-logo-twitter:before{content:"\f2b0"}.ion-logo-usd:before{content:"\f2b1"}.ion-logo-vimeo:before{content:"\f2c4"}.ion-logo-whatsapp:before{content:"\f2c5"}.ion-logo-windows:before{content:"\f32f"}.ion-logo-wordpress:before{content:"\f330"}.ion-logo-xbox:before{content:"\f34c"}.ion-logo-yahoo:before{content:"\f34d"}.ion-logo-yen:before{content:"\f34e"}.ion-logo-youtube:before{content:"\f34f"}.ion-md-add:before{content:"\f273"}.ion-md-add-circle:before{content:"\f272"}.ion-md-alarm:before{content:"\f274"}.ion-md-albums:before{content:"\f275"}.ion-md-alert:before{content:"\f276"}.ion-md-american-football:before{content:"\f277"}.ion-md-analytics:before{content:"\f278"}.ion-md-aperture:before{content:"\f279"}.ion-md-apps:before{content:"\f27a"}.ion-md-appstore:before{content:"\f27b"}.ion-md-archive:before{content:"\f27c"}.ion-md-arrow-back:before{content:"\f27d"}.ion-md-arrow-down:before{content:"\f27e"}.ion-md-arrow-dropdown:before{content:"\f280"}.ion-md-arrow-dropdown-circle:before{content:"\f27f"}.ion-md-arrow-dropleft:before{content:"\f282"}.ion-md-arrow-dropleft-circle:before{content:"\f281"}.ion-md-arrow-dropright:before{content:"\f284"}.ion-md-arrow-dropright-circle:before{content:"\f283"}.ion-md-arrow-dropup:before{content:"\f286"}.ion-md-arrow-dropup-circle:before{content:"\f285"}.ion-md-arrow-forward:before{content:"\f287"}.ion-md-arrow-round-back:before{content:"\f288"}.ion-md-arrow-round-down:before{content:"\f289"}.ion-md-arrow-round-forward:before{content:"\f28a"}.ion-md-arrow-round-up:before{content:"\f28b"}.ion-md-arrow-up:before{content:"\f28c"}.ion-md-at:before{content:"\f28d"}.ion-md-attach:before{content:"\f28e"}.ion-md-backspace:before{content:"\f28f"}.ion-md-barcode:before{content:"\f290"}.ion-md-baseball:before{content:"\f291"}.ion-md-basket:before{content:"\f292"}.ion-md-basketball:before{content:"\f293"}.ion-md-battery-charging:before{content:"\f294"}.ion-md-battery-dead:before{content:"\f295"}.ion-md-battery-full:before{content:"\f296"}.ion-md-beaker:before{content:"\f297"}.ion-md-beer:before{content:"\f298"}.ion-md-bicycle:before{content:"\f299"}.ion-md-bluetooth:before{content:"\f29a"}.ion-md-boat:before{content:"\f29b"}.ion-md-body:before{content:"\f29c"}.ion-md-bonfire:before{content:"\f29d"}.ion-md-book:before{content:"\f29e"}.ion-md-bookmark:before{content:"\f29f"}.ion-md-bookmarks:before{content:"\f2a0"}.ion-md-bowtie:before{content:"\f2a1"}.ion-md-briefcase:before{content:"\f2a2"}.ion-md-browsers:before{content:"\f2a3"}.ion-md-brush:before{content:"\f2a4"}.ion-md-bug:before{content:"\f2a5"}.ion-md-build:before{content:"\f2a6"}.ion-md-bulb:before{content:"\f2a7"}.ion-md-bus:before{content:"\f2a8"}.ion-md-cafe:before{content:"\f2a9"}.ion-md-calculator:before{content:"\f2aa"}.ion-md-calendar:before{content:"\f2ab"}.ion-md-call:before{content:"\f2ac"}.ion-md-camera:before{content:"\f2ad"}.ion-md-car:before{content:"\f2b2"}.ion-md-card:before{content:"\f2b3"}.ion-md-cart:before{content:"\f2b4"}.ion-md-cash:before{content:"\f2b5"}.ion-md-chatboxes:before{content:"\f2b6"}.ion-md-chatbubbles:before{content:"\f2b7"}.ion-md-checkbox:before{content:"\f2b9"}.ion-md-checkbox-outline:before{content:"\f2b8"}.ion-md-checkmark:before{content:"\f2bc"}.ion-md-checkmark-circle:before{content:"\f2bb"}.ion-md-checkmark-circle-outline:before{content:"\f2ba"}.ion-md-clipboard:before{content:"\f2bd"}.ion-md-clock:before{content:"\f2be"}.ion-md-close:before{content:"\f2c0"}.ion-md-close-circle:before{content:"\f2bf"}.ion-md-closed-captioning:before{content:"\f2c1"}.ion-md-cloud:before{content:"\f2c9"}.ion-md-cloud-circle:before{content:"\f2c2"}.ion-md-cloud-done:before{content:"\f2c3"}.ion-md-cloud-download:before{content:"\f2c6"}.ion-md-cloud-outline:before{content:"\f2c7"}.ion-md-cloud-upload:before{content:"\f2c8"}.ion-md-cloudy:before{content:"\f2cb"}.ion-md-cloudy-night:before{content:"\f2ca"}.ion-md-code:before{content:"\f2ce"}.ion-md-code-download:before{content:"\f2cc"}.ion-md-code-working:before{content:"\f2cd"}.ion-md-cog:before{content:"\f2cf"}.ion-md-color-fill:before{content:"\f2d0"}.ion-md-color-filter:before{content:"\f2d1"}.ion-md-color-palette:before{content:"\f2d2"}.ion-md-color-wand:before{content:"\f2d3"}.ion-md-compass:before{content:"\f2d4"}.ion-md-construct:before{content:"\f2d5"}.ion-md-contact:before{content:"\f2d6"}.ion-md-contacts:before{content:"\f2d7"}.ion-md-contract:before{content:"\f2d8"}.ion-md-contrast:before{content:"\f2d9"}.ion-md-copy:before{content:"\f2da"}.ion-md-create:before{content:"\f2db"}.ion-md-crop:before{content:"\f2dc"}.ion-md-cube:before{content:"\f2dd"}.ion-md-cut:before{content:"\f2de"}.ion-md-desktop:before{content:"\f2df"}.ion-md-disc:before{content:"\f2e0"}.ion-md-document:before{content:"\f2e1"}.ion-md-done-all:before{content:"\f2e2"}.ion-md-download:before{content:"\f2e3"}.ion-md-easel:before{content:"\f2e4"}.ion-md-egg:before{content:"\f2e5"}.ion-md-exit:before{content:"\f2e6"}.ion-md-expand:before{content:"\f2e7"}.ion-md-eye:before{content:"\f2e9"}.ion-md-eye-off:before{content:"\f2e8"}.ion-md-fastforward:before{content:"\f2ea"}.ion-md-female:before{content:"\f2eb"}.ion-md-filing:before{content:"\f2ec"}.ion-md-film:before{content:"\f2ed"}.ion-md-finger-print:before{content:"\f2ee"}.ion-md-flag:before{content:"\f2ef"}.ion-md-flame:before{content:"\f2f0"}.ion-md-flash:before{content:"\f2f1"}.ion-md-flask:before{content:"\f2f2"}.ion-md-flower:before{content:"\f2f3"}.ion-md-folder:before{content:"\f2f5"}.ion-md-folder-open:before{content:"\f2f4"}.ion-md-football:before{content:"\f2f6"}.ion-md-funnel:before{content:"\f2f7"}.ion-md-game-controller-a:before{content:"\f2f8"}.ion-md-game-controller-b:before{content:"\f2f9"}.ion-md-git-branch:before{content:"\f2fa"}.ion-md-git-commit:before{content:"\f2fb"}.ion-md-git-compare:before{content:"\f2fc"}.ion-md-git-merge:before{content:"\f2fd"}.ion-md-git-network:before{content:"\f2fe"}.ion-md-git-pull-request:before{content:"\f2ff"}.ion-md-glasses:before{content:"\f300"}.ion-md-globe:before{content:"\f301"}.ion-md-grid:before{content:"\f302"}.ion-md-hammer:before{content:"\f303"}.ion-md-hand:before{content:"\f304"}.ion-md-happy:before{content:"\f305"}.ion-md-headset:before{content:"\f306"}.ion-md-heart:before{content:"\f308"}.ion-md-heart-outline:before{content:"\f307"}.ion-md-help:before{content:"\f30b"}.ion-md-help-buoy:before{content:"\f309"}.ion-md-help-circle:before{content:"\f30a"}.ion-md-home:before{content:"\f30c"}.ion-md-ice-cream:before{content:"\f30d"}.ion-md-image:before{content:"\f30e"}.ion-md-images:before{content:"\f30f"}.ion-md-infinite:before{content:"\f310"}.ion-md-information:before{content:"\f312"}.ion-md-information-circle:before{content:"\f311"}.ion-md-ionic:before{content:"\f313"}.ion-md-ionitron:before{content:"\f314"}.ion-md-jet:before{content:"\f315"}.ion-md-key:before{content:"\f316"}.ion-md-keypad:before{content:"\f317"}.ion-md-laptop:before{content:"\f318"}.ion-md-leaf:before{content:"\f319"}.ion-md-link:before{content:"\f22e"}.ion-md-list:before{content:"\f31b"}.ion-md-list-box:before{content:"\f31a"}.ion-md-locate:before{content:"\f31c"}.ion-md-lock:before{content:"\f31d"}.ion-md-log-in:before{content:"\f31e"}.ion-md-log-out:before{content:"\f31f"}.ion-md-magnet:before{content:"\f320"}.ion-md-mail:before{content:"\f322"}.ion-md-mail-open:before{content:"\f321"}.ion-md-male:before{content:"\f323"}.ion-md-man:before{content:"\f324"}.ion-md-map:before{content:"\f325"}.ion-md-medal:before{content:"\f326"}.ion-md-medical:before{content:"\f327"}.ion-md-medkit:before{content:"\f328"}.ion-md-megaphone:before{content:"\f329"}.ion-md-menu:before{content:"\f32a"}.ion-md-mic:before{content:"\f32c"}.ion-md-mic-off:before{content:"\f32b"}.ion-md-microphone:before{content:"\f32d"}.ion-md-moon:before{content:"\f32e"}.ion-md-more:before{content:"\f1c9"}.ion-md-move:before{content:"\f331"}.ion-md-musical-note:before{content:"\f332"}.ion-md-musical-notes:before{content:"\f333"}.ion-md-navigate:before{content:"\f334"}.ion-md-no-smoking:before{content:"\f335"}.ion-md-notifications:before{content:"\f338"}.ion-md-notifications-off:before{content:"\f336"}.ion-md-notifications-outline:before{content:"\f337"}.ion-md-nuclear:before{content:"\f339"}.ion-md-nutrition:before{content:"\f33a"}.ion-md-open:before{content:"\f33b"}.ion-md-options:before{content:"\f33c"}.ion-md-outlet:before{content:"\f33d"}.ion-md-paper:before{content:"\f33f"}.ion-md-paper-plane:before{content:"\f33e"}.ion-md-partly-sunny:before{content:"\f340"}.ion-md-pause:before{content:"\f341"}.ion-md-paw:before{content:"\f342"}.ion-md-people:before{content:"\f343"}.ion-md-person:before{content:"\f345"}.ion-md-person-add:before{content:"\f344"}.ion-md-phone-landscape:before{content:"\f346"}.ion-md-phone-portrait:before{content:"\f347"}.ion-md-photos:before{content:"\f348"}.ion-md-pie:before{content:"\f349"}.ion-md-pin:before{content:"\f34a"}.ion-md-pint:before{content:"\f34b"}.ion-md-pizza:before{content:"\f354"}.ion-md-plane:before{content:"\f355"}.ion-md-planet:before{content:"\f356"}.ion-md-play:before{content:"\f357"}.ion-md-podium:before{content:"\f358"}.ion-md-power:before{content:"\f359"}.ion-md-pricetag:before{content:"\f35a"}.ion-md-pricetags:before{content:"\f35b"}.ion-md-print:before{content:"\f35c"}.ion-md-pulse:before{content:"\f35d"}.ion-md-qr-scanner:before{content:"\f35e"}.ion-md-quote:before{content:"\f35f"}.ion-md-radio:before{content:"\f362"}.ion-md-radio-button-off:before{content:"\f360"}.ion-md-radio-button-on:before{content:"\f361"}.ion-md-rainy:before{content:"\f363"}.ion-md-recording:before{content:"\f364"}.ion-md-redo:before{content:"\f365"}.ion-md-refresh:before{content:"\f366"}.ion-md-refresh-circle:before{content:"\f228"}.ion-md-remove:before{content:"\f368"}.ion-md-remove-circle:before{content:"\f367"}.ion-md-reorder:before{content:"\f369"}.ion-md-repeat:before{content:"\f36a"}.ion-md-resize:before{content:"\f36b"}.ion-md-restaurant:before{content:"\f36c"}.ion-md-return-left:before{content:"\f36d"}.ion-md-return-right:before{content:"\f36e"}.ion-md-reverse-camera:before{content:"\f36f"}.ion-md-rewind:before{content:"\f370"}.ion-md-ribbon:before{content:"\f371"}.ion-md-rose:before{content:"\f372"}.ion-md-sad:before{content:"\f373"}.ion-md-school:before{content:"\f374"}.ion-md-search:before{content:"\f375"}.ion-md-send:before{content:"\f376"}.ion-md-settings:before{content:"\f377"}.ion-md-share:before{content:"\f379"}.ion-md-share-alt:before{content:"\f378"}.ion-md-shirt:before{content:"\f37a"}.ion-md-shuffle:before{content:"\f37b"}.ion-md-skip-backward:before{content:"\f37c"}.ion-md-skip-forward:before{content:"\f37d"}.ion-md-snow:before{content:"\f37e"}.ion-md-speedometer:before{content:"\f37f"}.ion-md-square:before{content:"\f381"}.ion-md-square-outline:before{content:"\f380"}.ion-md-star:before{content:"\f384"}.ion-md-star-half:before{content:"\f382"}.ion-md-star-outline:before{content:"\f383"}.ion-md-stats:before{content:"\f385"}.ion-md-stopwatch:before{content:"\f386"}.ion-md-subway:before{content:"\f387"}.ion-md-sunny:before{content:"\f388"}.ion-md-swap:before{content:"\f389"}.ion-md-switch:before{content:"\f38a"}.ion-md-sync:before{content:"\f38b"}.ion-md-tablet-landscape:before{content:"\f38c"}.ion-md-tablet-portrait:before{content:"\f38d"}.ion-md-tennisball:before{content:"\f38e"}.ion-md-text:before{content:"\f38f"}.ion-md-thermometer:before{content:"\f390"}.ion-md-thumbs-down:before{content:"\f391"}.ion-md-thumbs-up:before{content:"\f392"}.ion-md-thunderstorm:before{content:"\f393"}.ion-md-time:before{content:"\f394"}.ion-md-timer:before{content:"\f395"}.ion-md-train:before{content:"\f396"}.ion-md-transgender:before{content:"\f397"}.ion-md-trash:before{content:"\f398"}.ion-md-trending-down:before{content:"\f399"}.ion-md-trending-up:before{content:"\f39a"}.ion-md-trophy:before{content:"\f39b"}.ion-md-umbrella:before{content:"\f39c"}.ion-md-undo:before{content:"\f39d"}.ion-md-unlock:before{content:"\f39e"}.ion-md-videocam:before{content:"\f39f"}.ion-md-volume-down:before{content:"\f3a0"}.ion-md-volume-mute:before{content:"\f3a1"}.ion-md-volume-off:before{content:"\f3a2"}.ion-md-volume-up:before{content:"\f3a3"}.ion-md-walk:before{content:"\f3a4"}.ion-md-warning:before{content:"\f3a5"}.ion-md-watch:before{content:"\f3a6"}.ion-md-water:before{content:"\f3a7"}.ion-md-wifi:before{content:"\f3a8"}.ion-md-wine:before{content:"\f3a9"}.ion-md-woman:before{content:"\f3aa"}@font-face{font-family:Ionicons;src:url(../assets/fonts/ionicons.woff2?v=3.0.0-alpha.3) format("woff2"),url(../assets/fonts/ionicons.woff?v=3.0.0-alpha.3) format("woff"),url(../assets/fonts/ionicons.ttf?v=3.0.0-alpha.3) format("truetype");font-weight:400;font-style:normal}ion-icon{display:inline-block;font-family:Ionicons;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-rendering:auto;text-transform:none;speak:none}ion-icon::before{display:inline-block}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../assets/fonts/roboto-light.woff2) format("woff2"),url(../assets/fonts/roboto-light.woff) format("woff"),url(../assets/fonts/roboto-light.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../assets/fonts/roboto-regular.woff2) format("woff2"),url(../assets/fonts/roboto-regular.woff) format("woff"),url(../assets/fonts/roboto-regular.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../assets/fonts/roboto-medium.woff2) format("woff2"),url(../assets/fonts/roboto-medium.woff) format("woff"),url(../assets/fonts/roboto-medium.ttf) format("truetype")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../assets/fonts/roboto-bold.woff2) format("woff2"),url(../assets/fonts/roboto-bold.woff) format("woff"),url(../assets/fonts/roboto-bold.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:300;src:local("Noto Sans"),local("Noto-Sans-Regular"),url(../assets/fonts/noto-sans-regular.woff) format("woff"),url(../assets/fonts/noto-sans-regular.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:400;src:local("Noto Sans"),local("Noto-Sans-Regular"),url(../assets/fonts/noto-sans-regular.woff) format("woff"),url(../assets/fonts/noto-sans-regular.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:500;src:local("Noto Sans Bold"),local("Noto-Sans-Bold"),url(../assets/fonts/noto-sans-bold.woff) format("woff"),url(../assets/fonts/noto-sans-bold.ttf) format("truetype")}@font-face{font-family:"Noto Sans";font-style:normal;font-weight:700;src:local("Noto Sans Bold"),local("Noto-Sans-Bold"),url(../assets/fonts/noto-sans-bold.woff) format("woff"),url(../assets/fonts/noto-sans-bold.ttf) format("truetype")}ion-action-sheet{left:0;top:0;position:absolute;z-index:1000;display:block;width:100%;height:100%}.action-sheet-wrapper{left:0;right:0;top:0;bottom:0;margin:auto;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);position:absolute;z-index:10;display:block;width:100%;max-width:500px;pointer-events:none}.action-sheet-button{width:100%}.action-sheet-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-flow:column;-ms-flex-flow:column;flex-flow:column;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;height:100%;max-height:100%}.action-sheet-group{overflow:scroll;-webkit-flex-shrink:2;-ms-flex-negative:2;flex-shrink:2;pointer-events:all}.action-sheet-group-cancel{overflow:hidden;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.action-sheet-ios{text-align:center}.action-sheet-ios .action-sheet-wrapper{margin:constant(safe-area-inset-top) auto constant(safe-area-inset-bottom);margin:env(safe-area-inset-top) auto env(safe-area-inset-bottom)}.action-sheet-ios .action-sheet-container{padding:0 10px}.action-sheet-ios .action-sheet-group{border-radius:13px;margin-bottom:8px;background:#f9f9f9}.action-sheet-ios .action-sheet-group:first-child{margin-top:10px}.action-sheet-ios .action-sheet-group:last-child{margin-bottom:10px}.action-sheet-ios .action-sheet-title{padding:1.5rem;text-align:center;border-radius:0;border-bottom:.55px solid #d6d6da;font-size:1.3rem;font-weight:400;color:#8f8f8f}.action-sheet-ios .action-sheet-button{margin:0;padding:18px;min-height:5.6rem;border-bottom:.55px solid #d6d6da;font-size:2rem;color:#007aff;background:0 0}.action-sheet-ios .action-sheet-button:last-child{border-bottom-color:transparent}.action-sheet-ios .action-sheet-button.activated{margin-top:-.55px;border-top:.55px solid #ebebeb;border-bottom-color:#ebebeb;background:#ebebeb}.action-sheet-ios .action-sheet-selected{font-weight:700;background:#fff}.action-sheet-ios .action-sheet-destructive{color:#f53d3d}.action-sheet-ios .action-sheet-cancel{font-weight:600;background:#fff}.action-sheet-md .action-sheet-title{text-align:left;text-align:start;font-size:1.6rem;color:#757575;padding:11px 16px 17px}.action-sheet-md .action-sheet-button{text-align:left;text-align:start;position:relative;overflow:hidden;min-height:4.8rem;font-size:1.6rem;color:#222;background:0 0;padding:0 16px}.action-sheet-md .action-sheet-button.activated{background:#f1f1f1}.action-sheet-md .action-sheet-icon{padding:0;text-align:center;width:2.3rem;font-size:2.4rem;vertical-align:middle;margin:0 32px 0 0}.action-sheet-md .action-sheet-group{background:#fafafa}.action-sheet-md .action-sheet-group:first-child{padding-top:.8rem}.action-sheet-md .action-sheet-group:last-child{padding-bottom:.8rem}.action-sheet-md .action-sheet-group .button-inner{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.action-sheet-md .action-sheet-selected{font-weight:700}.action-sheet-wp .action-sheet-title{text-align:left;text-align:start;font-size:2rem;color:#4d4d4d;padding:11px 16px 17px}.action-sheet-wp .action-sheet-button{text-align:left;text-align:start;min-height:4.8rem;font-size:1.5rem;color:#4d4d4d;background:0 0;padding:0 16px}.action-sheet-wp .action-sheet-button.activated{background:#aaa}.action-sheet-wp .action-sheet-icon{padding:0;text-align:center;width:2.3rem;font-size:2.4rem;vertical-align:middle;margin:0 20px 0 0}.action-sheet-wp .action-sheet-group{background:#fff}.action-sheet-wp .action-sheet-group:first-child{padding-top:.8rem;-webkit-box-shadow:0 -1px 0 rgba(0,0,0,.2);box-shadow:0 -1px 0 rgba(0,0,0,.2)}.action-sheet-wp .action-sheet-group:last-child{padding-bottom:.8rem}.action-sheet-wp .action-sheet-group .button-inner{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.action-sheet-wp .action-sheet-selected{font-weight:700}.action-sheet-wp .action-sheet-cancel{background:0 0}ion-alert{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1000;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;contain:strict}ion-alert.alert-top{padding-top:50px;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}ion-alert input{width:100%}.alert-wrapper{z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;min-width:250px;max-height:90%;opacity:0;contain:content}.alert-title{margin:0;padding:0}.alert-sub-title{margin:5px 0 0;padding:0;font-weight:400}.alert-message{overflow-y:scroll;-webkit-overflow-scrolling:touch}.alert-input{padding:10px 0;border:0;background:inherit}.alert-input::-moz-placeholder{color:#999}.alert-input:-ms-input-placeholder{color:#999}.alert-input::-webkit-input-placeholder{text-indent:0;color:#999}.alert-button-group{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.alert-button-group-vertical{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.alert-button{margin:0;z-index:0;display:block;font-size:14px;line-height:20px}.alert-tappable{text-align:left;text-align:start;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;margin:0;padding:0;width:100%;font-size:inherit;line-height:initial;background:0 0}.alert-ios .alert-wrapper{border-radius:13px;overflow:hidden;max-width:270px;background-color:#f8f8f8;-webkit-box-shadow:none;box-shadow:none}.alert-ios .alert-head{text-align:center;padding:12px 16px 7px}.alert-ios .alert-title{margin-top:8px;font-size:17px;font-weight:600}.alert-ios .alert-sub-title{font-size:14px;color:#666}.alert-ios .alert-input-group,.alert-ios .alert-message{text-align:center;font-size:13px;color:inherit;padding:0 16px 21px}.alert-ios .alert-message{max-height:240px}.alert-ios .alert-message:empty{padding:0 0 12px}.alert-ios .alert-input{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;margin-top:10px;border-radius:4px;border:.55px solid #ccc;background-color:#fff;padding:6px}.alert-ios .alert-checkbox-group,.alert-ios .alert-radio-group{overflow:scroll;max-height:240px;border-top:.55px solid #dbdbdf;-webkit-overflow-scrolling:touch}.alert-ios .alert-tappable{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;min-height:44px}.alert-ios .alert-radio-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px}.alert-ios [aria-checked=true] .alert-radio-label{color:#673ab7}.alert-ios .alert-radio-icon{position:relative;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:30px}.alert-ios [aria-checked=true] .alert-radio-inner{left:7px;top:-7px;position:absolute;width:6px;height:12px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#673ab7;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-ios .alert-checkbox-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px}.alert-ios [aria-checked=true] .alert-checkbox-label{color:initial}.alert-ios .alert-checkbox-icon{border-radius:50%;position:relative;width:21px;height:21px;border-width:.55px;border-style:solid;border-color:#c8c7cc;background-color:#fff;margin:10px 6px 10px 16px}.alert-ios [aria-checked=true] .alert-checkbox-icon{border-color:#673ab7;background-color:#673ab7}.alert-ios [aria-checked=true] .alert-checkbox-inner{left:7px;top:4px;position:absolute;width:4px;height:9px;border-width:.55px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-ios .alert-button-group{margin-right:-.55px;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.alert-ios .alert-button{margin:0;border-radius:0;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1 1 auto;-ms-flex:1 1 auto;flex:1 1 auto;min-width:50%;height:44px;border-top:.55px solid #dbdbdf;border-right:.55px solid #dbdbdf;font-size:17px;color:#673ab7;background-color:transparent}.alert-ios .alert-button:last-child{border-right:0;font-weight:700}.alert-ios .alert-button.activated{background-color:#e9e9e9}.alert-md .alert-wrapper{border-radius:2px;max-width:280px;background-color:#fafafa;-webkit-box-shadow:0 16px 20px rgba(0,0,0,.4);box-shadow:0 16px 20px rgba(0,0,0,.4)}.alert-md .alert-head{text-align:left;text-align:start;padding:24px 24px 20px}.alert-md .alert-title{font-size:22px}.alert-md .alert-sub-title{font-size:16px}.alert-md .alert-input-group,.alert-md .alert-message{color:rgba(0,0,0,.5);padding:0 24px 24px}.alert-md .alert-message{max-height:240px;font-size:15px}.alert-md .alert-message:empty{padding:0}.alert-md .alert-input{margin:5px 0;border-bottom:1px solid #dedede;color:#000}.alert-md .alert-input:focus{margin-bottom:4px;border-bottom:2px solid #673ab7}.alert-md .alert-checkbox-group,.alert-md .alert-radio-group{position:relative;overflow:auto;max-height:240px;border-top:1px solid #dedede;border-bottom:1px solid #dedede}.alert-md .alert-tappable{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;min-height:4.4rem}.alert-md .alert-radio-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-md .alert-radio-icon{left:13px;top:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878}.alert-md .alert-radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;width:8px;height:8px;background-color:#673ab7;-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0);-webkit-transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1),-webkit-transform 280ms cubic-bezier(.4,0,.2,1)}.alert-md [aria-checked=true] .alert-radio-label{color:#673ab7}.alert-md [aria-checked=true] .alert-radio-icon{border-color:#673ab7}.alert-md [aria-checked=true] .alert-radio-inner{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}.alert-md .alert-checkbox-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-md [aria-checked=true] .alert-checkbox-label{color:initial}.alert-md .alert-checkbox-icon{left:13px;top:0;border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878}.alert-md [aria-checked=true] .alert-checkbox-icon{border-color:#673ab7;background-color:#673ab7}.alert-md [aria-checked=true] .alert-checkbox-inner{left:3px;top:0;position:absolute;width:6px;height:10px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-md .alert-button-group{-webkit-flex-wrap:wrap-reverse;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;padding:8px 8px 8px 24px}.alert-md .alert-button{text-align:right;text-align:end;border-radius:2px;position:relative;overflow:hidden;font-weight:500;text-transform:uppercase;color:#673ab7;background-color:transparent;margin:0 8px 0 0;padding:10px}.alert-md .alert-button.activated{background-color:rgba(158,158,158,.2)}.alert-md .alert-button .button-inner{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.alert-wp ion-backdrop{background:#fff}.alert-wp .alert-wrapper{border-radius:0;width:100%;max-width:520px;border:1px solid #673ab7;background:#e6e6e6}.alert-wp .alert-head{text-align:left;text-align:start;padding:20px 22px 5px}.alert-wp .alert-title{font-size:20px;font-weight:400}.alert-wp .alert-sub-title{font-size:16px}.alert-wp .alert-input-group,.alert-wp .alert-message{color:#000;padding:0 22px 8px}.alert-wp .alert-message{max-height:240px;font-size:13px}.alert-wp .alert-message:empty{padding:0}.alert-wp .alert-input{border:2px solid rgba(0,0,0,.5);line-height:3rem;color:#000;margin:5px 0;padding:0 8px}.alert-wp .alert-input:focus{border-color:#673ab7}.alert-wp .alert-checkbox-group,.alert-wp .alert-radio-group{position:relative;overflow:auto;max-height:240px}.alert-wp .alert-tappable{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;min-height:4.4rem}.alert-wp .alert-radio-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-wp .alert-radio-icon{left:13px;top:0;margin:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:rgba(0,0,0,.5)}.alert-wp .alert-radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;display:none;width:8px;height:8px;background:#673ab7}.alert-wp [aria-checked=true] .alert-radio-label{color:#000}.alert-wp [aria-checked=true] .alert-radio-icon{border-color:rgba(0,0,0,.5)}.alert-wp [aria-checked=true] .alert-radio-inner{display:block}.alert-wp .alert-checkbox-label{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;text-overflow:ellipsis;white-space:nowrap;color:initial;padding:13px 26px}.alert-wp [aria-checked=true] .alert-checkbox-label{color:initial}.alert-wp .alert-checkbox-icon{left:13px;top:0;border-radius:0;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:rgba(0,0,0,.5);background:0 0}.alert-wp [aria-checked=true] .alert-checkbox-icon{border-color:#673ab7;background:#673ab7}.alert-wp [aria-checked=true] .alert-checkbox-inner{left:3px;top:-2px;position:absolute;width:6px;height:12px;border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.alert-wp .alert-button-group{-webkit-flex-wrap:wrap-reverse;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;padding:20px 22px}.alert-wp .alert-button-group-vertical .alert-button{margin-top:5px;width:100%}.alert-wp .alert-button-group-vertical .alert-button:first-child:not(:only-child){margin-right:0;margin-top:0}.alert-wp .alert-button{border-radius:0;width:49.5%;font-weight:400;color:#000;background:#b8b8b8;padding:5px}.alert-wp .alert-button:first-child:not(:only-child){margin-right:1%}.alert-wp .alert-button.activated{background:#a9a9a9}audio,canvas,progress,video{vertical-align:baseline}audio:not([controls]){display:none;height:0}b,strong{font-weight:700}img{max-width:100%;border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:1px;border-width:0;-webkit-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}input,label,select,textarea{font-family:inherit;line-height:normal}textarea{overflow:auto;height:auto;font:inherit;color:inherit}textarea::-webkit-input-placeholder{padding-left:2px}textarea:-ms-input-placeholder{padding-left:2px}textarea::-ms-input-placeholder{padding-left:2px}textarea::placeholder{padding-left:2px}form,input,optgroup,select{margin:0;font:inherit;color:inherit}html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}[tappable],[tappable] div,[tappable] ion-icon,[tappable] ion-label,[tappable] span,a,a div,a ion-icon,a ion-label,a span,button,button div,button ion-icon,button ion-label,button span,input,textarea{-ms-touch-action:manipulation;touch-action:manipulation}a ion-label,button ion-label{pointer-events:none}button{border:0;font-family:inherit;font-style:inherit;font-variant:inherit;line-height:1;text-transform:none;cursor:pointer;-webkit-appearance:button}[tappable]{cursor:pointer}a[disabled],button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input[type=checkbox],input[type=radio]{padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}.hide,[hidden],template{display:none!important}.sticky{position:-webkit-sticky;position:sticky;top:0}:active,:focus{outline:0}.focus-outline :focus{outline:thin dotted;outline-offset:-1px}.focus-outline [ion-button]:focus,.focus-outline button:focus{border-color:#51a7e8;outline:2px solid #51a7e8;-webkit-box-shadow:0 0 8px 1px #51a7e8;box-shadow:0 0 8px 1px #51a7e8}ion-input :focus{outline:0}.click-block{display:none}.click-block-enabled{left:0;right:0;top:0;bottom:0;-webkit-transform:translate3d(0,-100%,0) translateY(1px);transform:translate3d(0,-100%,0) translateY(1px);position:absolute;z-index:99999;display:block;opacity:0;contain:strict}.click-block-active{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}*{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}html{width:100%;height:100%;font-size:62.5%;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;padding:0;position:fixed;overflow:hidden;width:100%;max-width:100%;height:100%;max-height:100%;-webkit-font-smoothing:antialiased;font-smoothing:antialiased;text-rendering:optimizeLegibility;-webkit-user-drag:none;-ms-content-zooming:none;-ms-touch-action:manipulation;touch-action:manipulation;word-wrap:break-word;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;text-size-adjust:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}a{background-color:transparent}.enable-hover a:hover{opacity:.7}h1,h2,h3,h4,h5,h6{margin-top:1.6rem;margin-bottom:1rem;font-weight:500;line-height:1.2}[padding] h1:first-child,[padding] h2:first-child,[padding] h3:first-child,[padding] h4:first-child,[padding] h5:first-child,[padding] h6:first-child{margin-top:-.3rem}h1+h2,h1+h3,h2+h3{margin-top:-.3rem}h1{margin-top:2rem;font-size:2.6rem}h2{margin-top:1.8rem;font-size:2.4rem}h3{font-size:2.2rem}h4{font-size:2rem}h5{font-size:1.8rem}h6{font-size:1.6rem}small{font-size:75%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}.app-root,ion-app,ion-nav,ion-tab,ion-tabs{left:0;top:0;position:absolute;z-index:0;display:block;width:100%;height:100%}ion-nav,ion-tab,ion-tabs{overflow:hidden}ion-tab{display:none}ion-tab.show-tab{display:block}.app-root,.ion-page,ion-app,ion-nav,ion-tab,ion-tabs{contain:strict}.ion-page{left:0;top:0;position:absolute;display:block;width:100%;height:100%;opacity:0}.ion-page.show-page{opacity:1}ion-header{left:0;top:0;position:absolute;z-index:10;display:block;width:100%}ion-footer{left:0;bottom:0;position:absolute;z-index:10;display:block;width:100%}.nav-decor,[app-viewport],[nav-viewport],[overlay-portal],[tab-portal]{display:none}[text-center]{text-align:center!important}[text-justify]{text-align:justify!important}[text-start]{text-align:left;text-align:start!important}[text-end]{text-align:right;text-align:end!important}[text-left]{text-align:left!important}[text-right]{text-align:right!important}[text-nowrap]{white-space:nowrap!important}[text-wrap]{white-space:normal!important}@media (min-width:576px){[text-sm-center]{text-align:center!important}[text-sm-justify]{text-align:justify!important}[text-sm-start]{text-align:left;text-align:start!important}[text-sm-end]{text-align:right;text-align:end!important}[text-sm-left]{text-align:left!important}[text-sm-right]{text-align:right!important}[text-sm-nowrap]{white-space:nowrap!important}[text-sm-wrap]{white-space:normal!important}}@media (min-width:768px){[text-md-center]{text-align:center!important}[text-md-justify]{text-align:justify!important}[text-md-start]{text-align:left;text-align:start!important}[text-md-end]{text-align:right;text-align:end!important}[text-md-left]{text-align:left!important}[text-md-right]{text-align:right!important}[text-md-nowrap]{white-space:nowrap!important}[text-md-wrap]{white-space:normal!important}}@media (min-width:992px){[text-lg-center]{text-align:center!important}[text-lg-justify]{text-align:justify!important}[text-lg-start]{text-align:left;text-align:start!important}[text-lg-end]{text-align:right;text-align:end!important}[text-lg-left]{text-align:left!important}[text-lg-right]{text-align:right!important}[text-lg-nowrap]{white-space:nowrap!important}[text-lg-wrap]{white-space:normal!important}}@media (min-width:1200px){[text-xl-center]{text-align:center!important}[text-xl-justify]{text-align:justify!important}[text-xl-start]{text-align:left;text-align:start!important}[text-xl-end]{text-align:right;text-align:end!important}[text-xl-left]{text-align:left!important}[text-xl-right]{text-align:right!important}[text-xl-nowrap]{white-space:nowrap!important}[text-xl-wrap]{white-space:normal!important}}[text-uppercase]{text-transform:uppercase!important}[text-lowercase]{text-transform:lowercase!important}[text-capitalize]{text-transform:capitalize!important}@media (min-width:576px){[text-sm-uppercase]{text-transform:uppercase!important}[text-sm-lowercase]{text-transform:lowercase!important}[text-sm-capitalize]{text-transform:capitalize!important}}@media (min-width:768px){[text-md-uppercase]{text-transform:uppercase!important}[text-md-lowercase]{text-transform:lowercase!important}[text-md-capitalize]{text-transform:capitalize!important}}@media (min-width:992px){[text-lg-uppercase]{text-transform:uppercase!important}[text-lg-lowercase]{text-transform:lowercase!important}[text-lg-capitalize]{text-transform:capitalize!important}}@media (min-width:1200px){[text-xl-uppercase]{text-transform:uppercase!important}[text-xl-lowercase]{text-transform:lowercase!important}[text-xl-capitalize]{text-transform:capitalize!important}}[float-left]{float:left!important}[float-right]{float:right!important}[float-start]{float:left!important}[float-end]{float:right!important}@media (min-width:576px){[float-sm-left]{float:left!important}[float-sm-right]{float:right!important}[float-sm-start]{float:left!important}[float-sm-end]{float:right!important}}@media (min-width:768px){[float-md-left]{float:left!important}[float-md-right]{float:right!important}[float-md-start]{float:left!important}[float-md-end]{float:right!important}}@media (min-width:992px){[float-lg-left]{float:left!important}[float-lg-right]{float:right!important}[float-lg-start]{float:left!important}[float-lg-end]{float:right!important}}@media (min-width:1200px){[float-xl-left]{float:left!important}[float-xl-right]{float:right!important}[float-xl-start]{float:left!important}[float-xl-end]{float:right!important}}ion-app.ios{font-family:-apple-system,"Helvetica Neue",Roboto,sans-serif;font-size:1.4rem;background-color:#fff}ion-app.md{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:1.4rem;background-color:#fff}ion-app.wp{font-family:"Segoe UI","Noto Sans",sans-serif;font-size:1.4rem;background-color:#fff}ion-backdrop{left:0;top:0;position:absolute;z-index:2;display:block;width:100%;height:100%;background-color:#000;opacity:.01;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-backdrop.backdrop-no-tappable{cursor:auto}ion-badge{padding:3px 8px;text-align:center;display:inline-block;min-width:10px;font-size:1.3rem;font-weight:700;line-height:1;white-space:nowrap;vertical-align:baseline}ion-badge:empty{display:none}.badge-ios{border-radius:10px;color:#fff;background-color:#673ab7}.badge-ios-primary{color:#fff;background-color:#673ab7}.badge-ios-secondary{color:#fff;background-color:#32db64}.badge-ios-danger{color:#fff;background-color:#f53d3d}.badge-ios-light{color:#000;background-color:#f4f4f4}.badge-ios-dark{color:#fff;background-color:#222}.badge-ios-optblue{color:#fff;background-color:#e00201}.badge-md{border-radius:4px;color:#fff;background-color:#673ab7}.badge-md-primary{color:#fff;background-color:#673ab7}.badge-md-secondary{color:#fff;background-color:#32db64}.badge-md-danger{color:#fff;background-color:#f53d3d}.badge-md-light{color:#000;background-color:#f4f4f4}.badge-md-dark{color:#fff;background-color:#222}.badge-md-optblue{color:#fff;background-color:#e00201}.badge-wp{border-radius:0;color:#fff;background-color:#673ab7}.badge-wp-primary{color:#fff;background-color:#673ab7}.badge-wp-secondary{color:#fff;background-color:#32db64}.badge-wp-danger{color:#fff;background-color:#f53d3d}.badge-wp-light{color:#000;background-color:#f4f4f4}.badge-wp-dark{color:#fff;background-color:#222}.badge-wp-optblue{color:#fff;background-color:#e00201}.button{text-align:center;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;position:relative;z-index:0;display:inline-block;text-overflow:ellipsis;text-transform:none;white-space:nowrap;cursor:pointer;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-transition:background-color,opacity .1s linear;transition:background-color,opacity .1s linear;-webkit-font-kerning:none;font-kerning:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;contain:content}.button-inner{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}[ion-button]{text-decoration:none}[ion-button][disabled],a[disabled],button[disabled]{cursor:default;opacity:.4;pointer-events:none}.button-block{display:block;clear:both;width:100%;contain:strict}.button-block::after{clear:both}.button-full{display:block;width:100%;contain:strict}.button-full.button-outline{border-radius:0;border-right-width:0;border-left-width:0}[icon-left] ion-icon,[icon-start] ion-icon{font-size:1.4em;line-height:.67;pointer-events:none;padding-right:.3em}[icon-end] ion-icon,[icon-right] ion-icon{font-size:1.4em;line-height:.67;pointer-events:none;padding-left:.4em}.button[icon-only]{padding:0;min-width:.9em}[icon-only] ion-icon{padding:0 .5em;font-size:1.8em;line-height:.67;pointer-events:none}.button-ios{border-radius:4px;height:2.8em;font-size:1.6rem;color:#fff;background-color:#673ab7;margin:.4rem .2rem;padding:0 1em}.button-ios.activated{background-color:#734abd;opacity:1}.button-ios:hover:not(.disable-hover){opacity:.8}.button-large-ios{height:2.8em;font-size:2rem;padding:0 1em}.button-small-ios{height:2.1em;font-size:1.3rem;padding:0 .9em}.button-small-ios[icon-only] ion-icon{font-size:1.3em}.button-block-ios{margin-left:0;margin-right:0}.button-full-ios{margin-left:0;margin-right:0;border-radius:0;border-right-width:0;border-left-width:0}.button-outline-ios{border-radius:4px;border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent}.button-outline-ios.activated{color:#fff;background-color:#673ab7;opacity:1}.button-clear-ios{border-color:transparent;color:#673ab7;background-color:transparent}.button-clear-ios.activated{background-color:transparent;opacity:.4}.button-clear-ios:hover:not(.disable-hover){color:#673ab7;opacity:.6}.button-round-ios{border-radius:64px;padding:0 2.6rem}.button-ios-primary{color:#fff;background-color:#673ab7}.button-ios-primary.activated{background-color:#734abd}.button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.button-clear-ios-primary{border-color:transparent;color:#673ab7;background-color:transparent}.button-clear-ios-primary.activated{opacity:.4}.button-clear-ios-primary:hover:not(.disable-hover){color:#673ab7}.button-ios-secondary{color:#fff;background-color:#32db64}.button-ios-secondary.activated{background-color:#2ec95c}.button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.button-clear-ios-secondary{border-color:transparent;color:#32db64;background-color:transparent}.button-clear-ios-secondary.activated{opacity:.4}.button-clear-ios-secondary:hover:not(.disable-hover){color:#32db64}.button-ios-danger{color:#fff;background-color:#f53d3d}.button-ios-danger.activated{background-color:#e13838}.button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.button-clear-ios-danger{border-color:transparent;color:#f53d3d;background-color:transparent}.button-clear-ios-danger.activated{opacity:.4}.button-clear-ios-danger:hover:not(.disable-hover){color:#f53d3d}.button-ios-light{color:#000;background-color:#f4f4f4}.button-ios-light.activated{background-color:#e0e0e0}.button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.button-clear-ios-light{border-color:transparent;color:#f4f4f4;background-color:transparent}.button-clear-ios-light.activated{opacity:.4}.button-clear-ios-light:hover:not(.disable-hover){color:#f4f4f4}.button-ios-dark{color:#fff;background-color:#222}.button-ios-dark.activated{background-color:#343434}.button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.button-outline-ios-dark.activated{color:#fff;background-color:#222}.button-clear-ios-dark{border-color:transparent;color:#222;background-color:transparent}.button-clear-ios-dark.activated{opacity:.4}.button-clear-ios-dark:hover:not(.disable-hover){color:#222}.button-ios-optblue{color:#fff;background-color:#e00201}.button-ios-optblue.activated{background-color:#e21615}.button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.button-clear-ios-optblue{border-color:transparent;color:#e00201;background-color:transparent}.button-clear-ios-optblue.activated{opacity:.4}.button-clear-ios-optblue:hover:not(.disable-hover){color:#e00201}.button-strong-ios{font-weight:600}.button-md{border-radius:2px;overflow:hidden;height:3.6rem;font-size:1.4rem;font-weight:500;text-transform:uppercase;color:#fff;background-color:#673ab7;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);margin:.4rem .2rem;padding:0 1.1em}.button-md:hover:not(.disable-hover){background-color:#673ab7}.button-md.activated{background-color:#734abd;-webkit-box-shadow:0 3px 5px rgba(0,0,0,.14),0 3px 5px rgba(0,0,0,.21),0 0 0 0 transparent;box-shadow:0 3px 5px rgba(0,0,0,.14),0 3px 5px rgba(0,0,0,.21),0 0 0 0 transparent}.button-md .button-effect{background-color:#fff}.button-large-md{height:2.8em;font-size:2rem;padding:0 1em}.button-small-md{height:2.1em;font-size:1.3rem;padding:0 .9em}.button-small-md[icon-only] ion-icon{font-size:1.4em}.button-block-md{margin-left:0;margin-right:0}.button-full-md{margin-left:0;margin-right:0;border-radius:0;border-right-width:0;border-left-width:0}.button-outline-md{border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.button-outline-md:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md.activated{background-color:transparent;-webkit-box-shadow:none;box-shadow:none;opacity:1}.button-outline-md .button-effect{background-color:#673ab7}.button-clear-md{border-color:transparent;color:#673ab7;background-color:transparent;-webkit-box-shadow:none;box-shadow:none;opacity:1}.button-clear-md.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-clear-md .button-effect{background-color:#999}.button-round-md{border-radius:64px;padding:0 2.6rem}.button-md [icon-only]{padding:0}.button-effect{border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;position:absolute;z-index:0;display:none;background-color:#555;opacity:.2;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;pointer-events:none;top:0;left:0}.md button .button-effect{display:block}.button-md-primary{color:#fff;background-color:#673ab7}.button-md-primary:hover:not(.disable-hover){background-color:#673ab7}.button-md-primary.activated{background-color:#734abd;opacity:1}.button-md-primary .button-effect{background-color:#fff}.button-outline-md-primary{border-color:#6f44bb;color:#6f44bb;background-color:transparent}.button-outline-md-primary:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-primary.activated{background-color:transparent}.button-outline-md-primary .button-effect{background-color:#6f44bb}.button-clear-md-primary{border-color:transparent;color:#673ab7;background-color:transparent}.button-clear-md-primary.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-primary:hover:not(.disable-hover){color:#673ab7}.button-md-secondary{color:#fff;background-color:#32db64}.button-md-secondary:hover:not(.disable-hover){background-color:#32db64}.button-md-secondary.activated{background-color:#2ec95c;opacity:1}.button-md-secondary .button-effect{background-color:#fff}.button-outline-md-secondary{border-color:#30d05f;color:#30d05f;background-color:transparent}.button-outline-md-secondary:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-secondary.activated{background-color:transparent}.button-outline-md-secondary .button-effect{background-color:#30d05f}.button-clear-md-secondary{border-color:transparent;color:#32db64;background-color:transparent}.button-clear-md-secondary.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-secondary:hover:not(.disable-hover){color:#32db64}.button-md-danger{color:#fff;background-color:#f53d3d}.button-md-danger:hover:not(.disable-hover){background-color:#f53d3d}.button-md-danger.activated{background-color:#e13838;opacity:1}.button-md-danger .button-effect{background-color:#fff}.button-outline-md-danger{border-color:#e93a3a;color:#e93a3a;background-color:transparent}.button-outline-md-danger:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-danger.activated{background-color:transparent}.button-outline-md-danger .button-effect{background-color:#e93a3a}.button-clear-md-danger{border-color:transparent;color:#f53d3d;background-color:transparent}.button-clear-md-danger.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-danger:hover:not(.disable-hover){color:#f53d3d}.button-md-light{color:#000;background-color:#f4f4f4}.button-md-light:hover:not(.disable-hover){background-color:#f4f4f4}.button-md-light.activated{background-color:#e0e0e0;opacity:1}.button-md-light .button-effect{background-color:#000}.button-outline-md-light{border-color:#e8e8e8;color:#e8e8e8;background-color:transparent}.button-outline-md-light:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-light.activated{background-color:transparent}.button-outline-md-light .button-effect{background-color:#e8e8e8}.button-clear-md-light{border-color:transparent;color:#f4f4f4;background-color:transparent}.button-clear-md-light.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-light:hover:not(.disable-hover){color:#f4f4f4}.button-md-dark{color:#fff;background-color:#222}.button-md-dark:hover:not(.disable-hover){background-color:#222}.button-md-dark.activated{background-color:#343434;opacity:1}.button-md-dark .button-effect{background-color:#fff}.button-outline-md-dark{border-color:#2d2d2d;color:#2d2d2d;background-color:transparent}.button-outline-md-dark:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-dark.activated{background-color:transparent}.button-outline-md-dark .button-effect{background-color:#2d2d2d}.button-clear-md-dark{border-color:transparent;color:#222;background-color:transparent}.button-clear-md-dark.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-dark:hover:not(.disable-hover){color:#222}.button-md-optblue{color:#fff;background-color:#e00201}.button-md-optblue:hover:not(.disable-hover){background-color:#e00201}.button-md-optblue.activated{background-color:#e21615;opacity:1}.button-md-optblue .button-effect{background-color:#fff}.button-outline-md-optblue{border-color:#e20f0e;color:#e20f0e;background-color:transparent}.button-outline-md-optblue:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-md-optblue.activated{background-color:transparent}.button-outline-md-optblue .button-effect{background-color:#e20f0e}.button-clear-md-optblue{border-color:transparent;color:#e00201;background-color:transparent}.button-clear-md-optblue.activated{background-color:rgba(158,158,158,.2);-webkit-box-shadow:none;box-shadow:none}.button-clear-md-optblue:hover:not(.disable-hover){color:#e00201}.button-strong-md{font-weight:700}.button-wp{border-radius:0;height:3.6rem;border:3px solid transparent;font-size:1.4rem;color:#fff;background-color:#673ab7;margin:.4rem .2rem;padding:0 1.1em}.button-wp:hover:not(.disable-hover){border-color:#734abd;background-color:#673ab7}.button-wp.activated{background-color:#734abd}.button-large-wp{height:2.8em;font-size:2rem;padding:0 1em}.button-small-wp{height:2.1em;font-size:1.3rem;padding:0 .9em}.button-small-wp[icon-only] ion-icon{font-size:1.4em}.button-block-wp{margin-left:0;margin-right:0}.button-full-wp{margin-left:0;margin-right:0;border-radius:0;border-right-width:0;border-left-width:0}.button-outline-wp{border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent}.button-outline-wp:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-outline-wp.activated{background-color:rgba(103,58,183,.16)}.button-clear-wp{color:#673ab7;background-color:transparent}.button-clear-wp.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp:hover:not(.disable-hover){background-color:rgba(158,158,158,.1)}.button-round-wp{border-radius:64px;padding:0 2.6rem}.button-wp [icon-only]{padding:0}.button-wp-primary{color:#fff;background-color:#673ab7}.button-wp-primary:hover:not(.disable-hover){border-color:#734abd;background-color:#673ab7}.button-wp-primary.activated{background-color:#734abd}.button-outline-wp-primary{border-color:#6f44bb;color:#6f44bb;background-color:transparent}.button-outline-wp-primary:hover:not(.disable-hover){border-color:#6f44bb;background-color:rgba(158,158,158,.1)}.button-outline-wp-primary.activated{background-color:rgba(111,68,187,.16)}.button-clear-wp-primary{color:#673ab7;background-color:transparent}.button-clear-wp-primary.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-primary:hover:not(.disable-hover){color:#673ab7}.button-wp-secondary{color:#fff;background-color:#32db64}.button-wp-secondary:hover:not(.disable-hover){border-color:#2ec95c;background-color:#32db64}.button-wp-secondary.activated{background-color:#2ec95c}.button-outline-wp-secondary{border-color:#30d05f;color:#30d05f;background-color:transparent}.button-outline-wp-secondary:hover:not(.disable-hover){border-color:#30d05f;background-color:rgba(158,158,158,.1)}.button-outline-wp-secondary.activated{background-color:rgba(48,208,95,.16)}.button-clear-wp-secondary{color:#32db64;background-color:transparent}.button-clear-wp-secondary.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-secondary:hover:not(.disable-hover){color:#32db64}.button-wp-danger{color:#fff;background-color:#f53d3d}.button-wp-danger:hover:not(.disable-hover){border-color:#e13838;background-color:#f53d3d}.button-wp-danger.activated{background-color:#e13838}.button-outline-wp-danger{border-color:#e93a3a;color:#e93a3a;background-color:transparent}.button-outline-wp-danger:hover:not(.disable-hover){border-color:#e93a3a;background-color:rgba(158,158,158,.1)}.button-outline-wp-danger.activated{background-color:rgba(233,58,58,.16)}.button-clear-wp-danger{color:#f53d3d;background-color:transparent}.button-clear-wp-danger.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-danger:hover:not(.disable-hover){color:#f53d3d}.button-wp-light{color:#000;background-color:#f4f4f4}.button-wp-light:hover:not(.disable-hover){border-color:#e0e0e0;background-color:#f4f4f4}.button-wp-light.activated{background-color:#e0e0e0}.button-outline-wp-light{border-color:#e8e8e8;color:#e8e8e8;background-color:transparent}.button-outline-wp-light:hover:not(.disable-hover){border-color:#e8e8e8;background-color:rgba(158,158,158,.1)}.button-outline-wp-light.activated{background-color:rgba(232,232,232,.16)}.button-clear-wp-light{color:#f4f4f4;background-color:transparent}.button-clear-wp-light.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-light:hover:not(.disable-hover){color:#f4f4f4}.button-wp-dark{color:#fff;background-color:#222}.button-wp-dark:hover:not(.disable-hover){border-color:#343434;background-color:#222}.button-wp-dark.activated{background-color:#343434}.button-outline-wp-dark{border-color:#2d2d2d;color:#2d2d2d;background-color:transparent}.button-outline-wp-dark:hover:not(.disable-hover){border-color:#2d2d2d;background-color:rgba(158,158,158,.1)}.button-outline-wp-dark.activated{background-color:rgba(45,45,45,.16)}.button-clear-wp-dark{color:#222;background-color:transparent}.button-clear-wp-dark.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-dark:hover:not(.disable-hover){color:#222}.button-wp-optblue{color:#fff;background-color:#e00201}.button-wp-optblue:hover:not(.disable-hover){border-color:#e21615;background-color:#e00201}.button-wp-optblue.activated{background-color:#e21615}.button-outline-wp-optblue{border-color:#e20f0e;color:#e20f0e;background-color:transparent}.button-outline-wp-optblue:hover:not(.disable-hover){border-color:#e20f0e;background-color:rgba(158,158,158,.1)}.button-outline-wp-optblue.activated{background-color:rgba(226,15,14,.16)}.button-clear-wp-optblue{color:#e00201;background-color:transparent}.button-clear-wp-optblue.activated{background-color:rgba(158,158,158,.2)}.button-clear-wp-optblue:hover:not(.disable-hover){color:#e00201}.button-strong-wp{font-weight:700}ion-card{display:block;overflow:hidden}ion-card img{display:block;width:100%}ion-card-header{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ion-card-content{display:block}.card-ios{margin:12px;border-radius:2px;width:calc(100% - 24px);font-size:1.4rem;background:#fff;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.3);box-shadow:0 1px 2px rgba(0,0,0,.3)}.card-ios ion-list{margin-bottom:0}.card-ios>.item-wrapper:last-child .item,.card-ios>.item:last-child,.card-ios>.item:last-child .item-inner{border-bottom:0}.card-ios .item-ios.item-block .item-inner{border:0}.card-content-ios{padding:13px 16px 14px;font-size:1.4rem;line-height:1.4}.card-header-ios{font-size:1.6rem;font-weight:500;color:#333;padding:16px}.card-header-ios+.card-content-ios,.card-ios .item+.card-content-ios{padding-top:0}.card .note-ios{font-size:1.3rem}.card-title-ios{display:block;font-size:1.8rem;line-height:1.2;color:#222;margin:2px 0;padding:8px 0}.card-ios h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.card-ios h2{margin:2px 0;font-size:1.6rem;font-weight:400}.card-ios h3,.card-ios h4,.card-ios h5,.card-ios h6{margin:2px 0;font-size:1.4rem;font-weight:400}.card-ios p{margin:0 0 2px;font-size:1.4rem;color:#666}.card-ios+ion-card{margin-top:0}.card-ios .text-ios-primary{color:#673ab7}.card-ios-primary{color:#fff;background-color:#673ab7}.card-ios-primary .card-content-ios,.card-ios-primary .card-header-ios,.card-ios-primary .card-title-ios,.card-ios-primary p{color:#fff}.card-ios-primary .card-content-ios-primary,.card-ios-primary .card-header-ios-primary,.card-ios-primary .card-title-ios-primary,.card-ios-primary .text-ios-primary{color:#673ab7}.card-ios-primary .card-content-ios-secondary,.card-ios-primary .card-header-ios-secondary,.card-ios-primary .card-title-ios-secondary,.card-ios-primary .text-ios-secondary{color:#32db64}.card-ios-primary .card-content-ios-danger,.card-ios-primary .card-header-ios-danger,.card-ios-primary .card-title-ios-danger,.card-ios-primary .text-ios-danger{color:#f53d3d}.card-ios-primary .card-content-ios-light,.card-ios-primary .card-header-ios-light,.card-ios-primary .card-title-ios-light,.card-ios-primary .text-ios-light{color:#f4f4f4}.card-ios-primary .card-content-ios-dark,.card-ios-primary .card-header-ios-dark,.card-ios-primary .card-title-ios-dark,.card-ios-primary .text-ios-dark{color:#222}.card-ios-primary .card-content-ios-optblue,.card-ios-primary .card-header-ios-optblue,.card-ios-primary .card-title-ios-optblue,.card-ios-primary .text-ios-optblue{color:#e00201}.card-content-ios-primary,.card-header-ios-primary,.card-title-ios-primary{color:#673ab7}.card-ios .text-ios-secondary{color:#32db64}.card-ios-secondary{color:#fff;background-color:#32db64}.card-ios-secondary .card-content-ios,.card-ios-secondary .card-header-ios,.card-ios-secondary .card-title-ios,.card-ios-secondary p{color:#fff}.card-ios-secondary .card-content-ios-primary,.card-ios-secondary .card-header-ios-primary,.card-ios-secondary .card-title-ios-primary,.card-ios-secondary .text-ios-primary{color:#673ab7}.card-ios-secondary .card-content-ios-secondary,.card-ios-secondary .card-header-ios-secondary,.card-ios-secondary .card-title-ios-secondary,.card-ios-secondary .text-ios-secondary{color:#32db64}.card-ios-secondary .card-content-ios-danger,.card-ios-secondary .card-header-ios-danger,.card-ios-secondary .card-title-ios-danger,.card-ios-secondary .text-ios-danger{color:#f53d3d}.card-ios-secondary .card-content-ios-light,.card-ios-secondary .card-header-ios-light,.card-ios-secondary .card-title-ios-light,.card-ios-secondary .text-ios-light{color:#f4f4f4}.card-ios-secondary .card-content-ios-dark,.card-ios-secondary .card-header-ios-dark,.card-ios-secondary .card-title-ios-dark,.card-ios-secondary .text-ios-dark{color:#222}.card-ios-secondary .card-content-ios-optblue,.card-ios-secondary .card-header-ios-optblue,.card-ios-secondary .card-title-ios-optblue,.card-ios-secondary .text-ios-optblue{color:#e00201}.card-content-ios-secondary,.card-header-ios-secondary,.card-title-ios-secondary{color:#32db64}.card-ios .text-ios-danger{color:#f53d3d}.card-ios-danger{color:#fff;background-color:#f53d3d}.card-ios-danger .card-content-ios,.card-ios-danger .card-header-ios,.card-ios-danger .card-title-ios,.card-ios-danger p{color:#fff}.card-ios-danger .card-content-ios-primary,.card-ios-danger .card-header-ios-primary,.card-ios-danger .card-title-ios-primary,.card-ios-danger .text-ios-primary{color:#673ab7}.card-ios-danger .card-content-ios-secondary,.card-ios-danger .card-header-ios-secondary,.card-ios-danger .card-title-ios-secondary,.card-ios-danger .text-ios-secondary{color:#32db64}.card-ios-danger .card-content-ios-danger,.card-ios-danger .card-header-ios-danger,.card-ios-danger .card-title-ios-danger,.card-ios-danger .text-ios-danger{color:#f53d3d}.card-ios-danger .card-content-ios-light,.card-ios-danger .card-header-ios-light,.card-ios-danger .card-title-ios-light,.card-ios-danger .text-ios-light{color:#f4f4f4}.card-ios-danger .card-content-ios-dark,.card-ios-danger .card-header-ios-dark,.card-ios-danger .card-title-ios-dark,.card-ios-danger .text-ios-dark{color:#222}.card-ios-danger .card-content-ios-optblue,.card-ios-danger .card-header-ios-optblue,.card-ios-danger .card-title-ios-optblue,.card-ios-danger .text-ios-optblue{color:#e00201}.card-content-ios-danger,.card-header-ios-danger,.card-title-ios-danger{color:#f53d3d}.card-ios .text-ios-light{color:#f4f4f4}.card-ios-light{color:#000;background-color:#f4f4f4}.card-ios-light .card-content-ios,.card-ios-light .card-header-ios,.card-ios-light .card-title-ios,.card-ios-light p{color:#000}.card-ios-light .card-content-ios-primary,.card-ios-light .card-header-ios-primary,.card-ios-light .card-title-ios-primary,.card-ios-light .text-ios-primary{color:#673ab7}.card-ios-light .card-content-ios-secondary,.card-ios-light .card-header-ios-secondary,.card-ios-light .card-title-ios-secondary,.card-ios-light .text-ios-secondary{color:#32db64}.card-ios-light .card-content-ios-danger,.card-ios-light .card-header-ios-danger,.card-ios-light .card-title-ios-danger,.card-ios-light .text-ios-danger{color:#f53d3d}.card-ios-light .card-content-ios-light,.card-ios-light .card-header-ios-light,.card-ios-light .card-title-ios-light,.card-ios-light .text-ios-light{color:#f4f4f4}.card-ios-light .card-content-ios-dark,.card-ios-light .card-header-ios-dark,.card-ios-light .card-title-ios-dark,.card-ios-light .text-ios-dark{color:#222}.card-ios-light .card-content-ios-optblue,.card-ios-light .card-header-ios-optblue,.card-ios-light .card-title-ios-optblue,.card-ios-light .text-ios-optblue{color:#e00201}.card-content-ios-light,.card-header-ios-light,.card-title-ios-light{color:#f4f4f4}.card-ios .text-ios-dark{color:#222}.card-ios-dark{color:#fff;background-color:#222}.card-ios-dark .card-content-ios,.card-ios-dark .card-header-ios,.card-ios-dark .card-title-ios,.card-ios-dark p{color:#fff}.card-ios-dark .card-content-ios-primary,.card-ios-dark .card-header-ios-primary,.card-ios-dark .card-title-ios-primary,.card-ios-dark .text-ios-primary{color:#673ab7}.card-ios-dark .card-content-ios-secondary,.card-ios-dark .card-header-ios-secondary,.card-ios-dark .card-title-ios-secondary,.card-ios-dark .text-ios-secondary{color:#32db64}.card-ios-dark .card-content-ios-danger,.card-ios-dark .card-header-ios-danger,.card-ios-dark .card-title-ios-danger,.card-ios-dark .text-ios-danger{color:#f53d3d}.card-ios-dark .card-content-ios-light,.card-ios-dark .card-header-ios-light,.card-ios-dark .card-title-ios-light,.card-ios-dark .text-ios-light{color:#f4f4f4}.card-ios-dark .card-content-ios-dark,.card-ios-dark .card-header-ios-dark,.card-ios-dark .card-title-ios-dark,.card-ios-dark .text-ios-dark{color:#222}.card-ios-dark .card-content-ios-optblue,.card-ios-dark .card-header-ios-optblue,.card-ios-dark .card-title-ios-optblue,.card-ios-dark .text-ios-optblue{color:#e00201}.card-content-ios-dark,.card-header-ios-dark,.card-title-ios-dark{color:#222}.card-ios .text-ios-optblue{color:#e00201}.card-ios-optblue{color:#fff;background-color:#e00201}.card-ios-optblue .card-content-ios,.card-ios-optblue .card-header-ios,.card-ios-optblue .card-title-ios,.card-ios-optblue p{color:#fff}.card-ios-optblue .card-content-ios-primary,.card-ios-optblue .card-header-ios-primary,.card-ios-optblue .card-title-ios-primary,.card-ios-optblue .text-ios-primary{color:#673ab7}.card-ios-optblue .card-content-ios-secondary,.card-ios-optblue .card-header-ios-secondary,.card-ios-optblue .card-title-ios-secondary,.card-ios-optblue .text-ios-secondary{color:#32db64}.card-ios-optblue .card-content-ios-danger,.card-ios-optblue .card-header-ios-danger,.card-ios-optblue .card-title-ios-danger,.card-ios-optblue .text-ios-danger{color:#f53d3d}.card-ios-optblue .card-content-ios-light,.card-ios-optblue .card-header-ios-light,.card-ios-optblue .card-title-ios-light,.card-ios-optblue .text-ios-light{color:#f4f4f4}.card-ios-optblue .card-content-ios-dark,.card-ios-optblue .card-header-ios-dark,.card-ios-optblue .card-title-ios-dark,.card-ios-optblue .text-ios-dark{color:#222}.card-ios-optblue .card-content-ios-optblue,.card-ios-optblue .card-header-ios-optblue,.card-ios-optblue .card-title-ios-optblue,.card-ios-optblue .text-ios-optblue{color:#e00201}.card-content-ios-optblue,.card-header-ios-optblue,.card-title-ios-optblue{color:#e00201}.card-md{margin:10px;border-radius:2px;width:calc(100% - 20px);font-size:1.4rem;background:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.card-md ion-list{margin-bottom:0}.card-md>.item-wrapper:last-child .item,.card-md>.item:last-child,.card-md>.item:last-child .item-inner{border-bottom:0}.card-md .item-md.item-block .item-inner{border:0}.card-content-md{padding:13px 16px;font-size:1.4rem;line-height:1.5}.card-header-md{font-size:1.6rem;color:#222;padding:16px}.card-header-md+.card-content-md,.card-md .item+.card-content-md{padding-top:0}.card .note-md{font-size:1.3rem}.card-title-md{display:block;font-size:2.4rem;line-height:1.2;color:#222;margin:2px 0;padding:8px 0}.card-md h1{margin:0 0 2px;font-size:2.4rem;font-weight:400;color:#222}.card-md h2{margin:2px 0;font-size:1.6rem;font-weight:400;color:#222}.card-md h3,.card-md h4,.card-md h5,.card-md h6{margin:2px 0;font-size:1.4rem;font-weight:400;color:#222}.card-md p{margin:0 0 2px;font-size:1.4rem;font-weight:400;line-height:1.5;color:#222}.card-md+ion-card{margin-top:0}.card-md .text-md-primary{color:#673ab7}.card-md-primary{color:#fff;background-color:#673ab7}.card-md-primary .card-content-md,.card-md-primary .card-header-md,.card-md-primary .card-title-md,.card-md-primary h1,.card-md-primary h2,.card-md-primary h3,.card-md-primary h4,.card-md-primary h5,.card-md-primary h6,.card-md-primary p{color:#fff}.card-md-primary .card-content-md-primary,.card-md-primary .card-header-md-primary,.card-md-primary .card-title-md-primary,.card-md-primary .text-md-primary{color:#673ab7}.card-md-primary .card-content-md-secondary,.card-md-primary .card-header-md-secondary,.card-md-primary .card-title-md-secondary,.card-md-primary .text-md-secondary{color:#32db64}.card-md-primary .card-content-md-danger,.card-md-primary .card-header-md-danger,.card-md-primary .card-title-md-danger,.card-md-primary .text-md-danger{color:#f53d3d}.card-md-primary .card-content-md-light,.card-md-primary .card-header-md-light,.card-md-primary .card-title-md-light,.card-md-primary .text-md-light{color:#f4f4f4}.card-md-primary .card-content-md-dark,.card-md-primary .card-header-md-dark,.card-md-primary .card-title-md-dark,.card-md-primary .text-md-dark{color:#222}.card-md-primary .card-content-md-optblue,.card-md-primary .card-header-md-optblue,.card-md-primary .card-title-md-optblue,.card-md-primary .text-md-optblue{color:#e00201}.card-content-md-primary,.card-header-md-primary,.card-title-md-primary{color:#673ab7}.card-md .text-md-secondary{color:#32db64}.card-md-secondary{color:#fff;background-color:#32db64}.card-md-secondary .card-content-md,.card-md-secondary .card-header-md,.card-md-secondary .card-title-md,.card-md-secondary h1,.card-md-secondary h2,.card-md-secondary h3,.card-md-secondary h4,.card-md-secondary h5,.card-md-secondary h6,.card-md-secondary p{color:#fff}.card-md-secondary .card-content-md-primary,.card-md-secondary .card-header-md-primary,.card-md-secondary .card-title-md-primary,.card-md-secondary .text-md-primary{color:#673ab7}.card-md-secondary .card-content-md-secondary,.card-md-secondary .card-header-md-secondary,.card-md-secondary .card-title-md-secondary,.card-md-secondary .text-md-secondary{color:#32db64}.card-md-secondary .card-content-md-danger,.card-md-secondary .card-header-md-danger,.card-md-secondary .card-title-md-danger,.card-md-secondary .text-md-danger{color:#f53d3d}.card-md-secondary .card-content-md-light,.card-md-secondary .card-header-md-light,.card-md-secondary .card-title-md-light,.card-md-secondary .text-md-light{color:#f4f4f4}.card-md-secondary .card-content-md-dark,.card-md-secondary .card-header-md-dark,.card-md-secondary .card-title-md-dark,.card-md-secondary .text-md-dark{color:#222}.card-md-secondary .card-content-md-optblue,.card-md-secondary .card-header-md-optblue,.card-md-secondary .card-title-md-optblue,.card-md-secondary .text-md-optblue{color:#e00201}.card-content-md-secondary,.card-header-md-secondary,.card-title-md-secondary{color:#32db64}.card-md .text-md-danger{color:#f53d3d}.card-md-danger{color:#fff;background-color:#f53d3d}.card-md-danger .card-content-md,.card-md-danger .card-header-md,.card-md-danger .card-title-md,.card-md-danger h1,.card-md-danger h2,.card-md-danger h3,.card-md-danger h4,.card-md-danger h5,.card-md-danger h6,.card-md-danger p{color:#fff}.card-md-danger .card-content-md-primary,.card-md-danger .card-header-md-primary,.card-md-danger .card-title-md-primary,.card-md-danger .text-md-primary{color:#673ab7}.card-md-danger .card-content-md-secondary,.card-md-danger .card-header-md-secondary,.card-md-danger .card-title-md-secondary,.card-md-danger .text-md-secondary{color:#32db64}.card-md-danger .card-content-md-danger,.card-md-danger .card-header-md-danger,.card-md-danger .card-title-md-danger,.card-md-danger .text-md-danger{color:#f53d3d}.card-md-danger .card-content-md-light,.card-md-danger .card-header-md-light,.card-md-danger .card-title-md-light,.card-md-danger .text-md-light{color:#f4f4f4}.card-md-danger .card-content-md-dark,.card-md-danger .card-header-md-dark,.card-md-danger .card-title-md-dark,.card-md-danger .text-md-dark{color:#222}.card-md-danger .card-content-md-optblue,.card-md-danger .card-header-md-optblue,.card-md-danger .card-title-md-optblue,.card-md-danger .text-md-optblue{color:#e00201}.card-content-md-danger,.card-header-md-danger,.card-title-md-danger{color:#f53d3d}.card-md .text-md-light{color:#f4f4f4}.card-md-light{color:#000;background-color:#f4f4f4}.card-md-light .card-content-md,.card-md-light .card-header-md,.card-md-light .card-title-md,.card-md-light h1,.card-md-light h2,.card-md-light h3,.card-md-light h4,.card-md-light h5,.card-md-light h6,.card-md-light p{color:#000}.card-md-light .card-content-md-primary,.card-md-light .card-header-md-primary,.card-md-light .card-title-md-primary,.card-md-light .text-md-primary{color:#673ab7}.card-md-light .card-content-md-secondary,.card-md-light .card-header-md-secondary,.card-md-light .card-title-md-secondary,.card-md-light .text-md-secondary{color:#32db64}.card-md-light .card-content-md-danger,.card-md-light .card-header-md-danger,.card-md-light .card-title-md-danger,.card-md-light .text-md-danger{color:#f53d3d}.card-md-light .card-content-md-light,.card-md-light .card-header-md-light,.card-md-light .card-title-md-light,.card-md-light .text-md-light{color:#f4f4f4}.card-md-light .card-content-md-dark,.card-md-light .card-header-md-dark,.card-md-light .card-title-md-dark,.card-md-light .text-md-dark{color:#222}.card-md-light .card-content-md-optblue,.card-md-light .card-header-md-optblue,.card-md-light .card-title-md-optblue,.card-md-light .text-md-optblue{color:#e00201}.card-content-md-light,.card-header-md-light,.card-title-md-light{color:#f4f4f4}.card-md .text-md-dark{color:#222}.card-md-dark{color:#fff;background-color:#222}.card-md-dark .card-content-md,.card-md-dark .card-header-md,.card-md-dark .card-title-md,.card-md-dark h1,.card-md-dark h2,.card-md-dark h3,.card-md-dark h4,.card-md-dark h5,.card-md-dark h6,.card-md-dark p{color:#fff}.card-md-dark .card-content-md-primary,.card-md-dark .card-header-md-primary,.card-md-dark .card-title-md-primary,.card-md-dark .text-md-primary{color:#673ab7}.card-md-dark .card-content-md-secondary,.card-md-dark .card-header-md-secondary,.card-md-dark .card-title-md-secondary,.card-md-dark .text-md-secondary{color:#32db64}.card-md-dark .card-content-md-danger,.card-md-dark .card-header-md-danger,.card-md-dark .card-title-md-danger,.card-md-dark .text-md-danger{color:#f53d3d}.card-md-dark .card-content-md-light,.card-md-dark .card-header-md-light,.card-md-dark .card-title-md-light,.card-md-dark .text-md-light{color:#f4f4f4}.card-md-dark .card-content-md-dark,.card-md-dark .card-header-md-dark,.card-md-dark .card-title-md-dark,.card-md-dark .text-md-dark{color:#222}.card-md-dark .card-content-md-optblue,.card-md-dark .card-header-md-optblue,.card-md-dark .card-title-md-optblue,.card-md-dark .text-md-optblue{color:#e00201}.card-content-md-dark,.card-header-md-dark,.card-title-md-dark{color:#222}.card-md .text-md-optblue{color:#e00201}.card-md-optblue{color:#fff;background-color:#e00201}.card-md-optblue .card-content-md,.card-md-optblue .card-header-md,.card-md-optblue .card-title-md,.card-md-optblue h1,.card-md-optblue h2,.card-md-optblue h3,.card-md-optblue h4,.card-md-optblue h5,.card-md-optblue h6,.card-md-optblue p{color:#fff}.card-md-optblue .card-content-md-primary,.card-md-optblue .card-header-md-primary,.card-md-optblue .card-title-md-primary,.card-md-optblue .text-md-primary{color:#673ab7}.card-md-optblue .card-content-md-secondary,.card-md-optblue .card-header-md-secondary,.card-md-optblue .card-title-md-secondary,.card-md-optblue .text-md-secondary{color:#32db64}.card-md-optblue .card-content-md-danger,.card-md-optblue .card-header-md-danger,.card-md-optblue .card-title-md-danger,.card-md-optblue .text-md-danger{color:#f53d3d}.card-md-optblue .card-content-md-light,.card-md-optblue .card-header-md-light,.card-md-optblue .card-title-md-light,.card-md-optblue .text-md-light{color:#f4f4f4}.card-md-optblue .card-content-md-dark,.card-md-optblue .card-header-md-dark,.card-md-optblue .card-title-md-dark,.card-md-optblue .text-md-dark{color:#222}.card-md-optblue .card-content-md-optblue,.card-md-optblue .card-header-md-optblue,.card-md-optblue .card-title-md-optblue,.card-md-optblue .text-md-optblue{color:#e00201}.card-content-md-optblue,.card-header-md-optblue,.card-title-md-optblue{color:#e00201}.card-wp{margin:8px;border-radius:1px;width:calc(100% - 16px);font-size:1.4rem;background:#fff;-webkit-box-shadow:0 1px 1px 1px rgba(0,0,0,.2);box-shadow:0 1px 1px 1px rgba(0,0,0,.2)}.card-wp ion-list{margin-bottom:0}.card-wp>.item-wrapper:last-child .item,.card-wp>.item:last-child,.card-wp>.item:last-child .item-inner{border-bottom:0}.card-wp .item-wp.item-block .item-inner{border:0}.card-content-wp{padding:13px 16px;font-size:1.4rem;line-height:1.5}.card-header-wp{font-size:1.6rem;color:#222;padding:16px}.card-header-wp+.card-content-wp,.card-wp .item+.card-content-wp{padding-top:0}.card .note-wp{font-size:1.3rem}.card-title-wp{display:block;font-size:2.4rem;line-height:1.2;color:#222;margin:2px 0;padding:8px 0}.card-wp h1{margin:0 0 2px;font-size:2.4rem;font-weight:400;color:#222}.card-wp h2{margin:2px 0;font-size:1.6rem;font-weight:400;color:#222}.card-wp h3,.card-wp h4,.card-wp h5,.card-wp h6{margin:2px 0;font-size:1.4rem;font-weight:400;color:#222}.card-wp p{margin:0 0 2px;font-size:1.4rem;font-weight:400;line-height:1.5;color:#222}.card-wp+ion-card{margin-top:0}.card-wp .text-wp-primary{color:#673ab7}.card-wp-primary{color:#fff;background-color:#673ab7}.card-wp-primary .card-content-wp,.card-wp-primary .card-header-wp,.card-wp-primary .card-title-wp,.card-wp-primary h1,.card-wp-primary h2,.card-wp-primary h3,.card-wp-primary h4,.card-wp-primary h5,.card-wp-primary h6,.card-wp-primary p{color:#fff}.card-wp-primary .card-content-wp-primary,.card-wp-primary .card-header-wp-primary,.card-wp-primary .card-title-wp-primary,.card-wp-primary .text-wp-primary{color:#673ab7}.card-wp-primary .card-content-wp-secondary,.card-wp-primary .card-header-wp-secondary,.card-wp-primary .card-title-wp-secondary,.card-wp-primary .text-wp-secondary{color:#32db64}.card-wp-primary .card-content-wp-danger,.card-wp-primary .card-header-wp-danger,.card-wp-primary .card-title-wp-danger,.card-wp-primary .text-wp-danger{color:#f53d3d}.card-wp-primary .card-content-wp-light,.card-wp-primary .card-header-wp-light,.card-wp-primary .card-title-wp-light,.card-wp-primary .text-wp-light{color:#f4f4f4}.card-wp-primary .card-content-wp-dark,.card-wp-primary .card-header-wp-dark,.card-wp-primary .card-title-wp-dark,.card-wp-primary .text-wp-dark{color:#222}.card-wp-primary .card-content-wp-optblue,.card-wp-primary .card-header-wp-optblue,.card-wp-primary .card-title-wp-optblue,.card-wp-primary .text-wp-optblue{color:#e00201}.card-content-wp-primary,.card-header-wp-primary,.card-title-wp-primary{color:#673ab7}.card-wp .text-wp-secondary{color:#32db64}.card-wp-secondary{color:#fff;background-color:#32db64}.card-wp-secondary .card-content-wp,.card-wp-secondary .card-header-wp,.card-wp-secondary .card-title-wp,.card-wp-secondary h1,.card-wp-secondary h2,.card-wp-secondary h3,.card-wp-secondary h4,.card-wp-secondary h5,.card-wp-secondary h6,.card-wp-secondary p{color:#fff}.card-wp-secondary .card-content-wp-primary,.card-wp-secondary .card-header-wp-primary,.card-wp-secondary .card-title-wp-primary,.card-wp-secondary .text-wp-primary{color:#673ab7}.card-wp-secondary .card-content-wp-secondary,.card-wp-secondary .card-header-wp-secondary,.card-wp-secondary .card-title-wp-secondary,.card-wp-secondary .text-wp-secondary{color:#32db64}.card-wp-secondary .card-content-wp-danger,.card-wp-secondary .card-header-wp-danger,.card-wp-secondary .card-title-wp-danger,.card-wp-secondary .text-wp-danger{color:#f53d3d}.card-wp-secondary .card-content-wp-light,.card-wp-secondary .card-header-wp-light,.card-wp-secondary .card-title-wp-light,.card-wp-secondary .text-wp-light{color:#f4f4f4}.card-wp-secondary .card-content-wp-dark,.card-wp-secondary .card-header-wp-dark,.card-wp-secondary .card-title-wp-dark,.card-wp-secondary .text-wp-dark{color:#222}.card-wp-secondary .card-content-wp-optblue,.card-wp-secondary .card-header-wp-optblue,.card-wp-secondary .card-title-wp-optblue,.card-wp-secondary .text-wp-optblue{color:#e00201}.card-content-wp-secondary,.card-header-wp-secondary,.card-title-wp-secondary{color:#32db64}.card-wp .text-wp-danger{color:#f53d3d}.card-wp-danger{color:#fff;background-color:#f53d3d}.card-wp-danger .card-content-wp,.card-wp-danger .card-header-wp,.card-wp-danger .card-title-wp,.card-wp-danger h1,.card-wp-danger h2,.card-wp-danger h3,.card-wp-danger h4,.card-wp-danger h5,.card-wp-danger h6,.card-wp-danger p{color:#fff}.card-wp-danger .card-content-wp-primary,.card-wp-danger .card-header-wp-primary,.card-wp-danger .card-title-wp-primary,.card-wp-danger .text-wp-primary{color:#673ab7}.card-wp-danger .card-content-wp-secondary,.card-wp-danger .card-header-wp-secondary,.card-wp-danger .card-title-wp-secondary,.card-wp-danger .text-wp-secondary{color:#32db64}.card-wp-danger .card-content-wp-danger,.card-wp-danger .card-header-wp-danger,.card-wp-danger .card-title-wp-danger,.card-wp-danger .text-wp-danger{color:#f53d3d}.card-wp-danger .card-content-wp-light,.card-wp-danger .card-header-wp-light,.card-wp-danger .card-title-wp-light,.card-wp-danger .text-wp-light{color:#f4f4f4}.card-wp-danger .card-content-wp-dark,.card-wp-danger .card-header-wp-dark,.card-wp-danger .card-title-wp-dark,.card-wp-danger .text-wp-dark{color:#222}.card-wp-danger .card-content-wp-optblue,.card-wp-danger .card-header-wp-optblue,.card-wp-danger .card-title-wp-optblue,.card-wp-danger .text-wp-optblue{color:#e00201}.card-content-wp-danger,.card-header-wp-danger,.card-title-wp-danger{color:#f53d3d}.card-wp .text-wp-light{color:#f4f4f4}.card-wp-light{color:#000;background-color:#f4f4f4}.card-wp-light .card-content-wp,.card-wp-light .card-header-wp,.card-wp-light .card-title-wp,.card-wp-light h1,.card-wp-light h2,.card-wp-light h3,.card-wp-light h4,.card-wp-light h5,.card-wp-light h6,.card-wp-light p{color:#000}.card-wp-light .card-content-wp-primary,.card-wp-light .card-header-wp-primary,.card-wp-light .card-title-wp-primary,.card-wp-light .text-wp-primary{color:#673ab7}.card-wp-light .card-content-wp-secondary,.card-wp-light .card-header-wp-secondary,.card-wp-light .card-title-wp-secondary,.card-wp-light .text-wp-secondary{color:#32db64}.card-wp-light .card-content-wp-danger,.card-wp-light .card-header-wp-danger,.card-wp-light .card-title-wp-danger,.card-wp-light .text-wp-danger{color:#f53d3d}.card-wp-light .card-content-wp-light,.card-wp-light .card-header-wp-light,.card-wp-light .card-title-wp-light,.card-wp-light .text-wp-light{color:#f4f4f4}.card-wp-light .card-content-wp-dark,.card-wp-light .card-header-wp-dark,.card-wp-light .card-title-wp-dark,.card-wp-light .text-wp-dark{color:#222}.card-wp-light .card-content-wp-optblue,.card-wp-light .card-header-wp-optblue,.card-wp-light .card-title-wp-optblue,.card-wp-light .text-wp-optblue{color:#e00201}.card-content-wp-light,.card-header-wp-light,.card-title-wp-light{color:#f4f4f4}.card-wp .text-wp-dark{color:#222}.card-wp-dark{color:#fff;background-color:#222}.card-wp-dark .card-content-wp,.card-wp-dark .card-header-wp,.card-wp-dark .card-title-wp,.card-wp-dark h1,.card-wp-dark h2,.card-wp-dark h3,.card-wp-dark h4,.card-wp-dark h5,.card-wp-dark h6,.card-wp-dark p{color:#fff}.card-wp-dark .card-content-wp-primary,.card-wp-dark .card-header-wp-primary,.card-wp-dark .card-title-wp-primary,.card-wp-dark .text-wp-primary{color:#673ab7}.card-wp-dark .card-content-wp-secondary,.card-wp-dark .card-header-wp-secondary,.card-wp-dark .card-title-wp-secondary,.card-wp-dark .text-wp-secondary{color:#32db64}.card-wp-dark .card-content-wp-danger,.card-wp-dark .card-header-wp-danger,.card-wp-dark .card-title-wp-danger,.card-wp-dark .text-wp-danger{color:#f53d3d}.card-wp-dark .card-content-wp-light,.card-wp-dark .card-header-wp-light,.card-wp-dark .card-title-wp-light,.card-wp-dark .text-wp-light{color:#f4f4f4}.card-wp-dark .card-content-wp-dark,.card-wp-dark .card-header-wp-dark,.card-wp-dark .card-title-wp-dark,.card-wp-dark .text-wp-dark{color:#222}.card-wp-dark .card-content-wp-optblue,.card-wp-dark .card-header-wp-optblue,.card-wp-dark .card-title-wp-optblue,.card-wp-dark .text-wp-optblue{color:#e00201}.card-content-wp-dark,.card-header-wp-dark,.card-title-wp-dark{color:#222}.card-wp .text-wp-optblue{color:#e00201}.card-wp-optblue{color:#fff;background-color:#e00201}.card-wp-optblue .card-content-wp,.card-wp-optblue .card-header-wp,.card-wp-optblue .card-title-wp,.card-wp-optblue h1,.card-wp-optblue h2,.card-wp-optblue h3,.card-wp-optblue h4,.card-wp-optblue h5,.card-wp-optblue h6,.card-wp-optblue p{color:#fff}.card-wp-optblue .card-content-wp-primary,.card-wp-optblue .card-header-wp-primary,.card-wp-optblue .card-title-wp-primary,.card-wp-optblue .text-wp-primary{color:#673ab7}.card-wp-optblue .card-content-wp-secondary,.card-wp-optblue .card-header-wp-secondary,.card-wp-optblue .card-title-wp-secondary,.card-wp-optblue .text-wp-secondary{color:#32db64}.card-wp-optblue .card-content-wp-danger,.card-wp-optblue .card-header-wp-danger,.card-wp-optblue .card-title-wp-danger,.card-wp-optblue .text-wp-danger{color:#f53d3d}.card-wp-optblue .card-content-wp-light,.card-wp-optblue .card-header-wp-light,.card-wp-optblue .card-title-wp-light,.card-wp-optblue .text-wp-light{color:#f4f4f4}.card-wp-optblue .card-content-wp-dark,.card-wp-optblue .card-header-wp-dark,.card-wp-optblue .card-title-wp-dark,.card-wp-optblue .text-wp-dark{color:#222}.card-wp-optblue .card-content-wp-optblue,.card-wp-optblue .card-header-wp-optblue,.card-wp-optblue .card-title-wp-optblue,.card-wp-optblue .text-wp-optblue{color:#e00201}.card-content-wp-optblue,.card-header-wp-optblue,.card-title-wp-optblue{color:#e00201}.checkbox-ios{position:relative;display:inline-block}.checkbox-ios .checkbox-icon{border-radius:50%;position:relative;width:21px;height:21px;border-width:1px;border-style:solid;border-color:#c8c7cc;background-color:#fff}.checkbox-ios .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-ios .checkbox-checked .checkbox-inner{left:7px;top:4px;position:absolute;width:4px;height:9px;border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-ios.checkbox-disabled,.item-ios.item-checkbox-disabled ion-label{opacity:.3;pointer-events:none}.item.item-ios .checkbox-ios{position:static;display:block;margin:8px 16px 8px 2px}.item.item-ios .checkbox-ios[item-end],.item.item-ios .checkbox-ios[item-right]{margin:10px 8px 9px 0}.checkbox-ios-primary .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-ios-primary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-secondary .checkbox-checked{border-color:#32db64;background-color:#32db64}.checkbox-ios-secondary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-danger .checkbox-checked{border-color:#f53d3d;background-color:#f53d3d}.checkbox-ios-danger .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-light .checkbox-checked{border-color:#f4f4f4;background-color:#f4f4f4}.checkbox-ios-light .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-ios-dark .checkbox-checked{border-color:#222;background-color:#222}.checkbox-ios-dark .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-ios-optblue .checkbox-checked{border-color:#e00201;background-color:#e00201}.checkbox-ios-optblue .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md{position:relative;display:inline-block}.checkbox-md .checkbox-icon{border-radius:2px;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878;background-color:#fff;-webkit-transition-duration:280ms;transition-duration:280ms;-webkit-transition-property:background;transition-property:background;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.checkbox-md .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-md .checkbox-checked .checkbox-inner{left:4px;top:0;position:absolute;width:5px;height:10px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-md.checkbox-disabled,.item-md.item-checkbox-disabled ion-label{opacity:.3;pointer-events:none}.item.item-md .checkbox-md{position:static;display:block;margin:9px 36px 9px 4px}.item.item-md .checkbox-md[item-end],.item.item-md .checkbox-md[item-right]{margin:11px 10px 10px 0}.checkbox-md+.item-inner ion-label{margin-left:0}.checkbox-md-primary .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-md-primary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-secondary .checkbox-checked{border-color:#32db64;background-color:#32db64}.checkbox-md-secondary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-danger .checkbox-checked{border-color:#f53d3d;background-color:#f53d3d}.checkbox-md-danger .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-light .checkbox-checked{border-color:#f4f4f4;background-color:#f4f4f4}.checkbox-md-light .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-md-dark .checkbox-checked{border-color:#222;background-color:#222}.checkbox-md-dark .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-md-optblue .checkbox-checked{border-color:#e00201;background-color:#e00201}.checkbox-md-optblue .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp{position:relative;display:inline-block}.checkbox-wp .checkbox-icon{border-radius:0;position:relative;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#333;background-color:#fff}.checkbox-wp .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-wp .checkbox-checked .checkbox-inner{left:3px;top:-2px;position:absolute;width:6px;height:12px;border-width:1px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-wp.checkbox-disabled,.item-wp.item-checkbox-disabled ion-label{opacity:.3;pointer-events:none}.item.item-wp .checkbox-wp{position:static;display:block;margin:9px 16px 9px 4px}.item.item-wp .checkbox-wp[item-end],.item.item-wp .checkbox-wp[item-right]{margin:11px 10px 10px 0}.checkbox-wp+.item-inner ion-label{margin-left:0}.checkbox-wp-primary .checkbox-checked{border-color:#673ab7;background-color:#673ab7}.checkbox-wp-primary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-secondary .checkbox-checked{border-color:#32db64;background-color:#32db64}.checkbox-wp-secondary .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-danger .checkbox-checked{border-color:#f53d3d;background-color:#f53d3d}.checkbox-wp-danger .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-light .checkbox-checked{border-color:#f4f4f4;background-color:#f4f4f4}.checkbox-wp-light .checkbox-checked .checkbox-inner{border-color:#000}.checkbox-wp-dark .checkbox-checked{border-color:#222;background-color:#222}.checkbox-wp-dark .checkbox-checked .checkbox-inner{border-color:#fff}.checkbox-wp-optblue .checkbox-checked{border-color:#e00201;background-color:#e00201}.checkbox-wp-optblue .checkbox-checked .checkbox-inner{border-color:#fff}ion-chip{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;font-weight:400;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}ion-chip .button{border-radius:50%;width:32px;height:32px;margin:0}ion-chip ion-icon{text-align:center;border-radius:50%;width:32px;height:32px;font-size:18px;line-height:32px}ion-chip ion-avatar{border-radius:50%;width:32px;min-width:32px;height:32px;min-height:32px}ion-chip ion-avatar img{border-radius:50%;display:block;width:100%;max-width:100%;height:100%;max-height:100%}.chip-ios{border-radius:16px;height:32px;font-size:13px;line-height:32px;color:rgba(0,0,0,.87);background:rgba(0,0,0,.12);margin:2px 0}.chip-ios>ion-label{margin:0 10px}.chip-ios>ion-icon{color:#fff;background-color:#673ab7}.chip-ios .icon-ios-primary,.chip-ios-primary{color:#fff;background-color:#673ab7}.chip-ios .icon-ios-secondary,.chip-ios-secondary{color:#fff;background-color:#32db64}.chip-ios .icon-ios-danger,.chip-ios-danger{color:#fff;background-color:#f53d3d}.chip-ios .icon-ios-light,.chip-ios-light{color:#000;background-color:#f4f4f4}.chip-ios .icon-ios-dark,.chip-ios-dark{color:#fff;background-color:#222}.chip-ios .icon-ios-optblue,.chip-ios-optblue{color:#fff;background-color:#e00201}.chip-md{border-radius:16px;height:32px;font-size:13px;line-height:32px;color:rgba(0,0,0,.87);background:rgba(0,0,0,.12);margin:2px 0}.chip-md>ion-label{margin:0 10px}.chip-md>ion-icon{color:#fff;background-color:#673ab7}.chip-md .icon-md-primary,.chip-md-primary{color:#fff;background-color:#673ab7}.chip-md .icon-md-secondary,.chip-md-secondary{color:#fff;background-color:#32db64}.chip-md .icon-md-danger,.chip-md-danger{color:#fff;background-color:#f53d3d}.chip-md .icon-md-light,.chip-md-light{color:#000;background-color:#f4f4f4}.chip-md .icon-md-dark,.chip-md-dark{color:#fff;background-color:#222}.chip-md .icon-md-optblue,.chip-md-optblue{color:#fff;background-color:#e00201}.chip-wp{border-radius:16px;height:32px;font-size:13px;line-height:32px;color:rgba(0,0,0,.87);background:rgba(0,0,0,.12);margin:2px 0}.chip-wp>ion-label{margin:0 10px}.chip-wp>ion-icon{color:#fff;background-color:#673ab7}.chip-wp .button{border:0}.chip-wp .icon-wp-primary,.chip-wp-primary{color:#fff;background-color:#673ab7}.chip-wp .icon-wp-secondary,.chip-wp-secondary{color:#fff;background-color:#32db64}.chip-wp .icon-wp-danger,.chip-wp-danger{color:#fff;background-color:#f53d3d}.chip-wp .icon-wp-light,.chip-wp-light{color:#000;background-color:#f4f4f4}.chip-wp .icon-wp-dark,.chip-wp-dark{color:#fff;background-color:#222}.chip-wp .icon-wp-optblue,.chip-wp-optblue{color:#fff;background-color:#e00201}ion-content{left:0;top:0;position:relative;display:block;width:100%;height:100%;contain:layout size style}.ion-page>ion-content{position:absolute}a{color:#673ab7}.scroll-content{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1;display:block;overflow-x:hidden;overflow-y:scroll;-webkit-overflow-scrolling:touch;will-change:scroll-position;contain:size style layout}ion-content.js-scroll>.scroll-content{position:relative;min-height:100%;overflow-x:initial;overflow-y:initial;-webkit-overflow-scrolling:auto;will-change:initial}.disable-scroll .ion-page{pointer-events:none;-ms-touch-action:none;touch-action:none}ion-content.has-refresher>.scroll-content{background-color:inherit}.fixed-content{left:0;right:0;top:0;bottom:0;position:absolute;display:block}[ion-fixed]{position:absolute;z-index:999;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-app [no-padding],ion-app [no-padding] .scroll-content{padding:0}ion-app [no-margin],ion-app [no-margin] .scroll-content{margin:0}.content-ios{color:#000;background-color:#fff}.content-ios.outer-content{background:#efeff4}.content-ios hr{height:.55px;background-color:rgba(0,0,0,.12)}.ios .ion-page.show-page~.nav-decor{left:0;top:0;position:absolute;z-index:0;display:block;width:100%;height:100%;background:#000;pointer-events:none}ion-app.ios [padding]{padding:16px}ion-app.ios [padding-top]{padding-top:16px}ion-app.ios [padding-left]{padding-left:16px}ion-app.ios [padding-right]{padding-right:16px}ion-app.ios [padding-bottom]{padding-bottom:16px}ion-app.ios [padding-vertical]{padding-top:16px;padding-bottom:16px}ion-app.ios [padding-horizontal]{padding-left:16px;padding-right:16px}ion-app.ios [padding] .scroll-content{padding:16px}@media screen and (orientation:landscape){ion-app.ios [padding] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-top:16px;padding-bottom:16px;padding:16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}ion-app.ios [padding-top] .scroll-content{padding-top:16px}@media screen and (orientation:landscape){ion-app.ios [padding-top] .scroll-content{padding-top:16px;padding-top:16px}}ion-app.ios [padding-left] .scroll-content{padding-left:16px}@media screen and (orientation:landscape){ion-app.ios [padding-left] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}ion-app.ios [padding-right] .scroll-content{padding-right:16px}@media screen and (orientation:landscape){ion-app.ios [padding-right] .scroll-content{padding-right:calc(constant(safe-area-inset-right) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.ios [padding-bottom] .scroll-content{padding-bottom:16px}@media screen and (orientation:landscape){ion-app.ios [padding-bottom] .scroll-content{padding-bottom:16px;padding-bottom:16px}}ion-app.ios [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px}@media screen and (orientation:landscape){ion-app.ios [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px;padding-top:16px;padding-bottom:16px}}ion-app.ios [padding-horizontal] .scroll-content{padding-left:16px;padding-right:16px}@media screen and (orientation:landscape){ion-app.ios [padding-horizontal] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-right:calc(constant(safe-area-inset-right) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.ios [margin],ion-app.ios [margin] .scroll-content{margin:16px}ion-app.ios [margin-top],ion-app.ios [margin-top] .scroll-content{margin-top:16px}ion-app.ios [margin-left],ion-app.ios [margin-left] .scroll-content{margin-left:16px}ion-app.ios [margin-start],ion-app.ios [margin-start] .scroll-content{margin-left:16px}ion-app.ios [margin-right],ion-app.ios [margin-right] .scroll-content{margin-right:16px}ion-app.ios [margin-end],ion-app.ios [margin-end] .scroll-content{margin-right:16px}ion-app.ios [margin-bottom],ion-app.ios [margin-bottom] .scroll-content{margin-bottom:16px}ion-app.ios [margin-vertical],ion-app.ios [margin-vertical] .scroll-content{margin-top:16px;margin-bottom:16px}ion-app.ios [margin-horizontal],ion-app.ios [margin-horizontal] .scroll-content{margin-left:16px;margin-right:16px}.content-ios:not([no-bounce])>.scroll-content::after,.content-ios:not([no-bounce])>.scroll-content::before{position:absolute;width:1px;height:1px;content:""}.content-ios:not([no-bounce])>.scroll-content::before{bottom:-1px}.content-ios:not([no-bounce])>.scroll-content::after{top:-1px}.platform-core .content-ios .scroll-content::after,.platform-core .content-ios .scroll-content::before{position:initial;top:initial;bottom:initial;width:initial;height:initial}.content-md{color:#000;background-color:#fff}.content-md hr{background-color:rgba(0,0,0,.08)}ion-app.md [padding]{padding:16px}ion-app.md [padding-top]{padding-top:16px}ion-app.md [padding-left]{padding-left:16px}ion-app.md [padding-right]{padding-right:16px}ion-app.md [padding-bottom]{padding-bottom:16px}ion-app.md [padding-vertical]{padding-top:16px;padding-bottom:16px}ion-app.md [padding-horizontal]{padding-left:16px;padding-right:16px}ion-app.md [padding] .scroll-content{padding:16px}@media screen and (orientation:landscape){ion-app.md [padding] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-top:16px;padding-bottom:16px;padding:16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}ion-app.md [padding-top] .scroll-content{padding-top:16px}@media screen and (orientation:landscape){ion-app.md [padding-top] .scroll-content{padding-top:16px;padding-top:16px}}ion-app.md [padding-left] .scroll-content{padding-left:16px}@media screen and (orientation:landscape){ion-app.md [padding-left] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}ion-app.md [padding-right] .scroll-content{padding-right:16px}@media screen and (orientation:landscape){ion-app.md [padding-right] .scroll-content{padding-right:calc(constant(safe-area-inset-right) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.md [padding-bottom] .scroll-content{padding-bottom:16px}@media screen and (orientation:landscape){ion-app.md [padding-bottom] .scroll-content{padding-bottom:16px;padding-bottom:16px}}ion-app.md [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px}@media screen and (orientation:landscape){ion-app.md [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px;padding-top:16px;padding-bottom:16px}}ion-app.md [padding-horizontal] .scroll-content{padding-left:16px;padding-right:16px}@media screen and (orientation:landscape){ion-app.md [padding-horizontal] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-right:calc(constant(safe-area-inset-right) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.md [margin],ion-app.md [margin] .scroll-content{margin:16px}ion-app.md [margin-top],ion-app.md [margin-top] .scroll-content{margin-top:16px}ion-app.md [margin-left],ion-app.md [margin-left] .scroll-content{margin-left:16px}ion-app.md [margin-start],ion-app.md [margin-start] .scroll-content{margin-left:16px}ion-app.md [margin-right],ion-app.md [margin-right] .scroll-content{margin-right:16px}ion-app.md [margin-end],ion-app.md [margin-end] .scroll-content{margin-right:16px}ion-app.md [margin-bottom],ion-app.md [margin-bottom] .scroll-content{margin-bottom:16px}ion-app.md [margin-vertical],ion-app.md [margin-vertical] .scroll-content{margin-top:16px;margin-bottom:16px}ion-app.md [margin-horizontal],ion-app.md [margin-horizontal] .scroll-content{margin-left:16px;margin-right:16px}.content-wp{color:#000;background-color:#fff}.content-wp hr{background-color:rgba(0,0,0,.08)}ion-app.wp [padding]{padding:16px}ion-app.wp [padding-top]{padding-top:16px}ion-app.wp [padding-left]{padding-left:16px}ion-app.wp [padding-right]{padding-right:16px}ion-app.wp [padding-bottom]{padding-bottom:16px}ion-app.wp [padding-vertical]{padding-top:16px;padding-bottom:16px}ion-app.wp [padding-horizontal]{padding-left:16px;padding-right:16px}ion-app.wp [padding] .scroll-content{padding:16px}@media screen and (orientation:landscape){ion-app.wp [padding] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-top:16px;padding-bottom:16px;padding:16px calc(env(safe-area-inset-right) + 16px) 16px calc(env(safe-area-inset-left) + 16px)}}ion-app.wp [padding-top] .scroll-content{padding-top:16px}@media screen and (orientation:landscape){ion-app.wp [padding-top] .scroll-content{padding-top:16px;padding-top:16px}}ion-app.wp [padding-left] .scroll-content{padding-left:16px}@media screen and (orientation:landscape){ion-app.wp [padding-left] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}ion-app.wp [padding-right] .scroll-content{padding-right:16px}@media screen and (orientation:landscape){ion-app.wp [padding-right] .scroll-content{padding-right:calc(constant(safe-area-inset-right) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.wp [padding-bottom] .scroll-content{padding-bottom:16px}@media screen and (orientation:landscape){ion-app.wp [padding-bottom] .scroll-content{padding-bottom:16px;padding-bottom:16px}}ion-app.wp [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px}@media screen and (orientation:landscape){ion-app.wp [padding-vertical] .scroll-content{padding-top:16px;padding-bottom:16px;padding-top:16px;padding-bottom:16px}}ion-app.wp [padding-horizontal] .scroll-content{padding-left:16px;padding-right:16px}@media screen and (orientation:landscape){ion-app.wp [padding-horizontal] .scroll-content{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-right:calc(constant(safe-area-inset-right) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px);padding-right:calc(env(safe-area-inset-right) + 16px)}}ion-app.wp [margin],ion-app.wp [margin] .scroll-content{margin:16px}ion-app.wp [margin-top],ion-app.wp [margin-top] .scroll-content{margin-top:16px}ion-app.wp [margin-left],ion-app.wp [margin-left] .scroll-content{margin-left:16px}ion-app.wp [margin-start],ion-app.wp [margin-start] .scroll-content{margin-left:16px}ion-app.wp [margin-right],ion-app.wp [margin-right] .scroll-content{margin-right:16px}ion-app.wp [margin-end],ion-app.wp [margin-end] .scroll-content{margin-right:16px}ion-app.wp [margin-bottom],ion-app.wp [margin-bottom] .scroll-content{margin-bottom:16px}ion-app.wp [margin-vertical],ion-app.wp [margin-vertical] .scroll-content{margin-top:16px;margin-bottom:16px}ion-app.wp [margin-horizontal],ion-app.wp [margin-horizontal] .scroll-content{margin-left:16px;margin-right:16px}ion-datetime{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden}.datetime-text{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;min-width:16px;min-height:1.2em;font-size:inherit;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.datetime-disabled,.item-datetime-disabled ion-label{opacity:.4;pointer-events:none}.item-label-floating ion-datetime,.item-label-stacked ion-datetime{padding-left:0;width:100%}.datetime-ios{padding:11px 8px 11px 16px}.datetime-ios .datetime-placeholder{color:#999}.datetime-md{padding:13px 8px 13px 16px}.datetime-md .datetime-placeholder{color:#999}.datetime-wp{padding:13px 8px 13px 16px;min-width:45%}.datetime-wp .datetime-text{padding:0 8px;min-height:3.4rem;border:2px solid rgba(0,0,0,.5);line-height:3rem}.item-datetime .datetime-wp ion-label[floating]{-webkit-transform:translate3d(8px,41px,0);transform:translate3d(8px,41px,0)}.datetime-wp .datetime-placeholder{color:rgba(0,0,0,.5)}.fab{text-align:center;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;border-radius:50%;position:relative;z-index:0;display:block;overflow:hidden;width:56px;height:56px;font-size:14px;line-height:56px;text-overflow:ellipsis;text-transform:none;white-space:nowrap;cursor:pointer;-webkit-transition:background-color,opacity .1s linear;transition:background-color,opacity .1s linear;background-clip:padding-box;-webkit-font-kerning:none;font-kerning:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;contain:strict}.fab ion-icon{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:2.4rem}.fab[mini]{margin:8px;width:40px;height:40px;line-height:40px}.fab[mini] .fab-close-icon{line-height:40px}ion-fab{position:absolute;z-index:999}ion-fab[center]{left:50%;margin-left:-28px}ion-fab[middle]{margin-top:-28px;top:50%}ion-fab[top]{top:10px}ion-fab[right]{right:10px;right:calc(10px + constant(safe-area-inset-right));right:calc(10px + env(safe-area-inset-right))}ion-fab[end]{right:10px;right:calc(constant(safe-area-inset-right) + 10px);right:calc(env(safe-area-inset-right) + 10px)}ion-fab[bottom]{bottom:10px}ion-fab[left]{left:10px;left:calc(10px + constant(safe-area-inset-left));left:calc(10px + env(safe-area-inset-left))}ion-fab[start]{left:10px;left:calc(constant(safe-area-inset-left) + 10px);left:calc(env(safe-area-inset-left) + 10px)}ion-fab[top][edge]{top:-28px}ion-fab[bottom][edge]{bottom:-28px}ion-fab-list{margin:66px 0;position:absolute;top:0;display:none;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;min-width:56px;min-height:56px}.fab-in-list{margin:8px 0;width:40px;height:40px;opacity:0;visibility:hidden;-webkit-transform:scale(0);transform:scale(0)}.fab-in-list.show{opacity:1;visibility:visible;-webkit-transform:scale(1);transform:scale(1)}ion-fab-list[side=left] .fab-in-list,ion-fab-list[side=right] .fab-in-list{margin:0 8px}ion-fab-list[side=top]{top:auto;bottom:0;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}ion-fab-list[side=left]{margin:0 66px;right:0;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}ion-fab-list[side=right]{margin:0 66px;left:0;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.fab-list-active{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.fab-close-icon{left:0;right:0;top:0;position:absolute;line-height:56px;opacity:0;-webkit-transform:scale(.4) rotateZ(-45deg);transform:scale(.4) rotateZ(-45deg);-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}.fab .button-inner{-webkit-transition:all ease-in-out .3s;transition:all ease-in-out .3s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}.fab-close-active .fab-close-icon{opacity:1;-webkit-transform:scale(1) rotateZ(0);transform:scale(1) rotateZ(0)}.fab-close-active .button-inner{opacity:0;-webkit-transform:scale(.4) rotateZ(45deg);transform:scale(.4) rotateZ(45deg)}.fab-ios{color:#fff;background-color:#673ab7}.fab-ios.activated{background-color:#734abd}.fab-ios-in-list{color:#000;background-color:#f4f4f4;-webkit-transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms,-webkit-transform .2s ease 10ms}.fab-ios-in-list.activated{background-color:#e0e0e0}.fab-ios-primary{color:#fff;background-color:#673ab7}.fab-ios-primary.activated{background-color:#734abd}.fab-ios-secondary{color:#fff;background-color:#32db64}.fab-ios-secondary.activated{background-color:#2ec95c}.fab-ios-danger{color:#fff;background-color:#f53d3d}.fab-ios-danger.activated{background-color:#e13838}.fab-ios-light{color:#000;background-color:#f4f4f4}.fab-ios-light.activated{background-color:#e0e0e0}.fab-ios-dark{color:#fff;background-color:#222}.fab-ios-dark.activated{background-color:#343434}.fab-ios-optblue{color:#fff;background-color:#e00201}.fab-ios-optblue.activated{background-color:#e21615}.fab-md{color:#fff;background-color:#673ab7;-webkit-box-shadow:0 4px 6px 0 rgba(0,0,0,.14),0 4px 5px rgba(0,0,0,.1);box-shadow:0 4px 6px 0 rgba(0,0,0,.14),0 4px 5px rgba(0,0,0,.1);-webkit-transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1);transition:box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1)}.fab-md.activated{background-color:#734abd;-webkit-box-shadow:0 5px 15px 0 rgba(0,0,0,.4),0 4px 7px 0 rgba(0,0,0,.1);box-shadow:0 5px 15px 0 rgba(0,0,0,.4),0 4px 7px 0 rgba(0,0,0,.1)}.fab-md-in-list{color:#000;background-color:#f4f4f4;-webkit-transition:opacity .2s ease 10ms,background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-transform .2s ease 10ms,-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:opacity .2s ease 10ms,background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-transform .2s ease 10ms,-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1);transition:transform .2s ease 10ms,opacity .2s ease 10ms,box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1);transition:transform .2s ease 10ms,opacity .2s ease 10ms,box-shadow .3s cubic-bezier(.4,0,.2,1),background-color .3s cubic-bezier(.4,0,.2,1),color .3s cubic-bezier(.4,0,.2,1),-webkit-transform .2s ease 10ms,-webkit-box-shadow .3s cubic-bezier(.4,0,.2,1)}.fab-md-in-list.activated{background-color:#e0e0e0}.fab-md .button-effect{background-color:#fff}.fab-md-primary{color:#fff;background-color:#673ab7}.fab-md-primary.activated{background-color:#734abd}.fab-md-primary .button-effect{background-color:#fff}.fab-md-secondary{color:#fff;background-color:#32db64}.fab-md-secondary.activated{background-color:#2ec95c}.fab-md-secondary .button-effect{background-color:#fff}.fab-md-danger{color:#fff;background-color:#f53d3d}.fab-md-danger.activated{background-color:#e13838}.fab-md-danger .button-effect{background-color:#fff}.fab-md-light{color:#000;background-color:#f4f4f4}.fab-md-light.activated{background-color:#e0e0e0}.fab-md-light .button-effect{background-color:#000}.fab-md-dark{color:#fff;background-color:#222}.fab-md-dark.activated{background-color:#343434}.fab-md-dark .button-effect{background-color:#fff}.fab-md-optblue{color:#fff;background-color:#e00201}.fab-md-optblue.activated{background-color:#e21615}.fab-md-optblue .button-effect{background-color:#fff}.fab-wp{color:#fff;background-color:#673ab7}.fab-wp.activated{background-color:#734abd}.fab-wp-in-list{color:#000;background-color:#f4f4f4;-webkit-transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:opacity .2s ease 10ms,-webkit-transform .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms;transition:transform .2s ease 10ms,opacity .2s ease 10ms,-webkit-transform .2s ease 10ms}.fab-wp-in-list.activated{background-color:#e0e0e0}.fab-wp-primary{color:#fff;background-color:#673ab7}.fab-wp-primary.activated{background-color:#734abd}.fab-wp-secondary{color:#fff;background-color:#32db64}.fab-wp-secondary.activated{background-color:#2ec95c}.fab-wp-danger{color:#fff;background-color:#f53d3d}.fab-wp-danger.activated{background-color:#e13838}.fab-wp-light{color:#000;background-color:#f4f4f4}.fab-wp-light.activated{background-color:#e0e0e0}.fab-wp-dark{color:#fff;background-color:#222}.fab-wp-dark.activated{background-color:#343434}.fab-wp-optblue{color:#fff;background-color:#e00201}.fab-wp-optblue.activated{background-color:#e21615}.grid{padding:5px;margin-left:auto;margin-right:auto;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.grid[no-padding]{padding:0}.grid[no-padding]>.row>.col{padding:0}@media (min-width:576px){.grid[fixed]{width:540px;max-width:100%}}@media (min-width:768px){.grid[fixed]{width:720px;max-width:100%}}@media (min-width:992px){.grid[fixed]{width:960px;max-width:100%}}@media (min-width:1200px){.grid[fixed]{width:1140px;max-width:100%}}.row{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.row[nowrap]{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.row[wrap-reverse]{-webkit-flex-wrap:wrap-reverse;-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.row[align-items-start]{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.row[align-items-center]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.row[align-items-end]{-webkit-box-align:end;-webkit-align-items:flex-end;-ms-flex-align:end;align-items:flex-end}.row[align-items-stretch]{-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.row[align-items-baseline]{-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline}.row[justify-content-start]{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.row[justify-content-center]{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.row[justify-content-end]{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.row[justify-content-around]{-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around}.row[justify-content-between]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.col{padding:5px;position:relative;width:100%;margin:0;min-height:1px;-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}.col[align-self-start]{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}.col[align-self-end]{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.col[align-self-center]{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.col[align-self-stretch]{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch}.col[align-self-baseline]{-webkit-align-self:baseline;-ms-flex-item-align:baseline;align-self:baseline}[col-1]{padding:5px}@media (min-width:576px){[col-1]{padding:5px}}@media (min-width:768px){[col-1]{padding:5px}}@media (min-width:992px){[col-1]{padding:5px}}@media (min-width:1200px){[col-1]{padding:5px}}[col-2]{padding:5px}@media (min-width:576px){[col-2]{padding:5px}}@media (min-width:768px){[col-2]{padding:5px}}@media (min-width:992px){[col-2]{padding:5px}}@media (min-width:1200px){[col-2]{padding:5px}}[col-3]{padding:5px}@media (min-width:576px){[col-3]{padding:5px}}@media (min-width:768px){[col-3]{padding:5px}}@media (min-width:992px){[col-3]{padding:5px}}@media (min-width:1200px){[col-3]{padding:5px}}[col-4]{padding:5px}@media (min-width:576px){[col-4]{padding:5px}}@media (min-width:768px){[col-4]{padding:5px}}@media (min-width:992px){[col-4]{padding:5px}}@media (min-width:1200px){[col-4]{padding:5px}}[col-5]{padding:5px}@media (min-width:576px){[col-5]{padding:5px}}@media (min-width:768px){[col-5]{padding:5px}}@media (min-width:992px){[col-5]{padding:5px}}@media (min-width:1200px){[col-5]{padding:5px}}[col-6]{padding:5px}@media (min-width:576px){[col-6]{padding:5px}}@media (min-width:768px){[col-6]{padding:5px}}@media (min-width:992px){[col-6]{padding:5px}}@media (min-width:1200px){[col-6]{padding:5px}}[col-7]{padding:5px}@media (min-width:576px){[col-7]{padding:5px}}@media (min-width:768px){[col-7]{padding:5px}}@media (min-width:992px){[col-7]{padding:5px}}@media (min-width:1200px){[col-7]{padding:5px}}[col-8]{padding:5px}@media (min-width:576px){[col-8]{padding:5px}}@media (min-width:768px){[col-8]{padding:5px}}@media (min-width:992px){[col-8]{padding:5px}}@media (min-width:1200px){[col-8]{padding:5px}}[col-9]{padding:5px}@media (min-width:576px){[col-9]{padding:5px}}@media (min-width:768px){[col-9]{padding:5px}}@media (min-width:992px){[col-9]{padding:5px}}@media (min-width:1200px){[col-9]{padding:5px}}[col-10]{padding:5px}@media (min-width:576px){[col-10]{padding:5px}}@media (min-width:768px){[col-10]{padding:5px}}@media (min-width:992px){[col-10]{padding:5px}}@media (min-width:1200px){[col-10]{padding:5px}}[col-11]{padding:5px}@media (min-width:576px){[col-11]{padding:5px}}@media (min-width:768px){[col-11]{padding:5px}}@media (min-width:992px){[col-11]{padding:5px}}@media (min-width:1200px){[col-11]{padding:5px}}[col-12]{padding:5px}@media (min-width:576px){[col-12]{padding:5px}}@media (min-width:768px){[col-12]{padding:5px}}@media (min-width:992px){[col-12]{padding:5px}}@media (min-width:1200px){[col-12]{padding:5px}}[col]{padding:5px}@media (min-width:576px){[col]{padding:5px}}@media (min-width:768px){[col]{padding:5px}}@media (min-width:992px){[col]{padding:5px}}@media (min-width:1200px){[col]{padding:5px}}[col]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-0]{right:auto}[pull-1]{right:8.33333%}[pull-2]{right:16.66667%}[pull-3]{right:25%}[pull-4]{right:33.33333%}[pull-5]{right:41.66667%}[pull-6]{right:50%}[pull-7]{right:58.33333%}[pull-8]{right:66.66667%}[pull-9]{right:75%}[pull-10]{right:83.33333%}[pull-11]{right:91.66667%}[pull-12]{right:100%}[push-0]{left:auto}[push-1]{left:8.33333%}[push-2]{left:16.66667%}[push-3]{left:25%}[push-4]{left:33.33333%}[push-5]{left:41.66667%}[push-6]{left:50%}[push-7]{left:58.33333%}[push-8]{left:66.66667%}[push-9]{left:75%}[push-10]{left:83.33333%}[push-11]{left:91.66667%}[push-12]{left:100%}[offset-1]{margin-left:8.33333%}[offset-2]{margin-left:16.66667%}[offset-3]{margin-left:25%}[offset-4]{margin-left:33.33333%}[offset-5]{margin-left:41.66667%}[offset-6]{margin-left:50%}[offset-7]{margin-left:58.33333%}[offset-8]{margin-left:66.66667%}[offset-9]{margin-left:75%}[offset-10]{margin-left:83.33333%}[offset-11]{margin-left:91.66667%}[col-sm-1]{padding:5px}@media (min-width:576px){[col-sm-1]{padding:5px}}@media (min-width:768px){[col-sm-1]{padding:5px}}@media (min-width:992px){[col-sm-1]{padding:5px}}@media (min-width:1200px){[col-sm-1]{padding:5px}}[col-sm-2]{padding:5px}@media (min-width:576px){[col-sm-2]{padding:5px}}@media (min-width:768px){[col-sm-2]{padding:5px}}@media (min-width:992px){[col-sm-2]{padding:5px}}@media (min-width:1200px){[col-sm-2]{padding:5px}}[col-sm-3]{padding:5px}@media (min-width:576px){[col-sm-3]{padding:5px}}@media (min-width:768px){[col-sm-3]{padding:5px}}@media (min-width:992px){[col-sm-3]{padding:5px}}@media (min-width:1200px){[col-sm-3]{padding:5px}}[col-sm-4]{padding:5px}@media (min-width:576px){[col-sm-4]{padding:5px}}@media (min-width:768px){[col-sm-4]{padding:5px}}@media (min-width:992px){[col-sm-4]{padding:5px}}@media (min-width:1200px){[col-sm-4]{padding:5px}}[col-sm-5]{padding:5px}@media (min-width:576px){[col-sm-5]{padding:5px}}@media (min-width:768px){[col-sm-5]{padding:5px}}@media (min-width:992px){[col-sm-5]{padding:5px}}@media (min-width:1200px){[col-sm-5]{padding:5px}}[col-sm-6]{padding:5px}@media (min-width:576px){[col-sm-6]{padding:5px}}@media (min-width:768px){[col-sm-6]{padding:5px}}@media (min-width:992px){[col-sm-6]{padding:5px}}@media (min-width:1200px){[col-sm-6]{padding:5px}}[col-sm-7]{padding:5px}@media (min-width:576px){[col-sm-7]{padding:5px}}@media (min-width:768px){[col-sm-7]{padding:5px}}@media (min-width:992px){[col-sm-7]{padding:5px}}@media (min-width:1200px){[col-sm-7]{padding:5px}}[col-sm-8]{padding:5px}@media (min-width:576px){[col-sm-8]{padding:5px}}@media (min-width:768px){[col-sm-8]{padding:5px}}@media (min-width:992px){[col-sm-8]{padding:5px}}@media (min-width:1200px){[col-sm-8]{padding:5px}}[col-sm-9]{padding:5px}@media (min-width:576px){[col-sm-9]{padding:5px}}@media (min-width:768px){[col-sm-9]{padding:5px}}@media (min-width:992px){[col-sm-9]{padding:5px}}@media (min-width:1200px){[col-sm-9]{padding:5px}}[col-sm-10]{padding:5px}@media (min-width:576px){[col-sm-10]{padding:5px}}@media (min-width:768px){[col-sm-10]{padding:5px}}@media (min-width:992px){[col-sm-10]{padding:5px}}@media (min-width:1200px){[col-sm-10]{padding:5px}}[col-sm-11]{padding:5px}@media (min-width:576px){[col-sm-11]{padding:5px}}@media (min-width:768px){[col-sm-11]{padding:5px}}@media (min-width:992px){[col-sm-11]{padding:5px}}@media (min-width:1200px){[col-sm-11]{padding:5px}}[col-sm-12]{padding:5px}@media (min-width:576px){[col-sm-12]{padding:5px}}@media (min-width:768px){[col-sm-12]{padding:5px}}@media (min-width:992px){[col-sm-12]{padding:5px}}@media (min-width:1200px){[col-sm-12]{padding:5px}}[col-sm]{padding:5px}@media (min-width:576px){[col-sm]{padding:5px}}@media (min-width:768px){[col-sm]{padding:5px}}@media (min-width:992px){[col-sm]{padding:5px}}@media (min-width:1200px){[col-sm]{padding:5px}}@media (min-width:576px){[col-sm]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-sm-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-sm-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-sm-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-sm-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-sm-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-sm-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-sm-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-sm-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-sm-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-sm-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-sm-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-sm-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-sm-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-sm-0]{right:auto}[pull-sm-1]{right:8.33333%}[pull-sm-2]{right:16.66667%}[pull-sm-3]{right:25%}[pull-sm-4]{right:33.33333%}[pull-sm-5]{right:41.66667%}[pull-sm-6]{right:50%}[pull-sm-7]{right:58.33333%}[pull-sm-8]{right:66.66667%}[pull-sm-9]{right:75%}[pull-sm-10]{right:83.33333%}[pull-sm-11]{right:91.66667%}[pull-sm-12]{right:100%}[push-sm-0]{left:auto}[push-sm-1]{left:8.33333%}[push-sm-2]{left:16.66667%}[push-sm-3]{left:25%}[push-sm-4]{left:33.33333%}[push-sm-5]{left:41.66667%}[push-sm-6]{left:50%}[push-sm-7]{left:58.33333%}[push-sm-8]{left:66.66667%}[push-sm-9]{left:75%}[push-sm-10]{left:83.33333%}[push-sm-11]{left:91.66667%}[push-sm-12]{left:100%}[offset-sm-0]{margin-left:0}[offset-sm-1]{margin-left:8.33333%}[offset-sm-2]{margin-left:16.66667%}[offset-sm-3]{margin-left:25%}[offset-sm-4]{margin-left:33.33333%}[offset-sm-5]{margin-left:41.66667%}[offset-sm-6]{margin-left:50%}[offset-sm-7]{margin-left:58.33333%}[offset-sm-8]{margin-left:66.66667%}[offset-sm-9]{margin-left:75%}[offset-sm-10]{margin-left:83.33333%}[offset-sm-11]{margin-left:91.66667%}}[col-md-1]{padding:5px}@media (min-width:576px){[col-md-1]{padding:5px}}@media (min-width:768px){[col-md-1]{padding:5px}}@media (min-width:992px){[col-md-1]{padding:5px}}@media (min-width:1200px){[col-md-1]{padding:5px}}[col-md-2]{padding:5px}@media (min-width:576px){[col-md-2]{padding:5px}}@media (min-width:768px){[col-md-2]{padding:5px}}@media (min-width:992px){[col-md-2]{padding:5px}}@media (min-width:1200px){[col-md-2]{padding:5px}}[col-md-3]{padding:5px}@media (min-width:576px){[col-md-3]{padding:5px}}@media (min-width:768px){[col-md-3]{padding:5px}}@media (min-width:992px){[col-md-3]{padding:5px}}@media (min-width:1200px){[col-md-3]{padding:5px}}[col-md-4]{padding:5px}@media (min-width:576px){[col-md-4]{padding:5px}}@media (min-width:768px){[col-md-4]{padding:5px}}@media (min-width:992px){[col-md-4]{padding:5px}}@media (min-width:1200px){[col-md-4]{padding:5px}}[col-md-5]{padding:5px}@media (min-width:576px){[col-md-5]{padding:5px}}@media (min-width:768px){[col-md-5]{padding:5px}}@media (min-width:992px){[col-md-5]{padding:5px}}@media (min-width:1200px){[col-md-5]{padding:5px}}[col-md-6]{padding:5px}@media (min-width:576px){[col-md-6]{padding:5px}}@media (min-width:768px){[col-md-6]{padding:5px}}@media (min-width:992px){[col-md-6]{padding:5px}}@media (min-width:1200px){[col-md-6]{padding:5px}}[col-md-7]{padding:5px}@media (min-width:576px){[col-md-7]{padding:5px}}@media (min-width:768px){[col-md-7]{padding:5px}}@media (min-width:992px){[col-md-7]{padding:5px}}@media (min-width:1200px){[col-md-7]{padding:5px}}[col-md-8]{padding:5px}@media (min-width:576px){[col-md-8]{padding:5px}}@media (min-width:768px){[col-md-8]{padding:5px}}@media (min-width:992px){[col-md-8]{padding:5px}}@media (min-width:1200px){[col-md-8]{padding:5px}}[col-md-9]{padding:5px}@media (min-width:576px){[col-md-9]{padding:5px}}@media (min-width:768px){[col-md-9]{padding:5px}}@media (min-width:992px){[col-md-9]{padding:5px}}@media (min-width:1200px){[col-md-9]{padding:5px}}[col-md-10]{padding:5px}@media (min-width:576px){[col-md-10]{padding:5px}}@media (min-width:768px){[col-md-10]{padding:5px}}@media (min-width:992px){[col-md-10]{padding:5px}}@media (min-width:1200px){[col-md-10]{padding:5px}}[col-md-11]{padding:5px}@media (min-width:576px){[col-md-11]{padding:5px}}@media (min-width:768px){[col-md-11]{padding:5px}}@media (min-width:992px){[col-md-11]{padding:5px}}@media (min-width:1200px){[col-md-11]{padding:5px}}[col-md-12]{padding:5px}@media (min-width:576px){[col-md-12]{padding:5px}}@media (min-width:768px){[col-md-12]{padding:5px}}@media (min-width:992px){[col-md-12]{padding:5px}}@media (min-width:1200px){[col-md-12]{padding:5px}}[col-md]{padding:5px}@media (min-width:576px){[col-md]{padding:5px}}@media (min-width:768px){[col-md]{padding:5px}}@media (min-width:992px){[col-md]{padding:5px}}@media (min-width:1200px){[col-md]{padding:5px}}@media (min-width:768px){[col-md]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-md-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-md-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-md-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-md-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-md-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-md-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-md-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-md-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-md-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-md-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-md-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-md-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-md-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-md-0]{right:auto}[pull-md-1]{right:8.33333%}[pull-md-2]{right:16.66667%}[pull-md-3]{right:25%}[pull-md-4]{right:33.33333%}[pull-md-5]{right:41.66667%}[pull-md-6]{right:50%}[pull-md-7]{right:58.33333%}[pull-md-8]{right:66.66667%}[pull-md-9]{right:75%}[pull-md-10]{right:83.33333%}[pull-md-11]{right:91.66667%}[pull-md-12]{right:100%}[push-md-0]{left:auto}[push-md-1]{left:8.33333%}[push-md-2]{left:16.66667%}[push-md-3]{left:25%}[push-md-4]{left:33.33333%}[push-md-5]{left:41.66667%}[push-md-6]{left:50%}[push-md-7]{left:58.33333%}[push-md-8]{left:66.66667%}[push-md-9]{left:75%}[push-md-10]{left:83.33333%}[push-md-11]{left:91.66667%}[push-md-12]{left:100%}[offset-md-0]{margin-left:0}[offset-md-1]{margin-left:8.33333%}[offset-md-2]{margin-left:16.66667%}[offset-md-3]{margin-left:25%}[offset-md-4]{margin-left:33.33333%}[offset-md-5]{margin-left:41.66667%}[offset-md-6]{margin-left:50%}[offset-md-7]{margin-left:58.33333%}[offset-md-8]{margin-left:66.66667%}[offset-md-9]{margin-left:75%}[offset-md-10]{margin-left:83.33333%}[offset-md-11]{margin-left:91.66667%}}[col-lg-1]{padding:5px}@media (min-width:576px){[col-lg-1]{padding:5px}}@media (min-width:768px){[col-lg-1]{padding:5px}}@media (min-width:992px){[col-lg-1]{padding:5px}}@media (min-width:1200px){[col-lg-1]{padding:5px}}[col-lg-2]{padding:5px}@media (min-width:576px){[col-lg-2]{padding:5px}}@media (min-width:768px){[col-lg-2]{padding:5px}}@media (min-width:992px){[col-lg-2]{padding:5px}}@media (min-width:1200px){[col-lg-2]{padding:5px}}[col-lg-3]{padding:5px}@media (min-width:576px){[col-lg-3]{padding:5px}}@media (min-width:768px){[col-lg-3]{padding:5px}}@media (min-width:992px){[col-lg-3]{padding:5px}}@media (min-width:1200px){[col-lg-3]{padding:5px}}[col-lg-4]{padding:5px}@media (min-width:576px){[col-lg-4]{padding:5px}}@media (min-width:768px){[col-lg-4]{padding:5px}}@media (min-width:992px){[col-lg-4]{padding:5px}}@media (min-width:1200px){[col-lg-4]{padding:5px}}[col-lg-5]{padding:5px}@media (min-width:576px){[col-lg-5]{padding:5px}}@media (min-width:768px){[col-lg-5]{padding:5px}}@media (min-width:992px){[col-lg-5]{padding:5px}}@media (min-width:1200px){[col-lg-5]{padding:5px}}[col-lg-6]{padding:5px}@media (min-width:576px){[col-lg-6]{padding:5px}}@media (min-width:768px){[col-lg-6]{padding:5px}}@media (min-width:992px){[col-lg-6]{padding:5px}}@media (min-width:1200px){[col-lg-6]{padding:5px}}[col-lg-7]{padding:5px}@media (min-width:576px){[col-lg-7]{padding:5px}}@media (min-width:768px){[col-lg-7]{padding:5px}}@media (min-width:992px){[col-lg-7]{padding:5px}}@media (min-width:1200px){[col-lg-7]{padding:5px}}[col-lg-8]{padding:5px}@media (min-width:576px){[col-lg-8]{padding:5px}}@media (min-width:768px){[col-lg-8]{padding:5px}}@media (min-width:992px){[col-lg-8]{padding:5px}}@media (min-width:1200px){[col-lg-8]{padding:5px}}[col-lg-9]{padding:5px}@media (min-width:576px){[col-lg-9]{padding:5px}}@media (min-width:768px){[col-lg-9]{padding:5px}}@media (min-width:992px){[col-lg-9]{padding:5px}}@media (min-width:1200px){[col-lg-9]{padding:5px}}[col-lg-10]{padding:5px}@media (min-width:576px){[col-lg-10]{padding:5px}}@media (min-width:768px){[col-lg-10]{padding:5px}}@media (min-width:992px){[col-lg-10]{padding:5px}}@media (min-width:1200px){[col-lg-10]{padding:5px}}[col-lg-11]{padding:5px}@media (min-width:576px){[col-lg-11]{padding:5px}}@media (min-width:768px){[col-lg-11]{padding:5px}}@media (min-width:992px){[col-lg-11]{padding:5px}}@media (min-width:1200px){[col-lg-11]{padding:5px}}[col-lg-12]{padding:5px}@media (min-width:576px){[col-lg-12]{padding:5px}}@media (min-width:768px){[col-lg-12]{padding:5px}}@media (min-width:992px){[col-lg-12]{padding:5px}}@media (min-width:1200px){[col-lg-12]{padding:5px}}[col-lg]{padding:5px}@media (min-width:576px){[col-lg]{padding:5px}}@media (min-width:768px){[col-lg]{padding:5px}}@media (min-width:992px){[col-lg]{padding:5px}}@media (min-width:1200px){[col-lg]{padding:5px}}@media (min-width:992px){[col-lg]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-lg-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-lg-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-lg-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-lg-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-lg-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-lg-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-lg-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-lg-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-lg-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-lg-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-lg-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-lg-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-lg-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-lg-0]{right:auto}[pull-lg-1]{right:8.33333%}[pull-lg-2]{right:16.66667%}[pull-lg-3]{right:25%}[pull-lg-4]{right:33.33333%}[pull-lg-5]{right:41.66667%}[pull-lg-6]{right:50%}[pull-lg-7]{right:58.33333%}[pull-lg-8]{right:66.66667%}[pull-lg-9]{right:75%}[pull-lg-10]{right:83.33333%}[pull-lg-11]{right:91.66667%}[pull-lg-12]{right:100%}[push-lg-0]{left:auto}[push-lg-1]{left:8.33333%}[push-lg-2]{left:16.66667%}[push-lg-3]{left:25%}[push-lg-4]{left:33.33333%}[push-lg-5]{left:41.66667%}[push-lg-6]{left:50%}[push-lg-7]{left:58.33333%}[push-lg-8]{left:66.66667%}[push-lg-9]{left:75%}[push-lg-10]{left:83.33333%}[push-lg-11]{left:91.66667%}[push-lg-12]{left:100%}[offset-lg-0]{margin-left:0}[offset-lg-1]{margin-left:8.33333%}[offset-lg-2]{margin-left:16.66667%}[offset-lg-3]{margin-left:25%}[offset-lg-4]{margin-left:33.33333%}[offset-lg-5]{margin-left:41.66667%}[offset-lg-6]{margin-left:50%}[offset-lg-7]{margin-left:58.33333%}[offset-lg-8]{margin-left:66.66667%}[offset-lg-9]{margin-left:75%}[offset-lg-10]{margin-left:83.33333%}[offset-lg-11]{margin-left:91.66667%}}[col-xl-1]{padding:5px}@media (min-width:576px){[col-xl-1]{padding:5px}}@media (min-width:768px){[col-xl-1]{padding:5px}}@media (min-width:992px){[col-xl-1]{padding:5px}}@media (min-width:1200px){[col-xl-1]{padding:5px}}[col-xl-2]{padding:5px}@media (min-width:576px){[col-xl-2]{padding:5px}}@media (min-width:768px){[col-xl-2]{padding:5px}}@media (min-width:992px){[col-xl-2]{padding:5px}}@media (min-width:1200px){[col-xl-2]{padding:5px}}[col-xl-3]{padding:5px}@media (min-width:576px){[col-xl-3]{padding:5px}}@media (min-width:768px){[col-xl-3]{padding:5px}}@media (min-width:992px){[col-xl-3]{padding:5px}}@media (min-width:1200px){[col-xl-3]{padding:5px}}[col-xl-4]{padding:5px}@media (min-width:576px){[col-xl-4]{padding:5px}}@media (min-width:768px){[col-xl-4]{padding:5px}}@media (min-width:992px){[col-xl-4]{padding:5px}}@media (min-width:1200px){[col-xl-4]{padding:5px}}[col-xl-5]{padding:5px}@media (min-width:576px){[col-xl-5]{padding:5px}}@media (min-width:768px){[col-xl-5]{padding:5px}}@media (min-width:992px){[col-xl-5]{padding:5px}}@media (min-width:1200px){[col-xl-5]{padding:5px}}[col-xl-6]{padding:5px}@media (min-width:576px){[col-xl-6]{padding:5px}}@media (min-width:768px){[col-xl-6]{padding:5px}}@media (min-width:992px){[col-xl-6]{padding:5px}}@media (min-width:1200px){[col-xl-6]{padding:5px}}[col-xl-7]{padding:5px}@media (min-width:576px){[col-xl-7]{padding:5px}}@media (min-width:768px){[col-xl-7]{padding:5px}}@media (min-width:992px){[col-xl-7]{padding:5px}}@media (min-width:1200px){[col-xl-7]{padding:5px}}[col-xl-8]{padding:5px}@media (min-width:576px){[col-xl-8]{padding:5px}}@media (min-width:768px){[col-xl-8]{padding:5px}}@media (min-width:992px){[col-xl-8]{padding:5px}}@media (min-width:1200px){[col-xl-8]{padding:5px}}[col-xl-9]{padding:5px}@media (min-width:576px){[col-xl-9]{padding:5px}}@media (min-width:768px){[col-xl-9]{padding:5px}}@media (min-width:992px){[col-xl-9]{padding:5px}}@media (min-width:1200px){[col-xl-9]{padding:5px}}[col-xl-10]{padding:5px}@media (min-width:576px){[col-xl-10]{padding:5px}}@media (min-width:768px){[col-xl-10]{padding:5px}}@media (min-width:992px){[col-xl-10]{padding:5px}}@media (min-width:1200px){[col-xl-10]{padding:5px}}[col-xl-11]{padding:5px}@media (min-width:576px){[col-xl-11]{padding:5px}}@media (min-width:768px){[col-xl-11]{padding:5px}}@media (min-width:992px){[col-xl-11]{padding:5px}}@media (min-width:1200px){[col-xl-11]{padding:5px}}[col-xl-12]{padding:5px}@media (min-width:576px){[col-xl-12]{padding:5px}}@media (min-width:768px){[col-xl-12]{padding:5px}}@media (min-width:992px){[col-xl-12]{padding:5px}}@media (min-width:1200px){[col-xl-12]{padding:5px}}[col-xl]{padding:5px}@media (min-width:576px){[col-xl]{padding:5px}}@media (min-width:768px){[col-xl]{padding:5px}}@media (min-width:992px){[col-xl]{padding:5px}}@media (min-width:1200px){[col-xl]{padding:5px}}@media (min-width:1200px){[col-xl]{-webkit-flex-basis:0;-ms-flex-preferred-size:0;flex-basis:0;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;max-width:100%}[col-xl-auto]{-webkit-box-flex:0;-webkit-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto;width:auto}[col-xl-1]{-webkit-box-flex:0;-webkit-flex:0 0 8.33333%;-ms-flex:0 0 8.33333%;flex:0 0 8.33333%;width:8.33333%;max-width:8.33333%}[col-xl-2]{-webkit-box-flex:0;-webkit-flex:0 0 16.66667%;-ms-flex:0 0 16.66667%;flex:0 0 16.66667%;width:16.66667%;max-width:16.66667%}[col-xl-3]{-webkit-box-flex:0;-webkit-flex:0 0 25%;-ms-flex:0 0 25%;flex:0 0 25%;width:25%;max-width:25%}[col-xl-4]{-webkit-box-flex:0;-webkit-flex:0 0 33.33333%;-ms-flex:0 0 33.33333%;flex:0 0 33.33333%;width:33.33333%;max-width:33.33333%}[col-xl-5]{-webkit-box-flex:0;-webkit-flex:0 0 41.66667%;-ms-flex:0 0 41.66667%;flex:0 0 41.66667%;width:41.66667%;max-width:41.66667%}[col-xl-6]{-webkit-box-flex:0;-webkit-flex:0 0 50%;-ms-flex:0 0 50%;flex:0 0 50%;width:50%;max-width:50%}[col-xl-7]{-webkit-box-flex:0;-webkit-flex:0 0 58.33333%;-ms-flex:0 0 58.33333%;flex:0 0 58.33333%;width:58.33333%;max-width:58.33333%}[col-xl-8]{-webkit-box-flex:0;-webkit-flex:0 0 66.66667%;-ms-flex:0 0 66.66667%;flex:0 0 66.66667%;width:66.66667%;max-width:66.66667%}[col-xl-9]{-webkit-box-flex:0;-webkit-flex:0 0 75%;-ms-flex:0 0 75%;flex:0 0 75%;width:75%;max-width:75%}[col-xl-10]{-webkit-box-flex:0;-webkit-flex:0 0 83.33333%;-ms-flex:0 0 83.33333%;flex:0 0 83.33333%;width:83.33333%;max-width:83.33333%}[col-xl-11]{-webkit-box-flex:0;-webkit-flex:0 0 91.66667%;-ms-flex:0 0 91.66667%;flex:0 0 91.66667%;width:91.66667%;max-width:91.66667%}[col-xl-12]{-webkit-box-flex:0;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;width:100%;max-width:100%}[pull-xl-0]{right:auto}[pull-xl-1]{right:8.33333%}[pull-xl-2]{right:16.66667%}[pull-xl-3]{right:25%}[pull-xl-4]{right:33.33333%}[pull-xl-5]{right:41.66667%}[pull-xl-6]{right:50%}[pull-xl-7]{right:58.33333%}[pull-xl-8]{right:66.66667%}[pull-xl-9]{right:75%}[pull-xl-10]{right:83.33333%}[pull-xl-11]{right:91.66667%}[pull-xl-12]{right:100%}[push-xl-0]{left:auto}[push-xl-1]{left:8.33333%}[push-xl-2]{left:16.66667%}[push-xl-3]{left:25%}[push-xl-4]{left:33.33333%}[push-xl-5]{left:41.66667%}[push-xl-6]{left:50%}[push-xl-7]{left:58.33333%}[push-xl-8]{left:66.66667%}[push-xl-9]{left:75%}[push-xl-10]{left:83.33333%}[push-xl-11]{left:91.66667%}[push-xl-12]{left:100%}[offset-xl-0]{margin-left:0}[offset-xl-1]{margin-left:8.33333%}[offset-xl-2]{margin-left:16.66667%}[offset-xl-3]{margin-left:25%}[offset-xl-4]{margin-left:33.33333%}[offset-xl-5]{margin-left:41.66667%}[offset-xl-6]{margin-left:50%}[offset-xl-7]{margin-left:58.33333%}[offset-xl-8]{margin-left:66.66667%}[offset-xl-9]{margin-left:75%}[offset-xl-10]{margin-left:83.33333%}[offset-xl-11]{margin-left:91.66667%}}ion-icon{display:inline-block;font-size:1.2em}ion-icon[small]{min-height:1.1em;font-size:1.1em}.icon-ios-primary{color:#673ab7}.icon-ios-secondary{color:#32db64}.icon-ios-danger{color:#f53d3d}.icon-ios-light{color:#f4f4f4}.icon-ios-dark{color:#222}.icon-ios-optblue{color:#e00201}.icon-md-primary{color:#673ab7}.icon-md-secondary{color:#32db64}.icon-md-danger{color:#f53d3d}.icon-md-light{color:#f4f4f4}.icon-md-dark{color:#222}.icon-md-optblue{color:#e00201}.icon-wp-primary{color:#673ab7}.icon-wp-secondary{color:#32db64}.icon-wp-danger{color:#f53d3d}.icon-wp-light{color:#f4f4f4}.icon-wp-dark{color:#222}.icon-wp-optblue{color:#e00201}ion-img{display:inline-block;min-width:20px;min-height:20px;background:#eee;contain:strict}ion-img img{-o-object-fit:cover;object-fit:cover}ion-img.img-unloaded img{display:none}ion-img.img-loaded img{display:block}ion-infinite-scroll{display:block;width:100%}ion-infinite-scroll-content{text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%;min-height:84px}.infinite-loading{display:none;width:100%;margin:0 0 32px}.infinite-loading-text{color:#666;margin:4px 32px 0}.infinite-loading-spinner .spinner-crescent circle,.infinite-loading-spinner .spinner-ios line,.infinite-loading-spinner .spinner-ios-small line{stroke:#666}.infinite-loading-spinner .spinner-bubbles circle,.infinite-loading-spinner .spinner-circles circle,.infinite-loading-spinner .spinner-dots circle{fill:#666}ion-infinite-scroll-content[state=loading] .infinite-loading{display:block}ion-infinite-scroll-content[state=disabled]{display:none}ion-input,ion-textarea{position:relative;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:100%}.item-input ion-input,.item-input ion-textarea{position:static}.item.item-textarea{-webkit-box-align:stretch;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.text-input{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;border-radius:0;display:inline-block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:92%;width:calc(100% - 10px);border:0;background:0 0}.text-input::-moz-placeholder{color:#999}.text-input:-ms-input-placeholder{color:#999}.text-input::-webkit-input-placeholder{text-indent:0;color:#999}textarea.text-input{display:block}.text-input[disabled]{opacity:.4}input.text-input:-webkit-autofill{background-color:transparent}.platform-mobile textarea.text-input{resize:none}.input-cover{left:0;top:0;position:absolute;width:100%;height:100%;-ms-touch-action:manipulation;touch-action:manipulation}.input[disabled] .input-cover{pointer-events:none}.input-has-focus .input-cover,.item-input-has-focus .input-cover{display:none}.input-has-focus,.item-input-has-focus{pointer-events:none}.input-has-focus a,.input-has-focus button,.input-has-focus input,.input-has-focus textarea,.item-input-has-focus a,.item-input-has-focus button,.item-input-has-focus input,.item-input-has-focus textarea{pointer-events:auto}.text-input-clear-icon{margin:0;padding:0;background-position:center;position:absolute;top:0;display:none;height:100%;background-repeat:no-repeat}.input-has-focus.input-has-value .text-input-clear-icon,.item-input-has-focus.item-input-has-value .text-input-clear-icon{display:block}.text-input-ios{margin:11px 8px 11px 0;padding:0;width:calc(100% - 8px)}.input-ios .inset-input{padding:5.5px 8px;margin:5.5px 16px 5.5px 0}.item-ios.item-label-floating .text-input,.item-ios.item-label-stacked .text-input{margin-left:0;margin-top:8px;margin-bottom:8px;width:calc(100% - 8px)}.item-ios.item-label-floating .label-ios+.input+.cloned-input,.item-ios.item-label-stacked .label-ios+.input+.cloned-input{margin-left:0}.item-label-floating .select-ios,.item-label-stacked .select-ios{padding-left:0;padding-top:8px;padding-bottom:8px}.input-ios[clearInput]{position:relative}.input-ios[clearInput] .text-input{padding-right:30px}.input-ios .text-input-clear-icon{right:8px;background-image:url("data:image/svg+xml;charset=utf-8,");width:30px;background-size:18px}.text-input-md{margin:13px 8px;padding:0;width:calc(100% - 8px - 8px)}.input-md .inset-input{padding:6.5px 8px;margin:6.5px 16px}.item-md.item-input.input-has-focus .item-inner,.item-md.item-input.item-input-has-focus .item-inner{border-bottom-color:#673ab7;-webkit-box-shadow:inset 0 -1px 0 0 #673ab7;box-shadow:inset 0 -1px 0 0 #673ab7}.list-md .item-input.input-has-focus:last-child,.list-md .item-input.item-input-has-focus:last-child{border-bottom-color:#673ab7;-webkit-box-shadow:inset 0 -1px 0 0 #673ab7;box-shadow:inset 0 -1px 0 0 #673ab7}.list-md .item-input.input-has-focus:last-child .item-inner,.list-md .item-input.item-input-has-focus:last-child .item-inner{-webkit-box-shadow:none;box-shadow:none}.item-md.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner,.item-md.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .item-inner{border-bottom-color:#32db64;-webkit-box-shadow:inset 0 -1px 0 0 #32db64;box-shadow:inset 0 -1px 0 0 #32db64}.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child,.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child{border-bottom-color:#32db64;-webkit-box-shadow:inset 0 -1px 0 0 #32db64;box-shadow:inset 0 -1px 0 0 #32db64}.list-md .item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner,.list-md .item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner{-webkit-box-shadow:none;box-shadow:none}.item-md.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .item-inner{border-bottom-color:#f53d3d;-webkit-box-shadow:inset 0 -1px 0 0 #f53d3d;box-shadow:inset 0 -1px 0 0 #f53d3d}.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child{border-bottom-color:#f53d3d;-webkit-box-shadow:inset 0 -1px 0 0 #f53d3d;box-shadow:inset 0 -1px 0 0 #f53d3d}.list-md .item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus):last-child .item-inner{-webkit-box-shadow:none;box-shadow:none}.item-label-floating .text-input-md,.item-label-stacked .text-input-md{margin-left:0;margin-top:8px;margin-bottom:8px;width:calc(100% - 8px)}.item-label-floating .select-md,.item-label-stacked .select-md{padding-left:0;padding-top:8px;padding-bottom:8px}.input-md[clearInput]{position:relative}.input-md[clearInput] .text-input{padding-right:30px}.input-md .text-input-clear-icon{right:8px;background-image:url("data:image/svg+xml;charset=utf-8,");width:30px;background-size:22px}.text-input-wp{margin:13px 8px;padding:0 8px;width:calc(100% - 8px - 8px);border:2px solid rgba(0,0,0,.5);line-height:3rem}.item-wp .inset-input{padding:6.5px 8px;margin:6.5px 16px}.item-wp.item-input.input-has-focus .text-input,.item-wp.item-input.item-input-has-focus .text-input{border-color:#673ab7}.item-wp.item-input.ng-valid.input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input,.item-wp.item-input.ng-valid.item-input-has-value:not(.input-has-focus):not(.item-input-has-focus) .text-input{border-color:#32db64}.item-wp.item-input.ng-invalid.ng-touched:not(.input-has-focus):not(.item-input-has-focus) .text-input{border-color:#f53d3d}.item-label-floating .select-wp,.item-label-floating .text-input-wp,.item-label-stacked .select-wp,.item-label-stacked .text-input-wp{margin-left:0;margin-top:8px;margin-bottom:8px;width:calc(100% - 8px)}.item-wp.item-label-floating [item-end],.item-wp.item-label-floating [item-right],.item-wp.item-label-stacked [item-end],.item-wp.item-label-stacked [item-right]{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.input-wp[clearInput]{position:relative}.input-wp[clearInput] .text-input{padding-right:30px}.input-wp .text-input-clear-icon{right:8px;background-image:url("data:image/svg+xml;charset=utf-8,");width:30px;background-size:22px}.item{contain:content}.item-block{margin:0;padding:0;text-align:initial;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:4.4rem;border:0;font-weight:400;line-height:normal;text-decoration:none;color:inherit}.item-inner{margin:0;padding:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-webkit-flex-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit;-webkit-box-align:inherit;-webkit-align-items:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;min-height:inherit;border:0}.input-wrapper{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:inherit;-webkit-box-direction:inherit;-webkit-flex-direction:inherit;-ms-flex-direction:inherit;flex-direction:inherit;-webkit-box-align:inherit;-webkit-align-items:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;text-overflow:ellipsis}.item.item[no-lines] .item-inner,.item[no-lines]{border:0}ion-item-group{display:block}ion-item-divider{margin:0;padding:0;z-index:100;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:30px}ion-item-divider[sticky]{position:-webkit-sticky;position:sticky;top:0}[vertical-align-top],ion-input.item{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.item-inner>ion-icon[small]:first-child,.item>ion-icon[small]:first-child{min-width:18px}.item-inner>ion-icon:first-child,.item>ion-icon:first-child{text-align:center;min-width:24px}.item-inner>ion-icon,.item>ion-icon{min-height:2.8rem;font-size:2.8rem;line-height:1}.item-inner>ion-icon[large],.item>ion-icon[large]{min-height:3.2rem;font-size:3.2rem}.item-inner>ion-icon[small],.item>ion-icon[small]{min-height:1.8rem;font-size:1.8rem}ion-avatar,ion-thumbnail{display:block;line-height:1}ion-avatar img,ion-thumbnail img{display:block}.item-cover{left:0;top:0;position:absolute;width:100%;height:100%;background:0 0;cursor:pointer}ion-reorder{-webkit-transform:translate3d(300%,0,0);transform:translate3d(300%,0,0);display:none;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;max-width:40px;height:100%;font-size:1.7em;opacity:.25;-webkit-transition:-webkit-transform 140ms ease-in;transition:-webkit-transform 140ms ease-in;transition:transform 140ms ease-in;transition:transform 140ms ease-in,-webkit-transform 140ms ease-in;pointer-events:all;-ms-touch-action:manipulation;touch-action:manipulation}.reorder-side-start ion-reorder{-webkit-transform:translate3d(-300%,0,0);transform:translate3d(-300%,0,0);-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}ion-reorder ion-icon{pointer-events:none}.reorder-enabled ion-reorder{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.reorder-visible ion-reorder{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.reorder-list-active .item,.reorder-list-active .item-wrapper{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;will-change:transform}.reorder-list-active .item-inner{pointer-events:none}.item-wrapper.reorder-active,.item.reorder-active,.reorder-active{z-index:4;-webkit-box-shadow:0 0 10px rgba(0,0,0,.4);box-shadow:0 0 10px rgba(0,0,0,.4);opacity:.8;-webkit-transition:none;transition:none;pointer-events:none}ion-item-sliding{position:relative;display:block;overflow:hidden;width:100%}ion-item-sliding .item{position:static}ion-item-options{position:absolute;z-index:1;display:none;height:100%;font-size:14px;visibility:hidden;top:0;right:0;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}ion-item-options[side=left]{right:auto;left:0;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}ion-item-options .button{margin:0;padding:0 .7em;border-radius:0;height:100%;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:content-box;box-sizing:content-box}ion-item-options .button:last-child{padding-right:.7em}@media screen and (orientation:landscape){ion-item-options .button:last-child{padding-right:calc(constant(safe-area-inset-right) + .7em);padding-right:calc(env(safe-area-inset-right) + .7em)}}ion-item-options:not([icon-left]) .button:not([icon-only]) .button-inner,ion-item-options:not([icon-start]) .button:not([icon-only]) .button-inner{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}ion-item-options:not([icon-left]) .button:not([icon-only]) ion-icon,ion-item-options:not([icon-start]) .button:not([icon-only]) ion-icon{padding-left:0;padding-right:0;padding-bottom:.3em}ion-item-sliding.active-slide .item,ion-item-sliding.active-slide .item.activated{position:relative;z-index:2;opacity:1;-webkit-transition:-webkit-transform .5s cubic-bezier(.36,.66,.04,1);transition:-webkit-transform .5s cubic-bezier(.36,.66,.04,1);transition:transform .5s cubic-bezier(.36,.66,.04,1);transition:transform .5s cubic-bezier(.36,.66,.04,1),-webkit-transform .5s cubic-bezier(.36,.66,.04,1);pointer-events:none;will-change:transform}ion-item-sliding.active-slide ion-item-options{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}ion-item-sliding.active-slide.active-options-left ion-item-options[side=left],ion-item-sliding.active-slide.active-options-right ion-item-options:not([side=left]){width:100%;visibility:visible}button[expandable]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-transition-duration:0;transition-duration:0;-webkit-transition-property:none;transition-property:none;-webkit-transition-timing-function:cubic-bezier(.65,.05,.36,1);transition-timing-function:cubic-bezier(.65,.05,.36,1)}ion-item-sliding.active-swipe-right button[expandable]{-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:padding-left;transition-property:padding-left;padding-left:90%;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}ion-item-sliding.active-swipe-left button[expandable]{-webkit-transition-duration:.6s;transition-duration:.6s;-webkit-transition-property:padding-right;transition-property:padding-right;padding-right:90%;-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.item-ios{padding-left:16px;padding-left:16px;border-radius:0;position:relative;font-size:1.7rem;color:#000;background-color:#fff;-webkit-transition:background-color .2s linear;transition:background-color .2s linear}@media screen and (orientation:landscape){.item-ios{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}.item-ios.activated{background-color:#d9d9d9;-webkit-transition-duration:0s;transition-duration:0s}.item-ios h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.item-ios h2{margin:0 0 2px;font-size:1.7rem;font-weight:400}.item-ios h3,.item-ios h4,.item-ios h5,.item-ios h6{margin:0 0 3px;font-size:1.4rem;font-weight:400;line-height:normal}.item-ios p{overflow:inherit;font-size:1.4rem;line-height:normal;text-overflow:inherit;color:#8e9093;margin:0 0 2px}.item-ios h2:last-child,.item-ios h3:last-child,.item-ios h4:last-child,.item-ios h5:last-child,.item-ios h6:last-child,.item-ios p:last-child{margin-bottom:0}.item-ios.item-block .item-inner{padding-right:8px;padding-right:8px;border-bottom:.55px solid #c8c7cc}@media screen and (orientation:landscape){.item-ios.item-block .item-inner{padding-right:calc(constant(safe-area-inset-right) + 8px);padding-right:calc(env(safe-area-inset-right) + 8px)}}.item-ios [item-left],.item-ios [item-start]{margin:8px 16px 8px 0}.item-ios [item-end],.item-ios [item-right]{margin:8px}.item-ios ion-icon[item-end],.item-ios ion-icon[item-left],.item-ios ion-icon[item-right],.item-ios ion-icon[item-start]{margin-left:0;margin-top:9px;margin-bottom:8px}.item-ios .item-button{padding:0 .5em;height:24px;font-size:1.3rem}.item-ios .item-button[icon-only],.item-ios .item-button[icon-only] ion-icon{padding:0 1px}.item-ios ion-avatar[item-left],.item-ios ion-avatar[item-start],.item-ios ion-thumbnail[item-left],.item-ios ion-thumbnail[item-start]{margin:8px 16px 8px 0}.item-ios ion-avatar[item-end],.item-ios ion-avatar[item-right],.item-ios ion-thumbnail[item-end],.item-ios ion-thumbnail[item-right]{margin:8px}.item-ios ion-avatar{min-width:36px;min-height:36px}.item-ios ion-avatar img,.item-ios ion-avatar ion-img{border-radius:50%;overflow:hidden;width:36px;height:36px}.item-ios ion-thumbnail{min-width:56px;min-height:56px}.item-ios ion-thumbnail img,.item-ios ion-thumbnail ion-img{width:56px;height:56px}.item-ios[detail-push] .item-inner,a.item-ios:not([detail-none]) .item-inner,button.item-ios:not([detail-none]) .item-inner{background-image:url("data:image/svg+xml;charset=utf-8,");padding-right:32px;background-position:right 14px center;background-position:right calc(14px + constant(safe-area-inset-right)) center;background-position:right calc(14px + env(safe-area-inset-right)) center;background-repeat:no-repeat;background-size:14px 14px}ion-item-group .item-ios:first-child .item-inner{border-top-width:0}ion-item-group .item-ios:last-child .item-inner,ion-item-group .item-wrapper:last-child .item-ios .item-inner{border:0}.item-divider-ios{padding-left:16px;padding-left:16px;color:#222;background-color:#f7f7f7}@media screen and (orientation:landscape){.item-divider-ios{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}.item-ios .text-ios-primary{color:#673ab7}.item-divider-ios-primary,.item-ios-primary{color:#fff;background-color:#673ab7}.item-divider-ios-primary p,.item-ios-primary p{color:#fff}.item-divider-ios-primary.activated,.item-ios-primary.activated{background-color:#734abd}.item-ios .text-ios-secondary{color:#32db64}.item-divider-ios-secondary,.item-ios-secondary{color:#fff;background-color:#32db64}.item-divider-ios-secondary p,.item-ios-secondary p{color:#fff}.item-divider-ios-secondary.activated,.item-ios-secondary.activated{background-color:#2ec95c}.item-ios .text-ios-danger{color:#f53d3d}.item-divider-ios-danger,.item-ios-danger{color:#fff;background-color:#f53d3d}.item-divider-ios-danger p,.item-ios-danger p{color:#fff}.item-divider-ios-danger.activated,.item-ios-danger.activated{background-color:#e13838}.item-ios .text-ios-light{color:#f4f4f4}.item-divider-ios-light,.item-ios-light{color:#000;background-color:#f4f4f4}.item-divider-ios-light p,.item-ios-light p{color:#000}.item-divider-ios-light.activated,.item-ios-light.activated{background-color:#e0e0e0}.item-ios .text-ios-dark{color:#222}.item-divider-ios-dark,.item-ios-dark{color:#fff;background-color:#222}.item-divider-ios-dark p,.item-ios-dark p{color:#fff}.item-divider-ios-dark.activated,.item-ios-dark.activated{background-color:#343434}.item-ios .text-ios-optblue{color:#e00201}.item-divider-ios-optblue,.item-ios-optblue{color:#fff;background-color:#e00201}.item-divider-ios-optblue p,.item-ios-optblue p{color:#fff}.item-divider-ios-optblue.activated,.item-ios-optblue.activated{background-color:#e21615}.list-ios ion-item-sliding{background-color:#fff}.item-md{padding-left:16px;padding-right:0;position:relative;font-size:1.6rem;font-weight:400;text-transform:none;color:#000;background-color:#fff;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:background-color .3s cubic-bezier(.4,0,.2,1);transition:background-color .3s cubic-bezier(.4,0,.2,1)}.item-md.activated{background-color:#f1f1f1}.item-md[no-lines]{border-width:0}.item-md h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.item-md h2{margin:2px 0;font-size:1.6rem;font-weight:400}.item-md h3,.item-md h4,.item-md h5,.item-md h6{margin:2px 0;font-size:1.4rem;font-weight:400;line-height:normal}.item-md p{margin:0 0 2px;overflow:inherit;font-size:1.4rem;line-height:normal;text-overflow:inherit;color:#666}.item-md.item-block .item-inner{padding-right:8px;border-bottom:1px solid #dedede}.item-md [item-end],.item-md [item-left],.item-md [item-right],.item-md [item-start]{margin:9px 8px 9px 0}.item-md ion-icon[item-end],.item-md ion-icon[item-left],.item-md ion-icon[item-right],.item-md ion-icon[item-start]{margin-left:0;margin-top:11px;margin-bottom:10px}.item-md .item-button{padding:0 .6em;height:25px;font-size:1.2rem}.item-md .item-button[icon-only],.item-md .item-button[icon-only] ion-icon{padding:0 1px}.item-md ion-icon[item-left]+.item-inner,.item-md ion-icon[item-left]+.item-input,.item-md ion-icon[item-start]+.item-inner,.item-md ion-icon[item-start]+.item-input{margin-left:24px}.item-md ion-avatar[item-left],.item-md ion-avatar[item-start],.item-md ion-thumbnail[item-left],.item-md ion-thumbnail[item-start]{margin:8px 16px 8px 0}.item-md ion-avatar[item-end],.item-md ion-avatar[item-right],.item-md ion-thumbnail[item-end],.item-md ion-thumbnail[item-right]{margin:8px}.item-md ion-avatar{min-width:40px;min-height:40px}.item-md ion-avatar img,.item-md ion-avatar ion-img{border-radius:50%;overflow:hidden;width:40px;height:40px}.item-md ion-thumbnail{min-width:80px;min-height:80px}.item-md ion-thumbnail img,.item-md ion-thumbnail ion-img{width:80px;height:80px}ion-item-group .item-md:first-child .item-inner{border-top-width:0}ion-item-group .item-md .item-wrapper:last-child .item-inner,ion-item-group .item-md:last-child .item-inner{border:0}.item-divider-md{padding-left:16px;border-bottom:1px solid #dedede;font-size:1.4rem;color:#858585;background-color:#fff}.item-md .text-md-primary{color:#673ab7}.item-divider-md-primary,.item-md-primary{color:#fff;background-color:#673ab7}.item-divider-md-primary p,.item-md-primary p{color:#fff}.item-divider-md-primary.activated,.item-md-primary.activated{background-color:#734abd}.item-md .text-md-secondary{color:#32db64}.item-divider-md-secondary,.item-md-secondary{color:#fff;background-color:#32db64}.item-divider-md-secondary p,.item-md-secondary p{color:#fff}.item-divider-md-secondary.activated,.item-md-secondary.activated{background-color:#2ec95c}.item-md .text-md-danger{color:#f53d3d}.item-divider-md-danger,.item-md-danger{color:#fff;background-color:#f53d3d}.item-divider-md-danger p,.item-md-danger p{color:#fff}.item-divider-md-danger.activated,.item-md-danger.activated{background-color:#e13838}.item-md .text-md-light{color:#f4f4f4}.item-divider-md-light,.item-md-light{color:#000;background-color:#f4f4f4}.item-divider-md-light p,.item-md-light p{color:#000}.item-divider-md-light.activated,.item-md-light.activated{background-color:#e0e0e0}.item-md .text-md-dark{color:#222}.item-divider-md-dark,.item-md-dark{color:#fff;background-color:#222}.item-divider-md-dark p,.item-md-dark p{color:#fff}.item-divider-md-dark.activated,.item-md-dark.activated{background-color:#343434}.item-md .text-md-optblue{color:#e00201}.item-divider-md-optblue,.item-md-optblue{color:#fff;background-color:#e00201}.item-divider-md-optblue p,.item-md-optblue p{color:#fff}.item-divider-md-optblue.activated,.item-md-optblue.activated{background-color:#e21615}.list-md ion-item-sliding{background-color:#fff}.item-md ion-reorder{font-size:1.5em;opacity:.3}.item-wp{padding-left:16px;padding-right:0;position:relative;font-size:1.6rem;font-weight:400;text-transform:none;color:#000;background-color:#fff;-webkit-box-shadow:none;box-shadow:none}.item-wp.activated{background-color:#aaa}.item-wp[no-lines]{border-width:0}.item-wp h1{margin:0 0 2px;font-size:2.4rem;font-weight:400}.item-wp h2{margin:2px 0;font-size:1.6rem;font-weight:400}.item-wp h3,.item-wp h4,.item-wp h5,.item-wp h6{margin:2px 0;font-size:1.4rem;font-weight:400;line-height:normal}.item-wp p{margin:0 0 2px;overflow:inherit;font-size:1.4rem;line-height:normal;text-overflow:inherit;color:#666}.item-wp.item-block .item-inner{padding-right:8px;border-bottom:1px solid transparent}.item-wp [item-end],.item-wp [item-left],.item-wp [item-right],.item-wp [item-start]{margin:9px 8px 9px 0}.item-wp ion-icon[item-end],.item-wp ion-icon[item-left],.item-wp ion-icon[item-right],.item-wp ion-icon[item-start]{margin-left:0;margin-top:11px;margin-bottom:10px}.item-wp .item-button{padding:0 .6em;height:25px;font-size:1.2rem}.item-wp .item-button[icon-only],.item-wp .item-button[icon-only] ion-icon{padding:0 1px}.item-wp[text-wrap] ion-label{font-size:1.4rem;line-height:1.5}.item-wp ion-icon[item-left]+.item-inner,.item-wp ion-icon[item-left]+.item-input,.item-wp ion-icon[item-start]+.item-inner,.item-wp ion-icon[item-start]+.item-input{margin-left:8px}.item-wp ion-avatar[item-left],.item-wp ion-avatar[item-start],.item-wp ion-thumbnail[item-left],.item-wp ion-thumbnail[item-start]{margin:8px 16px 8px 0}.item-wp ion-avatar[item-end],.item-wp ion-avatar[item-right],.item-wp ion-thumbnail[item-end],.item-wp ion-thumbnail[item-right]{margin:8px}.item-wp ion-avatar{min-width:40px;min-height:40px}.item-wp ion-avatar img,.item-wp ion-avatar ion-img{border-radius:50%;overflow:hidden;width:40px;height:40px}.item-wp ion-thumbnail{min-width:80px;min-height:80px}.item-wp ion-thumbnail img,.item-wp ion-thumbnail ion-img{width:80px;height:80px}.item-divider-wp{padding-left:16px;border-bottom:1px solid transparent;font-size:2rem;color:#000;background-color:#fff}.item-wp .text-wp-primary{color:#673ab7}.item-divider-wp-primary,.item-wp-primary{color:#fff;background-color:#673ab7}.item-divider-wp-primary p,.item-wp-primary p{color:#fff}.item-divider-wp-primary.activated,.item-wp-primary.activated{background-color:#734abd}.item-wp .text-wp-secondary{color:#32db64}.item-divider-wp-secondary,.item-wp-secondary{color:#fff;background-color:#32db64}.item-divider-wp-secondary p,.item-wp-secondary p{color:#fff}.item-divider-wp-secondary.activated,.item-wp-secondary.activated{background-color:#2ec95c}.item-wp .text-wp-danger{color:#f53d3d}.item-divider-wp-danger,.item-wp-danger{color:#fff;background-color:#f53d3d}.item-divider-wp-danger p,.item-wp-danger p{color:#fff}.item-divider-wp-danger.activated,.item-wp-danger.activated{background-color:#e13838}.item-wp .text-wp-light{color:#f4f4f4}.item-divider-wp-light,.item-wp-light{color:#000;background-color:#f4f4f4}.item-divider-wp-light p,.item-wp-light p{color:#000}.item-divider-wp-light.activated,.item-wp-light.activated{background-color:#e0e0e0}.item-wp .text-wp-dark{color:#222}.item-divider-wp-dark,.item-wp-dark{color:#fff;background-color:#222}.item-divider-wp-dark p,.item-wp-dark p{color:#fff}.item-divider-wp-dark.activated,.item-wp-dark.activated{background-color:#343434}.item-wp .text-wp-optblue{color:#e00201}.item-divider-wp-optblue,.item-wp-optblue{color:#fff;background-color:#e00201}.item-divider-wp-optblue p,.item-wp-optblue p{color:#fff}.item-divider-wp-optblue.activated,.item-wp-optblue.activated{background-color:#e21615}.list-wp ion-item-sliding{background-color:#fff}ion-label{margin:0;display:block;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-size:inherit;text-overflow:ellipsis;white-space:nowrap}.item-input ion-label{-webkit-box-flex:initial;-webkit-flex:initial;-ms-flex:initial;flex:initial;max-width:200px;pointer-events:none}[text-wrap] ion-label{white-space:normal}ion-label[fixed]{-webkit-box-flex:0;-webkit-flex:0 0 100px;-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}.item-label-floating ion-label,.item-label-stacked ion-label{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;width:auto;max-width:100%}ion-label[floating],ion-label[stacked]{margin-bottom:0}.item-label-floating .input-wrapper,.item-label-stacked .input-wrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.item-label-floating ion-select,.item-label-stacked ion-select{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch;max-width:100%}.label-ios{margin:11px 8px 11px 0}.label-ios+.input+.cloned-input,.label-ios+ion-input .text-input,.label-ios+ion-textarea .text-input{margin-left:16px;width:calc(100% - (16px / 2) - 16px)}.label-ios[stacked]{margin-bottom:4px;font-size:1.2rem}.label-ios[floating]{margin-bottom:0;-webkit-transform:translate3d(0,27px,0);transform:translate3d(0,27px,0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out,-webkit-transform 150ms ease-in-out}.input-has-focus .label-ios[floating],.input-has-value .label-ios[floating],.item-input-has-focus .label-ios[floating],.item-input-has-value .label-ios[floating]{-webkit-transform:translate3d(0,0,0) scale(.8);transform:translate3d(0,0,0) scale(.8)}.item-ios.item-label-floating [item-end],.item-ios.item-label-floating [item-right],.item-ios.item-label-stacked [item-end],.item-ios.item-label-stacked [item-right]{margin-top:6px;margin-bottom:6px}.item-datetime .label-ios-primary,.item-input .label-ios-primary,.item-select .label-ios-primary,.label-ios-primary{color:#673ab7}.item-datetime .label-ios-secondary,.item-input .label-ios-secondary,.item-select .label-ios-secondary,.label-ios-secondary{color:#32db64}.item-datetime .label-ios-danger,.item-input .label-ios-danger,.item-select .label-ios-danger,.label-ios-danger{color:#f53d3d}.item-datetime .label-ios-light,.item-input .label-ios-light,.item-select .label-ios-light,.label-ios-light{color:#f4f4f4}.item-datetime .label-ios-dark,.item-input .label-ios-dark,.item-select .label-ios-dark,.label-ios-dark{color:#222}.item-datetime .label-ios-optblue,.item-input .label-ios-optblue,.item-select .label-ios-optblue,.label-ios-optblue{color:#e00201}.label-md{margin:13px 8px 13px 0}[text-wrap] .label-md{font-size:1.4rem;line-height:1.5}.item-datetime .label-md,.item-input .label-md,.item-select .label-md{color:#999}.label-md[stacked]{font-size:1.2rem}.label-md[floating]{-webkit-transform:translate3d(0,27px,0);transform:translate3d(0,27px,0);-webkit-transform-origin:left top;transform-origin:left top;-webkit-transition:-webkit-transform 150ms ease-in-out;transition:-webkit-transform 150ms ease-in-out;transition:transform 150ms ease-in-out;transition:transform 150ms ease-in-out,-webkit-transform 150ms ease-in-out}.label-md[floating],.label-md[stacked]{margin-left:0;margin-bottom:0}.input-has-focus .label-md[floating],.input-has-focus .label-md[stacked],.item-input-has-focus .label-md[floating],.item-input-has-focus .label-md[stacked]{color:#673ab7}.input-has-focus .label-md[floating],.input-has-value .label-md[floating],.item-input-has-focus .label-md[floating],.item-input-has-value .label-md[floating]{-webkit-transform:translate3d(0,0,0) scale(.8);transform:translate3d(0,0,0) scale(.8)}.item-md.item-label-floating [item-end],.item-md.item-label-floating [item-right],.item-md.item-label-stacked [item-end],.item-md.item-label-stacked [item-right]{margin-top:7px;margin-bottom:7px}.item-datetime .label-md-primary,.item-input .label-md-primary,.item-select .label-md-primary,.label-md-primary{color:#673ab7}.item-datetime .label-md-secondary,.item-input .label-md-secondary,.item-select .label-md-secondary,.label-md-secondary{color:#32db64}.item-datetime .label-md-danger,.item-input .label-md-danger,.item-select .label-md-danger,.label-md-danger{color:#f53d3d}.item-datetime .label-md-light,.item-input .label-md-light,.item-select .label-md-light,.label-md-light{color:#f4f4f4}.item-datetime .label-md-dark,.item-input .label-md-dark,.item-select .label-md-dark,.label-md-dark{color:#222}.item-datetime .label-md-optblue,.item-input .label-md-optblue,.item-select .label-md-optblue,.label-md-optblue{color:#e00201}.label-wp{margin:13px 8px 13px 0}.item-datetime .label-wp,.item-input .label-wp,.item-select .label-wp{color:#999}.label-wp[stacked]{font-size:1.2rem}.label-wp[floating]{-webkit-transform:translate3d(8px,34px,0);transform:translate3d(8px,34px,0);-webkit-transform-origin:left top;transform-origin:left top}.label-wp[floating],.label-wp[stacked]{margin-left:0;margin-bottom:0}.input-has-focus .label-wp[floating],.input-has-focus .label-wp[stacked],.item-input-has-focus .label-wp[floating],.item-input-has-focus .label-wp[stacked]{color:#673ab7}.input-has-focus .label-wp[floating],.input-has-value .label-wp[floating],.item-input-has-focus .label-wp[floating],.item-input-has-value .label-wp[floating]{-webkit-transform:translate3d(0,0,0) scale(.8);transform:translate3d(0,0,0) scale(.8)}.item-wp.item-label-floating [item-end],.item-wp.item-label-floating [item-right],.item-wp.item-label-stacked [item-end],.item-wp.item-label-stacked [item-right]{margin-top:13px;margin-bottom:13px}.item-datetime .label-wp-primary,.item-input .label-wp-primary,.item-select .label-wp-primary,.label-wp-primary{color:#673ab7}.item-datetime .label-wp-secondary,.item-input .label-wp-secondary,.item-select .label-wp-secondary,.label-wp-secondary{color:#32db64}.item-datetime .label-wp-danger,.item-input .label-wp-danger,.item-select .label-wp-danger,.label-wp-danger{color:#f53d3d}.item-datetime .label-wp-light,.item-input .label-wp-light,.item-select .label-wp-light,.label-wp-light{color:#f4f4f4}.item-datetime .label-wp-dark,.item-input .label-wp-dark,.item-select .label-wp-dark,.label-wp-dark{color:#222}.item-datetime .label-wp-optblue,.item-input .label-wp-optblue,.item-select .label-wp-optblue,.label-wp-optblue{color:#e00201}ion-list-header{margin:0;padding:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;min-height:4rem}ion-list{margin:0;padding:0;display:block;list-style-type:none}ion-list[inset]{overflow:hidden;-webkit-transform:translateZ(0);transform:translateZ(0)}.list-ios{margin:-1px 0 32px}.list-ios>.item-block:first-child{border-top:.55px solid #c8c7cc}.list-ios>.item-block:last-child,.list-ios>.item-wrapper:last-child .item-block{border-bottom:.55px solid #c8c7cc}.list-ios>.item-block:last-child .item-inner,.list-ios>.item-wrapper:last-child .item-block .item-inner{border-bottom:0}.list-ios .item-block .item-inner{border-bottom:.55px solid #c8c7cc}.list-ios .item[no-lines],.list-ios .item[no-lines] .item-inner{border-width:0}.list-ios ion-item-options{border-bottom:.55px solid #c8c7cc}.list-ios ion-item-options .button{margin:0;border-radius:0;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:100%;min-height:100%;border:0;-webkit-box-sizing:border-box;box-sizing:border-box}.list-ios ion-item-options .button::before{margin:0 auto}.list-ios:not([inset])+.list-ios:not([inset]) ion-list-header{margin-top:-10px;padding-top:0}.list-ios[inset]{margin:16px;border-radius:4px}.list-ios[inset] ion-list-header{background-color:#fff}.list-ios[inset] .item{border-bottom:1px solid #c8c7cc}.list-ios[inset] .item-inner{border-bottom:0}.list-ios[inset]>.item-wrapper:first-child .item,.list-ios[inset]>.item:first-child{border-top:0}.list-ios[inset]>.item-wrapper:last-child .item,.list-ios[inset]>.item:last-child{border-bottom:0}.list-ios[inset]+ion-list[inset]{margin-top:0}.list-ios[no-lines] .item,.list-ios[no-lines] .item .item-inner,.list-ios[no-lines] ion-item-options,.list-ios[no-lines] ion-list-header{border-width:0}.list-header-ios{padding-left:16px;padding-left:16px;position:relative;border-bottom:.55px solid #c8c7cc;font-size:1.2rem;font-weight:500;letter-spacing:.1rem;text-transform:uppercase;color:#333;background:0 0}@media screen and (orientation:landscape){.list-header-ios{padding-left:calc(constant(safe-area-inset-left) + 16px);padding-left:calc(env(safe-area-inset-left) + 16px)}}.list-header-ios-primary{color:#fff;background-color:#673ab7}.list-header-ios-secondary{color:#fff;background-color:#32db64}.list-header-ios-danger{color:#fff;background-color:#f53d3d}.list-header-ios-light{color:#000;background-color:#f4f4f4}.list-header-ios-dark{color:#fff;background-color:#222}.list-header-ios-optblue{color:#fff;background-color:#e00201}.list-md{margin:-1px 0 16px}.list-md .item-block .item-inner{border-bottom:1px solid #dedede}.list-md>.item-block:last-child .item-inner,.list-md>.item-block:last-child ion-label,.list-md>.item-wrapper:last-child .item-inner,.list-md>.item-wrapper:last-child ion-label{border-bottom:0}.list-md>ion-input:last-child::after{left:0}.list-md ion-item-options{border-bottom:1px solid #dedede}.list-md ion-item-options .button{margin:0;border-radius:0;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:100%;border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box}.list-md ion-item-options .button::before{margin:0 auto}.list-md .item[no-lines],.list-md .item[no-lines] .item-inner{border-width:0}.list-md+ion-list ion-list-header{margin-top:-16px}.list-md[inset]{margin:16px;border-radius:2px}.list-md[inset] .item:first-child{border-top-left-radius:2px;border-top-right-radius:2px;border-top-width:0}.list-md[inset] .item:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px;border-bottom-width:0}.list-md[inset] .item-input{padding-left:0;padding-right:0}.list-md[inset]+ion-list[inset]{margin-top:0}.list-md[inset] ion-list-header{background-color:#fff}.list-md[no-lines] .item .item-inner,.list-md[no-lines] .item-block,.list-md[no-lines] ion-item-options{border-width:0}.list-header-md{padding-left:16px;margin-bottom:13px;min-height:4.5rem;border-top:1px solid #dedede;font-size:1.4rem;color:#757575}.list-header-md-primary{color:#fff;background-color:#673ab7}.list-header-md-secondary{color:#fff;background-color:#32db64}.list-header-md-danger{color:#fff;background-color:#f53d3d}.list-header-md-light{color:#000;background-color:#f4f4f4}.list-header-md-dark{color:#fff;background-color:#222}.list-header-md-optblue{color:#fff;background-color:#e00201}.list-md .item-input:last-child{border-bottom:1px solid #dedede}.list-wp{margin:0 0 16px}.list-wp .item-block .item-inner{border-bottom:1px solid transparent}.list-wp>.item-block:first-child,.list-wp>.item-wrapper:first-child .item-block{border-top:1px solid transparent}.list-wp>.item-block:last-child,.list-wp>.item-wrapper:last-child .item-block{border-bottom:1px solid transparent}.list-wp>.item-block:last-child .item-inner,.list-wp>.item-block:last-child ion-label,.list-wp>.item-wrapper:last-child .item-inner,.list-wp>.item-wrapper:last-child ion-label{border-bottom:0}.list-wp>ion-input:last-child::after{left:0}.list-wp ion-item-options .button{margin:1px 0;border-radius:0;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:calc(100% - 2px);border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box}.list-wp ion-item-options .button::before{margin:0 auto}.list-wp .item[no-lines],.list-wp .item[no-lines] .item-inner{border-width:0}.list-wp+ion-list ion-list-header{margin-top:-16px;padding-top:0}.list-wp[inset]{margin:16px;border-radius:2px}.list-wp[inset] .item:first-child{border-top-left-radius:2px;border-top-right-radius:2px;border-top-width:0}.list-wp[inset] .item:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px;border-bottom-width:0}.list-wp[inset] .item-input{padding-left:0;padding-right:0}.list-wp[inset]+ion-list[inset]{margin-top:0}.list-wp[inset] ion-list-header{background-color:#fff}.list-wp[no-lines] .item,.list-wp[no-lines] .item .item-inner{border-width:0}.list-header-wp{padding-left:16px;border-bottom:1px solid transparent;font-size:2rem;color:#000}.list-header-wp-primary{color:#fff;background-color:#673ab7}.list-header-wp-secondary{color:#fff;background-color:#32db64}.list-header-wp-danger{color:#fff;background-color:#f53d3d}.list-header-wp-light{color:#000;background-color:#f4f4f4}.list-header-wp-dark{color:#fff;background-color:#222}.list-header-wp-optblue{color:#fff;background-color:#e00201}ion-loading{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1000;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;contain:strict}.loading-wrapper{z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;opacity:0}.loading-ios .loading-wrapper{border-radius:8px;max-width:270px;max-height:90%;color:#000;background:#f8f8f8;padding:24px 34px}.loading-ios .loading-content{font-weight:700}.loading-ios .loading-spinner+.loading-content{margin-left:16px}.loading-ios .spinner-ios line,.loading-ios .spinner-ios-small line{stroke:#69717d}.loading-ios .spinner-bubbles circle{fill:#69717d}.loading-ios .spinner-circles circle{fill:#69717d}.loading-ios .spinner-crescent circle{stroke:#69717d}.loading-ios .spinner-dots circle{fill:#69717d}.loading-md .loading-wrapper{border-radius:2px;max-width:280px;max-height:90%;color:rgba(0,0,0,.5);background:#fafafa;-webkit-box-shadow:0 16px 20px rgba(0,0,0,.4);box-shadow:0 16px 20px rgba(0,0,0,.4);padding:24px}.loading-md .loading-spinner+.loading-content{margin-left:16px}.loading-md .spinner-ios line,.loading-md .spinner-ios-small line{stroke:#673ab7}.loading-md .spinner-bubbles circle{fill:#673ab7}.loading-md .spinner-circles circle{fill:#673ab7}.loading-md .spinner-crescent circle{stroke:#673ab7}.loading-md .spinner-dots circle{fill:#673ab7}.loading-wp .loading-wrapper{border-radius:2px;max-width:280px;max-height:90%;color:#fff;background:#000;padding:20px}.loading-wp .loading-spinner+.loading-content{margin-left:16px}.loading-wp .spinner-ios line,.loading-wp .spinner-ios-small line{stroke:#fff}.loading-wp .spinner-bubbles circle{fill:#fff}.loading-wp .spinner-circles circle{fill:#fff}.loading-wp .spinner-crescent circle{stroke:#fff}.loading-wp .spinner-dots circle{fill:#fff}ion-menu{left:0;right:0;top:0;bottom:0;position:absolute;display:none;contain:strict}ion-menu.show-menu{display:block}.menu-inner{left:0;right:auto;top:0;bottom:0;-webkit-transform:translate3d(-9999px,0,0);transform:translate3d(-9999px,0,0);position:absolute;display:block;width:304px;height:100%;contain:strict}.menu-inner>ion-content,.menu-inner>ion-footer,.menu-inner>ion-header{position:absolute}ion-menu[side=left]>.menu-inner{right:auto;left:0}ion-menu[side=right]>.menu-inner{right:0;left:auto}ion-menu[side=end]>.menu-inner{left:auto;right:0}ion-menu ion-backdrop{z-index:-1;display:none;opacity:.01}.menu-content{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.menu-content-open{cursor:pointer;-ms-touch-action:manipulation;touch-action:manipulation}.menu-content-open .toolbar,.menu-content-open ion-content,.menu-content-open ion-pane{pointer-events:none}@media (max-width:340px){.menu-inner{width:264px}}ion-menu[type=reveal]{z-index:0}ion-menu[type=reveal].show-menu .menu-inner{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}ion-menu[type=overlay]{z-index:80}ion-menu[type=overlay] .show-backdrop{display:block}.ios .menu-inner{background:#fff}.ios .menu-content-reveal{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.ios .menu-content-push{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.ios ion-menu[type=overlay] .menu-inner{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.md .menu-inner{background:#fff}.md .menu-content-reveal{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.md .menu-content-push{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.md ion-menu[type=overlay] .menu-inner{-webkit-box-shadow:0 0 10px rgba(0,0,0,.25);box-shadow:0 0 10px rgba(0,0,0,.25)}.wp .menu-inner{background:#f2f2f2}ion-modal{left:0;top:0;position:absolute;display:block;width:100%;height:100%;contain:strict}@media not all and (min-width:768px) and (min-height:600px){ion-modal ion-backdrop{visibility:hidden}}.modal-wrapper{z-index:10;height:100%;contain:strict}@media only screen and (min-width:768px) and (min-height:600px){.modal-wrapper{left:calc(50% - (600px/2));top:calc(50% - (500px/2));position:absolute;width:600px;height:500px}}@media only screen and (min-width:768px) and (min-height:768px){.modal-wrapper{left:calc(50% - (600px/2));top:calc(50% - (600px/2));position:absolute;width:600px;height:600px}}.ios .modal-wrapper{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}@media only screen and (min-width:768px) and (min-height:600px){.ios .modal-wrapper{border-radius:10px;overflow:hidden}}.md .modal-wrapper{-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0);opacity:.01}@media only screen and (min-width:768px) and (min-height:600px){.md .modal-wrapper{border-radius:2px;overflow:hidden;-webkit-box-shadow:0 28px 48px rgba(0,0,0,.4);box-shadow:0 28px 48px rgba(0,0,0,.4)}}.wp .modal-wrapper{-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0);opacity:.01}.note-ios{color:#aeacb4}.note-ios-primary{color:#673ab7}.note-ios-secondary{color:#32db64}.note-ios-danger{color:#f53d3d}.note-ios-light{color:#f4f4f4}.note-ios-dark{color:#222}.note-ios-optblue{color:#e00201}.note-md{color:#c5c5c5}.note-md-primary{color:#673ab7}.note-md-secondary{color:#32db64}.note-md-danger{color:#f53d3d}.note-md-light{color:#f4f4f4}.note-md-dark{color:#222}.note-md-optblue{color:#e00201}.note-wp{color:rgba(0,0,0,.5)}.note-wp-primary{color:#673ab7}.note-wp-secondary{color:#32db64}.note-wp-danger{color:#f53d3d}.note-wp-light{color:#f4f4f4}.note-wp-dark{color:#222}.note-wp-optblue{color:#e00201}ion-picker-cmp{left:0;top:0;position:absolute;z-index:1000;display:block;width:100%;height:100%;contain:strict}.picker-toolbar{z-index:1;width:100%;contain:strict}.picker-wrapper{left:0;right:0;bottom:0;margin:auto;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);position:absolute;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%;max-width:500px;contain:strict}.picker-columns{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;contain:strict}.picker-col{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-box-sizing:content-box;box-sizing:content-box;contain:content}.picker-opts{position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;max-width:100%}.picker-prefix{text-align:right;text-align:end;position:relative;-webkit-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2;min-width:45%;max-width:50%;white-space:nowrap}.picker-suffix{text-align:left;text-align:start;position:relative;-webkit-box-flex:2;-webkit-flex:2;-ms-flex:2;flex:2;min-width:45%;max-width:50%;white-space:nowrap}.picker-opt{left:0;top:0;text-align:center;position:absolute;display:block;overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap;will-change:transform;contain:strict}.picker-opt.picker-opt-disabled{pointer-events:none}.picker-opt-disabled{opacity:0}.picker-opts-left{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.picker-opts-right{-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end}.picker-above-highlight,.picker-below-highlight{display:none;pointer-events:none}.picker-ios .picker-wrapper{height:260px;border-top:1px solid #c8c7cc;background:#fff}.picker-ios .picker-toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:44px;border-bottom:.55px solid #c8c7cc;background:#fff}.picker-ios .picker-toolbar-button{text-align:right;text-align:end;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.picker-ios .picker-toolbar-button:last-child .picker-button{font-weight:600}.picker-ios .picker-toolbar-cancel{text-align:left;text-align:start;font-weight:400}.picker-ios .picker-button,.picker-ios .picker-button.activated{margin:0;height:44px;color:#673ab7;background:0 0}.picker-columns{height:215px;-webkit-perspective:1000px;perspective:1000px}.picker-ios .picker-col{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;padding:0 4px}.picker-ios .picker-opts,.picker-ios .picker-prefix,.picker-ios .picker-suffix{top:77px;font-size:20px;line-height:42px;color:#000;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;pointer-events:none}.picker-ios .picker-opt{margin:0;-webkit-transform-origin:center center;transform-origin:center center;height:4.6rem;font-size:20px;line-height:42px;color:#000;background:0 0;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto;padding:0}.picker-ios .picker-above-highlight{left:0;top:0;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:10;display:block;width:100%;height:81px;border-bottom:1px solid #c8c7cc;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to bottom,#fff 20%,rgba(255,255,255,.7) 100%)}.picker-ios .picker-below-highlight{left:0;top:115px;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:11;display:block;width:100%;height:119px;border-top:1px solid #c8c7cc;background:-webkit-gradient(linear,left bottom,left top,color-stop(30%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to top,#fff 30%,rgba(255,255,255,.7) 100%)}.picker-md .picker-wrapper{height:260px;border-top:.55px solid #dedede;background:#fff}.picker-md .picker-toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;height:44px;background:#fff}.picker-md .picker-button,.picker-md .picker-button.activated{margin:0;height:44px;color:#673ab7;background:0 0;-webkit-box-shadow:none;box-shadow:none}.picker-md .picker-columns{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-md .picker-col{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;padding:0 8px}.picker-md .picker-opts,.picker-md .picker-prefix,.picker-md .picker-suffix{top:77px;font-size:22px;line-height:42px;color:#000;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;pointer-events:none}.picker-md .picker-opt{margin:0;height:4.3rem;font-size:22px;line-height:42px;color:#000;background:0 0;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto;padding:0}.picker-md .picker-opt.picker-opt-selected,.picker-md .picker-prefix,.picker-md .picker-suffix{color:#673ab7}.picker-md .picker-above-highlight{left:0;top:0;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:10;width:100%;height:81px;border-bottom:1px solid #dedede;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to bottom,#fff 20%,rgba(255,255,255,.7) 100%)}.picker-md .picker-below-highlight{left:0;top:115px;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:11;width:100%;height:119px;border-top:1px solid #dedede;background:-webkit-gradient(linear,left bottom,left top,color-stop(30%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to top,#fff 30%,rgba(255,255,255,.7) 100%)}.picker-wp .picker-wrapper{height:260px;border-top:.55px solid transparent;background:#fff}.picker-wp .picker-toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;height:44px;border-width:.55px;background:#fff}.picker-wp .picker-toolbar-button{text-align:right;text-align:end;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.picker-wp .picker-toolbar-cancel{text-align:left;text-align:start;font-weight:400}.picker-wp .picker-button,.picker-wp .picker-button.activated{margin:0;height:44px;color:#673ab7;background:0 0;-webkit-box-shadow:none;box-shadow:none}.picker-wp .picker-columns{height:216px;-webkit-perspective:1800px;perspective:1800px}.picker-wp .picker-col{-webkit-transform-style:preserve-3d;transform-style:preserve-3d;padding:0 4px}.picker-wp .picker-opts,.picker-wp .picker-prefix,.picker-wp .picker-suffix{top:77px;font-size:22px;line-height:42px;color:#000;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;pointer-events:none}.picker-wp .picker-opt{margin:0;height:4.2rem;font-size:22px;line-height:42px;color:#000;background:0 0;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:auto;padding:0}.picker-wp .picker-opt-selected,.picker-wp .picker-prefix,.picker-wp .picker-suffix{color:#673ab7}.picker-wp .picker-above-highlight{left:0;top:0;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:10;width:100%;height:81px;border-bottom:1px solid transparent;background:-webkit-gradient(linear,left top,left bottom,color-stop(20%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to bottom,#fff 20%,rgba(255,255,255,.7) 100%)}.picker-wp .picker-below-highlight{left:0;top:115px;-webkit-transform:translate3d(0,0,90px);transform:translate3d(0,0,90px);position:absolute;z-index:11;width:100%;height:119px;border-top:1px solid transparent;background:-webkit-gradient(linear,left bottom,left top,color-stop(30%,#fff),to(rgba(255,255,255,.7)));background:linear-gradient(to top,#fff 30%,rgba(255,255,255,.7) 100%)}ion-popover{left:0;right:0;top:0;bottom:0;position:absolute;z-index:1000;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.popover-wrapper{z-index:10;opacity:0}.popover-content{position:absolute;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.popover-content .scroll-content,.popover-content ion-content{contain:none}.popover-content .scroll-content{position:relative}.popover-ios .popover-content{border-radius:10px;width:200px;min-width:0;min-height:0;max-height:90%;color:#000;background:#fff}.popover-ios .popover-arrow{position:absolute;display:block;overflow:hidden;width:20px;height:10px}.popover-ios .popover-arrow::after{left:3px;top:3px;border-radius:3px;position:absolute;z-index:10;width:14px;height:14px;background-color:#fff;content:"";-webkit-transform:rotate(45deg);transform:rotate(45deg)}.popover-ios.popover-bottom .popover-arrow{top:auto;bottom:-10px}.popover-ios.popover-bottom .popover-arrow::after{top:-6px}.popover-ios .item-ios{padding-left:16px}.popover-ios .item-ios[detail-push] .item-inner,.popover-ios a.item-ios:not([detail-none]) .item-inner,.popover-ios button.item-ios:not([detail-none]) .item-inner{background-position:right 14px center}.popover-md .popover-content{border-radius:2px;-webkit-transform-origin:left top;transform-origin:left top;width:250px;min-width:0;min-height:0;max-height:90%;color:#000;background:#fff;-webkit-box-shadow:0 3px 12px 2px rgba(0,0,0,.3);box-shadow:0 3px 12px 2px rgba(0,0,0,.3)}.popover-md .popover-viewport{opacity:0;-webkit-transition-delay:.1s;transition-delay:.1s}.popover-wp .popover-content{border-radius:0;-webkit-transform-origin:left top;transform-origin:left top;width:200px;min-width:0;min-height:0;max-height:90%;border:2px solid #ccc;color:#000;background:#fff}.popover-wp .popover-viewport{opacity:0;-webkit-transition-delay:.1s;transition-delay:.1s}.radio-ios{position:relative;display:inline-block}.radio-ios .radio-icon{position:relative;display:block;width:16px;height:21px}.radio-ios .radio-checked .radio-inner{left:7px;top:4px;position:absolute;width:5px;height:12px;border-width:2px;border-top-width:0;border-left-width:0;border-style:solid;border-color:#673ab7;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.item-ios.item-radio-disabled ion-label,.radio-ios.radio-disabled{opacity:.3;pointer-events:none}.item-ios .radio-ios{position:static;display:block;margin:8px 11px 8px 8px}.item-ios .radio-ios[item-left],.item-ios .radio-ios[item-start]{margin:8px 21px 8px 3px}.item-radio.item-ios ion-label{margin-left:0}.item-radio-checked.item-ios ion-label{color:#673ab7}.item-radio-ios-primary.item-radio-checked ion-label{color:#673ab7}.radio-ios-primary .radio-checked{color:#673ab7}.radio-ios-primary .radio-checked .radio-inner{border-color:#673ab7}.item-radio-ios-secondary.item-radio-checked ion-label{color:#32db64}.radio-ios-secondary .radio-checked{color:#32db64}.radio-ios-secondary .radio-checked .radio-inner{border-color:#32db64}.item-radio-ios-danger.item-radio-checked ion-label{color:#f53d3d}.radio-ios-danger .radio-checked{color:#f53d3d}.radio-ios-danger .radio-checked .radio-inner{border-color:#f53d3d}.item-radio-ios-light.item-radio-checked ion-label{color:#f4f4f4}.radio-ios-light .radio-checked{color:#f4f4f4}.radio-ios-light .radio-checked .radio-inner{border-color:#f4f4f4}.item-radio-ios-dark.item-radio-checked ion-label{color:#222}.radio-ios-dark .radio-checked{color:#222}.radio-ios-dark .radio-checked .radio-inner{border-color:#222}.item-radio-ios-optblue.item-radio-checked ion-label{color:#e00201}.radio-ios-optblue .radio-checked{color:#e00201}.radio-ios-optblue .radio-checked .radio-inner{border-color:#e00201}.radio-md{position:relative;display:inline-block}.radio-md .radio-icon{left:0;top:0;margin:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#787878}.radio-md .radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;width:8px;height:8px;background-color:#673ab7;-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0);-webkit-transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:-webkit-transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1);transition:transform 280ms cubic-bezier(.4,0,.2,1),-webkit-transform 280ms cubic-bezier(.4,0,.2,1)}.radio-md .radio-checked{border-color:#673ab7}.radio-md .radio-checked .radio-inner{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}.item-md.item-radio-disabled ion-label,.radio-md.radio-disabled{opacity:.3;pointer-events:none}.item-md .radio-md{position:static;display:block;margin:9px 10px 9px 0}.item-md .radio-md[item-left],.item-md .radio-md[item-start]{margin:11px 36px 10px 4px}.item-radio.item-md ion-label{margin-left:0}.item-radio-checked.item-md ion-label{color:#673ab7}.item-radio-md-primary.item-radio-checked ion-label{color:#673ab7}.radio-md-primary .radio-checked{border-color:#673ab7}.radio-md-primary .radio-inner{background-color:#673ab7}.item-radio-md-secondary.item-radio-checked ion-label{color:#32db64}.radio-md-secondary .radio-checked{border-color:#32db64}.radio-md-secondary .radio-inner{background-color:#32db64}.item-radio-md-danger.item-radio-checked ion-label{color:#f53d3d}.radio-md-danger .radio-checked{border-color:#f53d3d}.radio-md-danger .radio-inner{background-color:#f53d3d}.item-radio-md-light.item-radio-checked ion-label{color:#f4f4f4}.radio-md-light .radio-checked{border-color:#f4f4f4}.radio-md-light .radio-inner{background-color:#f4f4f4}.item-radio-md-dark.item-radio-checked ion-label{color:#222}.radio-md-dark .radio-checked{border-color:#222}.radio-md-dark .radio-inner{background-color:#222}.item-radio-md-optblue.item-radio-checked ion-label{color:#e00201}.radio-md-optblue .radio-checked{border-color:#e00201}.radio-md-optblue .radio-inner{background-color:#e00201}.radio-wp{position:relative;display:inline-block}.radio-wp .radio-icon{left:0;top:0;margin:0;border-radius:50%;position:relative;display:block;width:16px;height:16px;border-width:2px;border-style:solid;border-color:#333}.radio-wp .radio-inner{left:2px;top:2px;border-radius:50%;position:absolute;display:none;width:8px;height:8px;background-color:#333}.radio-wp .radio-checked{border-color:#673ab7}.radio-wp .radio-checked .radio-inner{display:block}.item-wp.item-radio-disabled ion-label,.radio-wp.radio-disabled{opacity:.3;pointer-events:none}.item-wp .radio-wp{position:static;display:block;-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1;margin:9px 20px 9px 4px}.item-wp .radio-wp[item-end],.item-wp .radio-wp[item-right]{-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;margin:11px 10px 10px 0}.item-radio.item-wp ion-label{margin-left:0}.radio-wp-primary .radio-checked{border-color:#673ab7}.radio-wp-secondary .radio-checked{border-color:#32db64}.radio-wp-danger .radio-checked{border-color:#f53d3d}.radio-wp-light .radio-checked{border-color:#f4f4f4}.radio-wp-dark .radio-checked{border-color:#222}.radio-wp-optblue .radio-checked{border-color:#e00201}.item-range .item-inner{overflow:visible;width:100%}.item-range .input-wrapper{overflow:visible;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%}.item-range ion-range{width:100%}.item-range ion-range ion-label{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}ion-range{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}ion-range ion-label{-webkit-box-flex:initial;-webkit-flex:initial;-ms-flex:initial;flex:initial}ion-range ion-icon{min-height:2.4rem;font-size:2.4rem;line-height:1}.range-slider{position:relative;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;cursor:pointer}.range-ios{padding:8px 16px}.range-ios [range-left]{margin:0 20px 0 0}.range-ios [range-right]{margin:0 0 0 20px}.range-ios.range-has-pin{padding-top:20px}.range-ios .range-slider{height:42px}.range-ios .range-bar{left:0;top:21px;border-radius:1px;position:absolute;width:100%;height:1px;background:#bdbdbd;pointer-events:none}.range-ios.range-pressed .range-bar-active{will-change:left,right}.range-ios.range-pressed .range-knob-handle{will-change:left}.range-ios .range-bar-active{bottom:0;width:auto;background:#673ab7}.range-ios .range-knob-handle{left:0;top:21px;margin-left:-21px;margin-top:-21px;text-align:center;position:absolute;width:42px;height:42px}.range-ios .range-knob{left:7px;top:7px;border-radius:50%;position:absolute;width:28px;height:28px;background:#fff;-webkit-box-shadow:0 3px 1px rgba(0,0,0,.1),0 4px 8px rgba(0,0,0,.13),0 0 0 1px rgba(0,0,0,.02);box-shadow:0 3px 1px rgba(0,0,0,.1),0 4px 8px rgba(0,0,0,.13),0 0 0 1px rgba(0,0,0,.02);pointer-events:none}.range-ios .range-tick{margin-left:-.5px;border-radius:0;position:absolute;top:17.5px;width:1px;height:8px;background:#bdbdbd;pointer-events:none}.range-ios .range-tick-active{background:#673ab7}.range-ios .range-pin{text-align:center;border-radius:50px;-webkit-transform:translate3d(0,28px,0) scale(.01);transform:translate3d(0,28px,0) scale(.01);position:relative;top:-20px;display:inline-block;min-width:28px;font-size:12px;color:#000;background:0 0;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease,-webkit-transform 120ms ease;padding:8px}.range-ios .range-knob-pressed .range-pin{-webkit-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.range-ios.range-disabled{opacity:.5}.range-ios-primary .range-bar-active,.range-ios-primary .range-tick-active{background:#673ab7}.range-ios-secondary .range-bar-active,.range-ios-secondary .range-tick-active{background:#32db64}.range-ios-danger .range-bar-active,.range-ios-danger .range-tick-active{background:#f53d3d}.range-ios-light .range-bar-active,.range-ios-light .range-tick-active{background:#f4f4f4}.range-ios-dark .range-bar-active,.range-ios-dark .range-tick-active{background:#222}.range-ios-optblue .range-bar-active,.range-ios-optblue .range-tick-active{background:#e00201}.range-md{padding:8px}.range-md [range-left]{margin:0 12px 0 0}.range-md [range-right]{margin:0 0 0 12px}.range-md.range-has-pin{padding-top:28px}.range-md .range-slider{height:42px}.range-md .range-bar{left:0;top:21px;position:absolute;width:100%;height:2px;background:#bdbdbd;pointer-events:none}.range-md.range-pressed .range-bar-active{will-change:left,right}.range-md.range-pressed .range-knob-handle{will-change:left}.range-md .range-bar-active{bottom:0;width:auto;background:#673ab7}.range-md .range-knob-handle{left:0;top:21px;margin-left:-21px;margin-top:-21px;text-align:center;position:absolute;width:42px;height:42px}.range-md .range-knob{left:12px;top:13px;border-radius:50%;position:absolute;z-index:2;width:18px;height:18px;background:#673ab7;-webkit-transform:scale(.67);transform:scale(.67);-webkit-transition-duration:120ms;transition-duration:120ms;-webkit-transition-property:background-color,border,-webkit-transform;transition-property:background-color,border,-webkit-transform;transition-property:transform,background-color,border;transition-property:transform,background-color,border,-webkit-transform;-webkit-transition-timing-function:ease;transition-timing-function:ease;pointer-events:none}.range-md .range-tick{margin-left:-1px;border-radius:50%;position:absolute;top:21px;z-index:1;width:2px;height:2px;background:#000;pointer-events:none}.range-md .range-tick-active{background:#000}.range-md .range-pin{padding:8px 0;text-align:center;border-radius:50%;-webkit-transform:translate3d(0,28px,0) scale(.01);transform:translate3d(0,28px,0) scale(.01);position:relative;top:-20px;display:inline-block;min-width:28px;height:28px;font-size:12px;color:#fff;background:#673ab7;-webkit-transition:background-color 120ms ease,-webkit-transform 120ms ease;transition:background-color 120ms ease,-webkit-transform 120ms ease;transition:transform 120ms ease,background-color 120ms ease;transition:transform 120ms ease,background-color 120ms ease,-webkit-transform 120ms ease}.range-md .range-pin::before{left:50%;top:3px;border-top-left-radius:50%;border-top-right-radius:50%;border-bottom-right-radius:50%;border-bottom-left-radius:0;margin-left:-13px;position:absolute;z-index:-1;width:26px;height:26px;background:#673ab7;content:"";-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transition:background-color 120ms ease;transition:background-color 120ms ease}.range-md .range-knob-pressed .range-pin{-webkit-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.range-md:not(.range-has-pin) .range-knob-pressed .range-knob{-webkit-transform:scale(1);transform:scale(1)}.range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md .range-knob-min.range-knob-min .range-pin,.range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md.range-disabled .range-bar-active{background-color:#bdbdbd}.range-md.range-disabled .range-knob{outline:5px solid #fff;background-color:#bdbdbd;-webkit-transform:scale(.55);transform:scale(.55)}.range-md-primary .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin,.range-md-primary .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-primary .range-bar-active,.range-md-primary .range-knob,.range-md-primary .range-pin,.range-md-primary .range-pin::before{background:#673ab7}.range-md-secondary .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin,.range-md-secondary .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-secondary .range-bar-active,.range-md-secondary .range-knob,.range-md-secondary .range-pin,.range-md-secondary .range-pin::before{background:#32db64}.range-md-danger .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin,.range-md-danger .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-danger .range-bar-active,.range-md-danger .range-knob,.range-md-danger .range-pin,.range-md-danger .range-pin::before{background:#f53d3d}.range-md-light .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-light .range-md .range-knob-min.range-knob-min .range-pin,.range-md-light .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-light .range-bar-active,.range-md-light .range-knob,.range-md-light .range-pin,.range-md-light .range-pin::before{background:#f4f4f4}.range-md-dark .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin,.range-md-dark .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-dark .range-bar-active,.range-md-dark .range-knob,.range-md-dark .range-pin,.range-md-dark .range-pin::before{background:#222}.range-md-optblue .range-md .range-knob-min.range-knob-min .range-knob{border:2px solid #bdbdbd;background:#fff}.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin,.range-md-optblue .range-md .range-knob-min.range-knob-min .range-pin::before{color:#fff;background:#bdbdbd}.range-md-optblue .range-bar-active,.range-md-optblue .range-knob,.range-md-optblue .range-pin,.range-md-optblue .range-pin::before{background:#e00201}.range-wp{padding:8px}.range-wp [range-left]{margin:0 12px 0 0}.range-wp [range-right]{margin:0 0 0 12px}.range-wp.range-has-pin{padding-top:28px}.range-wp .range-slider{height:42px}.range-wp .range-bar{left:0;top:21px;position:absolute;width:100%;height:2px;background:#bdbdbd;pointer-events:none}.range-wp.range-pressed .range-bar-active{will-change:left,right}.range-wp.range-pressed .range-knob-handle{will-change:left}.range-wp .range-bar-active{bottom:0;width:auto;background:#673ab7}.range-wp .range-knob-handle{left:0;top:21px;margin-left:-21px;margin-top:-21px;text-align:center;position:absolute;width:42px;height:42px}.range-wp .range-knob{left:17px;top:10px;border-radius:4px;position:absolute;width:8px;height:24px;background:#673ab7;pointer-events:none}.range-wp .range-tick{margin-left:-1px;border-radius:4px;position:absolute;top:19px;width:2px;height:6px;background:#bdbdbd;pointer-events:none}.range-wp .range-tick-active{background:#673ab7}.range-wp .range-pin{text-align:center;border-radius:50px;-webkit-transform:translate3d(0,28px,0) scale(.01);transform:translate3d(0,28px,0) scale(.01);position:relative;top:-24px;display:inline-block;min-width:28px;font-size:12px;color:#fff;background:#673ab7;-webkit-transition:-webkit-transform 120ms ease;transition:-webkit-transform 120ms ease;transition:transform 120ms ease;transition:transform 120ms ease,-webkit-transform 120ms ease;padding:8px}.range-wp .range-knob-pressed .range-pin{-webkit-transform:translate3d(0,0,0) scale(1);transform:translate3d(0,0,0) scale(1)}.range-wp.range-disabled{opacity:.5}.range-wp-primary .range-bar-active,.range-wp-primary .range-knob,.range-wp-primary .range-pin,.range-wp-primary .range-tick-active{background:#673ab7}.range-wp-secondary .range-bar-active,.range-wp-secondary .range-knob,.range-wp-secondary .range-pin,.range-wp-secondary .range-tick-active{background:#32db64}.range-wp-danger .range-bar-active,.range-wp-danger .range-knob,.range-wp-danger .range-pin,.range-wp-danger .range-tick-active{background:#f53d3d}.range-wp-light .range-bar-active,.range-wp-light .range-knob,.range-wp-light .range-pin,.range-wp-light .range-tick-active{background:#f4f4f4}.range-wp-dark .range-bar-active,.range-wp-dark .range-knob,.range-wp-dark .range-pin,.range-wp-dark .range-tick-active{background:#222}.range-wp-optblue .range-bar-active,.range-wp-optblue .range-knob,.range-wp-optblue .range-pin,.range-wp-optblue .range-tick-active{background:#e00201}ion-refresher{left:0;top:0;position:absolute;z-index:0;display:none;width:100%;height:60px}ion-refresher.refresher-active{display:block}.has-refresher>.scroll-content{margin-top:-1px;border-top:1px solid #ddd;-webkit-transition:-webkit-transform 320ms cubic-bezier(.36,.66,.04,1);transition:-webkit-transform 320ms cubic-bezier(.36,.66,.04,1);transition:transform 320ms cubic-bezier(.36,.66,.04,1);transition:transform 320ms cubic-bezier(.36,.66,.04,1),-webkit-transform 320ms cubic-bezier(.36,.66,.04,1)}ion-refresher-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;height:100%}.refresher-pulling,.refresher-refreshing{display:none;width:100%}.refresher-pulling-icon,.refresher-refreshing-icon{text-align:center;-webkit-transform-origin:center;transform-origin:center;font-size:30px;color:#000;-webkit-transition:.2s;transition:.2s}.refresher-pulling-text,.refresher-refreshing-text{text-align:center;font-size:16px;color:#000}.refresher-refreshing .spinner-crescent circle,.refresher-refreshing .spinner-ios line,.refresher-refreshing .spinner-ios-small line{stroke:#000}.refresher-refreshing .spinner-bubbles circle,.refresher-refreshing .spinner-circles circle,.refresher-refreshing .spinner-dots circle{fill:#000}ion-refresher-content[state=pulling] .refresher-pulling{display:block}ion-refresher-content[state=ready] .refresher-pulling{display:block}ion-refresher-content[state=ready] .refresher-pulling-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}ion-refresher-content[state=refreshing] .refresher-refreshing{display:block}ion-refresher-content[state=cancelling] .refresher-pulling{display:block}ion-refresher-content[state=cancelling] .refresher-pulling-icon{-webkit-transform:scale(0);transform:scale(0)}ion-refresher-content[state=completing] .refresher-refreshing{display:block}ion-refresher-content[state=completing] .refresher-refreshing-icon{-webkit-transform:scale(0);transform:scale(0)}ion-scroll{position:relative;display:block}ion-scroll.scroll-x .scroll-content{overflow-x:auto}ion-scroll.scroll-y .scroll-content{overflow-y:auto}ion-scroll[center] .scroll-content{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}ion-scroll .scroll-content{left:0;right:0;top:0;bottom:0;position:absolute;overflow-y:hidden;overflow-x:hidden;-webkit-overflow-scrolling:touch;will-change:scroll-position}ion-searchbar{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;width:100%}.searchbar-icon{pointer-events:none}.searchbar-input-container{position:relative;display:block;-webkit-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input{-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;border:0;font-family:inherit}.searchbar-clear-icon{margin:0;padding:0;display:none;min-height:0}.searchbar-has-value.searchbar-has-focus .searchbar-clear-icon{display:block}.searchbar-ios{padding:0 8px;min-height:44px;border-top:.55px solid transparent;border-bottom:.55px solid rgba(0,0,0,.05);background:rgba(0,0,0,.2)}.searchbar-ios .searchbar-search-icon{left:9px;top:9px;background-image:url("data:image/svg+xml;charset=utf-8,");margin-left:calc(50% - 60px);position:absolute;width:14px;height:14px;background-repeat:no-repeat;background-size:13px}.searchbar-ios .searchbar-input{padding:0 28px;border-radius:5px;height:3rem;font-size:1.4rem;font-weight:400;color:#000;background-color:#fff}.searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(0,0,0,.5)}.searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(0,0,0,.5)}.searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(0,0,0,.5)}.searchbar-ios .searchbar-clear-icon{right:0;top:0;background-image:url("data:image/svg+xml;charset=utf-8,");background-position:center;position:absolute;width:30px;height:100%;background-repeat:no-repeat;background-size:18px}.searchbar-ios .searchbar-ios-cancel{padding:0 0 0 8px;margin-left:0;display:none;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;height:30px;cursor:pointer}.searchbar-ios.searchbar-left-aligned .searchbar-search-icon{margin-left:0}.searchbar-ios.searchbar-left-aligned .searchbar-input{padding-left:30px}.searchbar-ios.searchbar-show-cancel.searchbar-has-focus .searchbar-ios-cancel{display:block}.toolbar .searchbar-ios{border-bottom-width:0;background:0 0}.toolbar .searchbar-ios .searchbar-input{background:rgba(0,0,0,.08)}.toolbar .searchbar-ios .searchbar-ios-cancel{padding:0}.toolbar .searchbar-ios.searchbar-has-focus .searchbar-ios-cancel{padding-left:8px}.searchbar-ios .searchbar-md-cancel{display:none}.searchbar-ios-primary .searchbar-ios-cancel{color:#673ab7}.searchbar-ios-primary .searchbar-ios-cancel:hover:not(.disable-hover){color:#734abd}.toolbar-ios-primary .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-primary .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-primary .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-primary .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-primary .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-primary .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-primary .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-secondary .searchbar-ios-cancel{color:#32db64}.searchbar-ios-secondary .searchbar-ios-cancel:hover:not(.disable-hover){color:#2ec95c}.toolbar-ios-secondary .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-secondary .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-secondary .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-secondary .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-secondary .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-secondary .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-secondary .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-danger .searchbar-ios-cancel{color:#f53d3d}.searchbar-ios-danger .searchbar-ios-cancel:hover:not(.disable-hover){color:#e13838}.toolbar-ios-danger .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-danger .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-danger .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-danger .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-danger .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-danger .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-danger .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-light .searchbar-ios-cancel{color:#f4f4f4}.searchbar-ios-light .searchbar-ios-cancel:hover:not(.disable-hover){color:#e0e0e0}.toolbar-ios-light .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-light .searchbar-ios .searchbar-input{color:#000;background:rgba(0,0,0,.08)}.toolbar-ios-light .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(0,0,0,.5)}.toolbar-ios-light .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(0,0,0,.5)}.toolbar-ios-light .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(0,0,0,.5)}.toolbar-ios-light .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-light .searchbar-ios .searchbar-ios-cancel{color:#673ab7}.searchbar-ios-dark .searchbar-ios-cancel{color:#222}.searchbar-ios-dark .searchbar-ios-cancel:hover:not(.disable-hover){color:#343434}.toolbar-ios-dark .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-dark .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-dark .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-dark .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-dark .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-dark .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-dark .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios-optblue .searchbar-ios-cancel{color:#e00201}.searchbar-ios-optblue .searchbar-ios-cancel:hover:not(.disable-hover){color:#e21615}.toolbar-ios-optblue .searchbar-ios .searchbar-search-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-optblue .searchbar-ios .searchbar-input{color:#fff;background:rgba(255,255,255,.08)}.toolbar-ios-optblue .searchbar-ios .searchbar-input::-moz-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-optblue .searchbar-ios .searchbar-input:-ms-input-placeholder{color:rgba(255,255,255,.5)}.toolbar-ios-optblue .searchbar-ios .searchbar-input::-webkit-input-placeholder{text-indent:0;color:rgba(255,255,255,.5)}.toolbar-ios-optblue .searchbar-ios .searchbar-clear-icon{background-image:url("data:image/svg+xml;charset=utf-8,")}.toolbar-ios-optblue .searchbar-ios .searchbar-ios-cancel{color:#fff}.searchbar-ios.searchbar-animated.searchbar-show-cancel .searchbar-ios-cancel{display:block}.searchbar-ios.searchbar-animated .searchbar-input,.searchbar-ios.searchbar-animated .searchbar-search-icon{-webkit-transition:all .3s ease;transition:all .3s ease}.searchbar-animated.searchbar-has-focus .searchbar-ios-cancel{opacity:1;pointer-events:auto}.searchbar-animated .searchbar-ios-cancel{margin-right:-100%;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:0;-webkit-transition:all .3s ease;transition:all .3s ease;pointer-events:none}.searchbar-md{background:inherit;padding:8px}.searchbar-md .searchbar-search-icon{left:16px;top:11px;background-image:url("data:image/svg+xml;charset=utf-8,");width:21px;height:21px}.searchbar-md .searchbar-md-cancel{left:10px;top:0;margin:0;display:none;width:21px;height:100%}.searchbar-md .searchbar-md-cancel,.searchbar-md .searchbar-search-icon{position:absolute;background-repeat:no-repeat;background-size:20px}.searchbar-md .searchbar-md-cancel.activated,.searchbar-md .searchbar-search-icon.activated{background-color:transparent}.searchbar-md .searchbar-input{padding:6px 55px;border-radius:2px;background-position:left 8px center;height:auto;font-size:1.6rem;font-weight:400;line-height:3rem;color:#141414;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.searchbar-md .searchbar-input::-moz-placeholder{color:#aeaeae}.searchbar-md .searchbar-input:-ms-input-placeholder{color:#aeaeae}.searchbar-md .searchbar-input::-webkit-input-placeholder{text-indent:0;color:#aeaeae}.searchbar-md .searchbar-clear-icon{right:13px;top:0;background-image:url("data:image/svg+xml;charset=utf-8,");padding:0;background-position:center;position:absolute;width:22px;height:100%;background-repeat:no-repeat;background-size:22px}.searchbar-md .searchbar-clear-icon.activated{background-color:transparent}.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-search-icon{display:none}.searchbar-md.searchbar-has-focus.searchbar-show-cancel .searchbar-md-cancel{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex}.toolbar .searchbar-md{padding:3px}.toolbar .searchbar-md .searchbar-md-cancel{left:14px}.searchbar-md .searchbar-ios-cancel{display:none}.searchbar-wp{background:0 0;padding:8px}.searchbar-wp .searchbar-input-container{border:2px solid rgba(0,0,0,.5)}.searchbar-wp .searchbar-search-icon{right:8px;top:5px;background-image:url("data:image/svg+xml;charset=utf-8,");position:absolute;width:21px;height:21px;background-repeat:no-repeat;background-size:20px}.searchbar-wp .searchbar-search-icon.activated{background-color:transparent}.searchbar-wp .searchbar-input{padding:0 8px;border-radius:0;background-position:left 8px center;height:auto;font-size:1.4rem;font-weight:400;line-height:3rem;color:#141414;background-color:#fff}.searchbar-wp .searchbar-input::-moz-placeholder{color:#858585}.searchbar-wp .searchbar-input:-ms-input-placeholder{color:#858585}.searchbar-wp .searchbar-input::-webkit-input-placeholder{text-indent:0;color:#858585}.searchbar-wp .searchbar-clear-icon{right:8px;top:0;background-image:url("data:image/svg+xml;charset=utf-8,");padding:0;background-position:center;position:absolute;width:22px;height:100%;background-repeat:no-repeat;background-size:22px}.searchbar-wp .searchbar-clear-icon.activated{background-color:transparent}.searchbar-wp.searchbar-has-focus .searchbar-input-container{border-color:#673ab7}.searchbar-wp.searchbar-has-value .searchbar-search-icon{display:none}.searchbar-wp .searchbar-ios-cancel{display:none}.searchbar-wp .searchbar-md-cancel{display:none}.toolbar .searchbar-wp{padding:2px}.searchbar-wp-primary.searchbar-has-focus .searchbar-input-container{border-color:#673ab7}.searchbar-wp-secondary.searchbar-has-focus .searchbar-input-container{border-color:#32db64}.searchbar-wp-danger.searchbar-has-focus .searchbar-input-container{border-color:#f53d3d}.searchbar-wp-light.searchbar-has-focus .searchbar-input-container{border-color:#f4f4f4}.searchbar-wp-dark.searchbar-has-focus .searchbar-input-container{border-color:#222}.searchbar-wp-optblue.searchbar-has-focus .searchbar-input-container{border-color:#e00201}ion-segment{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%}.segment-button{margin-left:0;margin-right:0;text-align:center;position:relative;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.segment-ios .segment-button{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:0;height:3.2rem;border-width:1px;border-style:solid;border-color:#673ab7;font-size:1.3rem;line-height:3rem;color:#673ab7;background-color:transparent}.segment-ios .segment-button ion-icon{font-size:2.6rem;line-height:2.8rem}.segment-ios .segment-button.segment-activated{color:#fff;background-color:#673ab7;opacity:1;-webkit-transition:.1s all linear;transition:.1s all linear}.segment-ios .segment-button:hover:not(.segment-activated){background-color:rgba(103,58,183,.1);-webkit-transition:.1s all linear;transition:.1s all linear}.segment-ios .segment-button:active:not(.segment-activated){background-color:rgba(103,58,183,.16);-webkit-transition:.1s all linear;transition:.1s all linear}.segment-ios .segment-button:first-of-type{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;margin-right:0}.segment-ios .segment-button:not(:first-of-type){border-left-width:0}.segment-ios .segment-button:last-of-type{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0;margin-left:0;border-left-width:0}[dir=rtl] .segment-ios .segment-button:first-of-type{border-left-width:0}[dir=rtl] .segment-ios .segment-button:last-of-type{border-left-width:1px}.segment-ios.segment-disabled{opacity:.4;pointer-events:none}.segment-ios .segment-button-disabled{color:rgba(103,58,183,.3);pointer-events:none}.toolbar-ios .segment-ios{left:0;right:0;top:0;bottom:0;position:absolute}.toolbar-ios .segment-button{max-width:100px;height:2.6rem;font-size:1.2rem;line-height:2.5rem}.toolbar-ios .segment-button ion-icon{font-size:2.2rem;line-height:2.4rem}.segment-ios-primary .segment-button{border-color:#673ab7;color:#673ab7}.segment-ios-primary .segment-button:hover:not(.segment-activated){background-color:rgba(103,58,183,.1)}.segment-ios-primary .segment-button:active:not(.segment-activated){background-color:rgba(103,58,183,.16)}.segment-ios-primary .segment-button.segment-activated{color:#fff;background-color:#673ab7}.segment-ios-primary .segment-button-disabled{color:rgba(103,58,183,.3)}.toolbar-ios-primary .segment-ios .segment-button.segment-activated{color:#673ab7}.segment-ios-secondary .segment-button{border-color:#32db64;color:#32db64}.segment-ios-secondary .segment-button:hover:not(.segment-activated){background-color:rgba(50,219,100,.1)}.segment-ios-secondary .segment-button:active:not(.segment-activated){background-color:rgba(50,219,100,.16)}.segment-ios-secondary .segment-button.segment-activated{color:#fff;background-color:#32db64}.segment-ios-secondary .segment-button-disabled{color:rgba(50,219,100,.3)}.toolbar-ios-secondary .segment-ios .segment-button.segment-activated{color:#32db64}.segment-ios-danger .segment-button{border-color:#f53d3d;color:#f53d3d}.segment-ios-danger .segment-button:hover:not(.segment-activated){background-color:rgba(245,61,61,.1)}.segment-ios-danger .segment-button:active:not(.segment-activated){background-color:rgba(245,61,61,.16)}.segment-ios-danger .segment-button.segment-activated{color:#fff;background-color:#f53d3d}.segment-ios-danger .segment-button-disabled{color:rgba(245,61,61,.3)}.toolbar-ios-danger .segment-ios .segment-button.segment-activated{color:#f53d3d}.segment-ios-light .segment-button{border-color:#f4f4f4;color:#f4f4f4}.segment-ios-light .segment-button:hover:not(.segment-activated){background-color:rgba(244,244,244,.1)}.segment-ios-light .segment-button:active:not(.segment-activated){background-color:rgba(244,244,244,.16)}.segment-ios-light .segment-button.segment-activated{color:#000;background-color:#f4f4f4}.segment-ios-light .segment-button-disabled{color:rgba(244,244,244,.3)}.toolbar-ios-light .segment-ios .segment-button.segment-activated{color:#f4f4f4}.segment-ios-dark .segment-button{border-color:#222;color:#222}.segment-ios-dark .segment-button:hover:not(.segment-activated){background-color:rgba(34,34,34,.1)}.segment-ios-dark .segment-button:active:not(.segment-activated){background-color:rgba(34,34,34,.16)}.segment-ios-dark .segment-button.segment-activated{color:#fff;background-color:#222}.segment-ios-dark .segment-button-disabled{color:rgba(34,34,34,.3)}.toolbar-ios-dark .segment-ios .segment-button.segment-activated{color:#222}.segment-ios-optblue .segment-button{border-color:#e00201;color:#e00201}.segment-ios-optblue .segment-button:hover:not(.segment-activated){background-color:rgba(224,2,1,.1)}.segment-ios-optblue .segment-button:active:not(.segment-activated){background-color:rgba(224,2,1,.16)}.segment-ios-optblue .segment-button.segment-activated{color:#fff;background-color:#e00201}.segment-ios-optblue .segment-button-disabled{color:rgba(224,2,1,.3)}.toolbar-ios-optblue .segment-ios .segment-button.segment-activated{color:#e00201}.segment-md .segment-button{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:0;height:4.2rem;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:rgba(0,0,0,.1);font-size:1.2rem;font-weight:500;line-height:4rem;text-transform:uppercase;color:#673ab7;background-color:transparent;opacity:.7;-webkit-transition:.1s all linear;transition:.1s all linear;padding:0 6px}.segment-md .segment-button ion-icon{font-size:2.6rem;line-height:4rem}.segment-md .segment-button.activated,.segment-md .segment-button.segment-activated{border-color:#673ab7;opacity:1}.segment-md .segment-button-disabled,.segment-md.segment-disabled{opacity:.3;pointer-events:none}.toolbar .segment-md{margin:0 auto}.toolbar .segment-md .segment-button.activated,.toolbar .segment-md .segment-button.segment-activated{opacity:1}.segment-md-primary .segment-button{color:#673ab7}.segment-md-primary .segment-button.activated,.segment-md-primary .segment-button.segment-activated{border-color:#673ab7;color:#673ab7;opacity:1}.segment-md-secondary .segment-button{color:#32db64}.segment-md-secondary .segment-button.activated,.segment-md-secondary .segment-button.segment-activated{border-color:#32db64;color:#32db64;opacity:1}.segment-md-danger .segment-button{color:#f53d3d}.segment-md-danger .segment-button.activated,.segment-md-danger .segment-button.segment-activated{border-color:#f53d3d;color:#f53d3d;opacity:1}.segment-md-light .segment-button{color:#f4f4f4}.segment-md-light .segment-button.activated,.segment-md-light .segment-button.segment-activated{border-color:#f4f4f4;color:#f4f4f4;opacity:1}.segment-md-dark .segment-button{color:#222}.segment-md-dark .segment-button.activated,.segment-md-dark .segment-button.segment-activated{border-color:#222;color:#222;opacity:1}.segment-md-optblue .segment-button{color:#e00201}.segment-md-optblue .segment-button.activated,.segment-md-optblue .segment-button.segment-activated{border-color:#e00201;color:#e00201;opacity:1}.segment-wp{-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start}.segment-wp .segment-button{height:4rem;font-size:1.3rem;font-weight:700;line-height:4rem;text-transform:uppercase;color:#000;background-color:transparent;opacity:.5;padding:0 6px}.segment-wp .segment-button.segment-activated{opacity:1}.segment-wp .segment-button ion-icon{font-size:2.6rem;line-height:4rem}.segment-wp .segment-button-disabled,.segment-wp.segment-disabled{opacity:.3;pointer-events:none}.toolbar .segment-wp{margin:0 auto}.segment-wp-primary .segment-button{color:#673ab7}.segment-wp-primary .segment-button.activated,.segment-wp-primary .segment-button.segment-activated{border-color:#673ab7;color:#673ab7;opacity:1}.segment-wp-secondary .segment-button{color:#32db64}.segment-wp-secondary .segment-button.activated,.segment-wp-secondary .segment-button.segment-activated{border-color:#32db64;color:#32db64;opacity:1}.segment-wp-danger .segment-button{color:#f53d3d}.segment-wp-danger .segment-button.activated,.segment-wp-danger .segment-button.segment-activated{border-color:#f53d3d;color:#f53d3d;opacity:1}.segment-wp-light .segment-button{color:#f4f4f4}.segment-wp-light .segment-button.activated,.segment-wp-light .segment-button.segment-activated{border-color:#f4f4f4;color:#f4f4f4;opacity:1}.segment-wp-dark .segment-button{color:#222}.segment-wp-dark .segment-button.activated,.segment-wp-dark .segment-button.segment-activated{border-color:#222;color:#222;opacity:1}.segment-wp-optblue .segment-button{color:#e00201}.segment-wp-optblue .segment-button.activated,.segment-wp-optblue .segment-button.segment-activated{border-color:#e00201;color:#e00201;opacity:1}ion-select{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;max-width:45%}.select-text{overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:nowrap}.item-multiple-inputs ion-select{position:relative}.item-select-disabled ion-label,.select-disabled{opacity:.4;pointer-events:none}.select-popover ion-list{margin:-1px 0}.select-ios{padding:11px 8px 11px 16px}.select-ios .select-placeholder{color:#999}.select-ios .select-icon{position:relative;width:12px;height:18px}.select-ios .select-icon .select-icon-inner{left:5px;top:50%;margin-top:-2px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:#999;pointer-events:none}.select-md{padding:13px 8px 13px 16px}.select-md .select-placeholder{color:#999}.select-md .item-select ion-label{margin-left:0}.select-md .select-icon{position:relative;width:12px;height:19px}.select-md .select-icon .select-icon-inner{left:5px;top:50%;margin-top:-3px;position:absolute;width:0;height:0;border-top:5px solid;border-right:5px solid transparent;border-left:5px solid transparent;color:#999;pointer-events:none}.select-wp{margin:13px 8px;padding:0 8px;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;max-width:100%;border:2px solid rgba(0,0,0,.5);line-height:3rem}.select-wp .select-placeholder{color:rgba(0,0,0,.5)}.item-wp.item-select ion-label{margin-left:0}.select-wp .select-icon{position:relative;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;width:18px;height:18px}.select-wp .select-icon .select-icon-inner{left:5px;top:3px;position:absolute;display:block;width:9px;height:9px;border-top:2px solid rgba(0,0,0,.5);border-right:2px solid rgba(0,0,0,.5);-webkit-transform:rotate(135deg);transform:rotate(135deg);pointer-events:none}.select-wp .select-text{min-height:3rem}.hidden-show-when{display:none!important}.hidden-hide-when{display:none!important}.swiper-container{margin-left:auto;margin-right:auto;padding:0;position:relative;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;width:100%;height:100%}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{padding:0;position:relative;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;height:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{margin:0 auto;-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-slide{text-align:center;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;font-size:18px;-webkit-box-sizing:border-box;box-sizing:border-box}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container .swiper-notification{left:0;top:0;position:absolute;z-index:-1000;opacity:0;pointer-events:none}.swiper-wp8-horizontal{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-wp8-vertical{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{top:50%;margin-top:-22px;background-position:center;position:absolute;z-index:10;width:27px;height:44px;background-repeat:no-repeat;background-size:27px 44px;cursor:pointer}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{cursor:auto;opacity:.35;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{left:auto;right:10px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-pagination{text-align:center;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);position:absolute;z-index:10;-webkit-transition:.3s;transition:.3s;pointer-events:none}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{left:0;bottom:10px;width:100%}.swiper-pagination-bullet{border-radius:100%;display:inline-block;width:8px;height:8px;background:#000;opacity:.2;pointer-events:auto}button.swiper-pagination-bullet{margin:0;padding:0;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;border:0;-webkit-box-shadow:none;box-shadow:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-white .swiper-pagination-bullet{background:#fff}.swiper-pagination-bullet-active{background:#007aff;opacity:1}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:5px 0;display:block}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 5px}.swiper-pagination-progress{position:absolute;background:rgba(0,0,0,.25)}.swiper-pagination-progress .swiper-pagination-progressbar{left:0;top:0;-webkit-transform-origin:left top;transform-origin:left top;position:absolute;width:100%;height:100%;background:#007aff;-webkit-transform:scale(0);transform:scale(0)}.swiper-container-rtl .swiper-pagination-progress .swiper-pagination-progressbar{-webkit-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progress{left:0;top:0;width:100%;height:4px}.swiper-container-vertical>.swiper-pagination-progress{left:0;top:0;width:4px;height:100%}.swiper-pagination-progress.swiper-pagination-white{background:rgba(255,255,255,.5)}.swiper-pagination-progress.swiper-pagination-white .swiper-pagination-progressbar{background:#fff}.swiper-pagination-progress.swiper-pagination-black .swiper-pagination-progressbar{background:#000}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{left:0;top:0;position:absolute;z-index:10;width:100%;height:100%;pointer-events:none}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to left,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to right,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to top,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(transparent));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),transparent)}.swiper-container-coverflow .swiper-wrapper,.swiper-container-flip .swiper-wrapper{-webkit-perspective:1200px;perspective:1200px}.swiper-container-cube,.swiper-container-flip{overflow:visible}.swiper-container-cube .swiper-slide,.swiper-container-flip .swiper-slide{z-index:1;-webkit-backface-visibility:hidden;backface-visibility:hidden;pointer-events:none}.swiper-container-cube .swiper-slide .swiper-slide,.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active,.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top,.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-slide{-webkit-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%;visibility:hidden}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{visibility:visible;pointer-events:auto}.swiper-container-cube .swiper-cube-shadow{left:0;bottom:0;position:absolute;z-index:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px)}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{-webkit-transition-property:opacity;transition-property:opacity;pointer-events:none}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-zoom-container{text-align:center;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-scrollbar{border-radius:10px;position:relative;background:rgba(0,0,0,.1);-ms-touch-action:none;touch-action:none}.swiper-container-horizontal>.swiper-scrollbar{left:1%;bottom:3px;position:absolute;z-index:50;width:98%;height:5px}.swiper-container-vertical>.swiper-scrollbar{right:3px;top:1%;position:absolute;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{left:0;top:0;border-radius:10px;position:relative;width:100%;height:100%;background:rgba(0,0,0,.5)}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-lazy-preloader{left:50%;top:50%;margin-left:-21px;margin-top:-21px;-webkit-transform-origin:50%;transform-origin:50%;position:absolute;z-index:10;width:42px;height:42px;-webkit-animation:swiper-preloader-spin 1s steps(12,end) infinite;animation:swiper-preloader-spin 1s steps(12,end) infinite}.swiper-lazy-preloader::after{background-position:50%;display:block;width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-size:100%;content:""}.swiper-lazy-preloader-white::after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}ion-slides{display:block;width:100%;height:100%}.slide-zoom{text-align:center;display:block;width:100%}.swiper-slide img{width:auto;max-width:100%;height:auto;max-height:100%}ion-spinner{position:relative;display:inline-block;width:28px;height:28px}ion-spinner svg{left:0;top:0;position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-spinner.spinner-paused svg{-webkit-animation-play-state:paused;animation-play-state:paused}.spinner-ios line,.spinner-ios-small line{stroke-width:4px;stroke-linecap:round}.spinner-ios svg,.spinner-ios-small svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}.spinner-bubbles svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite}.spinner-circles svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}.spinner-crescent circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px}.spinner-crescent svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}.spinner-dots circle{stroke-width:0}.spinner-dots svg{-webkit-transform-origin:center;transform-origin:center;-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}100%{-webkit-transform:scale(0,0);transform:scale(0,0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}100%{-webkit-transform:scale(0,0);transform:scale(0,0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}50%{opacity:.3;-webkit-transform:scale(.4,.4);transform:scale(.4,.4)}100%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}}@keyframes spinner-dots{0%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}50%{opacity:.3;-webkit-transform:scale(.4,.4);transform:scale(.4,.4)}100%{opacity:.9;-webkit-transform:scale(1,1);transform:scale(1,1)}}.spinner-ios-ios line,.spinner-ios-ios-small line{stroke:#69717d}.spinner-ios-bubbles circle{fill:#000}.spinner-ios-circles circle{fill:#69717d}.spinner-ios-crescent circle{stroke:#000}.spinner-ios-dots circle{fill:#444}.spinner-ios-primary.spinner-crescent circle,.spinner-ios-primary.spinner-ios line,.spinner-ios-primary.spinner-ios-small line{stroke:#673ab7}.spinner-ios-primary.spinner-bubbles circle,.spinner-ios-primary.spinner-circles circle,.spinner-ios-primary.spinner-dots circle{fill:#673ab7}.spinner-ios-secondary.spinner-crescent circle,.spinner-ios-secondary.spinner-ios line,.spinner-ios-secondary.spinner-ios-small line{stroke:#32db64}.spinner-ios-secondary.spinner-bubbles circle,.spinner-ios-secondary.spinner-circles circle,.spinner-ios-secondary.spinner-dots circle{fill:#32db64}.spinner-ios-danger.spinner-crescent circle,.spinner-ios-danger.spinner-ios line,.spinner-ios-danger.spinner-ios-small line{stroke:#f53d3d}.spinner-ios-danger.spinner-bubbles circle,.spinner-ios-danger.spinner-circles circle,.spinner-ios-danger.spinner-dots circle{fill:#f53d3d}.spinner-ios-light.spinner-crescent circle,.spinner-ios-light.spinner-ios line,.spinner-ios-light.spinner-ios-small line{stroke:#f4f4f4}.spinner-ios-light.spinner-bubbles circle,.spinner-ios-light.spinner-circles circle,.spinner-ios-light.spinner-dots circle{fill:#f4f4f4}.spinner-ios-dark.spinner-crescent circle,.spinner-ios-dark.spinner-ios line,.spinner-ios-dark.spinner-ios-small line{stroke:#222}.spinner-ios-dark.spinner-bubbles circle,.spinner-ios-dark.spinner-circles circle,.spinner-ios-dark.spinner-dots circle{fill:#222}.spinner-ios-optblue.spinner-crescent circle,.spinner-ios-optblue.spinner-ios line,.spinner-ios-optblue.spinner-ios-small line{stroke:#e00201}.spinner-ios-optblue.spinner-bubbles circle,.spinner-ios-optblue.spinner-circles circle,.spinner-ios-optblue.spinner-dots circle{fill:#e00201}.spinner-md-ios line,.spinner-md-ios-small line{stroke:#69717d}.spinner-md-bubbles circle{fill:#000}.spinner-md-circles circle{fill:#69717d}.spinner-md-crescent circle{stroke:#000}.spinner-md-dots circle{fill:#444}.spinner-md-primary.spinner-crescent circle,.spinner-md-primary.spinner-ios line,.spinner-md-primary.spinner-ios-small line{stroke:#673ab7}.spinner-md-primary.spinner-bubbles circle,.spinner-md-primary.spinner-circles circle,.spinner-md-primary.spinner-dots circle{fill:#673ab7}.spinner-md-secondary.spinner-crescent circle,.spinner-md-secondary.spinner-ios line,.spinner-md-secondary.spinner-ios-small line{stroke:#32db64}.spinner-md-secondary.spinner-bubbles circle,.spinner-md-secondary.spinner-circles circle,.spinner-md-secondary.spinner-dots circle{fill:#32db64}.spinner-md-danger.spinner-crescent circle,.spinner-md-danger.spinner-ios line,.spinner-md-danger.spinner-ios-small line{stroke:#f53d3d}.spinner-md-danger.spinner-bubbles circle,.spinner-md-danger.spinner-circles circle,.spinner-md-danger.spinner-dots circle{fill:#f53d3d}.spinner-md-light.spinner-crescent circle,.spinner-md-light.spinner-ios line,.spinner-md-light.spinner-ios-small line{stroke:#f4f4f4}.spinner-md-light.spinner-bubbles circle,.spinner-md-light.spinner-circles circle,.spinner-md-light.spinner-dots circle{fill:#f4f4f4}.spinner-md-dark.spinner-crescent circle,.spinner-md-dark.spinner-ios line,.spinner-md-dark.spinner-ios-small line{stroke:#222}.spinner-md-dark.spinner-bubbles circle,.spinner-md-dark.spinner-circles circle,.spinner-md-dark.spinner-dots circle{fill:#222}.spinner-md-optblue.spinner-crescent circle,.spinner-md-optblue.spinner-ios line,.spinner-md-optblue.spinner-ios-small line{stroke:#e00201}.spinner-md-optblue.spinner-bubbles circle,.spinner-md-optblue.spinner-circles circle,.spinner-md-optblue.spinner-dots circle{fill:#e00201}.spinner-wp-ios line,.spinner-wp-ios-small line{stroke:#69717d}.spinner-wp-bubbles circle{fill:#000}.spinner-wp-circles circle{fill:#69717d}.spinner-wp-crescent circle{stroke:#000}.spinner-wp-dots circle{fill:#444}.spinner-wp-primary.spinner-crescent circle,.spinner-wp-primary.spinner-ios line,.spinner-wp-primary.spinner-ios-small line{stroke:#673ab7}.spinner-wp-primary.spinner-bubbles circle,.spinner-wp-primary.spinner-circles circle,.spinner-wp-primary.spinner-dots circle{fill:#673ab7}.spinner-wp-secondary.spinner-crescent circle,.spinner-wp-secondary.spinner-ios line,.spinner-wp-secondary.spinner-ios-small line{stroke:#32db64}.spinner-wp-secondary.spinner-bubbles circle,.spinner-wp-secondary.spinner-circles circle,.spinner-wp-secondary.spinner-dots circle{fill:#32db64}.spinner-wp-danger.spinner-crescent circle,.spinner-wp-danger.spinner-ios line,.spinner-wp-danger.spinner-ios-small line{stroke:#f53d3d}.spinner-wp-danger.spinner-bubbles circle,.spinner-wp-danger.spinner-circles circle,.spinner-wp-danger.spinner-dots circle{fill:#f53d3d}.spinner-wp-light.spinner-crescent circle,.spinner-wp-light.spinner-ios line,.spinner-wp-light.spinner-ios-small line{stroke:#f4f4f4}.spinner-wp-light.spinner-bubbles circle,.spinner-wp-light.spinner-circles circle,.spinner-wp-light.spinner-dots circle{fill:#f4f4f4}.spinner-wp-dark.spinner-crescent circle,.spinner-wp-dark.spinner-ios line,.spinner-wp-dark.spinner-ios-small line{stroke:#222}.spinner-wp-dark.spinner-bubbles circle,.spinner-wp-dark.spinner-circles circle,.spinner-wp-dark.spinner-dots circle{fill:#222}.spinner-wp-optblue.spinner-crescent circle,.spinner-wp-optblue.spinner-ios line,.spinner-wp-optblue.spinner-ios-small line{stroke:#e00201}.spinner-wp-optblue.spinner-bubbles circle,.spinner-wp-optblue.spinner-circles circle,.spinner-wp-optblue.spinner-dots circle{fill:#e00201}.split-pane{left:0;right:0;top:0;bottom:0;position:absolute;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}.split-pane-side:not(ion-menu){display:none}.split-pane-visible>.split-pane-main,.split-pane-visible>.split-pane-side{left:0;right:0;top:0;bottom:0;position:relative;z-index:0;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-shadow:none!important;box-shadow:none!important}.split-pane-visible>.split-pane-side{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.split-pane-visible>.split-pane-main,.split-pane-visible>ion-menu.menu-enabled,.split-pane-visible>ion-nav.split-pane-side,.split-pane-visible>ion-tabs.split-pane-side{display:block}.split-pane-visible>ion-split-pane.split-pane-main,.split-pane-visible>ion-split-pane.split-pane-side{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.split-pane-visible>ion-menu.menu-enabled>.menu-inner{left:0;right:0;width:auto;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-transform:none!important;transform:none!important}.split-pane-visible>ion-menu.menu-enabled>.ion-backdrop{display:hidden!important}.split-pane-visible>.split-pane-side[side=start]{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.split-pane-visible>.split-pane-side[side=end]{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}.split-pane-visible>.split-pane-side[side=left]{-webkit-box-ordinal-group:0;-webkit-order:-1;-ms-flex-order:-1;order:-1}.split-pane-visible>.split-pane-side[side=right]{-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1}.split-pane-ios.split-pane-visible>.split-pane-side{min-width:270px;max-width:28%;border-right:.55px solid #c8c7cc;border-left:0}.split-pane-ios.split-pane-visible>.split-pane-side[side=right]{border-right:0;border-left:.55px solid #c8c7cc}.split-pane-md.split-pane-visible>.split-pane-side{min-width:270px;max-width:28%;border-right:1px solid #dedede;border-left:0}.split-pane-md.split-pane-visible>.split-pane-side[side=right]{border-right:0;border-left:1px solid #dedede}.split-pane-wp.split-pane-visible>.split-pane-side{min-width:270px;max-width:28%;border-right:1px solid transparent;border-left:0}.split-pane-wp.split-pane-visible>.split-pane-side[side=right]{border-right:0;border-left:1px solid transparent}.tabbar{left:0;bottom:0;position:absolute;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;opacity:0}.tabbar-hidden .tabbar{display:none}.tabbar.show-tabbar{opacity:1}[tabsPlacement=top]>.tabbar{top:0;bottom:auto}.tab-button{margin:0;text-align:center;border-radius:0;position:relative;z-index:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border:0;text-decoration:none;background:0 0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tab-disabled{pointer-events:none}.tab-disabled ion-badge,.tab-disabled ion-icon,.tab-disabled span{opacity:.4}.tab-button-text{margin-top:3px;margin-bottom:2px}.tab-button-icon,.tab-button-text{display:none;overflow:hidden;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;min-width:26px;max-width:100%;text-overflow:ellipsis;white-space:nowrap}.has-icon .tab-button-icon,.has-title .tab-button-text{display:block}.has-title-only .tab-button-text{white-space:normal}[tabsLayout=icon-bottom] .tab-button .tab-button-icon{-webkit-box-ordinal-group:11;-webkit-order:10;-ms-flex-order:10;order:10}[tabsLayout=icon-end] .tab-button,[tabsLayout=icon-left] .tab-button,[tabsLayout=icon-right] .tab-button,[tabsLayout=icon-start] .tab-button{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}[tabsLayout=icon-left] .tab-button .tab-button-icon,[tabsLayout=icon-start] .tab-button .tab-button-icon{padding-right:8px;text-align:right;text-align:end}[tabsLayout=icon-end] .tab-button .tab-button-icon,[tabsLayout=icon-right] .tab-button .tab-button-icon{padding-left:8px;text-align:left;text-align:start;-webkit-box-ordinal-group:11;-webkit-order:10;-ms-flex-order:10;order:10}.tab-hidden,.tab-highlight,[tabsLayout=icon-hide] .tab-button-icon,[tabsLayout=title-hide] .tab-button-text{display:none}.tab-badge{right:4%;top:6%;right:calc(50% - 50px);padding:1px 6px;position:absolute;height:auto;font-size:12px;line-height:16px}.has-icon .tab-badge{right:calc(50% - 30px)}[tabsLayout=icon-bottom] .tab-badge,[tabsLayout=icon-end] .tab-badge,[tabsLayout=icon-left] .tab-badge,[tabsLayout=icon-right] .tab-badge,[tabsLayout=icon-start] .tab-badge{right:calc(50% - 50px)}.tabs-ios .tabbar{-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;border-top:.55px solid rgba(0,0,0,.3);background:#f8f8f8}.tabs-ios[tabsPlacement=top] .tabbar{border-top:0;border-bottom:.55px solid rgba(0,0,0,.3)}.tabs-ios .tab-button{max-width:240px;min-height:49px;font-size:10px;font-weight:500;color:#8c8c8c;padding:0 2px}.tabs-ios .tab-button:hover:not(.disable-hover),.tabs-ios .tab-button[aria-selected=true]{color:#673ab7}.tabs-ios .tab-button[aria-selected=true] .tab-button-icon{color:#673ab7}.tabs-ios .tab-button-text{margin-top:0;margin-bottom:1px;min-height:11px}.tabs-ios .has-title-only .tab-button-text{font-size:12px}.tabs-ios .tab-button-icon{margin-top:4px;margin-bottom:1px;min-width:35px;height:30px;font-size:30px;color:#8c8c8c}.tabs-ios .tab-button-icon::before{vertical-align:top}.tabs-ios[tabsLayout=icon-end] .tab-button .tab-button-text,.tabs-ios[tabsLayout=icon-left] .tab-button .tab-button-text,.tabs-ios[tabsLayout=icon-right] .tab-button .tab-button-text,.tabs-ios[tabsLayout=icon-start] .tab-button .tab-button-text{font-size:1.4rem;line-height:1.1}.tabs-ios[tabsLayout=icon-end] .tab-button ion-icon,.tabs-ios[tabsLayout=icon-left] .tab-button ion-icon,.tabs-ios[tabsLayout=icon-right] .tab-button ion-icon,.tabs-ios[tabsLayout=icon-start] .tab-button ion-icon{min-width:24px;height:26px;font-size:24px}.tabs-ios .tab-button.has-title-only,.tabs-ios[tabsLayout=icon-hide] .tab-button{min-height:41px}.tabs-ios .tab-button.has-title-only .tab-button-text,.tabs-ios[tabsLayout=icon-hide] .tab-button .tab-button-text{margin:2px 0;font-size:1.4rem;line-height:1.1}.tabs-ios .tab-button.icon-only,.tabs-ios[tabsLayout=title-hide] .tab-button{min-height:41px}.tabs-ios-primary .tabbar{border-color:#512e90;background-color:#673ab7}.tabs-ios-primary .tab-button,.tabs-ios-primary .tab-button-icon,.tabs-ios-primary .tab-button:hover:not(.disable-hover),.tabs-ios-primary .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-primary .tab-button[aria-selected=true],.tabs-ios-primary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-secondary .tabbar{border-color:#21b94e;background-color:#32db64}.tabs-ios-secondary .tab-button,.tabs-ios-secondary .tab-button-icon,.tabs-ios-secondary .tab-button:hover:not(.disable-hover),.tabs-ios-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-secondary .tab-button[aria-selected=true],.tabs-ios-secondary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-danger .tabbar{border-color:#f30d0d;background-color:#f53d3d}.tabs-ios-danger .tab-button,.tabs-ios-danger .tab-button-icon,.tabs-ios-danger .tab-button:hover:not(.disable-hover),.tabs-ios-danger .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-danger .tab-button[aria-selected=true],.tabs-ios-danger .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-light .tabbar{border-color:#dbdbdb;background-color:#f4f4f4}.tabs-ios-light .tab-button,.tabs-ios-light .tab-button-icon,.tabs-ios-light .tab-button:hover:not(.disable-hover),.tabs-ios-light .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-ios-light .tab-button[aria-selected=true],.tabs-ios-light .tab-button[aria-selected=true] .tab-button-icon{color:#000}.tabs-ios-dark .tabbar{border-color:#090909;background-color:#222}.tabs-ios-dark .tab-button,.tabs-ios-dark .tab-button-icon,.tabs-ios-dark .tab-button:hover:not(.disable-hover),.tabs-ios-dark .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-dark .tab-button[aria-selected=true],.tabs-ios-dark .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-ios-optblue .tabbar{border-color:#ad0201;background-color:#e00201}.tabs-ios-optblue .tab-button,.tabs-ios-optblue .tab-button-icon,.tabs-ios-optblue .tab-button:hover:not(.disable-hover),.tabs-ios-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-ios-optblue .tab-button[aria-selected=true],.tabs-ios-optblue .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md .tabbar{background:#f8f8f8}.tabs-md .tab-button{min-height:5.6rem;font-weight:400;color:rgba(60,60,60,.7);padding:0}.tabs-md .tab-button[aria-selected=true]{color:#673ab7;padding:0}.tabs-md .tab-button-text{font-size:1.2rem;text-transform:none;-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out;margin:0;-webkit-transform-origin:50% 80%;transform-origin:50% 80%}.tabs-md .tab-button[aria-selected=true] .tab-button-text{-webkit-transform:scale3d(1.16667,1.16667,1);transform:scale3d(1.16667,1.16667,1);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.tabs-md[tabsLayout=icon-top] .has-icon .tab-button-text{margin-top:4px;margin-bottom:0}.tabs-md[tabsLayout=icon-bottom] .tab-button .tab-button-text{margin-top:0}.tabs-md .tab-button-icon{margin-top:1px;min-width:2.4rem;font-size:2.4rem;color:rgba(60,60,60,.7);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out;-webkit-transform-origin:50% 150%;transform-origin:50% 150%}.tabs-md .tab-button[aria-selected=true] .tab-button-icon{color:#673ab7;-webkit-transform:translate3d(0,-2px,0);transform:translate3d(0,-2px,0)}.tabs-md[tabsLayout=icon-end] .tab-button[aria-selected=true] .tab-button-icon,.tabs-md[tabsLayout=icon-right] .tab-button[aria-selected=true] .tab-button-icon{-webkit-transform:translate3d(2px,0,0);transform:translate3d(2px,0,0)}.tabs-md[tabsLayout=icon-bottom] .tab-button[aria-selected=true] .tab-button-icon{-webkit-transform:translate3d(0,2px,0);transform:translate3d(0,2px,0)}.tabs-md[tabsLayout=icon-left] .tab-button[aria-selected=true] .tab-button-icon,.tabs-md[tabsLayout=icon-start] .tab-button[aria-selected=true] .tab-button-icon{-webkit-transform:translate3d(-2px,0,0);transform:translate3d(-2px,0,0)}.tabs-md .tab-button.has-title-only,.tabs-md .tab-button.icon-only,.tabs-md[tabsLayout=icon-hide] .tab-button,.tabs-md[tabsLayout=title-hide] .tab-button{padding:0 10px}.tabs-md[tabsHighlight=true] .tab-highlight{left:0;bottom:0;-webkit-transform-origin:0 0;transform-origin:0 0;position:absolute;display:block;width:1px;height:2px;background:#673ab7;-webkit-transform:translateZ(0);transform:translateZ(0)}.tabs-md[tabsHighlight=true] .tab-highlight.animate{-webkit-transition-duration:.3s;transition-duration:.3s}.tabs-md[tabsHighlight=true][tabsPlacement=bottom]>.tabbar>.tab-highlight{top:0}.tabs-md-primary .tabbar{background-color:#673ab7}.tabs-md-primary .tab-button,.tabs-md-primary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-primary .tab-button:hover:not(.disable-hover),.tabs-md-primary .tab-button[aria-selected=true],.tabs-md-primary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-primary[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-secondary .tabbar{background-color:#32db64}.tabs-md-secondary .tab-button,.tabs-md-secondary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-secondary .tab-button:hover:not(.disable-hover),.tabs-md-secondary .tab-button[aria-selected=true],.tabs-md-secondary .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-secondary[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-danger .tabbar{background-color:#f53d3d}.tabs-md-danger .tab-button,.tabs-md-danger .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-danger .tab-button:hover:not(.disable-hover),.tabs-md-danger .tab-button[aria-selected=true],.tabs-md-danger .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-danger[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-light .tabbar{background-color:#f4f4f4}.tabs-md-light .tab-button,.tabs-md-light .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-md-light .tab-button:hover:not(.disable-hover),.tabs-md-light .tab-button[aria-selected=true],.tabs-md-light .tab-button[aria-selected=true] .tab-button-icon{color:#000}.tabs-md-light[tabsHighlight=true] .tab-highlight{background:#000}.tabs-md-dark .tabbar{background-color:#222}.tabs-md-dark .tab-button,.tabs-md-dark .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-dark .tab-button:hover:not(.disable-hover),.tabs-md-dark .tab-button[aria-selected=true],.tabs-md-dark .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-dark[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-md-optblue .tabbar{background-color:#e00201}.tabs-md-optblue .tab-button,.tabs-md-optblue .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-md-optblue .tab-button:hover:not(.disable-hover),.tabs-md-optblue .tab-button[aria-selected=true],.tabs-md-optblue .tab-button[aria-selected=true] .tab-button-icon{color:#fff}.tabs-md-optblue[tabsHighlight=true] .tab-highlight{background:#fff}.tabs-wp .tabbar{background:#f8f8f8}.tabs-wp .tab-button{border-radius:0;min-height:4.8rem;border-bottom:2px solid transparent;font-size:1.2rem;font-weight:400;color:rgba(140,140,140,.7);-webkit-box-shadow:none;box-shadow:none;padding:12px 10px 5px}.tabs-wp .tab-button[aria-selected=true]{border-bottom-color:#673ab7;color:#673ab7}.tabs-wp .tab-button.activated{background:rgba(0,0,0,.1)}.tabs-wp[tabsPlacement=bottom] .tab-button{border-top:2px solid transparent;border-bottom-width:0}.tabs-wp[tabsPlacement=bottom] .tab-button[aria-selected=true]{border-top-color:#673ab7}.tabs-wp .tab-button-text{margin-top:5px;margin-bottom:5px}.tabs-wp .tab-button-icon{min-width:2.4rem;font-size:2.4rem;color:rgba(140,140,140,.7)}.tabs-wp .tab-button[aria-selected=true] .tab-button-icon{color:#673ab7}.tabs-wp[tabsLayout=icon-bottom] .tab-button{padding-top:8px;padding-bottom:8px}.tabs-wp[tabsLayout=icon-end] .tab-button,.tabs-wp[tabsLayout=icon-left] .tab-button,.tabs-wp[tabsLayout=icon-right] .tab-button,.tabs-wp[tabsLayout=icon-start] .tab-button{padding-bottom:10px}.tabs-wp[tabsLayout=icon-end] .tab-button ion-icon,.tabs-wp[tabsLayout=icon-left] .tab-button ion-icon,.tabs-wp[tabsLayout=icon-right] .tab-button ion-icon,.tabs-wp[tabsLayout=icon-start] .tab-button ion-icon{min-width:24px}.tabs-wp .tab-button.has-title-only,.tabs-wp .tab-button.icon-only,.tabs-wp[tabsLayout=icon-hide] .tab-button,.tabs-wp[tabsLayout=title-hide] .tab-button{padding:6px 10px}.tabs-wp-primary .tabbar{background-color:#673ab7}.tabs-wp-primary .tab-button,.tabs-wp-primary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-primary .tab-button:hover:not(.disable-hover),.tabs-wp-primary .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-primary .tab-button[aria-selected=true],.tabs-wp-primary .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-secondary .tabbar{background-color:#32db64}.tabs-wp-secondary .tab-button,.tabs-wp-secondary .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-secondary .tab-button:hover:not(.disable-hover),.tabs-wp-secondary .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-secondary .tab-button[aria-selected=true],.tabs-wp-secondary .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-danger .tabbar{background-color:#f53d3d}.tabs-wp-danger .tab-button,.tabs-wp-danger .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-danger .tab-button:hover:not(.disable-hover),.tabs-wp-danger .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-danger .tab-button[aria-selected=true],.tabs-wp-danger .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-light .tabbar{background-color:#f4f4f4}.tabs-wp-light .tab-button,.tabs-wp-light .tab-button-icon{color:rgba(0,0,0,.7)}.tabs-wp-light .tab-button:hover:not(.disable-hover),.tabs-wp-light .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-light .tab-button[aria-selected=true],.tabs-wp-light .tab-button[aria-selected=true] .tab-button-icon{border-color:#000;color:#000}.tabs-wp-dark .tabbar{background-color:#222}.tabs-wp-dark .tab-button,.tabs-wp-dark .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-dark .tab-button:hover:not(.disable-hover),.tabs-wp-dark .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-dark .tab-button[aria-selected=true],.tabs-wp-dark .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}.tabs-wp-optblue .tabbar{background-color:#e00201}.tabs-wp-optblue .tab-button,.tabs-wp-optblue .tab-button-icon{color:rgba(255,255,255,.7)}.tabs-wp-optblue .tab-button:hover:not(.disable-hover),.tabs-wp-optblue .tab-button:hover:not(.disable-hover) .tab-button-icon,.tabs-wp-optblue .tab-button[aria-selected=true],.tabs-wp-optblue .tab-button[aria-selected=true] .tab-button-icon{border-color:#fff;color:#fff}ion-toast{left:0;top:0;position:absolute;z-index:1000;display:block;width:100%;height:100%;pointer-events:none;contain:strict}.toast-container{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;pointer-events:auto;contain:content}.toast-button{padding:19px 16px 17px;font-size:1.5rem}.toast-message{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.toast-ios .toast-wrapper{left:10px;right:10px;margin:auto;border-radius:.65rem;position:absolute;z-index:10;display:block;max-width:700px;background:rgba(0,0,0,.9)}.toast-ios .toast-wrapper.toast-top{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);margin:constant(safe-area-inset-top) auto auto;margin:env(safe-area-inset-top) auto auto;top:0}.toast-ios .toast-wrapper.toast-bottom{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);margin:auto auto constant(safe-area-inset-bottom);margin:auto auto env(safe-area-inset-bottom);bottom:0}.toast-ios .toast-wrapper.toast-middle{opacity:.01}.toast-ios .toast-message{font-size:1.4rem;color:#fff;padding:1.5rem}.toast-md .toast-wrapper{left:0;right:0;margin:auto;position:absolute;z-index:10;display:block;width:100%;max-width:700px;background:#333}.toast-md .toast-wrapper.toast-top{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);top:0}.toast-md .toast-wrapper.toast-bottom{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);bottom:0}.toast-md .toast-wrapper.toast-middle{opacity:.01}.toast-md .toast-message{font-size:1.5rem;color:#fff;padding:19px 16px 17px}.toast-wp .toast-wrapper{left:0;right:0;margin:auto;border-radius:0;position:absolute;z-index:10;display:block;max-width:700px;background:#000}.toast-wp .toast-wrapper.toast-top{top:0;opacity:.01}.toast-wp .toast-wrapper.toast-bottom{bottom:0;opacity:.01}.toast-wp .toast-wrapper.toast-middle{opacity:.01}.toast-message{font-size:1.4rem;color:#fff;padding:1.5rem}.toast-button{color:#fff}.toggle-ios{position:relative;width:51px;height:32px;-webkit-box-sizing:content-box;box-sizing:content-box;contain:strict}.toggle-ios .toggle-icon{border-radius:16px;position:relative;display:block;width:100%;height:100%;background-color:#e6e6e6;-webkit-transition:background-color .3s;transition:background-color .3s;pointer-events:none}.toggle-ios .toggle-icon::before{left:2px;right:2px;top:2px;bottom:2px;border-radius:16px;position:absolute;background-color:#fff;content:"";-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1);-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.toggle-ios .toggle-inner{left:2px;top:2px;border-radius:14px;position:absolute;width:28px;height:28px;background-color:#fff;-webkit-box-shadow:0 3px 12px rgba(0,0,0,.16),0 3px 1px rgba(0,0,0,.1);box-shadow:0 3px 12px rgba(0,0,0,.16),0 3px 1px rgba(0,0,0,.1);-webkit-transition:width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms,-webkit-transform .3s;transition:width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms,-webkit-transform .3s;transition:transform .3s,width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms;transition:transform .3s,width 120ms ease-in-out 80ms,left 110ms ease-in-out 80ms,right 110ms ease-in-out 80ms,-webkit-transform .3s;will-change:transform;contain:strict}.toggle-ios.toggle-checked .toggle-icon{background-color:#673ab7}.toggle-ios.toggle-activated .toggle-icon::before,.toggle-ios.toggle-checked .toggle-icon::before{-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0)}.toggle-ios.toggle-checked .toggle-inner{-webkit-transform:translate3d(19px,0,0);transform:translate3d(19px,0,0)}.toggle-ios.toggle-activated.toggle-checked .toggle-inner::before{-webkit-transform:scale3d(0,0,0);transform:scale3d(0,0,0)}.toggle-ios.toggle-activated .toggle-inner{width:34px}.toggle-ios.toggle-activated.toggle-checked .toggle-inner{left:-4px}.item-ios.item-toggle-disabled ion-label,.toggle-ios.toggle-disabled{opacity:.3;pointer-events:none}.item-ios .toggle-ios{margin:0;padding:6px 8px 5px 16px}.item-ios .toggle-ios[item-left],.item-ios .toggle-ios[item-start]{padding:6px 16px 5px 0}.toggle-ios-primary.toggle-checked .toggle-icon{background-color:#673ab7}.toggle-ios-secondary.toggle-checked .toggle-icon{background-color:#32db64}.toggle-ios-danger.toggle-checked .toggle-icon{background-color:#f53d3d}.toggle-ios-light.toggle-checked .toggle-icon{background-color:#f4f4f4}.toggle-ios-dark.toggle-checked .toggle-icon{background-color:#222}.toggle-ios-optblue.toggle-checked .toggle-icon{background-color:#e00201}.toggle-md{position:relative;width:36px;height:14px;-webkit-box-sizing:content-box;box-sizing:content-box;contain:strict;padding:12px}.toggle-md .toggle-icon{border-radius:14px;position:relative;display:block;width:100%;height:100%;background-color:#dedede;-webkit-transition:background-color .3s;transition:background-color .3s;pointer-events:none}.toggle-md .toggle-inner{left:0;top:-3px;border-radius:50%;position:absolute;width:20px;height:20px;background-color:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:background-color,-webkit-transform;transition-property:background-color,-webkit-transform;transition-property:transform,background-color;transition-property:transform,background-color,-webkit-transform;will-change:transform,background-color;contain:strict}.toggle-md.toggle-checked .toggle-icon{background-color:#ae94dd}.toggle-md.toggle-checked .toggle-inner{-webkit-transform:translate3d(16px,0,0);transform:translate3d(16px,0,0);background-color:#673ab7}.item-md.item-toggle-disabled ion-label,.toggle-md.toggle-disabled{opacity:.3;pointer-events:none}.toggle-md.toggle-disabled ion-radio{opacity:.3}.item-md .toggle-md{cursor:pointer;margin:0;padding:12px 8px 12px 16px}.item-md .toggle-md[item-left],.item-md .toggle-md[item-start]{padding:12px 18px 12px 2px}.item-md.item-toggle ion-label{margin-left:0}.toggle-md-primary.toggle-checked .toggle-icon{background-color:#ae94dd}.toggle-md-primary.toggle-checked .toggle-inner{background-color:#673ab7}.toggle-md-secondary.toggle-checked .toggle-icon{background-color:#9eeeb6}.toggle-md-secondary.toggle-checked .toggle-inner{background-color:#32db64}.toggle-md-danger.toggle-checked .toggle-icon{background-color:#fbb6b6}.toggle-md-danger.toggle-checked .toggle-inner{background-color:#f53d3d}.toggle-md-light.toggle-checked .toggle-icon{background-color:#fff}.toggle-md-light.toggle-checked .toggle-inner{background-color:#f4f4f4}.toggle-md-dark.toggle-checked .toggle-icon{background-color:#626262}.toggle-md-dark.toggle-checked .toggle-inner{background-color:#222}.toggle-md-optblue.toggle-checked .toggle-icon{background-color:#fe6362}.toggle-md-optblue.toggle-checked .toggle-inner{background-color:#e00201}.toggle-wp{position:relative;width:40px;height:18px;-webkit-box-sizing:content-box;box-sizing:content-box;contain:strict}.toggle-wp .toggle-icon{border-radius:18px;position:relative;display:block;width:100%;height:100%;border:2px solid #323232;background-color:transparent;pointer-events:none;contain:strict}.toggle-wp .toggle-inner{left:2px;top:2px;border-radius:50%;position:absolute;width:10px;height:10px;background-color:#323232;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-property:background-color,-webkit-transform;transition-property:background-color,-webkit-transform;transition-property:transform,background-color;transition-property:transform,background-color,-webkit-transform;will-change:transform,background-color}.toggle-wp.toggle-checked .toggle-icon{border-color:#673ab7;background-color:#673ab7}.toggle-wp.toggle-checked .toggle-inner{-webkit-transform:translate3d(22px,0,0);transform:translate3d(22px,0,0);background-color:#fff}.item-wp.item-toggle-disabled ion-label,.toggle-wp.toggle-disabled{opacity:.3;pointer-events:none}.toggle-wp.toggle-disabled ion-radio{opacity:.3}.item-wp .toggle-wp{margin:0;cursor:pointer;padding:12px 8px 12px 16px}.item-wp .toggle-wp[item-left],.item-wp .toggle-wp[item-start]{padding:12px 18px 12px 2px}.item-wp.item-toggle ion-label{margin-left:0}.toggle-wp-primary.toggle-checked .toggle-icon{border-color:#673ab7;background-color:#673ab7}.toggle-wp-primary.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-secondary.toggle-checked .toggle-icon{border-color:#32db64;background-color:#32db64}.toggle-wp-secondary.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-danger.toggle-checked .toggle-icon{border-color:#f53d3d;background-color:#f53d3d}.toggle-wp-danger.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-light.toggle-checked .toggle-icon{border-color:#f4f4f4;background-color:#f4f4f4}.toggle-wp-light.toggle-checked .toggle-inner{background-color:#000}.toggle-wp-dark.toggle-checked .toggle-icon{border-color:#222;background-color:#222}.toggle-wp-dark.toggle-checked .toggle-inner{background-color:#fff}.toggle-wp-optblue.toggle-checked .toggle-icon{border-color:#e00201;background-color:#e00201}.toggle-wp-optblue.toggle-checked .toggle-inner{background-color:#fff}ion-toolbar{position:relative;z-index:10}.toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%;contain:content}.toolbar-background{left:0;top:0;position:absolute;z-index:-1;width:100%;height:100%;border:0;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none;contain:strict}ion-title{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-transform:translateZ(0);transform:translateZ(0)}.toolbar-title{display:block;overflow:hidden;width:100%;text-overflow:ellipsis;white-space:nowrap}ion-buttons{margin:0 .2rem;display:block;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none}ion-buttons a,ion-buttons button,ion-buttons div,ion-buttons input,ion-buttons textarea{pointer-events:auto}.toolbar[transparent] .toolbar-background{border-color:transparent;background:0 0}.bar-button-menutoggle,ion-buttons{z-index:99;-webkit-transform:translateZ(0);transform:translateZ(0)}ion-navbar.toolbar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-button{margin:0;padding:0;text-align:center;-moz-appearance:none;-ms-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:inline-block;line-height:1;text-overflow:ellipsis;text-transform:none;white-space:nowrap;cursor:pointer;vertical-align:top;vertical-align:-webkit-baseline-middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bar-button::after{left:-2px;right:-2px;top:-7px;bottom:-6px;position:absolute;content:""}.bar-button-menutoggle{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.back-button{display:none}.back-button.show-back-button{display:inline-block}.back-button-text{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.toolbar-ios{padding:4px;padding-left:4px;padding-right:4px;min-height:44px}@media screen and (orientation:landscape){.toolbar-ios{padding-left:calc(constant(safe-area-inset-left) + 4px);padding-right:calc(constant(safe-area-inset-right) + 4px);padding-left:calc(env(safe-area-inset-left) + 4px);padding-right:calc(env(safe-area-inset-right) + 4px)}}.toolbar-background-ios{background:#f8f8f8}.footer-ios .toolbar-background-ios,.header-ios .toolbar-background-ios{border-style:solid;border-color:rgba(0,0,0,.3)}.header-ios .toolbar-ios:last-child .toolbar-background-ios{border-width:0 0 .55px}.footer-ios .toolbar-ios:first-child .toolbar-background-ios{border-width:.55px 0 0}.header-ios[no-border] .toolbar-ios:last-child .toolbar-background-ios{border-bottom-width:0}.footer-ios[no-border] .toolbar-ios:first-child .toolbar-background-ios{border-top-width:0}.toolbar-content-ios{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:5;-webkit-order:4;-ms-flex-order:4;order:4;min-width:0}.toolbar-title-ios{text-align:center;font-size:1.7rem;font-weight:600;color:#000;pointer-events:auto}.toolbar-ios ion-title{left:0;top:0;padding:0 90px 1px;position:absolute;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);pointer-events:none}.bar-buttons-ios{-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-buttons-ios[left]{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.bar-buttons-ios[end]{text-align:right;text-align:end;-webkit-box-ordinal-group:6;-webkit-order:5;-ms-flex-order:5;order:5}.bar-buttons-ios[right]{text-align:right;-webkit-box-ordinal-group:7;-webkit-order:6;-ms-flex-order:6;order:6}.bar-button-ios{padding:0 4px;border-radius:4px;height:32px;border:0;font-size:1.7rem}.bar-button-outline-ios{border-width:1px;border-style:solid;border-color:#673ab7;color:#673ab7;background-color:transparent}.bar-button-outline-ios:hover:not(.disable-hover){opacity:.4}.bar-button-outline-ios.activated{color:#fff;background-color:#673ab7}.bar-button-solid-ios{color:#fff;background-color:#673ab7}.bar-button-solid-ios:hover:not(.disable-hover){color:#fff;opacity:.4}.bar-button-solid-ios.activated{color:#fff;background-color:#734abd;opacity:.4}.bar-button-ios.bar-button-icon-start ion-icon{padding-right:.3em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-ios.bar-button-icon-end ion-icon{padding-left:.4em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-ios[icon-only]{padding:0;min-width:.9em}.bar-button-ios[icon-only] ion-icon{padding:0 .1em;font-size:1.8em;line-height:.67;pointer-events:none}.back-button-ios{margin:0;z-index:99;overflow:visible;-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;min-height:3.2rem;line-height:1;-webkit-transform:translateZ(0);transform:translateZ(0)}.back-button-icon-ios{margin:-1px 0 0;display:inherit;min-width:18px;font-size:3.4rem}.back-button-text-ios{letter-spacing:-.01em}.bar-button-menutoggle-ios{margin:0 6px;padding:0;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:36px}.bar-button-menutoggle-ios ion-icon{padding:0 6px;font-size:2.8rem}.bar-button-menutoggle-ios[end],.bar-button-menutoggle-ios[right]{-webkit-box-ordinal-group:8;-webkit-order:7;-ms-flex-order:7;order:7}.bar-button-clear-ios-default,.bar-button-default-ios,.bar-button-default.bar-button-ios-default{color:#673ab7;background-color:transparent}.bar-button-clear-ios-default:hover:not(.disable-hover),.bar-button-default-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-default:hover:not(.disable-hover){color:#673ab7}.bar-button-clear-ios-default.activated,.bar-button-default-ios.activated,.bar-button-default.bar-button-ios-default.activated{opacity:.4}.bar-button-clear-ios,.bar-button-clear-ios-clear,.bar-button-default.bar-button-ios-clear{color:#673ab7;background-color:transparent}.bar-button-clear-ios-clear:hover:not(.disable-hover),.bar-button-clear-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-clear:hover:not(.disable-hover){color:#673ab7}.bar-button-clear-ios-clear.activated,.bar-button-clear-ios.activated,.bar-button-default.bar-button-ios-clear.activated{opacity:.4}.toolbar-ios-primary .toolbar-background-ios{background:#673ab7}.toolbar-ios-primary .bar-button-clear-ios,.toolbar-ios-primary .bar-button-default-ios,.toolbar-ios-primary .toolbar-title-ios{color:#fff}.toolbar-ios-primary .bar-button-clear-ios-primary,.toolbar-ios-primary .bar-button-default.bar-button-ios-primary,.toolbar-ios-primary .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-primary .bar-button-clear-ios-primary.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-primary .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-primary .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-primary .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-primary .bar-button-clear-ios-secondary,.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary,.toolbar-ios-primary .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-primary .bar-button-clear-ios-secondary.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-primary .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-primary .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-primary .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-primary .bar-button-clear-ios-danger,.toolbar-ios-primary .bar-button-danger-ios,.toolbar-ios-primary .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-primary .bar-button-clear-ios-danger.activated,.toolbar-ios-primary .bar-button-danger-ios.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-primary .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-primary .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-primary .bar-button-clear-ios-light,.toolbar-ios-primary .bar-button-default.bar-button-ios-light,.toolbar-ios-primary .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-primary .bar-button-clear-ios-light.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-primary .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-primary .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-primary .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-primary .bar-button-clear-ios-dark,.toolbar-ios-primary .bar-button-dark-ios,.toolbar-ios-primary .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-primary .bar-button-clear-ios-dark.activated,.toolbar-ios-primary .bar-button-dark-ios.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-primary .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-primary .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-primary .bar-button-clear-ios-optblue,.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue,.toolbar-ios-primary .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-primary .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-primary .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-primary .bar-button-clear-ios-optblue.activated,.toolbar-ios-primary .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-primary .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-primary .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-primary .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-primary .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-primary .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-primary,.bar-button-default.bar-button-ios-primary,.bar-button-primary-ios{color:#673ab7;background-color:transparent}.bar-button-clear-ios-primary:hover:not(.disable-hover),.bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.bar-button-clear-ios-primary.activated,.bar-button-default.bar-button-ios-primary.activated,.bar-button-primary-ios.activated{opacity:.4}.bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-secondary .toolbar-background-ios{background:#32db64}.toolbar-ios-secondary .bar-button-clear-ios,.toolbar-ios-secondary .bar-button-default-ios,.toolbar-ios-secondary .toolbar-title-ios{color:#fff}.toolbar-ios-secondary .bar-button-clear-ios-primary,.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary,.toolbar-ios-secondary .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-secondary .bar-button-clear-ios-primary.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-secondary .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-secondary .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-secondary .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-secondary .bar-button-clear-ios-secondary,.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary,.toolbar-ios-secondary .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-secondary .bar-button-clear-ios-secondary.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-secondary .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-secondary .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-secondary .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-secondary .bar-button-clear-ios-danger,.toolbar-ios-secondary .bar-button-danger-ios,.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-secondary .bar-button-clear-ios-danger.activated,.toolbar-ios-secondary .bar-button-danger-ios.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-secondary .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-secondary .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-secondary .bar-button-clear-ios-light,.toolbar-ios-secondary .bar-button-default.bar-button-ios-light,.toolbar-ios-secondary .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-secondary .bar-button-clear-ios-light.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-secondary .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-secondary .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-secondary .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-secondary .bar-button-clear-ios-dark,.toolbar-ios-secondary .bar-button-dark-ios,.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-secondary .bar-button-clear-ios-dark.activated,.toolbar-ios-secondary .bar-button-dark-ios.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-secondary .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-secondary .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-secondary .bar-button-clear-ios-optblue,.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue,.toolbar-ios-secondary .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-secondary .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-secondary .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-secondary .bar-button-clear-ios-optblue.activated,.toolbar-ios-secondary .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-secondary .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-secondary .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-secondary .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-secondary .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-secondary .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-secondary,.bar-button-default.bar-button-ios-secondary,.bar-button-secondary-ios{color:#32db64;background-color:transparent}.bar-button-clear-ios-secondary:hover:not(.disable-hover),.bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.bar-button-clear-ios-secondary.activated,.bar-button-default.bar-button-ios-secondary.activated,.bar-button-secondary-ios.activated{opacity:.4}.bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-danger .toolbar-background-ios{background:#f53d3d}.toolbar-ios-danger .bar-button-clear-ios,.toolbar-ios-danger .bar-button-default-ios,.toolbar-ios-danger .toolbar-title-ios{color:#fff}.toolbar-ios-danger .bar-button-clear-ios-primary,.toolbar-ios-danger .bar-button-default.bar-button-ios-primary,.toolbar-ios-danger .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-danger .bar-button-clear-ios-primary.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-danger .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-danger .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-danger .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-danger .bar-button-clear-ios-secondary,.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary,.toolbar-ios-danger .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-danger .bar-button-clear-ios-secondary.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-danger .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-danger .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-danger .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-danger .bar-button-clear-ios-danger,.toolbar-ios-danger .bar-button-danger-ios,.toolbar-ios-danger .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-danger .bar-button-clear-ios-danger.activated,.toolbar-ios-danger .bar-button-danger-ios.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-danger .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-danger .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-danger .bar-button-clear-ios-light,.toolbar-ios-danger .bar-button-default.bar-button-ios-light,.toolbar-ios-danger .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-danger .bar-button-clear-ios-light.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-danger .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-danger .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-danger .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-danger .bar-button-clear-ios-dark,.toolbar-ios-danger .bar-button-dark-ios,.toolbar-ios-danger .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-danger .bar-button-clear-ios-dark.activated,.toolbar-ios-danger .bar-button-dark-ios.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-danger .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-danger .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-danger .bar-button-clear-ios-optblue,.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue,.toolbar-ios-danger .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-danger .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-danger .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-danger .bar-button-clear-ios-optblue.activated,.toolbar-ios-danger .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-danger .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-danger .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-danger .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-danger .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-danger .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-danger,.bar-button-danger-ios,.bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.bar-button-clear-ios-danger:hover:not(.disable-hover),.bar-button-danger-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.bar-button-clear-ios-danger.activated,.bar-button-danger-ios.activated,.bar-button-default.bar-button-ios-danger.activated{opacity:.4}.bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-light .toolbar-background-ios{background:#f4f4f4}.toolbar-ios-light .bar-button-clear-ios,.toolbar-ios-light .bar-button-default-ios,.toolbar-ios-light .toolbar-title-ios{color:#000}.toolbar-ios-light .bar-button-clear-ios-primary,.toolbar-ios-light .bar-button-default.bar-button-ios-primary,.toolbar-ios-light .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-light .bar-button-clear-ios-primary.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-light .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-light .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-light .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-light .bar-button-clear-ios-secondary,.toolbar-ios-light .bar-button-default.bar-button-ios-secondary,.toolbar-ios-light .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-light .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-light .bar-button-clear-ios-secondary.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-light .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-light .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-light .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-light .bar-button-clear-ios-danger,.toolbar-ios-light .bar-button-danger-ios,.toolbar-ios-light .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-light .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-light .bar-button-clear-ios-danger.activated,.toolbar-ios-light .bar-button-danger-ios.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-light .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-light .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-light .bar-button-clear-ios-light,.toolbar-ios-light .bar-button-default.bar-button-ios-light,.toolbar-ios-light .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-light .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-light .bar-button-clear-ios-light.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-light .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-light .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-light .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-light .bar-button-clear-ios-dark,.toolbar-ios-light .bar-button-dark-ios,.toolbar-ios-light .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-light .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-light .bar-button-clear-ios-dark.activated,.toolbar-ios-light .bar-button-dark-ios.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-light .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-light .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-light .bar-button-clear-ios-optblue,.toolbar-ios-light .bar-button-default.bar-button-ios-optblue,.toolbar-ios-light .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-light .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-light .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-light .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-light .bar-button-clear-ios-optblue.activated,.toolbar-ios-light .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-light .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-light .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-light .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-light .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-light .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-light,.bar-button-default.bar-button-ios-light,.bar-button-light-ios{color:#f4f4f4;background-color:transparent}.bar-button-clear-ios-light:hover:not(.disable-hover),.bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.bar-button-clear-ios-light.activated,.bar-button-default.bar-button-ios-light.activated,.bar-button-light-ios.activated{opacity:.4}.bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-dark .toolbar-background-ios{background:#222}.toolbar-ios-dark .bar-button-clear-ios,.toolbar-ios-dark .bar-button-default-ios,.toolbar-ios-dark .toolbar-title-ios{color:#fff}.toolbar-ios-dark .bar-button-clear-ios-primary,.toolbar-ios-dark .bar-button-default.bar-button-ios-primary,.toolbar-ios-dark .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-dark .bar-button-clear-ios-primary.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-dark .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-dark .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-dark .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-dark .bar-button-clear-ios-secondary,.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary,.toolbar-ios-dark .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-dark .bar-button-clear-ios-secondary.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-dark .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-dark .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-dark .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-dark .bar-button-clear-ios-danger,.toolbar-ios-dark .bar-button-danger-ios,.toolbar-ios-dark .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-dark .bar-button-clear-ios-danger.activated,.toolbar-ios-dark .bar-button-danger-ios.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-dark .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-dark .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-dark .bar-button-clear-ios-light,.toolbar-ios-dark .bar-button-default.bar-button-ios-light,.toolbar-ios-dark .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-dark .bar-button-clear-ios-light.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-dark .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-dark .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-dark .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-dark .bar-button-clear-ios-dark,.toolbar-ios-dark .bar-button-dark-ios,.toolbar-ios-dark .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-dark .bar-button-clear-ios-dark.activated,.toolbar-ios-dark .bar-button-dark-ios.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-dark .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-dark .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-dark .bar-button-clear-ios-optblue,.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue,.toolbar-ios-dark .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-dark .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-dark .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-dark .bar-button-clear-ios-optblue.activated,.toolbar-ios-dark .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-dark .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-dark .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-dark .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-dark .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-dark .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-dark,.bar-button-dark-ios,.bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.bar-button-clear-ios-dark:hover:not(.disable-hover),.bar-button-dark-ios:hover:not(.disable-hover),.bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.bar-button-clear-ios-dark.activated,.bar-button-dark-ios.activated,.bar-button-default.bar-button-ios-dark.activated{opacity:.4}.bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.bar-button-solid-ios-dark{color:#fff;background-color:#222}.bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-optblue .toolbar-background-ios{background:#e00201}.toolbar-ios-optblue .bar-button-clear-ios,.toolbar-ios-optblue .bar-button-default-ios,.toolbar-ios-optblue .toolbar-title-ios{color:#fff}.toolbar-ios-optblue .bar-button-clear-ios-primary,.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary,.toolbar-ios-optblue .bar-button-primary-ios{color:#673ab7;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-primary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-primary-ios:hover:not(.disable-hover){color:#673ab7}.toolbar-ios-optblue .bar-button-clear-ios-primary.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-primary.activated,.toolbar-ios-optblue .bar-button-primary-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-primary{border-color:#673ab7;color:#673ab7;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-primary.activated{color:#fff;background-color:#673ab7}.toolbar-ios-optblue .bar-button-solid-ios-primary{color:#fff;background-color:#673ab7}.toolbar-ios-optblue .bar-button-solid-ios-primary.activated{color:#fff;background-color:#734abd}.toolbar-ios-optblue .bar-button-clear-ios-secondary,.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary,.toolbar-ios-optblue .bar-button-secondary-ios{color:#32db64;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-secondary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-secondary-ios:hover:not(.disable-hover){color:#32db64}.toolbar-ios-optblue .bar-button-clear-ios-secondary.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-secondary.activated,.toolbar-ios-optblue .bar-button-secondary-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-secondary{border-color:#32db64;color:#32db64;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-secondary.activated{color:#fff;background-color:#32db64}.toolbar-ios-optblue .bar-button-solid-ios-secondary{color:#fff;background-color:#32db64}.toolbar-ios-optblue .bar-button-solid-ios-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-ios-optblue .bar-button-clear-ios-danger,.toolbar-ios-optblue .bar-button-danger-ios,.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger{color:#f53d3d;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-danger:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-danger-ios:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-ios-optblue .bar-button-clear-ios-danger.activated,.toolbar-ios-optblue .bar-button-danger-ios.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-danger.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-danger{border-color:#f53d3d;color:#f53d3d;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-danger.activated{color:#fff;background-color:#f53d3d}.toolbar-ios-optblue .bar-button-solid-ios-danger{color:#fff;background-color:#f53d3d}.toolbar-ios-optblue .bar-button-solid-ios-danger.activated{color:#fff;background-color:#e13838}.toolbar-ios-optblue .bar-button-clear-ios-light,.toolbar-ios-optblue .bar-button-default.bar-button-ios-light,.toolbar-ios-optblue .bar-button-light-ios{color:#f4f4f4;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-light:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-light:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-light-ios:hover:not(.disable-hover){color:#f4f4f4}.toolbar-ios-optblue .bar-button-clear-ios-light.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-light.activated,.toolbar-ios-optblue .bar-button-light-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-light{border-color:#f4f4f4;color:#f4f4f4;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-light.activated{color:#000;background-color:#f4f4f4}.toolbar-ios-optblue .bar-button-solid-ios-light{color:#000;background-color:#f4f4f4}.toolbar-ios-optblue .bar-button-solid-ios-light.activated{color:#000;background-color:#e0e0e0}.toolbar-ios-optblue .bar-button-clear-ios-dark,.toolbar-ios-optblue .bar-button-dark-ios,.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark{color:#222;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-dark:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-dark-ios:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark:hover:not(.disable-hover){color:#222}.toolbar-ios-optblue .bar-button-clear-ios-dark.activated,.toolbar-ios-optblue .bar-button-dark-ios.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-dark.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-dark{border-color:#222;color:#222;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-dark.activated{color:#fff;background-color:#222}.toolbar-ios-optblue .bar-button-solid-ios-dark{color:#fff;background-color:#222}.toolbar-ios-optblue .bar-button-solid-ios-dark.activated{color:#fff;background-color:#343434}.toolbar-ios-optblue .bar-button-clear-ios-optblue,.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue,.toolbar-ios-optblue .bar-button-optblue-ios{color:#e00201;background-color:transparent}.toolbar-ios-optblue .bar-button-clear-ios-optblue:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.toolbar-ios-optblue .bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.toolbar-ios-optblue .bar-button-clear-ios-optblue.activated,.toolbar-ios-optblue .bar-button-default.bar-button-ios-optblue.activated,.toolbar-ios-optblue .bar-button-optblue-ios.activated{opacity:.4}.toolbar-ios-optblue .bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.toolbar-ios-optblue .bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.toolbar-ios-optblue .bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.toolbar-ios-optblue .bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-ios-optblue,.bar-button-default.bar-button-ios-optblue,.bar-button-optblue-ios{color:#e00201;background-color:transparent}.bar-button-clear-ios-optblue:hover:not(.disable-hover),.bar-button-default.bar-button-ios-optblue:hover:not(.disable-hover),.bar-button-optblue-ios:hover:not(.disable-hover){color:#e00201}.bar-button-clear-ios-optblue.activated,.bar-button-default.bar-button-ios-optblue.activated,.bar-button-optblue-ios.activated{opacity:.4}.bar-button-outline-ios-optblue{border-color:#e00201;color:#e00201;background-color:transparent}.bar-button-outline-ios-optblue.activated{color:#fff;background-color:#e00201}.bar-button-solid-ios-optblue{color:#fff;background-color:#e00201}.bar-button-solid-ios-optblue.activated{color:#fff;background-color:#e21615}.bar-button-strong-ios{font-weight:600}.toolbar-md{padding:4px;min-height:56px}.toolbar-background-md{border-color:#b2b2b2;background:#f8f8f8}.footer-md::before,.header-md::after,.tabs-md[tabsPlacement=bottom]>.tabbar::before,.tabs-md[tabsPlacement=top]>.tabbar::after{left:0;bottom:-5px;background-position:left 0 top -2px;position:absolute;width:100%;height:5px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAHBAMAAADzDtBxAAAAD1BMVEUAAAAAAAAAAAAAAAAAAABPDueNAAAABXRSTlMUCS0gBIh/TXEAAAAaSURBVAjXYxCEAgY4UIICBmMogMsgFLtAAQCNSwXZKOdPxgAAAABJRU5ErkJggg==);background-repeat:repeat-x;content:""}.footer-md::before,.tabs-md[tabsPlacement=bottom]>.tabbar::before{top:-2px;bottom:auto;background-position:left 0 top 0;height:2px}.footer-md[no-border]::before,.header-md[no-border]::after,.tabs-md[tabsPlacement=bottom][no-border]>.tabbar::before,.tabs-md[tabsPlacement=top][no-border]>.tabbar::after{display:none}.toolbar-content-md{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;min-width:0;max-width:100%}.toolbar-title-md{padding:0 12px;font-size:2rem;font-weight:500;color:#424242}.bar-buttons-md{-webkit-box-ordinal-group:5;-webkit-order:4;-ms-flex-order:4;order:4;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-buttons-md[left]{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.bar-button-md:first-child{margin-left:0}.bar-buttons-md[end]{text-align:right;text-align:end;-webkit-box-ordinal-group:6;-webkit-order:5;-ms-flex-order:5;order:5}.bar-buttons-md[right]{text-align:right;-webkit-box-ordinal-group:7;-webkit-order:6;-ms-flex-order:6;order:6}.bar-button-md{margin:0 .2rem;padding:0 5px;border-radius:2px;height:32px;border:0;font-size:1.4rem;font-weight:500;text-transform:uppercase}.bar-button-outline-md,.bar-button-solid-md{overflow:hidden}.bar-button-outline-md{border-width:1px;border-style:solid;border-color:#424242;color:#424242;background-color:transparent}.bar-button-outline-md:hover:not(.disable-hover){opacity:.4}.bar-button-outline-md.activated{background-color:transparent}.bar-button-outline-md .button-effect{background-color:#424242}.bar-button-solid-md{color:#fff;background-color:#424242}.bar-button-solid-md:hover:not(.disable-hover){color:#fff}.bar-button-solid-md.activated{color:#fff;background-color:#515151}.bar-button-md.bar-button-icon-start ion-icon{padding-right:.3em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-md.bar-button-icon-end ion-icon{padding-left:.4em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-md[icon-only]{padding:0}.bar-button-md[icon-only] ion-icon{padding:0 .1em;min-width:28px;font-size:1.8em;line-height:.67;pointer-events:none}.back-button-md{margin:0 6px;min-width:44px;-webkit-box-shadow:none;box-shadow:none}.back-button-icon-md{margin:0;padding:0 6px;text-align:left;text-align:start;font-size:2.4rem;font-weight:400}.bar-button-menutoggle-md{margin:0 6px;padding:0 2px;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:44px}.bar-button-menutoggle-md ion-icon{padding:0 6px;font-size:2.4rem}.bar-button-menutoggle-md[end],.bar-button-menutoggle-md[right]{margin:0 2px;-webkit-box-ordinal-group:8;-webkit-order:7;-ms-flex-order:7;order:7;min-width:28px}.bar-button-clear-md-default,.bar-button-default-md,.bar-button-md-default{color:#424242;background-color:transparent}.bar-button-clear-md-default:hover:not(.disable-hover),.bar-button-default-md:hover:not(.disable-hover),.bar-button-md-default:hover:not(.disable-hover){color:#424242}.bar-button-clear-md,.bar-button-clear-md-clear,.bar-button-md-clear{color:#424242;background-color:transparent}.bar-button-clear-md-clear:hover:not(.disable-hover),.bar-button-clear-md:hover:not(.disable-hover),.bar-button-md-clear:hover:not(.disable-hover){color:#424242}.toolbar-md-primary .toolbar-background-md{background:#673ab7}.toolbar-md-primary .bar-button-clear-md,.toolbar-md-primary .bar-button-default-md,.toolbar-md-primary .bar-button-outline-md,.toolbar-md-primary .toolbar-title-md{color:#fff}.toolbar-md-primary .bar-button-clear-md .button-effect,.toolbar-md-primary .bar-button-default-md .button-effect,.toolbar-md-primary .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-primary .bar-button-outline-md{border-color:#fff}.toolbar-md-primary .bar-button-clear-md-primary,.toolbar-md-primary .bar-button-md-primary,.toolbar-md-primary .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-primary .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-primary .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-primary .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-primary .bar-button-clear-md-secondary,.toolbar-md-primary .bar-button-md-secondary,.toolbar-md-primary .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-primary .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-primary .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-primary .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-primary .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-primary .bar-button-clear-md-danger,.toolbar-md-primary .bar-button-danger-md,.toolbar-md-primary .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-primary .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-primary .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-primary .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-primary .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-primary .bar-button-clear-md-light,.toolbar-md-primary .bar-button-light-md,.toolbar-md-primary .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-primary .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-primary .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-primary .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-primary .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-primary .bar-button-clear-md-dark,.toolbar-md-primary .bar-button-dark-md,.toolbar-md-primary .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-primary .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-primary .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-primary .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-primary .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-primary .bar-button-clear-md-optblue,.toolbar-md-primary .bar-button-md-optblue,.toolbar-md-primary .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-primary .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-primary .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-primary .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-primary .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-primary .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-primary .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-primary .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-primary .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-primary,.bar-button-md-primary,.bar-button-primary-md{color:#673ab7;background-color:transparent}.bar-button-clear-md-primary:hover:not(.disable-hover),.bar-button-md-primary:hover:not(.disable-hover),.bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.bar-button-outline-md-primary.activated{background-color:transparent}.bar-button-outline-md-primary .button-effect{background-color:#734abd}.bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-secondary .toolbar-background-md{background:#32db64}.toolbar-md-secondary .bar-button-clear-md,.toolbar-md-secondary .bar-button-default-md,.toolbar-md-secondary .bar-button-outline-md,.toolbar-md-secondary .toolbar-title-md{color:#fff}.toolbar-md-secondary .bar-button-clear-md .button-effect,.toolbar-md-secondary .bar-button-default-md .button-effect,.toolbar-md-secondary .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-secondary .bar-button-outline-md{border-color:#fff}.toolbar-md-secondary .bar-button-clear-md-primary,.toolbar-md-secondary .bar-button-md-primary,.toolbar-md-secondary .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-secondary .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-secondary .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-secondary .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-secondary .bar-button-clear-md-secondary,.toolbar-md-secondary .bar-button-md-secondary,.toolbar-md-secondary .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-secondary .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-secondary .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-secondary .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-secondary .bar-button-clear-md-danger,.toolbar-md-secondary .bar-button-danger-md,.toolbar-md-secondary .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-secondary .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-secondary .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-secondary .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-secondary .bar-button-clear-md-light,.toolbar-md-secondary .bar-button-light-md,.toolbar-md-secondary .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-secondary .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-secondary .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-secondary .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-secondary .bar-button-clear-md-dark,.toolbar-md-secondary .bar-button-dark-md,.toolbar-md-secondary .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-secondary .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-secondary .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-secondary .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-secondary .bar-button-clear-md-optblue,.toolbar-md-secondary .bar-button-md-optblue,.toolbar-md-secondary .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-secondary .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-secondary .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-secondary .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-secondary .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-secondary .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-secondary .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-secondary,.bar-button-md-secondary,.bar-button-secondary-md{color:#32db64;background-color:transparent}.bar-button-clear-md-secondary:hover:not(.disable-hover),.bar-button-md-secondary:hover:not(.disable-hover),.bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.bar-button-outline-md-secondary.activated{background-color:transparent}.bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-danger .toolbar-background-md{background:#f53d3d}.toolbar-md-danger .bar-button-clear-md,.toolbar-md-danger .bar-button-default-md,.toolbar-md-danger .bar-button-outline-md,.toolbar-md-danger .toolbar-title-md{color:#fff}.toolbar-md-danger .bar-button-clear-md .button-effect,.toolbar-md-danger .bar-button-default-md .button-effect,.toolbar-md-danger .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-danger .bar-button-outline-md{border-color:#fff}.toolbar-md-danger .bar-button-clear-md-primary,.toolbar-md-danger .bar-button-md-primary,.toolbar-md-danger .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-danger .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-danger .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-danger .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-danger .bar-button-clear-md-secondary,.toolbar-md-danger .bar-button-md-secondary,.toolbar-md-danger .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-danger .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-danger .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-danger .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-danger .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-danger .bar-button-clear-md-danger,.toolbar-md-danger .bar-button-danger-md,.toolbar-md-danger .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-danger .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-danger .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-danger .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-danger .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-danger .bar-button-clear-md-light,.toolbar-md-danger .bar-button-light-md,.toolbar-md-danger .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-danger .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-danger .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-danger .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-danger .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-danger .bar-button-clear-md-dark,.toolbar-md-danger .bar-button-dark-md,.toolbar-md-danger .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-danger .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-danger .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-danger .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-danger .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-danger .bar-button-clear-md-optblue,.toolbar-md-danger .bar-button-md-optblue,.toolbar-md-danger .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-danger .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-danger .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-danger .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-danger .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-danger .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-danger .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-danger .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-danger .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-danger,.bar-button-danger-md,.bar-button-md-danger{color:#f53d3d;background-color:transparent}.bar-button-clear-md-danger:hover:not(.disable-hover),.bar-button-danger-md:hover:not(.disable-hover),.bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.bar-button-outline-md-danger.activated{background-color:transparent}.bar-button-outline-md-danger .button-effect{background-color:#e13838}.bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-light .toolbar-background-md{background:#f4f4f4}.toolbar-md-light .bar-button-clear-md,.toolbar-md-light .bar-button-default-md,.toolbar-md-light .bar-button-outline-md,.toolbar-md-light .toolbar-title-md{color:#424242}.toolbar-md-light .bar-button-clear-md .button-effect,.toolbar-md-light .bar-button-default-md .button-effect,.toolbar-md-light .bar-button-outline-md .button-effect{background-color:#424242}.toolbar-md-light .bar-button-outline-md{border-color:#424242}.toolbar-md-light .bar-button-clear-md-primary,.toolbar-md-light .bar-button-md-primary,.toolbar-md-light .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-light .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-light .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-light .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-light .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-light .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-light .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-light .bar-button-clear-md-secondary,.toolbar-md-light .bar-button-md-secondary,.toolbar-md-light .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-light .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-light .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-light .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-light .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-light .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-light .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-light .bar-button-clear-md-danger,.toolbar-md-light .bar-button-danger-md,.toolbar-md-light .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-light .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-light .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-light .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-light .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-light .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-light .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-light .bar-button-clear-md-light,.toolbar-md-light .bar-button-light-md,.toolbar-md-light .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-light .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-light .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-light .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-light .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-light .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-light .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-light .bar-button-clear-md-dark,.toolbar-md-light .bar-button-dark-md,.toolbar-md-light .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-light .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-light .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-light .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-light .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-light .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-light .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-light .bar-button-clear-md-optblue,.toolbar-md-light .bar-button-md-optblue,.toolbar-md-light .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-light .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-light .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-light .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-light .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-light .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-light .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-light .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-light .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-light,.bar-button-light-md,.bar-button-md-light{color:#f4f4f4;background-color:transparent}.bar-button-clear-md-light:hover:not(.disable-hover),.bar-button-light-md:hover:not(.disable-hover),.bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.bar-button-outline-md-light.activated{background-color:transparent}.bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-dark .toolbar-background-md{background:#222}.toolbar-md-dark .bar-button-clear-md,.toolbar-md-dark .bar-button-default-md,.toolbar-md-dark .bar-button-outline-md,.toolbar-md-dark .toolbar-title-md{color:#fff}.toolbar-md-dark .bar-button-clear-md .button-effect,.toolbar-md-dark .bar-button-default-md .button-effect,.toolbar-md-dark .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-dark .bar-button-outline-md{border-color:#fff}.toolbar-md-dark .bar-button-clear-md-primary,.toolbar-md-dark .bar-button-md-primary,.toolbar-md-dark .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-dark .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-dark .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-dark .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-dark .bar-button-clear-md-secondary,.toolbar-md-dark .bar-button-md-secondary,.toolbar-md-dark .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-dark .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-dark .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-dark .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-dark .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-dark .bar-button-clear-md-danger,.toolbar-md-dark .bar-button-danger-md,.toolbar-md-dark .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-dark .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-dark .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-dark .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-dark .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-dark .bar-button-clear-md-light,.toolbar-md-dark .bar-button-light-md,.toolbar-md-dark .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-dark .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-dark .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-dark .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-dark .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-dark .bar-button-clear-md-dark,.toolbar-md-dark .bar-button-dark-md,.toolbar-md-dark .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-dark .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-dark .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-dark .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-dark .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-dark .bar-button-clear-md-optblue,.toolbar-md-dark .bar-button-md-optblue,.toolbar-md-dark .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-dark .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-dark .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-dark .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-dark .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-dark .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-dark .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-dark .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-dark .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-dark,.bar-button-dark-md,.bar-button-md-dark{color:#222;background-color:transparent}.bar-button-clear-md-dark:hover:not(.disable-hover),.bar-button-dark-md:hover:not(.disable-hover),.bar-button-md-dark:hover:not(.disable-hover){color:#222}.bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.bar-button-outline-md-dark.activated{background-color:transparent}.bar-button-outline-md-dark .button-effect{background-color:#343434}.bar-button-solid-md-dark{color:#fff;background-color:#222}.bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-optblue .toolbar-background-md{background:#e00201}.toolbar-md-optblue .bar-button-clear-md,.toolbar-md-optblue .bar-button-default-md,.toolbar-md-optblue .bar-button-outline-md,.toolbar-md-optblue .toolbar-title-md{color:#fff}.toolbar-md-optblue .bar-button-clear-md .button-effect,.toolbar-md-optblue .bar-button-default-md .button-effect,.toolbar-md-optblue .bar-button-outline-md .button-effect{background-color:#fff}.toolbar-md-optblue .bar-button-outline-md{border-color:#fff}.toolbar-md-optblue .bar-button-clear-md-primary,.toolbar-md-optblue .bar-button-md-primary,.toolbar-md-optblue .bar-button-primary-md{color:#673ab7;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-primary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-primary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-primary-md:hover:not(.disable-hover){color:#673ab7}.toolbar-md-optblue .bar-button-outline-md-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-primary.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-primary .button-effect{background-color:#734abd}.toolbar-md-optblue .bar-button-solid-md-primary{color:#fff;background-color:#673ab7}.toolbar-md-optblue .bar-button-solid-md-primary.activated{color:#fff;background-color:#734abd}.toolbar-md-optblue .bar-button-clear-md-secondary,.toolbar-md-optblue .bar-button-md-secondary,.toolbar-md-optblue .bar-button-secondary-md{color:#32db64;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-secondary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-secondary:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-secondary-md:hover:not(.disable-hover){color:#32db64}.toolbar-md-optblue .bar-button-outline-md-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-secondary.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-secondary .button-effect{background-color:#2ec95c}.toolbar-md-optblue .bar-button-solid-md-secondary{color:#fff;background-color:#32db64}.toolbar-md-optblue .bar-button-solid-md-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-md-optblue .bar-button-clear-md-danger,.toolbar-md-optblue .bar-button-danger-md,.toolbar-md-optblue .bar-button-md-danger{color:#f53d3d;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-danger:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-danger-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-md-optblue .bar-button-outline-md-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-danger.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-danger .button-effect{background-color:#e13838}.toolbar-md-optblue .bar-button-solid-md-danger{color:#fff;background-color:#f53d3d}.toolbar-md-optblue .bar-button-solid-md-danger.activated{color:#fff;background-color:#e13838}.toolbar-md-optblue .bar-button-clear-md-light,.toolbar-md-optblue .bar-button-light-md,.toolbar-md-optblue .bar-button-md-light{color:#f4f4f4;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-light:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-light-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-md-optblue .bar-button-outline-md-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-light.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-light .button-effect{background-color:#e0e0e0}.toolbar-md-optblue .bar-button-solid-md-light{color:#424242;background-color:#f4f4f4}.toolbar-md-optblue .bar-button-solid-md-light.activated{color:#424242;background-color:#e0e0e0}.toolbar-md-optblue .bar-button-clear-md-dark,.toolbar-md-optblue .bar-button-dark-md,.toolbar-md-optblue .bar-button-md-dark{color:#222;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-dark:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-dark-md:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-dark:hover:not(.disable-hover){color:#222}.toolbar-md-optblue .bar-button-outline-md-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-dark.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-dark .button-effect{background-color:#343434}.toolbar-md-optblue .bar-button-solid-md-dark{color:#fff;background-color:#222}.toolbar-md-optblue .bar-button-solid-md-dark.activated{color:#fff;background-color:#343434}.toolbar-md-optblue .bar-button-clear-md-optblue,.toolbar-md-optblue .bar-button-md-optblue,.toolbar-md-optblue .bar-button-optblue-md{color:#e00201;background-color:transparent}.toolbar-md-optblue .bar-button-clear-md-optblue:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-md-optblue:hover:not(.disable-hover),.toolbar-md-optblue .bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.toolbar-md-optblue .bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-optblue.activated{background-color:transparent}.toolbar-md-optblue .bar-button-outline-md-optblue .button-effect{background-color:#e21615}.toolbar-md-optblue .bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.toolbar-md-optblue .bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-md-optblue,.bar-button-md-optblue,.bar-button-optblue-md{color:#e00201;background-color:transparent}.bar-button-clear-md-optblue:hover:not(.disable-hover),.bar-button-md-optblue:hover:not(.disable-hover),.bar-button-optblue-md:hover:not(.disable-hover){color:#e00201}.bar-button-outline-md-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.bar-button-outline-md-optblue.activated{background-color:transparent}.bar-button-outline-md-optblue .button-effect{background-color:#e21615}.bar-button-solid-md-optblue{color:#fff;background-color:#e00201}.bar-button-solid-md-optblue.activated{color:#fff;background-color:#e21615}.bar-button-strong-md{font-weight:700}.toolbar-wp{padding:4px;min-height:46px}.toolbar-background-wp{border-color:#b2b2b2;background:#f8f8f8}.toolbar-content-wp{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-ordinal-group:4;-webkit-order:3;-ms-flex-order:3;order:3;min-width:0;max-width:100%}.toolbar-title-wp{font-size:1.5rem;font-weight:700;text-transform:uppercase;color:#000;padding:0 6px}.bar-buttons-wp{-webkit-box-ordinal-group:5;-webkit-order:4;-ms-flex-order:4;order:4;-webkit-transform:translateZ(0);transform:translateZ(0)}.bar-buttons-wp[left]{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2}.bar-buttons-wp[left] .bar-button:first-child{margin-left:0}.bar-buttons-wp[end]{text-align:right;text-align:end;-webkit-box-ordinal-group:6;-webkit-order:5;-ms-flex-order:5;order:5}.bar-buttons-wp[right]{text-align:right;-webkit-box-ordinal-group:7;-webkit-order:6;-ms-flex-order:6;order:6}.bar-button-wp{margin:0 .2rem;padding:0 5px;border-radius:2px;height:32px;border:0;font-size:1.4rem;font-weight:500;text-transform:uppercase}.bar-button-outline-wp,.bar-button-solid-wp{overflow:hidden}.bar-button-outline-wp{border-width:1px;border-style:solid;border-color:#000;color:#000;background-color:transparent}.bar-button-outline-wp:hover:not(.disable-hover){opacity:.4}.bar-button-outline-wp.activated{color:#fff;background-color:#000}.bar-button-solid-wp{color:#fff;background-color:#000}.bar-button-solid-wp:hover:not(.disable-hover){color:#fff}.bar-button-solid-wp.activated{color:#fff;background-color:#141414}.bar-button-wp.bar-button-icon-start ion-icon{padding-right:.3em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-wp.bar-button-icon-end ion-icon{padding-left:.4em;font-size:1.4em;line-height:.67;pointer-events:none}.bar-button-wp[icon-only]{padding:0}.bar-button-wp[icon-only] ion-icon{padding:0 .1em;min-width:28px;font-size:1.8em;line-height:.67;pointer-events:none}.back-button-wp{margin:0 6px;min-width:44px;-webkit-box-shadow:none;box-shadow:none}.back-button-icon-wp{text-align:left;text-align:start;margin:0;padding:0 6px;font-size:2.4rem;font-weight:400}.bar-button-menutoggle-wp{margin:0 6px;padding:0 2px;-webkit-box-ordinal-group:2;-webkit-order:1;-ms-flex-order:1;order:1;min-width:44px}.bar-button-menutoggle-wp ion-icon{padding:0 6px;font-size:2.4rem}.bar-button-menutoggle-wp[end],.bar-button-menutoggle-wp[right]{margin:0 2px;-webkit-box-ordinal-group:8;-webkit-order:7;-ms-flex-order:7;order:7;min-width:28px}.bar-button-clear-wp-default,.bar-button-default-wp,.bar-button-wp-default{color:#000;background-color:transparent}.bar-button-clear-wp-default:hover:not(.disable-hover),.bar-button-default-wp:hover:not(.disable-hover),.bar-button-wp-default:hover:not(.disable-hover){color:#000}.bar-button-clear-wp,.bar-button-clear-wp-clear,.bar-button-wp-clear{color:#000;background-color:transparent}.bar-button-clear-wp-clear:hover:not(.disable-hover),.bar-button-clear-wp:hover:not(.disable-hover),.bar-button-wp-clear:hover:not(.disable-hover){color:#000}.toolbar-wp-primary .toolbar-background-wp{background:#673ab7}.toolbar-wp-primary .bar-button-clear-wp,.toolbar-wp-primary .bar-button-default-wp,.toolbar-wp-primary .bar-button-outline-wp,.toolbar-wp-primary .toolbar-title-wp{color:#fff}.toolbar-wp-primary .bar-button-outline-wp{border-color:#fff}.toolbar-wp-primary .bar-button-clear-wp-primary,.toolbar-wp-primary .bar-button-primary-wp,.toolbar-wp-primary .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-primary .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-primary .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-primary .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-primary .bar-button-clear-wp-secondary,.toolbar-wp-primary .bar-button-secondary-wp,.toolbar-wp-primary .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-primary .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-primary .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-primary .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-primary .bar-button-clear-wp-danger,.toolbar-wp-primary .bar-button-danger-wp,.toolbar-wp-primary .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-primary .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-primary .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-primary .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-primary .bar-button-clear-wp-light,.toolbar-wp-primary .bar-button-light-wp,.toolbar-wp-primary .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-primary .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-primary .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-primary .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-primary .bar-button-clear-wp-dark,.toolbar-wp-primary .bar-button-dark-wp,.toolbar-wp-primary .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-primary .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-primary .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-primary .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-primary .bar-button-clear-wp-optblue,.toolbar-wp-primary .bar-button-optblue-wp,.toolbar-wp-primary .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-primary .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-primary .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-primary .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-primary .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-primary .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-primary .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-primary,.bar-button-primary-wp,.bar-button-wp-primary{color:#673ab7;background-color:transparent}.bar-button-clear-wp-primary:hover:not(.disable-hover),.bar-button-primary-wp:hover:not(.disable-hover),.bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-secondary .toolbar-background-wp{background:#32db64}.toolbar-wp-secondary .bar-button-clear-wp,.toolbar-wp-secondary .bar-button-default-wp,.toolbar-wp-secondary .bar-button-outline-wp,.toolbar-wp-secondary .toolbar-title-wp{color:#fff}.toolbar-wp-secondary .bar-button-outline-wp{border-color:#fff}.toolbar-wp-secondary .bar-button-clear-wp-primary,.toolbar-wp-secondary .bar-button-primary-wp,.toolbar-wp-secondary .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-secondary .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-secondary .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-secondary .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-secondary .bar-button-clear-wp-secondary,.toolbar-wp-secondary .bar-button-secondary-wp,.toolbar-wp-secondary .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-secondary .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-secondary .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-secondary .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-secondary .bar-button-clear-wp-danger,.toolbar-wp-secondary .bar-button-danger-wp,.toolbar-wp-secondary .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-secondary .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-secondary .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-secondary .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-secondary .bar-button-clear-wp-light,.toolbar-wp-secondary .bar-button-light-wp,.toolbar-wp-secondary .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-secondary .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-secondary .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-secondary .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-secondary .bar-button-clear-wp-dark,.toolbar-wp-secondary .bar-button-dark-wp,.toolbar-wp-secondary .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-secondary .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-secondary .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-secondary .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-secondary .bar-button-clear-wp-optblue,.toolbar-wp-secondary .bar-button-optblue-wp,.toolbar-wp-secondary .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-secondary .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-secondary .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-secondary .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-secondary .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-secondary .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-secondary .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-secondary,.bar-button-secondary-wp,.bar-button-wp-secondary{color:#32db64;background-color:transparent}.bar-button-clear-wp-secondary:hover:not(.disable-hover),.bar-button-secondary-wp:hover:not(.disable-hover),.bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-danger .toolbar-background-wp{background:#f53d3d}.toolbar-wp-danger .bar-button-clear-wp,.toolbar-wp-danger .bar-button-default-wp,.toolbar-wp-danger .bar-button-outline-wp,.toolbar-wp-danger .toolbar-title-wp{color:#fff}.toolbar-wp-danger .bar-button-outline-wp{border-color:#fff}.toolbar-wp-danger .bar-button-clear-wp-primary,.toolbar-wp-danger .bar-button-primary-wp,.toolbar-wp-danger .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-danger .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-danger .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-danger .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-danger .bar-button-clear-wp-secondary,.toolbar-wp-danger .bar-button-secondary-wp,.toolbar-wp-danger .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-danger .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-danger .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-danger .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-danger .bar-button-clear-wp-danger,.toolbar-wp-danger .bar-button-danger-wp,.toolbar-wp-danger .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-danger .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-danger .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-danger .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-danger .bar-button-clear-wp-light,.toolbar-wp-danger .bar-button-light-wp,.toolbar-wp-danger .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-danger .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-danger .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-danger .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-danger .bar-button-clear-wp-dark,.toolbar-wp-danger .bar-button-dark-wp,.toolbar-wp-danger .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-danger .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-danger .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-danger .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-danger .bar-button-clear-wp-optblue,.toolbar-wp-danger .bar-button-optblue-wp,.toolbar-wp-danger .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-danger .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-danger .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-danger .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-danger .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-danger .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-danger .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-danger,.bar-button-danger-wp,.bar-button-wp-danger{color:#f53d3d;background-color:transparent}.bar-button-clear-wp-danger:hover:not(.disable-hover),.bar-button-danger-wp:hover:not(.disable-hover),.bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-light .toolbar-background-wp{background:#f4f4f4}.toolbar-wp-light .bar-button-clear-wp,.toolbar-wp-light .bar-button-default-wp,.toolbar-wp-light .bar-button-outline-wp,.toolbar-wp-light .toolbar-title-wp{color:#000}.toolbar-wp-light .bar-button-outline-wp{border-color:#000}.toolbar-wp-light .bar-button-clear-wp-primary,.toolbar-wp-light .bar-button-primary-wp,.toolbar-wp-light .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-light .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-light .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-light .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-light .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-light .bar-button-clear-wp-secondary,.toolbar-wp-light .bar-button-secondary-wp,.toolbar-wp-light .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-light .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-light .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-light .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-light .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-light .bar-button-clear-wp-danger,.toolbar-wp-light .bar-button-danger-wp,.toolbar-wp-light .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-light .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-light .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-light .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-light .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-light .bar-button-clear-wp-light,.toolbar-wp-light .bar-button-light-wp,.toolbar-wp-light .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-light .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-light .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-light .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-light .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-light .bar-button-clear-wp-dark,.toolbar-wp-light .bar-button-dark-wp,.toolbar-wp-light .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-light .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-light .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-light .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-light .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-light .bar-button-clear-wp-optblue,.toolbar-wp-light .bar-button-optblue-wp,.toolbar-wp-light .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-light .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-light .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-light .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-light .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-light .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-light .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-light .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-light,.bar-button-light-wp,.bar-button-wp-light{color:#f4f4f4;background-color:transparent}.bar-button-clear-wp-light:hover:not(.disable-hover),.bar-button-light-wp:hover:not(.disable-hover),.bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-dark .toolbar-background-wp{background:#222}.toolbar-wp-dark .bar-button-clear-wp,.toolbar-wp-dark .bar-button-default-wp,.toolbar-wp-dark .bar-button-outline-wp,.toolbar-wp-dark .toolbar-title-wp{color:#fff}.toolbar-wp-dark .bar-button-outline-wp{border-color:#fff}.toolbar-wp-dark .bar-button-clear-wp-primary,.toolbar-wp-dark .bar-button-primary-wp,.toolbar-wp-dark .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-dark .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-dark .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-dark .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-dark .bar-button-clear-wp-secondary,.toolbar-wp-dark .bar-button-secondary-wp,.toolbar-wp-dark .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-dark .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-dark .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-dark .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-dark .bar-button-clear-wp-danger,.toolbar-wp-dark .bar-button-danger-wp,.toolbar-wp-dark .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-dark .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-dark .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-dark .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-dark .bar-button-clear-wp-light,.toolbar-wp-dark .bar-button-light-wp,.toolbar-wp-dark .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-dark .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-dark .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-dark .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-dark .bar-button-clear-wp-dark,.toolbar-wp-dark .bar-button-dark-wp,.toolbar-wp-dark .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-dark .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-dark .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-dark .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-dark .bar-button-clear-wp-optblue,.toolbar-wp-dark .bar-button-optblue-wp,.toolbar-wp-dark .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-dark .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-dark .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-dark .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-dark .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-dark .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-dark .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-dark,.bar-button-dark-wp,.bar-button-wp-dark{color:#222;background-color:transparent}.bar-button-clear-wp-dark:hover:not(.disable-hover),.bar-button-dark-wp:hover:not(.disable-hover),.bar-button-wp-dark:hover:not(.disable-hover){color:#222}.bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.bar-button-solid-wp-dark{color:#fff;background-color:#222}.bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-optblue .toolbar-background-wp{background:#e00201}.toolbar-wp-optblue .bar-button-clear-wp,.toolbar-wp-optblue .bar-button-default-wp,.toolbar-wp-optblue .bar-button-outline-wp,.toolbar-wp-optblue .toolbar-title-wp{color:#fff}.toolbar-wp-optblue .bar-button-outline-wp{border-color:#fff}.toolbar-wp-optblue .bar-button-clear-wp-primary,.toolbar-wp-optblue .bar-button-primary-wp,.toolbar-wp-optblue .bar-button-wp-primary{color:#673ab7;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-primary:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-primary-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-primary:hover:not(.disable-hover){color:#673ab7}.toolbar-wp-optblue .bar-button-outline-wp-primary{border-color:#734abd;color:#734abd;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-optblue .bar-button-solid-wp-primary{color:#fff;background-color:#673ab7}.toolbar-wp-optblue .bar-button-solid-wp-primary.activated{color:#fff;background-color:#734abd}.toolbar-wp-optblue .bar-button-clear-wp-secondary,.toolbar-wp-optblue .bar-button-secondary-wp,.toolbar-wp-optblue .bar-button-wp-secondary{color:#32db64;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-secondary:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-secondary-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-secondary:hover:not(.disable-hover){color:#32db64}.toolbar-wp-optblue .bar-button-outline-wp-secondary{border-color:#2ec95c;color:#2ec95c;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-optblue .bar-button-solid-wp-secondary{color:#fff;background-color:#32db64}.toolbar-wp-optblue .bar-button-solid-wp-secondary.activated{color:#fff;background-color:#2ec95c}.toolbar-wp-optblue .bar-button-clear-wp-danger,.toolbar-wp-optblue .bar-button-danger-wp,.toolbar-wp-optblue .bar-button-wp-danger{color:#f53d3d;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-danger:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-danger-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-danger:hover:not(.disable-hover){color:#f53d3d}.toolbar-wp-optblue .bar-button-outline-wp-danger{border-color:#e13838;color:#e13838;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-optblue .bar-button-solid-wp-danger{color:#fff;background-color:#f53d3d}.toolbar-wp-optblue .bar-button-solid-wp-danger.activated{color:#fff;background-color:#e13838}.toolbar-wp-optblue .bar-button-clear-wp-light,.toolbar-wp-optblue .bar-button-light-wp,.toolbar-wp-optblue .bar-button-wp-light{color:#f4f4f4;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-light:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-light-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-light:hover:not(.disable-hover){color:#f4f4f4}.toolbar-wp-optblue .bar-button-outline-wp-light{border-color:#e0e0e0;color:#e0e0e0;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-optblue .bar-button-solid-wp-light{color:#000;background-color:#f4f4f4}.toolbar-wp-optblue .bar-button-solid-wp-light.activated{color:#000;background-color:#e0e0e0}.toolbar-wp-optblue .bar-button-clear-wp-dark,.toolbar-wp-optblue .bar-button-dark-wp,.toolbar-wp-optblue .bar-button-wp-dark{color:#222;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-dark:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-dark-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-dark:hover:not(.disable-hover){color:#222}.toolbar-wp-optblue .bar-button-outline-wp-dark{border-color:#343434;color:#343434;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-optblue .bar-button-solid-wp-dark{color:#fff;background-color:#222}.toolbar-wp-optblue .bar-button-solid-wp-dark.activated{color:#fff;background-color:#343434}.toolbar-wp-optblue .bar-button-clear-wp-optblue,.toolbar-wp-optblue .bar-button-optblue-wp,.toolbar-wp-optblue .bar-button-wp-optblue{color:#e00201;background-color:transparent}.toolbar-wp-optblue .bar-button-clear-wp-optblue:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-optblue-wp:hover:not(.disable-hover),.toolbar-wp-optblue .bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.toolbar-wp-optblue .bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.toolbar-wp-optblue .bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.toolbar-wp-optblue .bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.toolbar-wp-optblue .bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-clear-wp-optblue,.bar-button-optblue-wp,.bar-button-wp-optblue{color:#e00201;background-color:transparent}.bar-button-clear-wp-optblue:hover:not(.disable-hover),.bar-button-optblue-wp:hover:not(.disable-hover),.bar-button-wp-optblue:hover:not(.disable-hover){color:#e00201}.bar-button-outline-wp-optblue{border-color:#e21615;color:#e21615;background-color:transparent}.bar-button-outline-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-solid-wp-optblue{color:#fff;background-color:#e00201}.bar-button-solid-wp-optblue.activated{color:#fff;background-color:#e21615}.bar-button-strong-wp{font-weight:700}.text-ios-primary{color:#673ab7}.text-ios-secondary{color:#32db64}.text-ios-danger{color:#f53d3d}.text-ios-light{color:#f4f4f4}.text-ios-dark{color:#222}.text-ios-optblue{color:#e00201}.text-md-primary{color:#673ab7}.text-md-secondary{color:#32db64}.text-md-danger{color:#f53d3d}.text-md-light{color:#f4f4f4}.text-md-dark{color:#222}.text-md-optblue{color:#e00201}.text-wp-primary{color:#673ab7}.text-wp-secondary{color:#32db64}.text-wp-danger{color:#f53d3d}.text-wp-light{color:#f4f4f4}.text-wp-dark{color:#222}.text-wp-optblue{color:#e00201}.virtual-loading{opacity:0}.virtual-scroll{position:relative;contain:content}.virtual-scroll .virtual-position,.virtual-scroll .virtual-position.item{left:0;top:0;position:absolute;-webkit-transition-duration:0s;transition-duration:0s;contain:content}.virtual-scroll .virtual-last{display:none}.ios ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child,.ios ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child,.ios ion-nav>.ion-page>.toolbar.statusbar-padding:first-child,.ios ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.ios ion-tab>.ion-page>.toolbar.statusbar-padding:first-child,.ios ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.ios ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}.ios ion-menu>.menu-inner>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-nav>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-tab>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.ios ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.ios ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child ion-title,.ios ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child ion-title,.ios ion-nav>.ion-page>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-nav>.ion-page>.toolbar.statusbar-padding:first-child ion-title,.ios ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-title,.ios ion-tab>.ion-page>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-tab>.ion-page>.toolbar.statusbar-padding:first-child ion-title,.ios ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-title,.ios ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child ion-title{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);height:calc(44px + 20px);height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}@media only screen and (max-width:767px){.ios .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}.ios .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.ios .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.ios .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-segment,.ios .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child ion-title{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top);height:calc(44px + 20px);height:calc(44px + constant(safe-area-inset-top));height:calc(44px + env(safe-area-inset-top));min-height:calc(44px + 20px);min-height:calc(44px + constant(safe-area-inset-top));min-height:calc(44px + env(safe-area-inset-top))}}.ios .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.ios ion-footer .toolbar:last-child{padding-bottom:calc(constant(safe-area-inset-bottom) + 4px);padding-bottom:calc(env(safe-area-inset-bottom) + 4px);min-height:calc(44px + constant(safe-area-inset-bottom));min-height:calc(44px + env(safe-area-inset-bottom))}.md ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child,.md ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child,.md ion-nav>.ion-page>.toolbar.statusbar-padding:first-child,.md ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.md ion-tab>.ion-page>.toolbar.statusbar-padding:first-child,.md ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.md ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(56px + 20px);min-height:calc(56px + constant(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top))}.md ion-menu>.menu-inner>ion-content.statusbar-padding:first-child .scroll-content,.md ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.md ion-nav>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.md ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.md ion-tab>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.md ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.md ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.md ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.md ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}@media only screen and (max-width:767px){.md .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(56px + 20px);min-height:calc(56px + constant(safe-area-inset-top));min-height:calc(56px + env(safe-area-inset-top))}.md .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.md .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.md .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}.md .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.md ion-footer .toolbar:last-child{padding-bottom:calc(constant(safe-area-inset-bottom) + 4px);padding-bottom:calc(env(safe-area-inset-bottom) + 4px);min-height:calc(56px + constant(safe-area-inset-bottom));min-height:calc(56px + env(safe-area-inset-bottom))}.wp ion-menu>.menu-inner>.toolbar.statusbar-padding:first-child,.wp ion-menu>.menu-inner>ion-header>.toolbar.statusbar-padding:first-child,.wp ion-nav>.ion-page>.toolbar.statusbar-padding:first-child,.wp ion-nav>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.wp ion-tab>.ion-page>.toolbar.statusbar-padding:first-child,.wp ion-tab>.ion-page>ion-header>.toolbar.statusbar-padding:first-child,.wp ion-tabs>.ion-page.tab-subpage>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(46px + 20px);min-height:calc(46px + constant(safe-area-inset-top));min-height:calc(46px + env(safe-area-inset-top))}.wp ion-menu>.menu-inner>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-nav>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-tab>.ion-page>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content,.wp ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.wp ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-menu>.menu-inner>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-menu>.menu-inner>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-nav>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-nav>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-tab>.ion-page>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-tab>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content,.wp ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp ion-tabs>.ion-page.tab-subpage>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}@media only screen and (max-width:767px){.wp .modal-wrapper>.ion-page>ion-header>.toolbar.statusbar-padding:first-child{padding-top:calc(20px + 4px);padding-top:calc(constant(safe-area-inset-top) + 4px);padding-top:calc(env(safe-area-inset-top) + 4px);min-height:calc(46px + 20px);min-height:calc(46px + constant(safe-area-inset-top));min-height:calc(46px + env(safe-area-inset-top))}.wp .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child .scroll-content{padding-top:20px;padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.wp .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding-top] .scroll-content,.wp .modal-wrapper>.ion-page>ion-header>ion-content.statusbar-padding:first-child[padding] .scroll-content{padding-top:calc(16px + 20px);padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}.wp .tabs:not(.tabs-ios[tabsPlacement=top]) .tabbar{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.wp ion-footer .toolbar:last-child{padding-bottom:calc(constant(safe-area-inset-bottom) + 4px);padding-bottom:calc(env(safe-area-inset-bottom) + 4px);min-height:calc(46px + constant(safe-area-inset-bottom));min-height:calc(46px + env(safe-area-inset-bottom))}image-viewer.ion-page{position:absolute;top:0;right:0;bottom:0;left:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;height:100%;opacity:1}image-viewer.ion-page ion-navbar.toolbar .toolbar-background{background-color:transparent}image-viewer.ion-page ion-navbar.toolbar.toolbar-ios{padding-top:calc(20px + 4px)}image-viewer.ion-page ion-navbar .bar-button-default{color:#fff}image-viewer.ion-page .backdrop{will-change:opacity}image-viewer.ion-page .image-wrapper{position:relative;z-index:10;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;margin-top:56px;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}image-viewer.ion-page .image{will-change:transform}image-viewer.ion-page img{display:block;max-width:100%;max-height:100%;margin:0 auto}@font-face{font-family:Roboto;src:url(../assets/fonts/Roboto-Light.ttf)}*{font-family:Roboto;font-size:16px}.align-center{text-align:center}.highlight{background-color:#f4f4f4}.center{display:block;margin:0 auto}.vertical-center{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.top-radius{border-radius:10% 10% 0 0}.bottom-radius{border-radius:0 0 10% 10%}.round{border-radius:50%}.transparent-header .back-button,.transparent-header .toolbar-content{color:#fff}.transparent-header .toolbar-background,.transparent-header ion-header,.transparent-header ion-navbar{background:0 0!important;background-color:transparent!important}.transparent-header .header-md::after,.transparent-header .toolbar-background-ios{background-image:none;border-bottom:0}.transparent-header .footer-ios .toolbar-background-ios,.transparent-header .header-ios .toolbar-background-ios{border:0}#menu-right button{padding-left:16px}#menu-right ion-content{background:#00d2ff;background:-webkit-gradient(linear,right top,left top,from(#3a7bd5),to(#00d2ff));background:linear-gradient(to left,#3a7bd5,#00d2ff)}#menu-right .menu-inner{width:10vh}@media screen and (orientation:landscape){#menu-right .menu-inner{width:15vh}}#menu-right .active-menu-item{position:absolute;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid #fff}#menu-right .label{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#menu-right .list-ios[no-lines] .item .item-inner,#menu-right .list-ios[no-lines] .item-block,#menu-right .list-ios[no-lines] ion-item-options,#menu-right .list-md[no-lines] .item .item-inner,#menu-right .list-md[no-lines] .item-block,#menu-right .list-md[no-lines] ion-item-options{padding:.3rem 0;background:0 0;color:#fff}#menu-right ion-icon{line-height:1}.icon-badge{top:0;right:0;background:#e00201;color:#fff;font-size:12px;position:absolute;padding:5px 8px;border-radius:15px}#menu-avatar .user-avatar{max-width:125px;height:125px;padding:.5em}#menu-avatar .label,#menu-avatar h3{color:#fff;font-weight:700;font-size:14px}#menu-avatar .item{background:0 0}#menu-avatar ion-content{background:#649173;background:-webkit-gradient(linear,right top,left top,from(#dbd5a4),to(#649173));background:linear-gradient(to left,#dbd5a4,#649173)}#menu-avatar .menu-inner{background:rgba(255,255,255,.3)}#menu-material .scroll-content .name{font-weight:500;margin-top:0;margin-left:0;font-size:24px}#menu-material .scroll-content .e-mail{margin-top:0;margin-bottom:5px}#menu-material .user-avatar{max-width:125px;height:125px;padding:.5em;height:12vh}#menu-material .label,#menu-material h3{color:#111;font-weight:500}#menu-material .menu-inner{-webkit-box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important;box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)!important}#menu-material .menu-header{background-image:url(../assets/img/misc/sidemenubg.jpg);background-size:cover;color:#fff;padding-bottom:15px}#menu-material .item-md{background-color:rgba(255,255,255,.28)!important}#menu-material ion-icon{color:#111}#menu-dark .sidemenuHeader ion-toolbar .toolbar-background{background:#19152c;border:#19152c}#menu-dark .sidemenuHeader ion-toolbar ion-buttons button{color:#fff}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item{background:0 0;color:#fff}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar{background:#fff;color:#8835c3;border-radius:50%;text-align:center}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item ion-avatar h2{margin:0;font-size:25px;line-height:40px;color:#19152c}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item h2{font-size:12px;font-weight:400}#menu-dark .sidemenuHeader ion-toolbar .toolbar-content ion-item p{font-size:11px;font-weight:400;color:#fff}#menu-dark .menu{background:#19152c}#menu-dark .menu ion-list button{background:0 0;color:#c9c7d3;font-size:13px}#menu-dark .menu ion-list button .item-inner{border-bottom:1px solid #474456!important}#menu-dark .menu ion-list button .item-inner img{width:30px;height:30px;vertical-align:middle;margin-right:10px;margin-bottom:5px}page-auth .scroll-content{background-color:#eee}page-auth .mat-card{width:80%;margin-left:10%;margin-top:35%;border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-auth h4{font-weight:400}page-auth button.mat-primary{background-color:#e00201!important}page-auth .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-auth .rounded-circle{border-radius:50%!important}page-auth .img-fluid{max-width:40%;height:auto;margin-top:-70px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)}page-auth ion-icon{font-size:2.2em}page-googleplaytab .SwipedTabs-indicatorSegment{-webkit-transition:.2s all;transition:.2s all;-webkit-transform-origin:top 0 left 0;transform-origin:top 0 left 0;height:1px;position:relative;top:-2px;background-color:#00f!important}page-googleplaytab .SwipedTabs-tabs ion-segment-button{border:none!important;color:#111!important;background-color:#fff!important;padding-left:16px!important;padding-right:20px!important}page-googleplaytab .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab{color:#00f!important}page-googleplaytab .SwipedTabs-tabs{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}page-googleplaytab .toolbar *{margin:0!important}page-googleplaytab .tabsContent .scroll-content{overflow-x:scroll!important}page-googleplaytab .tabsContent{height:50px!important}page-googleplaytab .segment-button{max-width:initial!important;-webkit-box-flex:1!important;-webkit-flex:auto!important;-ms-flex:auto!important;flex:auto!important;width:initial!important}page-googleplaytab .segment-md .segment-button{font-size:2rem}page-googleplaytab .scroll-content{background-color:#eee!important}page-googleplaytab .grid{padding:0}page-googleplaytab h1{margin:2px 0;font-size:2.2rem!important}page-googleplaytab .scroll-content{background-color:#eee!important;padding:0!important}page-googleplaytab .mat-card{-webkit-box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(156,39,176,.6)!important;box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(156,39,176,.6)!important;margin-bottom:3px}page-googleplaytab h2{font-size:2rem;font-weight:400}page-input .example-form{min-width:150px;max-width:500px;width:100%}page-input .example-full-width{width:100%}page-input .cusicon{padding-top:36px;font-size:23px;color:#3272b2}page-input mat-grid-tile{background:#fff!important}page-input .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-input .box{-webkit-box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(50,114,178,.59)!important;box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(50,114,178,.59)!important}page-input .scroll-content{background-color:#eee!important}page-input .mat-card{padding:7px 16px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-input *{font-size:14px}page-input .mat-card-title{margin-bottom:0}page-input .button-md-primary{background-color:#e00201!important;margin-bottom:0!important;height:50px}page-input .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-input .fab-md-optblue{-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-input ion-footer{position:absolute}page-input .cardinfo{font-size:19px!important;padding-bottom:30px!important}page-input .schdul{border-radius:5px;color:red;padding-bottom:20px}page-input ion-input{color:red;background-color:#d3d3d3;padding-left:10px;font-weight:700}page-input ion-label{font-weight:700}page-input .input-cover{position:static}page-input .leaveDays{color:red}page-bounced-reject .scroll-content{background-color:#eee!important}page-bounced-reject .mat-card{padding:7px 16px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;border-radius:10px}page-login .scroll-content{background-image:url(../assets/img/misc/login.jpg);background-size:cover}page-login .form{margin:22px;font:inherit;color:inherit}page-login .mat-card{margin-top:50%;background-color:rgba(255,255,255,.57);border-radius:10px}page-login .login-session{margin-top:50%}page-login img{height:70px!important}page-login *{font-size:25px!important}page-login button.mat-primary{background-color:#e00201!important}page-login .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-otp .scroll-content{background-color:#eee}page-otp .mat-card{width:80%;margin-left:10%;margin-top:35%;border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-otp h4{font-weight:400}page-otp button.mat-primary{background-color:#e00201!important}page-otp .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-otp .rounded-circle{border-radius:50%!important;background-image:url(../assets/img/misc/avatar.jpg)}page-otp .img-fluid{max-width:40%;height:auto;margin-top:-70px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)}page-otp ion-icon{font-size:2.2em}page-password .scroll-content{background-color:#eee}page-password .mat-card{width:80%;margin-left:10%;margin-top:35%;border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-password h4{font-weight:400}page-password button.mat-primary{background-color:#dd4437!important}page-password .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-password .rounded-circle{border-radius:50%!important;background-image:url(../assets/img/misc/avatar.jpg)}page-password .img-fluid{max-width:40%;height:auto;margin-top:-70px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)}page-password ion-icon{font-size:2.2em}page-pd-allocation mat-grid-tile{background:#fff!important}page-pd-allocation .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-pd-allocation .scroll-content{background-color:#eee!important;padding:0!important}page-pd-allocation *{font-size:14px}page-pd-allocation .mat-card-title{margin-bottom:0}page-pd-allocation .lettericon{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-pd-allocation .mat-card-header-text{margin:0}page-pd-allocation .mat-card-subtitle{margin-bottom:0}page-pd-allocation .mat-card-content>:last-child:not(.mat-card-footer){margin-top:0}page-pd-allocation p{margin-top:0!important;margin-left:5%!important}page-pd-allocation h2{margin:1px!important}page-pd-allocation .mat-card{border-radius:10px}page-pd-list mat-grid-tile{background:#fff!important}page-pd-list .grid{padding:0}page-pd-list .scroll-content{padding:0!important}page-pd-list .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-pd-list .scroll-content{padding:0!important}page-pd-list .mat-card{padding:0!important;-webkit-box-shadow:none!important;box-shadow:none!important}page-pd-list *{font-size:10px}page-pd-list .mat-card-title{margin-bottom:0}page-pd-list .list-md{margin:0}page-pd-list .lettericon{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-pd-list .label-md{margin:0}page-pd-list .item-md h4{font-size:1.7rem}page-pd-list .item-md ion-icon[item-start]+.item-inner{margin-left:0}page-pd-list .mat-raised-button{border-radius:30px;padding:19px 45px;line-height:0;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-list .button-md-primary{margin-bottom:0!important;height:50px}page-pd-list ion-fab[middle]{top:17%!important}page-pd-list .fab-md-optblue{-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-list ion-footer{position:absolute}page-pd-list ion-slide.swiper-slide{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}page-pd-list ion-slides{height:auto}page-pd-question .SwipedTabs-indicatorSegment{-webkit-transition:.2s all;transition:.2s all;-webkit-transform-origin:top 0 left 0;transform-origin:top 0 left 0;height:1px;position:relative;top:-2px;background-color:#00f!important}page-pd-question .SwipedTabs-tabs ion-segment-button{border:none!important;color:#111!important;background-color:#fff!important;padding-left:16px!important;padding-right:20px!important}page-pd-question .SwipedTabs-tabs ion-segment-button.SwipedTabs-activeTab{color:#00f!important}page-pd-question .SwipedTabs-tabs{width:-webkit-fit-content!important;width:-moz-fit-content!important;width:fit-content!important}page-pd-question .toolbar *{margin:0!important}page-pd-question .tabsContent .scroll-content{overflow-x:scroll!important}page-pd-question .tabsContent{height:50px!important}page-pd-question .segment-button{max-width:initial!important;-webkit-box-flex:1!important;-webkit-flex:auto!important;-ms-flex:auto!important;flex:auto!important;width:initial!important}page-pd-question .segment-md .segment-button{font-size:2rem}page-pd-question .scroll-content{background-color:#fff!important}page-pd-question .mat-card1{margin-bottom:5px}page-pd-question ion-scroll{position:inherit!important}page-pd-question .button-md{padding:25px 0 25px 0!important}page-pd-question-category mat-grid-tile{background:#fff!important}page-pd-question-category .fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn;-webkit-animation-duration:15s;animation-duration:15s;-webkit-transition:all .5s cubic-bezier(.36,-.64,.34,1.76);transition:all .5s cubic-bezier(.36,-.64,.34,1.76)}@font-face{src:url(../../assets/fonts/Roboto-Bold.ttf)!important}page-pd-question-category .grid{padding:0}page-pd-question-category h1{margin:2px 0;font-size:2.2rem!important}page-pd-question-category .scroll-content{background-color:#eee!important;padding:0!important}page-pd-question-category .mat-card{padding:0!important;-webkit-box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(0,0,0,.2);box-shadow:0 5px 20px 0 rgba(0,0,0,.2),0 13px 24px -11px rgba(0,0,0,.2)}page-pd-question-category *{font-size:16px}page-pd-question-category .mat-card-title{margin-bottom:0}page-pd-question-category .list-md{margin:0}page-pd-question-category .lettericon{background-color:#5f9ea0;padding:10px 15px 10px 15px;border-radius:50%;color:#fff}page-pd-question-category .label-md{margin:0}page-pd-question-category .item-md h4{font-size:1.7rem}page-pd-question-category .item-md ion-icon[item-start]+.item-inner{margin-left:0}page-pd-question-category .button-md-primary{margin-bottom:0!important;height:50px}page-pd-question-address .scroll-content{background-color:#eee}page-pd-question-address .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-address .mat-card-content{margin-bottom:0!important}page-pd-question-assessed-daily-sales .input-cover{position:static}page-pd-question-assessed-dash .mat-card{border-radius:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assessed-dash .htag{font-size:1.5rem;margin-top:0}page-pd-question-assessed-dash .ion-icon-custome{font-size:2.8em;color:#e00201}page-pd-question-assessed-dash .item-ribbon{background-color:#fff;position:relative;-webkit-filter:none;filter:none;opacity:1}page-pd-question-assessed-dash .item-ribbon .ribbon{position:absolute;right:-5px;top:-5px;z-index:2;overflow:hidden;width:75px;height:75px;text-align:right}page-pd-question-assessed-dash .item-ribbon .ribbon span{font-size:1rem;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;transform:rotate(45deg);-webkit-transform:rotate(45deg);width:100px;display:block;background:#f53d3d;position:absolute;top:19px;right:-21px}page-pd-question-assessed-dash .item-ribbon .ribbon span::before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #f53d3d;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-assessed-dash .item-ribbon .ribbon span::after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #f53d3d;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-assessed-dash .ribbon.cruzeiro span{color:#fff;background:#20c127}page-pd-question-assessed-dash .ribbon.cruzeiro span::before{border-left:3px solid #20c127;border-top:3px solid #20c127}page-pd-question-assessed-dash .ribbon.cruzeiro span::after{border-right:3px solid #20c127;border-top:3px solid #20c127}page-pd-question-assessed-dash .ribbon.default span{color:#fff;background:#f53d3d}page-pd-question-assessed-dash .ribbon.default span::before{border-left:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-assessed-dash .ribbon.default span::after{border-right:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-assessed-info .scroll-content{background-color:none}page-pd-question-assessed-info ion-scroll.scroll-y .scroll-content{width:100%;height:200px}page-pd-question-assessed-info .mat-form-field-label{white-space:normal}page-pd-question-assessed-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-assessed-summary .val{font-weight:700}page-pd-question-assessed-summary .l_cons{color:#2e8b57;font-weight:700}page-pd-question-assessed-summary .mat-card{border-radius:10px;margin-bottom:15px}page-pd-question-assessed-summary .scroll-content{background-color:#eee}page-pd-question-assessed-summary .mat-expansion-panel-header{padding:30px}page-pd-question-assests .scroll-content{padding:16px}page-pd-question-assests .scroll-content{background-color:#eee}page-pd-question-assests .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-assests .mat-card-content{margin-bottom:0!important}page-pd-question-banking .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-banking .mat-card-content{margin-bottom:0!important}page-pd-question-banking .scroll-content{background-color:#eee}page-pd-question-business-group .mat-expansion-panel{margin-bottom:10px!important;background-color:#e14533!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-group .mat-expansion-panel-header-title{color:#fff!important}page-pd-question-business-group .mat-card{margin-bottom:10px;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;padding:3px 10px!important}page-pd-question-business-group .item-ribbon{background-color:#fff;position:relative;-webkit-filter:none;filter:none;opacity:1}page-pd-question-business-group .item-ribbon .ribbon{position:absolute;right:-5px;top:-5px;z-index:2;overflow:hidden;width:75px;height:75px;text-align:right}page-pd-question-business-group .item-ribbon .ribbon span{font-size:1rem;font-weight:700;color:#fff;text-transform:uppercase;text-align:center;line-height:20px;transform:rotate(45deg);-webkit-transform:rotate(45deg);width:73px;display:block;background:#f53d3d;position:absolute;top:10px;right:-17px}page-pd-question-business-group .item-ribbon .ribbon span::before{content:"";position:absolute;left:0;top:100%;z-index:-1;border-left:3px solid #f53d3d;border-right:3px solid transparent;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-business-group .item-ribbon .ribbon span::after{content:"";position:absolute;right:0;top:100%;z-index:-1;border-left:3px solid transparent;border-right:3px solid #f53d3d;border-bottom:3px solid transparent;border-top:3px solid #f53d3d}page-pd-question-business-group .ribbon.answered span{color:#fff;background:green}page-pd-question-business-group .ribbon.answered span::before{border-left:3px solid green;border-top:3px solid green}page-pd-question-business-group .ribbon.answered span::after{border-right:3px solid green;border-top:3px solid green}page-pd-question-business-group .ribbon.notanswered span{color:#fff;background:#f53d3d}page-pd-question-business-group .ribbon.notanswered span::before{border-left:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-business-group .ribbon.notanswered span::after{border-right:3px solid #f53d3d;border-top:3px solid #f53d3d}page-pd-question-business-group .ribbon.javascript span{color:#000;background:#f7e023}page-pd-question-business-group .ribbon.javascript span::before{border-left:3px solid #f7e023;border-top:3px solid #f7e023}page-pd-question-business-group .ribbon.javascript span::after{border-right:3px solid #f7e023;border-top:3px solid #f7e023}page-pd-question-business-assets mat-form-field{width:100%}page-pd-question-business-assets .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-assets .mat-card-content{margin-bottom:0!important}page-pd-question-business-assets .scroll-content{background-color:#eee}page-pd-question-business-banking .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-banking .mat-card-content{margin-bottom:0!important}page-pd-question-business-banking .accordion{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-banking .scroll-content{background-color:#eee}page-pd-question-business-info mat-form-field{width:100%}page-pd-question-business-info mat-card-title{font-weight:700;font-size:18px}page-pd-question-business-info mat-card-header{font-weight:700;font-size:18px}page-pd-question-business-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-business-info .mat-card-content{margin-bottom:0!important}page-pd-question-business-info .scroll-content{background-color:#eee}page-pd-question-business-info mat-radio-button{padding:0 5px 0 5px}page-pd-question-business-info .mat-radio-button.mat-accent .mat-radio-inner-circle{background-color:#673ab7}page-pd-question-business-info .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#673ab7}page-pd-question-business-info .ses{padding-top:10px}page-pd-question-client-info mat-hint{font-size:12px}page-pd-question-client-info .scroll-content{background-color:#eee}page-pd-question-client-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-client-info .mat-card-content{margin-bottom:0!important}page-pd-question-financial-info mat-form-field{width:100%}page-pd-question-financial-info .info>span{bottom:20px;margin-left:10px;font-size:13px}page-pd-question-financial-info b,page-pd-question-financial-info i{font-size:12px}page-pd-question-financial-info .greenhighlight{color:green;background-color:#fff}page-pd-question-financial-info .highlight{color:red;background-color:#fff}page-pd-question-financial-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-financial-info .mat-card-content{margin-bottom:0!important}page-pd-question-financial-info .scroll-content{background-color:#eee}page-pd-question-financial-info .large{height:50px}page-pd-question-financial-info .mat-form-field-label{white-space:normal}page-pd-question-financial-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-financial-info .mat-input-placeholder{white-space:normal}page-pd-question-stock-info mat-hint{font-size:12px}page-pd-question-stock-info .scroll-content{background-color:#eee}page-pd-question-stock-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-stock-info .mat-card-content{margin-bottom:0!important}page-pd-question-stock-info .mat-form-field-label{white-space:normal}page-pd-question-stock-info textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-stock-info .mat-input-placeholder{white-space:normal}page-pd-question-stock-info mat-select{margin:5px 0}page-pd-question-supplier-info mat-hint{font-size:12px}page-pd-question-supplier-info .scroll-content{background-color:#eee}page-pd-question-supplier-info .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-supplier-info .mat-card-content{margin-bottom:0!important}page-pd-question-current-loans mat-form-field{width:100%}page-pd-question-current-loans mat-hint{font-size:11px}page-pd-question-current-loans .scroll-content{background-color:#eee}page-pd-question-current-loans .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-current-loans .mat-card-content{margin-bottom:0!important}page-pd-question-emp-info mat-hint{font-size:11px}page-pd-question-emp-info mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-emp-info .mat-card-content{margin-bottom:0!important}page-pd-question-emp-info .scroll-content{background-color:#eee}page-pd-question-family mat-form-field{width:100%}page-pd-question-family .scroll-content{background-color:#eee}page-pd-question-family .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-family .mat-card-content{margin-bottom:0!important}page-pd-question-family h4{font-size:120%}page-pd-question-final-remark mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-final-remark mat-form-field{width:100%}page-pd-question-final-remark .scroll-content{background-color:#eee}page-pd-question-final-remark .mat-form-field-label{white-space:normal}page-pd-question-final-remark textarea.mat-input-element{padding:0 0;margin:10px 0}page-pd-question-final-remark .mat-input-placeholder{white-space:normal}page-pd-question-final-remark mat-placeholder{font-size:15px}page-pd-question-final-remark input-placeholder{margin:10px}page-pd-question-final-remark mat-select{margin:5px 0}page-pd-question-general-info .item-md{padding-left:0!important}page-pd-question-general-info .scroll-content{padding:6px!important;background-color:#eee}page-pd-question-general-info .button-large-md{height:20px!important;padding:0!important}page-pd-question-general-info .mat-card{margin-bottom:10px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-general-info .label-md{margin:10px 0 10px 0!important}page-pd-question-general-info ion-toggle{zoom:.8}page-pd-question-lender-representative mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-lender-representative .scroll-content{background-color:#eee}page-pd-question-loans mat-hint{font-size:12px}page-pd-question-loans .scroll-content{background-color:#eee}page-pd-question-loans .mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-loans .mat-card-content{margin-bottom:0!important}page-pd-question-neighbour-hood mat-form-field{width:100%}page-pd-question-neighbour-hood mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-neighbour-hood mat-hint{font-size:11px}page-pd-question-neighbour-hood .scroll-content{background-color:#eee}page-pd-question-neighbour-hood .mat-form-field-label{white-space:normal}page-pd-question-neighbour-hood textarea.mat-input-element{padding:0 0;margin:5px 0}page-pd-question-neighbour-hood .mat-input-placeholder{white-space:normal}page-pd-question-neighbour-hood mat-select{margin:5px 0}page-pd-question-other-income mat-form-field{width:100%}page-pd-question-other-income mat-hint{font-size:11px}page-pd-question-other-income mat-card{margin-bottom:15px;border-radius:10px!important;-webkit-box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important;box-shadow:0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2)!important}page-pd-question-other-income .mat-card-content{margin-bottom:0!important}page-pd-question-other-income .scroll-content{background-color:#eee}page-pd-question-rental-info .button-md{padding:0 2.9em!important} \ No newline at end of file diff --git a/platforms/android/app/build/intermediates/assets/debug/www/build/main.js b/platforms/android/app/build/intermediates/assets/debug/www/build/main.js index 2dcd406c..aeb7b2ef 100644 --- a/platforms/android/app/build/intermediates/assets/debug/www/build/main.js +++ b/platforms/android/app/build/intermediates/assets/debug/www/build/main.js @@ -1,16960 +1 @@ -webpackJsonp([0],{ - -/***/ 10: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return QuestionCategoryProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the QuestionCategoryProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var QuestionCategoryProvider = (function () { - function QuestionCategoryProvider(http, constant) { - this.http = http; - this.constant = constant; - console.log('Hello QuestionCategoryProvider Provider'); - this.apiurl = constant.apiurl(); - } - QuestionCategoryProvider.prototype.getLoadTemplate = function (pdid) { - return this.http.get(this.apiurl + 'loadFullTemplate?pd_id=' + pdid); - }; - QuestionCategoryProvider.prototype.saveQusetion = function (saveData) { - var records = { 'records': [saveData] }; - return this.http.post(this.apiurl + 'savePDQuestions', records); - }; - QuestionCategoryProvider.prototype.getAnswerTemplate = function (qustDetails) { - return this.http.post(this.apiurl + 'getAnswersForPD', qustDetails); - }; - /*** - * Get PD Questions dropdown api - * sriram - */ - QuestionCategoryProvider.prototype.getcommondrop = function (tableName) { - var masters = { 'master_name': tableName }; - return this.http.post(this.apiurl + 'getListOfMaster', masters); - }; - QuestionCategoryProvider.prototype.saveForm = function (records) { - var record = { 'records': records }; - return this.http.post(this.apiurl + 'savePDFormDetails', record); - }; - QuestionCategoryProvider.prototype.retiverForm = function (records) { - return this.http.post(this.apiurl + 'getPDFormDetails', records); - }; - /**Assessed Form Details API */ - QuestionCategoryProvider.prototype.saveassessedForms = function (api, saveData) { - return this.http.post(this.apiurl + api, saveData); - }; - QuestionCategoryProvider.prototype.retiverassessedForm = function (api, records) { - return this.http.post(this.apiurl + api, records); - }; - QuestionCategoryProvider.prototype.updatePdApplicant = function (editData) { - // editData.fk_updatedby = this._aws.getlocale(); - // editData.updatedon = currentdate; - return this.http.post(this.apiurl + "updatePDApplicants", { "pd_applicant_details": editData }); - }; - QuestionCategoryProvider.prototype.getEndUseForLoan = function (pdid, subproduct) { - return this.http.post(this.apiurl + "getEndUseOfLoan", { "records": { "pd_id": pdid, "sub_product_id": subproduct } }); - }; - QuestionCategoryProvider.prototype.getCompaniesListsForBusiness = function (pdid) { - return this.http.post(this.apiurl + "getCompaniesListsForBusiness", { "records": { "pd_id": pdid } }); - }; - QuestionCategoryProvider.prototype.getStateWiseCities = function (stateid) { - return this.http.post(this.apiurl + "getListOfStatesAndCities", { "records": { "state_id": stateid } }); - }; - QuestionCategoryProvider.prototype.getAllPersonsName = function (pdid) { - return this.http.post(this.apiurl + "getAllPersonsName", { "pd_id": pdid }); - }; - QuestionCategoryProvider.prototype.getStateCityDetails = function () { - return this.http.post(this.apiurl + "getListOfStatesCities", ""); - }; - QuestionCategoryProvider.prototype.getAssetsWithLoanFromBusiness = function (pdid) { - return this.http.post(this.apiurl + "getAssetsWithLoanFromBusiness", { "pd_id": pdid }); - }; - QuestionCategoryProvider.prototype.getTypeofActivityForSuppliedInfoForm = function (pd_id, company_id) { - return this.http.post(this.apiurl + "getTypeOfActivetyFromBusinessForm", { "records": { "pd_id": pd_id, "company_id": company_id } }); - }; - /** For Stock Details - * To Get The Products With TypeofActivity From Business - **/ - QuestionCategoryProvider.prototype.stockFormAccess = function (pdid, companyid) { - // { "pd_id":"104","company_id":"1"} - return this.http.post(this.apiurl + "getProductsFromBusiness", { "pd_id": pdid, "company_id": companyid }); - }; - /*****Save Images */ - QuestionCategoryProvider.prototype.savePDImages = function (imagesDetails) { - var record = { 'records': imagesDetails }; - return this.http.post(this.apiurl + 'savePDPhotos', record); - }; - QuestionCategoryProvider.prototype.getFamilyDetails = function (pdid) { - return this.http.post(this.apiurl + 'getFamilyDetails', { "pd_id": pdid }); - }; - QuestionCategoryProvider.prototype.getAddressDetails = function (pdid) { - return this.http.post(this.apiurl + 'getPDAddress', { 'pd_id': pdid }); - }; - QuestionCategoryProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__constants_constants__["a" /* ConstantsProvider */]]) - ], QuestionCategoryProvider); - return QuestionCategoryProvider; -}()); - -//# sourceMappingURL=question-category.js.map - -/***/ }), - -/***/ 123: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionCategoryPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_cognito_service__ = __webpack_require__(69); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pd_question_pd_question__ = __webpack_require__(360); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pd_list_pd_list__ = __webpack_require__(76); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pd_question_pd_question_address_pd_question_address__ = __webpack_require__(362); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pd_question_pd_question_emp_info_pd_question_emp_info__ = __webpack_require__(363); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pd_question_pd_question_current_loans_pd_question_current_loans__ = __webpack_require__(364); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__pd_question_pd_question_loans_pd_question_loans__ = __webpack_require__(365); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__pd_question_pd_question_banking_pd_question_banking__ = __webpack_require__(366); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__pd_question_pd_question_family_pd_question_family__ = __webpack_require__(367); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__pd_question_pd_question_assests_pd_question_assests__ = __webpack_require__(368); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pd_question_pd_question_other_income_pd_question_other_income__ = __webpack_require__(369); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(200); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__pd_question_pd_question_personal_info_pd_question_personal_info__ = __webpack_require__(370); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(201); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(202); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(203); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__pd_question_pd_question_rental_info_pd_question_rental_info__ = __webpack_require__(371); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__pd_question_pd_question_assessed_dash_pd_question_assessed_dash__ = __webpack_require__(372); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__pd_question_pd_question_lender_representative_pd_question_lender_representative__ = __webpack_require__(380); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__pd_question_pd_question_general_info_pd_question_general_info__ = __webpack_require__(381); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__ = __webpack_require__(384); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__pd_question_pd_question_final_remark_pd_question_final_remark__ = __webpack_require__(385); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__pd_question_pd_question_business_group_pd_question_business_group__ = __webpack_require__(386); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -/** - * Generated class for the PdQuestionCategoryPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var currentdate = new Date().toJSON().slice(0, 19).replace('T', ' '); -var PdQuestionCategoryPage = (function () { - function PdQuestionCategoryPage(navCtrl, navParams, templateget, aws, shared, toast, pdstatusprovide) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.templateget = templateget; - this.aws = aws; - this.shared = shared; - this.toast = toast; - this.pdstatusprovide = pdstatusprovide; - this.bgColortempForm = []; - this.bgColorqustCat = []; - this.questionCateAccess = null; - this.questionfinishedList = []; - this.overallqustioncountAccess = true; - this.pddetails = this.navParams.get('pdDetails'); - } - PdQuestionCategoryPage.prototype.ionViewCanEnter = function () { - this.getcategoryList(); - }; - // doughuntChart() - // { - // this.doughnutChart = new Chart(this.doughnutCanvas.nativeElement, { - // type: 'doughnut', - // data: { - // // labels: ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"], - // datasets: [{ - // label: '# of Votes', - // data: [12], - // backgroundColor: [ - // // 'rgba(255, 99, 132, 0.2)', - // 'rgba(54, 162, 235, 0.2)', - // // 'rgba(255, 206, 86, 0.2)', - // // 'rgba(75, 192, 192, 0.2)', - // // 'rgba(153, 102, 255, 0.2)', - // // 'rgba(255, 159, 64, 0.2)' - // ], - // hoverBackgroundColor: [ - // "#FF6384", - // "#36A2EB", - // "#FFCE56", - // "#FF6384", - // "#36A2EB", - // "#FFCE56" - // ] - // }] - // } - // }); - // } - PdQuestionCategoryPage.prototype.ionViewDidLoad = function () { - this.shared.refresh(); - //this.doughuntChart(); - console.log('ionViewDidLoad PdQuestionCategoryPage'); - }; - PdQuestionCategoryPage.prototype.getcategoryList = function () { - var _this = this; - var j = 1; - this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(function (res) { - _this.questionCate = res; - if (_this.questionCate.dataStatus == true) { - _this.questionCate = _this.questionCate.records; - _this.random_ng_past(); - if (_this.questionCate.question_answers != '' && _this.questionCate.template_forms != '') { - _this.questionCateAccess = true; - _this.templateAccess = true; - _this.questionCate = _this.questionCate; - _this.searchQuestion = _this.questionCate.question_answers; - if (_this.questionCate.counts.overall_answered_count != 0 && _this.questionCate.counts.overall_question_count != 0 && _this.questionCate.counts.overall_answered_count == _this.questionCate.counts.overall_question_count) { - _this.overallqustioncountAccess = false; - } - else { - _this.overallqustioncountAccess = true; - } - } - else if (_this.questionCate.template_forms != '') { - _this.templateAccess = true; - _this.questionCate = _this.questionCate; - _this.searchTempForm = _this.questionCate.template_forms; - // if(this.questionCate.counts.overall_answered_count !=0 && this.questionCate.counts.overall_question_count !=0 && this.questionCate.counts.overall_answered_count == this.questionCate.counts.overall_question_count) - // { - // this.overallqustioncountAccess = false; - // }else - // { - // this.overallqustioncountAccess = true; - // } - } - else { - _this.questionCateAccess = false; - _this.templateAccess = false; - _this.questionCate = "No Template Available"; - } - } - }); - }; - PdQuestionCategoryPage.prototype.random_ng_past = function () { - for (var _i = 0, _a = this.questionCate.question_answers; _i < _a.length; _i++) { - var id = _a[_i]; - var a = Math.floor(Math.random() * 256); - var b = Math.floor(Math.random() * 256); - var c = Math.floor(Math.random() * 256); - this.bgColorqustCat.push("rgb(" + a + "," + b + "," + c + ")"); - } - for (var _b = 0, _c = this.questionCate.template_forms; _b < _c.length; _b++) { - var id = _c[_b]; - var x = Math.floor(Math.random() * 256); - var y = Math.floor(Math.random() * 256); - var z = Math.floor(Math.random() * 256); - this.bgColortempForm.push("rgb(" + x + "," + y + "," + z + ")"); - } - }; - PdQuestionCategoryPage.prototype.questionsTag = function (categroyId) { - this.pdinfo = this.pddetails; - this.questionCate = this.questionCate.question_answers.filter(function (cate) { return cate.fk_question_category_id == categroyId; })[0]; - // if(this.questionCate.questions.length !="0"){ - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__pd_question_pd_question__["a" /* PdQuestionPage */], { 'questionDetails': this.questionCate, 'pdDetails': this.pdinfo }); - // }else - // { - // this.getcategoryList(); - // this.toast.pdTriggerappmessage('No Question Available'); - // } - }; - PdQuestionCategoryPage.prototype.tempQustionTag = function (categroyId) { - this.pdinfo = this.pddetails; - var formName = this.questionCate.template_forms.filter(function (temp) { return temp.form_id == categroyId; })[0]; - if (categroyId == 5) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 12) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 10) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_12__pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 8) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 13) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_28__pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 7) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_13__pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 6) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_14__pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 4) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_15__pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 9) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_16__pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 1) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_17__pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 3) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_18__pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 11) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_19__pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 14) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_20__pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 2) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_21__pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 17) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_22__pd_question_pd_question_rental_info_pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 16) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_23__pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 15) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_24__pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 18) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_25__pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 19) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_26__pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - else if (categroyId == 20) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_27__pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], { 'FormId': formName, 'pdDetails': this.pdinfo }); - } - }; - PdQuestionCategoryPage.prototype.filter = function (view) { - if (!view) { - this.viewchange = true; - } - else { - this.viewchange = false; - } - //alert(this.viewchange); - }; - PdQuestionCategoryPage.prototype.pdlistsearch = function (searchbar) { - // this.questionCate = this.searchQuestion; - // this.questionCate.template_forms = this.searchTempForm; - // reset countries list with initial call - //this.pdinprogress = this.countriesInitial; - // set q to the value of the searchbar - var q = searchbar.target.value; - // if the value is an empty string don't filter the items - if (this.searchQuestion !== undefined) { - if (q.trim() == '') { - return; - } - else { - // this.questionCate.question_answers = this.searchQuestion.filter((v) => { - // if (v.category_name.toLowerCase().indexOf(q.toLowerCase())>-1) { - // return true; - // } - // }) - } - } - else { - if (q.trim() == '') { - return; - } - else { - // this.questionCate.template_forms = this.searchTempForm.filter((v) => { - // if (v.form_name.toLowerCase().indexOf(q.toLowerCase())>-1) { - // return true; - // } - // }) - } - } - }; - PdQuestionCategoryPage.prototype.completed = function () { - var _this = this; - var users = this.aws.getlocale(); - var data = { 'pd_id': this.questionCate.pdmaster_details.pd_id, 'pd_status': 'COMPLETED', 'fk_updatedby': users, 'updatedon': currentdate }; - this.pdstatusprovide.updatepdStatus(data).subscribe(function (res) { - _this.completedAccess = res; - if (_this.completedAccess.dataStatus == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_8__pd_list_pd_list__["a" /* PdListPage */]); - } - }); - }; - PdQuestionCategoryPage.prototype.doRefresh = function (refresher) { - this.questionCate = []; - this.questionfinishedList = []; - this.shared.refresh(); - this.getcategoryList(); - setTimeout(function () { - refresher.complete(); - }, 2000); - }; - PdQuestionCategoryPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-category',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question-category\pd-question-category.html"*/'\n\n \n\n \n\n \n\n {{pddetails.applicant_name | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{category.category_name[0] | slice : 0 :1 | uppercase}}\n\n \n\n \n\n

{{category.category_name}}

\n\n

{{category.answerd_count}} / {{category.questions_count}} Questions

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{tempForm.form_name[0] | slice : 0 :1 | uppercase}}\n\n \n\n \n\n

{{tempForm.form_name}}

\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n
\n\n \n\n \n\n

{{questionCate}}

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question-category\pd-question-category.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */]]) - ], PdQuestionCategoryPage); - return PdQuestionCategoryPage; -}()); - -//# sourceMappingURL=pd-question-category.js.map - -/***/ }), - -/***/ 198: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return OtpPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_question_category_pd_question_category__ = __webpack_require__(123); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(22); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__ = __webpack_require__(204); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ionic_native_android_permissions__ = __webpack_require__(124); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - -/** - * Generated class for the OtpPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var OtpPage = (function () { - function OtpPage(navCtrl, navParams, pddetails, toast, Menu, commonconstant, aws, alertCtrl, qustCat, fb, geolocation, androidPermissions) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.pddetails = pddetails; - this.toast = toast; - this.Menu = Menu; - this.commonconstant = commonconstant; - this.aws = aws; - this.alertCtrl = alertCtrl; - this.qustCat = qustCat; - this.fb = fb; - this.geolocation = geolocation; - this.androidPermissions = androidPermissions; - this.timerOn = true; - this.otpStatusAccess = true; - this.maxtime = 30; - this.commonImage = this.commonconstant.commonimage; - this.applicatentDetails = this.navParams.get('pdDetails'); - this.reasonForm = this.fb.group({ - reason: [null, __WEBPACK_IMPORTED_MODULE_8__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_8__angular_forms__["m" /* Validators */].required])], - others_reason: [null], - }); - this.getDropdown(); - } - OtpPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad OtpPage'); - }; - OtpPage.prototype.ionViewDidEnter = function () { - //this.Menu.enable(false); - this.setPermission(); - this.timer(120); - }; - OtpPage.prototype.setPermission = function () { - var _this = this; - this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION); }); - this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); - this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION); }); - this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); - }; - OtpPage.prototype.ionViewWillLeave = function () { - //this.Menu.enable(true); - clearTimeout(this.timeLimit); - }; - OtpPage.prototype.getDropdown = function () { - var _this = this; - this.qustCat.getcommondrop('OTPREJECTION').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.reason_otp = res['records'].filter(function (otp) { return otp.isactive == 1; }); - console.log(_this.reason_otp); - } - }); - }; - OtpPage.prototype.checkotp = function (otp) { - var _this = this; - var data = { 'pd_id': this.applicatentDetails.pd_id, 'OTP': otp, 'fk_updatedby': this.users }; - this.pddetails.checkotp(data).subscribe(function (res) { - console.log("Otp", res); - _this.otpStatus = res; - if (_this.otpStatus.dataStatus == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': _this.applicatentDetails }); - } - else { - _this.toast.pdTriggerappmessage('Enter the Correct OTP'); - } - }); - }; - OtpPage.prototype.timer = function (remaining) { - var _this = this; - // console.log(remaining); - var m = Math.floor(remaining / 60); - var s = remaining % 60; - m = m < 10 ? '0' + m : m; - s = s < 10 ? '0' + s : s; - // var balance_time = m + ':' + s; - this.balance_time = m + ':' + s; - remaining -= 1; - // console.log(this.balance_time); - if (remaining >= 0 && this.timerOn) { - this.timeLimit = setTimeout(function () { - _this.timer(remaining); - }, 1000); - return; - } - if (!this.timerOn) { - // Do validate stuff here - return; - } - // Do timeout stuff here - this.users = this.aws.getlocale(); - var data; - var alert = this.alertCtrl.create({ - title: 'OTP Expired ', - message: 'Do you want sure resend OTP', - buttons: [ - { - text: 'OTP Without Start', - handler: function () { - _this.otpStatusAccess = false; - } - }, - { - text: 'Resend OTP', - handler: function () { - _this.geolocation.getCurrentPosition().then(function (resp) { - var currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; - data = { 'pd_id': _this.applicatentDetails.pd_id, 'pd_status': 'STARTED', 'mobile_no': _this.applicatentDetails.applicat_details[0].mobile_no, 'fk_updatedby': _this.users, 'link': currentPosPDofficer }; - console.log(data); - _this.pddetails.updatepdStatus(data).subscribe(function (res) { - _this.timer(60); - }); - }); - // console.log('Buy clicked'); - } - } - ] - }); - alert.present(); - }; - OtpPage.prototype.saveotpreasno = function () { - var _this = this; - console.log(this.reasonForm.value); - if (this.reasonForm.valid) { - var data = { 'pd_id': this.applicatentDetails.pd_id, 'reason': this.reasonForm.value.reason, 'other_reason': this.reasonForm.value.others_reason, 'fk_updatedby': this.users }; - this.pddetails.checkotp(data).subscribe(function (res) { - _this.otpStatus = res; - if (_this.otpStatus.dataStatus == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': _this.applicatentDetails }); - } - else { - // this.toast.pdTriggerappmessage('Enter the Correct OTP'); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter The All Field'); - } - }; - OtpPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-otp',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\otp\otp.html"*/'\n\n\n\n\n\n \n\n \n\n OTP Page\n\n Reason Page\n\n \n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

OTP

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

{{balance_time}}

\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

With out OTP Reason

\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{otp.rejection_reason}}\n\n \n\n \n\n {{reason}}\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\otp\otp.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["o" /* MenuController */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_7__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_8__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__["a" /* Geolocation */], __WEBPACK_IMPORTED_MODULE_10__ionic_native_android_permissions__["a" /* AndroidPermissions */]]) - ], OtpPage); - return OtpPage; -}()); - -//# sourceMappingURL=otp.js.map - -/***/ }), - -/***/ 199: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CameraProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_camera__ = __webpack_require__(361); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the CameraProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var CameraProvider = (function () { - function CameraProvider(http, camera) { - this.http = http; - this.camera = camera; - console.log('Hello CameraProvider Provider'); - } - CameraProvider.prototype.getpicture = function () { - var options = { - quality: 100, - destinationType: this.camera.DestinationType.DATA_URL, - targetWidth: 500, - targetHeight: 500, - correctOrientation: true - }; - // If set to crop, restricts the image to a square of 600 by 600 - return this.camera.getPicture(options).then(function (imageData) { - var base64Image = 'data:image/png;base64,' + imageData; - // console.log(base64Image); - return base64Image; - }, function (error) { - console.log('CAMERA ERROR -> ' + JSON.stringify(error)); - }); - }; - CameraProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_camera__["a" /* Camera */]]) - ], CameraProvider); - return CameraProvider; -}()); - -//# sourceMappingURL=camera.js.map - -/***/ }), - -/***/ 200: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionSupplierInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionSupplierInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionSupplierInfoPage = (function () { - function PdQuestionSupplierInfoPage(navCtrl, navParams, fb, aws, qustCat, toast) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.business_manufacturingProducts = []; - this.business_tradingProducts = []; - this.m_titleList = []; - this.m_paymentList = []; - this.m_companyRelationShipList = []; - this.noRecordsFound = false; - this.submitted = false; - this.errorMessage = ''; - this.serviceProviderForm = false; - this.manufacturingForm = false; - this.tradingForm = false; - this.mfgCreditCardFlag = false; - this.trdCreditCardFlag = false; - this.mfgCounter = []; - this.trdCounter = []; - this.questionDetails = this.navParams.get('questionDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.formDetails = this.navParams.get('formDetails'); - this.form_id = this.formDetails.form_id; - this.company_id = this.pdDetails.company_id; - this.users = this.aws.getlocale(); - this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id, this.company_id).subscribe(function (data) { - if (data.dataStatus) { - var datas_1 = data.records; - _this.initFormLoadDetails(datas_1.type_of_activity); - _this.business_manufacturingProducts = datas_1.type_of_activity.filter(function (data) { if (data.type_of_activity_id == 2) { - return data; - } }).map(function (data) { return data.prodcuts.slice(); }); - // this.business_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]); - var api = Object.keys(datas_1.type_of_activity).map(function (key) { - return datas_1.type_of_activity[key]; - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 3) { - if (val.prodcuts) { - _this.business_tradingProducts.push(val.prodcuts); - } - } - if (val.type_of_activity_id == 4) { - if (val.prodcuts) { - _this.business_tradingProducts.push(val.prodcuts); - } - } - }); - } - _this.business_tradingProducts = [].concat.apply([], _this.business_tradingProducts); - } - else { - _this.toast.pdTriggerappmessage('No Category Records Found.!'); - _this.noRecordsFound = false; - _this.errorMessage = data.msg; - } - }, function (err) { - _this.toast.pdTriggerappmessage('No Category Records Found.!'); - _this.noRecordsFound = false; - _this.errorMessage = 'No Records Found , Something went Wrong!'; - }); - this.getdropList(); - } - PdQuestionSupplierInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionSupplierInfoPage'); - }; - PdQuestionSupplierInfoPage.prototype.initFormLoadDetails = function (record) { - var _this = this; - var params = {}; - params.pd_id = this.pdDetails.pd_id; - params.pd_form_id = this.form_id; - params.company_id = this.company_id; - this.qustCat.retiverForm(params).subscribe(function (data) { - if (data['dataStatus'] == true) { - var dataForm = data['records']; - if (dataForm !== undefined) { - _this.supplierInfoForm = _this.fb.group({ - pdid: [_this.pdDetails.pd_id], - formid: [_this.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - supplier_info_form_remark: [dataForm.supplier_info_form_remark || null] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) { - // return dataForm.main_raw_materials[key]; - // }); - if (dataForm.manufacturing_details[0] != null) { - var api_main_raw_materials = dataForm.manufacturing_details[0].main_raw_materials; - _this.initManufacturingProductsDetails(api_main_raw_materials); - _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null); - } - else { - _this.initManufacturingProductsDetails(null); - _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - } - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) { - // return dataForm.trading_products[key]; - // }); - if (dataForm.trade_details[0] != null) { - var api_trading_products = dataForm.trade_details[0].trading_products; - _this.initTradingProductsDetails(api_trading_products); - _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trade_details[0].trading_products_total_payments_percent_on_credit || null); - } - else { - _this.initTradingProductsDetails(null); - _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); - } - } - _this.noRecordsFound = true; - } - else { - _this.supplierInfoForm = _this.fb.group({ - pdid: [_this.pdDetails.pd_id], - formid: [_this.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - supplier_info_form_remark: [dataForm.supplier_info_form_remark || null] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - _this.initManufacturingProductsDetails(null); - _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - _this.initTradingProductsDetails(null); - _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm.trading_products_total_payments_percent_on_credit || null); - } - _this.noRecordsFound = true; - } - var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2.length > 0) { - _this.serviceProviderForm = true; - } - } - else { - _this.supplierInfoForm = _this.fb.group({ - pdid: [_this.pdDetails.pd_id], - formid: [_this.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - supplier_info_form_remark: [] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - _this.initManufacturingProductsDetails(null); - _this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - _this.initTradingProductsDetails(null); - _this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); - } - var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2.length > 0) { - _this.serviceProviderForm = true; - } - _this.noRecordsFound = true; - } - }, function (err) { - }); - }; - PdQuestionSupplierInfoPage.prototype.manufacturingFormCreation = function (val) { - var arr = val.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - this.manufacturingForm = true; - return this.fb.group({ - main_raw_materials: this.fb.array([]), - main_raw_materials_total_payments_percent_on_credit: [] - }); - // } - } - else { - return; - } - }; - PdQuestionSupplierInfoPage.prototype.tradingFormCreation = function (val) { - var arr = val.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr.length > 0) { - this.tradingForm = true; - return this.fb.group({ - trading_products: this.fb.array([]), - trading_products_total_payments_percent_on_credit: [] - }); - } - else { - return; - } - }; - PdQuestionSupplierInfoPage.prototype.initManufacturingProductsDetails = function (datas) { - var _this = this; - var control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - if (datas === null) { - control.push(this.initManufacturingProducts(null)); - } - else { - datas.forEach(function (val, inx) { - _this.checkCard(val.manufacturing_payment_type, 1, inx); - control.push(_this.initManufacturingProducts(val)); - }); - } - }; - PdQuestionSupplierInfoPage.prototype.initManufacturingProducts = function (records) { - if (records === null) { - return this.fb.group({ - manufacturing_raw_material_name: [''], - manufacturing_supplier_name: [''], - person_title_name: [''], - person_designation: [''], - other_person_designation: [''], - manufacturing_contact_person_name: [''], - manufacturing_contact_person_mobile_number: [''], - //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)]) - manufacturing_payment_type: [''], - manufacturing_payment_mode: [''], - manufacturing_credit_days_from: [''], - manufacturing_credit_days_to: [''], - manufacturing_frequency_of_purchase: [''], - person_stdcode: [''], - //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) - person_landline: [''], - }); - } - else { - return this.fb.group({ - manufacturing_raw_material_name: [records.manufacturing_raw_material_name || null], - manufacturing_supplier_name: [records.manufacturing_supplier_name || null], - person_title_name: [records.person_title_name || null], - person_designation: [records.person_designation || null], - other_person_designation: [records.other_person_designation || null], - manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null], - manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null], - //Validators.compose([Validators.minLength(10),Validators.maxLength(10)])], - manufacturing_payment_type: [records.manufacturing_payment_type || null], - manufacturing_payment_mode: [records.manufacturing_payment_mode], - manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null], - manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null], - manufacturing_frequency_of_purchase: [records.manufacturing_frequency_of_purchase || null], - person_stdcode: [records.person_stdcode || null], - //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) - person_landline: [records.person_landline || null], - }); - } - }; - PdQuestionSupplierInfoPage.prototype.initTradingProductsDetails = function (datas) { - var _this = this; - var control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - if (datas === null) { - control.push(this.initTradingProducts(null)); - } - else { - datas.forEach(function (val, inx) { - _this.checkCard(val.trade_product_payment_type, 2, inx); - control.push(_this.initTradingProducts(val)); - }); - } - }; - PdQuestionSupplierInfoPage.prototype.initTradingProducts = function (records) { - if (records === null) { - return this.fb.group({ - trade_product_name: [''], - trade_supplier_name: [''], - person_title_name: [''], - person_designation: [''], - other_person_designation: [''], - trade_product_contact_person_name: [''], - trade_product_contact_person_mobile_number: [''], - //,Validators.compose([Validators.minLength(10),Validators.maxLength(10)]) - person_stdcode: [null], - //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) - person_landline: [null], - //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')]) - trade_product_payment_type: [''], - trade_product_payment_mode: [''], - trade_product_frequency_of_purchase: [''], - trade_product_credit_days_from: [''], - trade_product_credit_days_to: [''], - }); - } - else { - return this.fb.group({ - trade_product_name: [records.trade_product_name], - person_title_name: [records.person_title_name], - person_designation: [records.person_designation], - other_person_designation: [records.other_person_designation], - trade_supplier_name: [records.trade_supplier_name], - trade_product_contact_person_name: [records.trade_product_contact_person_name], - trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number], - //, Validators.compose([Validators.minLength(10),Validators.maxLength(10)]) - person_stdcode: [records.person_stdcode], - //, Validators.compose([Validators.minLength(3),Validators.maxLength(5),Validators.pattern('^[0-9]*$')]) - person_landline: [records.person_landline], - //, Validators.compose([Validators.minLength(6),Validators.maxLength(8),Validators.pattern('^[0-9]*$')]) - trade_product_payment_type: [records.trade_product_payment_type], - trade_product_payment_mode: [records.trade_product_payment_mode], - trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase], - trade_product_credit_days_from: [records.trade_product_credit_days_from], - trade_product_credit_days_to: [records.trade_product_credit_days_to], - }); - } - }; - PdQuestionSupplierInfoPage.prototype.addMoreRawMaterials = function (e) { - // e.stropPropagation(); - var control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - control.push(this.initManufacturingProducts(null)); - }; - PdQuestionSupplierInfoPage.prototype.removeRawMaterials = function (inx) { - var control = this.supplierInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - control.removeAt(inx); - }; - PdQuestionSupplierInfoPage.prototype.addMoretradeProduct = function (e) { - // e.stropPropagation(); - var control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - control.push(this.initTradingProducts(null)); - }; - PdQuestionSupplierInfoPage.prototype.removeTradingProduct = function (inx) { - var control = this.supplierInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - control.removeAt(inx); - }; - PdQuestionSupplierInfoPage.prototype.getdropList = function () { - var _this = this; - this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { - _this.m_companyRelationShipList = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('TITLES').subscribe(function (data) { - _this.m_titleList = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('PAYMENTMODE').subscribe(function (data) { - _this.m_paymentList = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - }; - PdQuestionSupplierInfoPage.prototype.saveSupplierInfo = function (FormValues) { - var _this = this; - var answerFormValues = FormValues; - Object.keys(answerFormValues).forEach(function (key) { return (answerFormValues[key] == null) && delete answerFormValues[key]; }); - this.qustCat.saveForm(answerFormValues).subscribe(function (responsed) { - if (responsed['status'] == 200) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); - } - }); - }; - PdQuestionSupplierInfoPage.prototype.selectedPersonDesignation = function (items, e, flag) { - if (flag == 1) { - e == 1 ? '' : ''; - // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required]) - // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); - // items.controls['other_person_designation'].updateValueAndValidity(); - } - else if (flag == 2) { - e == 1 ? '' : ''; - // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required]) - // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); - // items.controls['other_person_designation'].updateValueAndValidity(); - } - }; - PdQuestionSupplierInfoPage.prototype.checkCard = function (e, flag, index) { - if (flag == 2 && e == 3) { - this.trdCounter[index] = 1; - } - else if (flag == 2 && e != 3) { - this.trdCounter[index] = 0; - } - var TRD = this.trdCounter.reduce(function (sum, val) { return sum + +val; }, 0); - this.trdCreditCardFlag = TRD > 0 ? true : false; - if (flag == 1 && e == 3) { - this.mfgCounter[index] = 1; - } - else if (flag == 1 && e != 3) { - this.mfgCounter[index] = 0; - } - var MFG = this.mfgCounter.reduce(function (sum, val) { return sum + +val; }, 0); - this.mfgCreditCardFlag = MFG > 0 ? true : false; - }; - PdQuestionSupplierInfoPage.prototype.selectedPaymentTerms = function (items, e, flag) { - if (flag == 2) { - if (e == 3) { - // items.controls['trade_product_credit_days_from'].setValidators([Validators.required]); - // items.controls['trade_product_credit_days_to'].setValidators([Validators.required]); - } - else { - items.controls['trade_product_credit_days_from'].clearValidators(); - items.controls['trade_product_credit_days_from'].setValue(''); - items.controls['trade_product_credit_days_to'].clearValidators(); - items.controls['trade_product_credit_days_to'].setValue(''); - } - items.controls['trade_product_credit_days_from'].updateValueAndValidity(); - items.controls['trade_product_credit_days_to'].updateValueAndValidity(); - } - else if (flag == 1) { - if (e == 3) { - //items.controls['manufacturing_credit_days_to'].setValidators([Validators.required]); - } - else { - items.controls['manufacturing_credit_days_from'].clearValidators(); - items.controls['manufacturing_credit_days_from'].setValue(''); - items.controls['manufacturing_credit_days_to'].clearValidators(); - items.controls['manufacturing_credit_days_to'].setValue(''); - } - items.controls['manufacturing_credit_days_from'].updateValueAndValidity(); - items.controls['manufacturing_credit_days_to'].updateValueAndValidity(); - } - }; - PdQuestionSupplierInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-supplier-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-supplier-info\pd-question-supplier-info.html"*/'\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n
Manufacturing Product Details
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n Raw Material #{{l+1}}\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number.\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{ pm.name }}\n\n \n\n \n\n \n\n \n\n Payment made in Cash.\n\n Payment made through Banking\n\n channels.\n\n \n\n \n\n \n\n No.of days of Credit Provided by Supplier \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n\n\n \n\n
Trading Product Details
\n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n Trading Product #{{l+1}}\n\n \n\n
\n\n \n\n \n\n {{ tp.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number.\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{ pm.name }}\n\n \n\n \n\n \n\n \n\n Payment made in Cash.\n\n Payment made through Banking\n\n channels.\n\n \n\n \n\n \n\n No.of days of Credit Provided by Supplier \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n\n\n \n\n
Service Provider Product Details
\n\n
\n\n\n\n
Service Provider Details Not applicable here !!
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
{{ errorMessage }}
\n\n
\n\n
\n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-supplier-info\pd-question-supplier-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdQuestionSupplierInfoPage); - return PdQuestionSupplierInfoPage; -}()); - -//# sourceMappingURL=pd-question-supplier-info.js.map - -/***/ }), - -/***/ 201: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionStockInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionStockInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionStockInfoPage = (function () { - function PdQuestionStockInfoPage(navCtrl, navParams, qustCat, aws, toast, fb, constant) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.fb = fb; - this.constant = constant; - this.errorMessage = ''; - this.M_rawValueInWords = []; - this.M_goodsValueInWords = []; - this.R_tradedGoodsValueInWords = []; - this.T_tradedGoodsValueInWords = []; - this.mrmCommentFlag = []; - this.mfgCommentFlag = []; - this.rtrdCommentFlag = []; - this.wtrdCommentFlag = []; - this.serviceProviderForm = false; - this.suppliers_raw_materials = []; - this.suppliers_retail_trade_details = []; - this.suppliers_wholesale_trade_details = []; - this.suppliers_finished_goods = []; - this.manufacturingForm = false; - this.retailForm = false; - this.tradingForm = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.formDetails = this.navParams.get('formDetails'); - this.users = this.aws.getlocale(); - this.company_id = this.pdDetails.company_id; - this.pdid = this.pdDetails.pd_id; - this.qustCat.stockFormAccess(this.pdid, this.company_id).subscribe(function (data) { - if (data.dataStatus == true) { - _this.initstockForm(data.record); - } - else if (data.dataStatus == false) { - _this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + _this.company_id); - _this.noRecordsFound = false; - _this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + _this.company_id + '! ....'; - return; - } - else { - _this.toast.pdTriggerappmessage('Fill Business Form First! / No Company Found at this ID ' + _this.company_id); - _this.noRecordsFound = false; - _this.errorMessage = 'Fill Business Form First! / No Company Found at this ID' + _this.company_id + '! ....'; - return; - } - }, function (err) { - _this.toast.pdTriggerappmessage('Business Type Of Activity Not Available Please Check Business Information.!'); - _this.noRecordsFound = false; - _this.errorMessage = 'No Records Found , Something went Wrong!'; - }); - this.getdropdown(); - } - PdQuestionStockInfoPage.prototype.initstockForm = function (record) { - var _this = this; - var api = Object.keys(record.from_business).map(function (key) { - return record.from_business[key]; - }); - var type3 = record.from_business.filter(function (data) { return data.type_of_activity_id == 3; }); - var type3length = type3[0].hasOwnProperty("products") ? type3[0].products.length : 0; - var type4 = record.from_business.filter(function (data) { return data.type_of_activity_id == 4; }); - var type4length = type4[0].hasOwnProperty("products") ? type4[0].products.length : 0; - var rm_api = record.from_supplier; - var params = {}; - params.pd_id = this.pdid; - params.pd_form_id = this.formDetails.form_id; - params.company_id = this.company_id; - this.qustCat.retiverForm(params).subscribe(function (value) { - if (value['status'] == 200) { - var dataForm_1 = value['records']; - if (dataForm_1 !== undefined) { - _this.stockForm = _this.fb.group({ - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - stock_remarks: [dataForm_1.stock_remarks], - // is_sufficiant_raw:[dataForm.is_sufficiant_raw], - // rawmaterial_remarks:[dataForm.rawmaterial_remarks], - is_sufficiant_finished_and_traded_goods: [dataForm_1.is_sufficiant_finished_and_traded_goods], - finished_and_traded_goods_remarks: [dataForm_1.finished_and_traded_goods_remarks], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - retail_details: _this.fb.array([_this.retailFormCreation(type3length)]), - trade_details: _this.fb.array([_this.tradingFormCreation(type4length)]), - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 2) { - if (val.products) { - if (dataForm_1.manufacturing_details[0].manufacturing_finished_goods) { - _this.finishedAndTradedGoodsCommentCard = true; - } - var manufacturing_temparr = []; - manufacturing_temparr['manufacturing_raw_materials'] = dataForm_1.manufacturing_details[0].manufacturing_raw_materials; - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm_1.manufacturing_details[0].is_sufficiant_raw), - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm_1.manufacturing_details[0].rawmaterial_remarks); - manufacturing_temparr['manufacturing_finished_goods'] = dataForm_1.manufacturing_details[0].manufacturing_finished_goods; - _this.initManufacturingDetails(manufacturing_temparr); - } - } - if (val.type_of_activity_id == 3) { - if (val.products) { - _this.finishedAndTradedGoodsCommentCard = true; - var retail_temparr = []; - retail_temparr['retail_traded_goods'] = dataForm_1.retail_details[0].retail_traded_goods; - _this.initRetailDetails(retail_temparr); - } - } - if (val.type_of_activity_id == 4) { - if (val.products) { - _this.finishedAndTradedGoodsCommentCard = true; - var trading_temparr = []; - trading_temparr['trading_traded_goods'] = dataForm_1.trade_details[0].trading_traded_goods; - console.log("Trade", trading_temparr); - _this.initTradingDetails(trading_temparr); - } - } - if (val.type_of_activity_id == 5) { - if (val.products) { - _this.serviceProviderForm = true; - } - } - }); - _this.noRecordsFound = true; - } - } - else { - _this.stockForm = _this.fb.group({ - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - stock_remarks: [''], - // is_sufficiant_raw:[''], - // rawmaterial_remarks:[''], - is_sufficiant_finished_and_traded_goods: [''], - finished_and_traded_goods_remarks: [''], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - retail_details: _this.fb.array([_this.retailFormCreation(type3length)]), - trade_details: _this.fb.array([_this.tradingFormCreation(type4length)]), - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 2) { - if (val.products) { - _this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_finished_goods = val.products; - _this.initManufacturingDetails(null); - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(dataForm_1.manufacturing_details[0].is_sufficiant_raw.value || null), - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(dataForm_1.manufacturing_details[0].rawmaterial_remarks || null); - } - } - if (val.type_of_activity_id == 3) { - if (val.products) { - _this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_retail_trade_details = val.products; - _this.initRetailDetails(null); - } - } - if (val.type_of_activity_id == 4) { - if (val.products) { - _this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_wholesale_trade_details = val.products; - _this.initTradingDetails(null); - } - } - if (val.type_of_activity_id == 5) { - if (val.products) { - // this.suppliers_service_product = val.products; - _this.serviceProviderForm = true; - } - } - }); - _this.noRecordsFound = true; - } - } - } - else { - console.log("Record", record); - _this.stockForm = _this.fb.group({ - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - stock_remarks: [''], - // is_sufficiant_raw:[''], - // rawmaterial_remarks:[''], - is_sufficiant_finished_and_traded_goods: [''], - finished_and_traded_goods_remarks: [''], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - retail_details: _this.fb.array([_this.retailFormCreation(type3length)]), - trade_details: _this.fb.array([_this.tradingFormCreation(type4length)]), - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 2) { - if (val.products) { - _this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_finished_goods = val.products; - _this.suppliers_raw_materials = rm_api; - _this.initManufacturingDetails(null); - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['is_sufficiant_raw'].setValue(null); - _this.stockForm.controls['manufacturing_details']['controls'][0].controls['rawmaterial_remarks'].setValue(null); - } - } - if (val.type_of_activity_id == 3) { - if (val.products) { - _this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_retail_trade_details = val.products; - _this.initRetailDetails(null); - } - } - if (val.type_of_activity_id == 4) { - if (val.products) { - _this.finishedAndTradedGoodsCommentCard = true; - _this.suppliers_wholesale_trade_details = val.products; - _this.initTradingDetails(null); - } - } - if (val.type_of_activity_id == 5) { - if (val.products) { - // this.suppliers_service_product = val.products; - _this.serviceProviderForm = true; - } - } - }); - _this.noRecordsFound = true; - } - } - }); - }; - PdQuestionStockInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionStockInfoPage'); - }; - PdQuestionStockInfoPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('UOM').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.uomData = data['records'].filter(function (uom) { return uom.isactive == 1; }); - } - }); - }; - PdQuestionStockInfoPage.prototype.manufacturingFormCreation = function (record) { - var arr = record.from_business.filter(function (data) { return data.type_of_activity_id == 2; }); - var rm_arr = record.from_supplier; - //console.log("Manufacturing ",arr); - if (arr.length > 0) { - this.manufacturingForm = true; - return this.fb.group({ - is_sufficiant_raw: [], - rawmaterial_remarks: [], - manufacturing_raw_materials: this.fb.array([]), - manufacturing_finished_goods: this.fb.array([]), - }); - } - else { - return; - } - }; - PdQuestionStockInfoPage.prototype.retailFormCreation = function (val) { - //let arr = val.filter(data => data.type_of_activity_id == 3); - var arr = val; - console.log("retail Form ", arr); - if (arr > 0) { - // if(arr.products != undefined){ - this.retailForm = true; - return this.fb.group({ - retail_traded_goods: this.fb.array([]) - }); - // }else{ - // this.retailForm = false; - // return; - // } - } - else { - return this.fb.group({ - retail_traded_goods: this.fb.array([]) - }); - // return; - } - }; - PdQuestionStockInfoPage.prototype.tradingFormCreation = function (val) { - var arr = val; - //let arr = val.filter(data => data.type_of_activity_id == 4); - if (arr > 0) { - // if(arr.products === undefined){ - // this.tradingForm = false; - // return; - // } - this.tradingForm = true; - return this.fb.group({ - trading_traded_goods: this.fb.array([]) - }); - } - else { - return this.fb.group({ - trading_traded_goods: this.fb.array([]) - }); - // return; - } - }; - PdQuestionStockInfoPage.prototype.initManufacturingDetails = function (datas) { - var _this = this; - var rawMaterial = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials']; - var finishedGoods = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods']; - var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - if (datas === null) { - if (this.suppliers_raw_materials.length > 0) { - this.suppliers_raw_materials.forEach(function (val) { - var Ref_RawMaterials = { 'raw_name': val, - 'stock_observed': '', - 'raw_quantity': '', - 'raw_uom': '', - 'other_uom': '', - 'raw_value': '', - 'is_sufficiant_raw': '', - 'rawmaterial_remarks': '' }; - rawMaterial.push(_this.createRawmaterial(Ref_RawMaterials)); - }); - } - else { - rawMaterial.push(this.createRawmaterial(null)); - } - if (this.suppliers_finished_goods.length > 0) { - this.suppliers_finished_goods.forEach(function (val) { - var Ref_Finished_Goods = { 'goods_name': val, - 'goods_observed': '', - 'goods_quantity': '', - 'goods_uom': '', - 'goods_other_uom': '', - 'goods_value': '', - 'is_sufficiant_goods': '', - 'finishedgoods_remarks': '' }; - finishedGoods.push(_this.createGoods(Ref_Finished_Goods)); - }); - } - else { - finishedGoods.push(this.createGoods(null)); - } - } - else { - if (datas.manufacturing_raw_materials != undefined) { - datas.manufacturing_raw_materials.forEach(function (val, index) { - if (val.raw_value) { - _this.inWords(val.raw_value, 1, index); - } - _this.checkComments(val.is_sufficiant_raw, 1, index); - rawMaterial.push(_this.createRawmaterial(val)); - }); - } - else { - rawMaterial.push(this.createRawmaterial(null)); - } - if (datas.manufacturing_finished_goods != undefined) { - datas.manufacturing_finished_goods.forEach(function (val, index) { - if (val.goods_value) { - _this.inWords(val.goods_value, 2, index); - } - _this.checkComments(val.is_sufficiant_goods, 2, index); - finishedGoods.push(_this.createGoods(val)); - }); - } - else { - finishedGoods.push(this.createGoods(null)); - } - } - }; - PdQuestionStockInfoPage.prototype.createRawmaterial = function (records) { - if (records === null) { - return this.fb.group({ - raw_name: [''], - stock_observed: [''], - raw_quantity: [''], - raw_uom: [''], - other_uom: [''], - raw_value: [''], - is_sufficiant_raw: [''], - rawmaterial_remarks: [''] - }); - } - else { - return this.fb.group({ - raw_name: [records.raw_name], - stock_observed: [records.stock_observed], - raw_quantity: [records.raw_quantity], - raw_uom: [records.raw_uom], - other_uom: [records.other_uom], - raw_value: [records.raw_value], - is_sufficiant_raw: [records.is_sufficiant_raw], - rawmaterial_remarks: [records.rawmaterial_remarks] - }); - } - }; - PdQuestionStockInfoPage.prototype.initRetailDetails = function (datas) { - var _this = this; - var tradedGoods = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods']; - if (datas === null) { - if (this.suppliers_retail_trade_details.length > 0) { - // this.rawMaterialAccess = true; - this.suppliers_retail_trade_details.forEach(function (val) { - var Ref_Trade_Goods = { - 'traded_goods_name': val, - 'traded_goods_observed': '', - 'traded_goods_quantity': '', - 'traded_goods_uom': '', - 'traded_goods_other_uom': '', - 'estimated_traded_goods_value': '', - 'is_sufficiant_traded_goods': '', - 'traded_goods_remarks': '' - }; - tradedGoods.push(_this.createTradedGoods(Ref_Trade_Goods)); - }); - } - else { - tradedGoods.push(this.createTradedGoods(null)); - } - } - else { - if (datas.retail_traded_goods !== undefined) { - datas.retail_traded_goods.forEach(function (val, index) { - if (val.estimated_traded_goods_value) { - _this.inWords(val.estimated_traded_goods_value, 3, index); - } - _this.checkComments(val.is_sufficiant_traded_goods, 3, index); - tradedGoods.push(_this.createTradedGoods(val)); - }); - } - else { - tradedGoods.push(this.createTradedGoods(null)); - } - } - }; - PdQuestionStockInfoPage.prototype.createGoods = function (records) { - if (records === null) { - return this.fb.group({ - goods_name: [''], - goods_observed: [''], - goods_quantity: [''], - goods_uom: [''], - goods_other_uom: [''], - goods_value: [''], - is_sufficiant_goods: [''], - finishedgoods_remarks: [''] - }); - } - else { - return this.fb.group({ - goods_name: [records.goods_name], - goods_observed: [records.goods_observed], - goods_quantity: [records.goods_quantity], - goods_uom: [records.goods_uom], - goods_other_uom: [records.goods_other_uom], - goods_value: [records.goods_value], - is_sufficiant_goods: [records.is_sufficiant_goods], - finishedgoods_remarks: [records.finishedgoods_remarks] - }); - } - }; - PdQuestionStockInfoPage.prototype.initTradingDetails = function (datas) { - var _this = this; - var tradedGoods = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; - if (datas === null) { - if (this.suppliers_wholesale_trade_details.length > 0) { - this.suppliers_wholesale_trade_details.forEach(function (val) { - var Ref_Trade_Goods = { - 'traded_goods_name': val, - 'traded_goods_observed': '', - 'traded_goods_quantity': '', - 'traded_goods_uom': '', - 'traded_goods_other_uom': '', - 'estimated_traded_goods_value': '', - 'is_sufficiant_traded_goods': '', - 'traded_goods_remarks': '' - }; - tradedGoods.push(_this.createTradedGoods(Ref_Trade_Goods)); - }); - } - else { - tradedGoods.push(this.createTradedGoods(null)); - } - } - else { - if (datas.trading_traded_goods !== undefined) { - datas.trading_traded_goods.forEach(function (val, index) { - if (val.estimated_traded_goods_value) { - _this.inWords(val.estimated_traded_goods_value, 4, index); - } - _this.checkComments(val.is_sufficiant_traded_goods, 4, index); - tradedGoods.push(_this.createTradedGoods(val)); - }); - } - else { - tradedGoods.push(this.createTradedGoods(null)); - } - } - }; - PdQuestionStockInfoPage.prototype.createTradedGoods = function (records) { - if (records === null) { - return this.fb.group({ - traded_goods_name: [''], - traded_goods_observed: [''], - traded_goods_quantity: [''], - traded_goods_uom: [''], - traded_goods_other_uom: [''], - estimated_traded_goods_value: [''], - is_sufficiant_traded_goods: [''], - traded_goods_remarks: [''] - }); - } - else { - return this.fb.group({ - traded_goods_name: [records.traded_goods_name], - traded_goods_observed: [records.traded_goods_observed], - traded_goods_quantity: [records.traded_goods_quantity], - traded_goods_uom: [records.traded_goods_uom], - traded_goods_other_uom: [records.traded_goods_other_uom], - estimated_traded_goods_value: [records.estimated_traded_goods_value], - is_sufficiant_traded_goods: [records.is_sufficiant_traded_goods], - traded_goods_remarks: [records.traded_goods_remarks] - }); - } - }; - /** Manufacturing -> To Add More Raw Material Details */ - PdQuestionStockInfoPage.prototype.addRawMaterials = function (flag) { - if (flag == 1) { - var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials']; - control.push(this.createRawmaterial(null)); - } - }; - /** Manufacturing -> To Remove Raw Material Details */ - PdQuestionStockInfoPage.prototype.deleteRawMaterials = function (index, flag) { - if (flag == 1) { - var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_raw_materials']; - control.removeAt(index); - } - }; - /** Manufacturing -> To Add More Finished Goods */ - PdQuestionStockInfoPage.prototype.addGoods = function (flag) { - if (flag == 1) { - var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods']; - control.push(this.createGoods(null)); - } - }; - /** Manufacturing -> To Remove Finished Goods */ - PdQuestionStockInfoPage.prototype.deleteGoods = function (index, flag) { - if (flag == 1) { - var control = this.stockForm.controls['manufacturing_details']['controls'][0].controls['manufacturing_finished_goods']; - control.removeAt(index); - } - }; - /** - * Case 1 Retail Traded -> To Add More trade Goods - * Case 2 wholesale Traded -> To Add More trade Goods - */ - PdQuestionStockInfoPage.prototype.addTradedGoods = function (flag) { - switch (flag) { - case 1: { - var control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods']; - control.push(this.createTradedGoods(null)); - break; - } - case 2: { - var control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; - control.push(this.createTradedGoods(null)); - break; - } - default: { - break; - } - } - }; - /** - * Case 1 Retail Traded -> To remove trade Goods - * Case 2 wholesale Traded -> To remove trade Goods - */ - PdQuestionStockInfoPage.prototype.deleteTradedGoods = function (index, flag) { - switch (flag) { - case 1: { - var control = this.stockForm.controls['retail_details']['controls'][0].controls['retail_traded_goods']; - control.removeAt(index); - break; - } - case 2: { - var control = this.stockForm.controls['trade_details']['controls'][0].controls['trading_traded_goods']; - control.removeAt(index); - break; - } - default: { - break; - } - } - //const control = this.stockForm.controls['traded_goods']; - }; - PdQuestionStockInfoPage.prototype.checkComments = function (e, flag, index) { - if (flag == 1 && e == 'no') { - this.mrmCommentFlag[index] = true; - } - else if (flag == 1 && e != 'no') { - this.mrmCommentFlag[index] = false; - } - if (flag == 2 && e == 'no') { - this.mfgCommentFlag[index] = true; - } - else if (flag == 2 && e != 'no') { - this.mfgCommentFlag[index] = false; - } - if (flag == 3 && e == 'no') { - this.rtrdCommentFlag[index] = true; - } - else if (flag == 3 && e != 'no') { - this.rtrdCommentFlag[index] = false; - } - if (flag == 4 && e == 'no') { - this.wtrdCommentFlag[index] = true; - } - else if (flag == 4 && e != 'no') { - this.wtrdCommentFlag[index] = false; - } - }; - /** To Save/Edited Popup Data */ - PdQuestionStockInfoPage.prototype.saveStockInfo = function (answerFormValues) { - var _this = this; - //To Remove The "Null" With Key also - Object.keys(answerFormValues).forEach(function (key) { return (answerFormValues[key] == null) && delete answerFormValues[key]; }); - this.qustCat.saveForm(answerFormValues).subscribe(function (responsed) { - if (responsed['status'] == 200) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); - } - }); - }; - PdQuestionStockInfoPage.prototype.inWords = function (e, flag, i) { - switch (flag) { - case 1: - this.M_rawValueInWords[i] = this.constant.convertNumberToWords(e); - break; - case 2: - this.M_goodsValueInWords[i] = this.constant.convertNumberToWords(e); - break; - case 3: - this.R_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); - break; - case 4: - this.T_tradedGoodsValueInWords[i] = this.constant.convertNumberToWords(e); - break; - default: - break; - } - }; - PdQuestionStockInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-stock-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-stock-info\pd-question-stock-info.html"*/'\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n
Manufacturing Stock Details
\n\n
\n\n
\n\n
\n\n
\n\n Raw Material #{{a+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Add Stock Details\n\n No Stock Observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{M_rawValueInWords[a]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n Is the stock of Raw Materials observed, sufficient considering the size of operations
\n\n \n\n Yes\n\n No\n\n \n\n
\n\n \n\n Please comment on the stock level observed?\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n Finished Goods #{{b+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n Add Stock Details\n\n No Stock Observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{M_goodsValueInWords[b]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
Retail Trading Details
\n\n
\n\n
\n\n
\n\n
\n\n Traded Goods #{{e+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n Add Stock Details\n\n No Stock Observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{R_tradedGoodsValueInWords[e]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
Wholesale Trading Details
\n\n
\n\n
\n\n
\n\n
\n\n Traded Goods #{{g+1}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n Add Stock Details\n\n No stock observed\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}}\n\n {{T_tradedGoodsValueInWords[g]}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n Is the stock of finished / traded goods observed, sufficient considering the size of operations
\n\n \n\n Select\n\n Yes\n\n No\n\n \n\n
\n\n \n\n Please comment on the stock level observed? \n\n \n\n \n\n
\n\n
\n\n \n\n
Service Provider Details
\n\n
Service Provider Details Not applicable here !!
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
{{ errorMessage }}
\n\n
\n\n
\n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-stock-info\pd-question-stock-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionStockInfoPage); - return PdQuestionStockInfoPage; -}()); - -//# sourceMappingURL=pd-question-stock-info.js.map - -/***/ }), - -/***/ 202: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionFinancialInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionFinancialInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionFinancialInfoPage = (function () { - function PdQuestionFinancialInfoPage(navCtrl, navParams, aws, toast, qustCat, fb, cons) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.toast = toast; - this.qustCat = qustCat; - this.fb = fb; - this.cons = cons; - this.FY_annualSalesInwords = []; - this.FY_netProfitAmtInwords = []; - this.FY_netLossAmtInwords = []; - this.AV_annualSalesInwords = []; - this.AV_netProfitAmtInwords = []; - this.AV_netLossAmtInwords = []; - this.AV_netProfitAmtFrmInwords = []; - this.AV_netProfitAmtToInwords = []; - this.AV_netLossAmtFrmInwords = []; - this.AV_netLossAmtToInwords = []; - this.AV_SalesFrmInwords = []; - this.AV_SalesToInwords = []; - this.AV_SalesInwords = []; - this.AV_marginProfitAmtInwords = []; - this.AV_marginLossAmtInwords = []; - this.av = [{ id: 6, name: 'Letter of Credit' }, - { id: 2, name: 'Bank Guarantee' }, - { id: 3, name: 'Cash Credit Limit' }, - { id: 7, name: 'OD Limit' }, - { id: 4, name: 'Factoring' }, - { id: 5, name: 'Forfaiting' }, - { id: 1, name: 'Others' }]; - this.pdDetails = this.navParams.get('pdDetails'); - this.formDetails = this.navParams.get('formDetails'); - this.FormId = this.formDetails.form_id; - // this.FormId=this.navParams.get('FormId'); - this.company_id = this.pdDetails.company_id; - this.users = this.aws.getlocale(); - this.initFinancialForm(); - } - PdQuestionFinancialInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionFinancialInfoPage'); - this.getDetails(); - }; - PdQuestionFinancialInfoPage.prototype.selectedStatement = function (e) { - if (e == 'yes') { - this.isDisplay = true; - this.financialForm.controls['is_financial_customer'].setValue(''); - } - else if (e == 'no') { - this.isDisplay = false; - this.financialForm.controls['is_financial_customer'].setValue('no'); - // this.selectedFinancialCustomer('no'); - var statementControl = this.financialForm.controls['date_per_financial']; - while (statementControl.length !== 0) { - statementControl.removeAt(0); - } - var control = this.financialForm.controls['estimated_value']; - control.push(this.createValue('')); - this.financialForm.controls['financial_starting_year'].setValue(''); - this.financialForm.controls['financial_no_of_year'].setValue(''); - // alert((new Date()).getFullYear()); - // let year1 = (new Date()).getFullYear(); - // let year2 = ((new Date()).getFullYear() + 1); - // let Year = year1 +'-'+ year2; - } - }; - /** fin customer data from Fin statement*/ - PdQuestionFinancialInfoPage.prototype.selectedFinancialCustomer = function (e) { - if (e == 'yes') { - var control = this.financialForm.controls['estimated_value']; - while (control.length !== 0) { - control.removeAt(0); - } - } - else if (e == 'no') { - var control = this.financialForm.controls['estimated_value']; - control.push(this.createValue('')); - } - }; - PdQuestionFinancialInfoPage.prototype.selectedProfitOrLossType = function (e, detail) { - if (e.value == 1) { - detail.controls.financial_net_loss.setValue(''); - detail.controls.financial_margin_of_loss.setValue(''); - } - else if (e.value == 2) { - detail.controls.financial_net_profit.setValue(''); - detail.controls.financial_margin_of_profit.setValue(''); - } - }; - /** For Auto-generating FinYear */ - PdQuestionFinancialInfoPage.prototype.dynamicalFinYear = function ($event) { - var e = $event.target.value; - if (e == 1) { - this.customerCommentsFlag = false; - } - else { - this.customerCommentsFlag = true; - } - var startingYear = this.financialForm.controls['financial_starting_year'].value; - var control = this.financialForm.controls['date_per_financial']; - while (control.length !== 0) { - control.removeAt(0); - } - if (e > 0) { - for (var i = 1; i <= e; i++) { - var Year = (+startingYear + (i - 1)) + '-' + ((+startingYear) + (+i)); - control.push(this.createDate(Year)); - } - } - }; - PdQuestionFinancialInfoPage.prototype.initFinancialForm = function () { - this.financialForm = this.fb.group({ - pdid: this.pdDetails.pd_id, - formid: this.FormId, - company_id: this.company_id, - fk_createdby: this.users, - financial_remarks: [''], - is_financial_statements: [''], - is_financial_customer: [''], - financial_starting_year: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].minLength(4), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].maxLength(4)])], - financial_no_of_year: [''], - financial_reason: [''], - financial_customer: [''], - receive_the_money_in_days: [''], - pay_the_money_in_days: [''], - unsold_stock_lies_in_days: [''], - is_there_working_capital_available: [''], - working_capital_facilities_availed: [''], - reason_for_working_capital_facilities_availed: [''], - // same_as_financial_statements:[''], - date_per_financial: this.fb.array([]), - estimated_value: this.fb.array([]) - }); - }; - PdQuestionFinancialInfoPage.prototype.createDate = function (date) { - return this.fb.group({ - financial_year: [date, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^[0-9]{4}-[0-9]{2}$/)])], - financial_annual_sale: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^[0-9\(\)]+$/)])], - finanical_profit_or_loss: [''], - financial_net_profit: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^-?[1-9]\d*|0$/)])], - financial_net_loss: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].pattern(/^-?[1-9]\d*|0$/)])], - financial_margin_of_profit: [''], - financial_margin_of_loss: [''], - financial_variation: [''], - financial_profit_to_sale_variation: [''], - financial_annualsales_variation: [''], - }); - }; - /** CREATING financial Customer ( financial_year AutoGenerate ) */ - PdQuestionFinancialInfoPage.prototype.createValue = function (date) { - return this.fb.group({ - // estimate_year: ['', Validators.compose([Validators.pattern(/^[0-9]{4}-[0-9]{2}$/)])], - estimate_sales_from: [''], - estimate_sales_to: [''], - estimate_sales_average: [''], - estimate_profit_or_loss: [''], - estimate_net_margin_availablity: [''], - estimate_profit_range_from: [''], - estimate_profit_range_to: [''], - estimate_profit_margin_percent: [''], - estimate_profit_margin: [''], - estimate_net_profit_from: [''], - estimate_net_profit_to: [''], - estimate_net_profit_percent: [''], - estimate_net_profit: [''], - estimate_loss_range_from: [''], - estimate_loss_range_to: [''], - estimate_loss_margin_percent: [''], - estimate_loss_margin: [''], - estimate_net_loss_from: [''], - estimate_net_loss_to: [''], - estimate_net_loss_percent: [''], - estimate_net_loss: [''], - estimate_reason_for_loss: [''], - estimate_receive_the_money_in_days: [''], - estimate_pay_the_money_in_days: [''], - estimate_unsold_stock_lies_in_days: [''], - estimate_working_capital_facilities_availed: [''], - reason_for_working_capital_facilities_availed: [''], - is_there_working_capital_available: [''] - }); - }; - PdQuestionFinancialInfoPage.prototype.submitDetails = function () { - var _this = this; - if (this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 1) { - this.financialForm.value.date_per_financial['financial_net_profit'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_net_loss'].clearValidators(); - this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_margin_of_profit'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_margin_of_loss'].clearValidators(); - this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity(); - } - else if (this.financialForm.value.date_per_financial['finanical_profit_or_loss'] == 2) { - this.financialForm.value.date_per_financial['financial_net_profit'].clearValidators(); - this.financialForm.value.date_per_financial['financial_net_profit'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_net_loss'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - this.financialForm.value.date_per_financial['financial_net_loss'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_margin_of_profit'].clearValidators(); - this.financialForm.value.date_per_financial['financial_margin_of_profit'].updateValueAndValidity(); - this.financialForm.value.date_per_financial['financial_margin_of_loss'].setValidators([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required]); - this.financialForm.value.date_per_financial['financial_margin_of_loss'].updateValueAndValidity(); - } - var records = this.financialForm.value; - this.qustCat.saveForm(records).subscribe(function (res) { - if (res['status'] == 200) { - _this.toast.pdTriggerappmessage("Record Saved Successfully"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage("Warning !! Something went Wrong"); - } - }, function (err) { - _this.toast.pdTriggerappmessage("Server is not Responding"); - }); - }; - PdQuestionFinancialInfoPage.prototype.getDetails = function () { - var _this = this; - var financeDate = this.financialForm.controls['date_per_financial']; - //financeDate.push(this.createDate('')) - var estimate = this.financialForm.controls['estimated_value']; - //estimate.push(this.createValue('')) - var params = {}; - params.pd_id = this.pdDetails.pd_id; - params.pd_form_id = this.FormId; - params.company_id = this.company_id; - this.qustCat.retiverForm(params).subscribe(function (value) { - if (value['dataStatus'] == true) { - var retrieveData = value['records']; - if (value['records'].is_financial_statements == 'yes') { - var result = Object.keys(value['records'].date_per_financial).map(function (key) { - return value['records'].date_per_financial[key]; - }); - if (result.length > 0) { - _this.customerCommentsFlag = result.length == 1 ? false : true; - result.forEach(function (val, index) { - _this.FY_annualSalesInwords[index] = _this.cons.convertNumberToWords(val.financial_annual_sale); - _this.FY_netProfitAmtInwords[index] = _this.cons.convertNumberToWords(val.financial_net_profit); - _this.FY_netLossAmtInwords[index] = _this.cons.convertNumberToWords(val.financial_net_loss); - financeDate.push(_this.createDate('')); - }); - retrieveData.date_per_financial = result; - } - else { - financeDate.push(_this.createDate('')); - } - } - var result_val = Object.keys(value['records'].estimated_value).map(function (key) { - return value['records'].estimated_value[key]; - }); - if (result_val.length > 0) { - result_val.forEach(function (val, index) { - _this.AV_SalesInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_sales_average)); - _this.AV_SalesFrmInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_sales_from)); - _this.AV_SalesToInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_sales_to)); - _this.AV_marginProfitAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); - _this.AV_netProfitAmtFrmInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); - _this.AV_netProfitAmtToInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); - _this.AV_netProfitAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_net_profit)); - _this.AV_marginLossAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_loss_margin)); - _this.AV_netLossAmtFrmInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); - _this.AV_netLossAmtToInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_profit_margin)); - _this.AV_netLossAmtInwords[index] = _this.cons.convertNumberToWords(Math.round(val.estimate_net_loss)); - estimate.push(_this.createValue('')); - }); - retrieveData.estimated_value = result_val; - } - else { - estimate.push(_this.createValue('')); - } - retrieveData.pdid = _this.pdDetails.pd_id; - retrieveData.company_id = _this.company_id; - retrieveData.fk_createdby = _this.users; - retrieveData.formid = _this.FormId; - _this.financialForm.setValue(retrieveData); - } - else { - //financial_date.push(this.createDate()); - //estimated_val.push(this.createValue('')); - } - }); - }; - /** - * New Calculation for Finanical Statement - **/ - PdQuestionFinancialInfoPage.prototype.calculationForFinanicalStatement = function () { - var _this = this; - var parentArray = this.financialForm.controls['date_per_financial']; - // let prev_annual_sale : any = ''; - // let prev_profit_margin : any = ''; - // let prev_loss_margin : any = ''; - // let prev_profit_amt : any = ''; - // let prev_loss_amt : any = ''; - // let profit_margin : any = ''; - // let loss_margin : any = ''; - // let annual_sale : any = ''; - // let profit_amt : any = ''; - // let loss_amt : any = ''; - var prev_annual_sale = ''; - var prev_profit_margin = []; - var prev_loss_margin = []; - var prev_profit_amt = ''; - var prev_loss_amt = ''; - var profit_margin = ''; - var loss_margin = ''; - var annual_sale = ''; - var profit_amt = ''; - var loss_amt = ''; - parentArray.value.forEach(function (val, index) { - var childArray = parentArray.controls[index]; - annual_sale = val.financial_annual_sale; - /** Calculating Sale Variation Based on Prev.Year ( Datas returns in percentage ) - * Label name = " Sale Variation from Previous Year in % " - */ - if (index != 0) { - if (annual_sale != '') { - var annual_sale_variation = ((annual_sale - prev_annual_sale) / prev_annual_sale) * 100; - var final_annual_sale_variation = (annual_sale_variation != Infinity) ? !(Number.isNaN(annual_sale_variation)) ? annual_sale_variation.toFixed(2) : 0.00 : 0.00; - childArray.controls.financial_annualsales_variation.setValue(final_annual_sale_variation); - } - } - else { - childArray.controls.financial_annualsales_variation.setValue(0.00); - } - prev_annual_sale = annual_sale; - /******************************************** Calculation Sale Variation ends Here ******************************************************************************************************/ - profit_amt = val.financial_net_profit; - loss_amt = val.financial_net_loss; - /** Calculating Profit's Variation - STARTS HERE - * Label name = "Profit Variation from Previous Year in %" - */ - if ((profit_amt != '' || loss_amt != '') && index != 0) { - if (+profit_amt > +annual_sale) { - childArray.controls.financial_margin_of_profit.setValue(''); - } - else { - loss_amt = val.financial_net_loss != 0 ? val.financial_net_loss * (-1) : val.financial_net_loss; - prev_loss_amt = prev_loss_amt != 0 ? prev_loss_amt * (-1) : prev_loss_amt; - var variation = (((profit_amt != '' ? profit_amt : loss_amt) - (prev_profit_amt != '' ? prev_profit_amt : prev_loss_amt)) / (prev_profit_amt != '' ? Math.abs(prev_profit_amt) : Math.abs(prev_loss_amt))) * 100; - var final_variation = variation != Infinity ? !(Number.isNaN(variation)) ? variation.toFixed(2) : 0.00 : 0.00; - childArray.controls.financial_variation.setValue(final_variation); - } - } - prev_profit_amt = val.financial_net_profit != '' ? val.financial_net_profit : 0; - prev_loss_amt = val.financial_net_loss != '' ? val.financial_net_loss : 0; - /********************************* Calculating Profit's Variation - ENDS HERE **************************************************************/ - /** Calculating Net Profit (or) Net Loss (and) Sales's Profit Variation - * Label name = "Net Profit to Sales in % (or) Net Loss to Sales in % - **/ - var SelectedlossOrProfit = val.finanical_profit_or_loss; - if (SelectedlossOrProfit == 1) { - loss_margin = ''; - childArray.controls.financial_margin_of_loss.setValue(''); - if (annual_sale != '' && val.financial_net_profit != '') { - if (+profit_amt > +annual_sale) { - // alert("profit is greater than Annual Sale "); - _this.toast.pdTriggerappmessage("profit is greater than Annual Sale "); - childArray.controls.financial_net_profit.setValue(0); - childArray.controls.financial_margin_of_profit.setValue(''); - childArray.controls.financial_profit_to_sale_variation.setValue(''); - childArray.controls.financial_variation.setValue(''); - } - else { - profit_margin = (val.financial_net_profit / val.financial_annual_sale) * 100; - childArray.controls.financial_margin_of_profit.setValue(profit_margin != Infinity ? !(Number.isNaN(profit_margin)) ? profit_margin.toFixed(2) : 0 : 0); - } - } - } - else if (SelectedlossOrProfit == 2) { - profit_margin = ''; - childArray.controls.financial_margin_of_profit.setValue(''); - if (annual_sale != '' && val.financial_net_loss != '') { - if (+val.financial_net_loss > +annual_sale) { - // alert("Loss is greater than Annual Sale "); - _this.toast.pdTriggerappmessage("Loss is greater than Annual Sale "); - childArray.controls.financial_net_loss.setValue(0); - childArray.controls.financial_margin_of_loss.setValue(''); - childArray.controls.financial_profit_to_sale_variation.setValue(''); - childArray.controls.financial_variation.setValue(''); - } - if (+loss_amt > +annual_sale) { - childArray.controls.financial_net_loss.setValue(0); - childArray.controls.financial_margin_of_loss.setValue(''); - childArray.controls.financial_profit_to_sale_variation.setValue(''); - childArray.controls.financial_variation.setValue(''); - } - else { - loss_margin = (val.financial_net_loss / val.financial_annual_sale) * 100 * (-1); - childArray.controls.financial_margin_of_loss.setValue(loss_margin != Infinity ? !(Number.isNaN(loss_margin)) ? loss_margin.toFixed(2) : 0 : 0); - } - } - } - prev_profit_margin[index] = val.financial_margin_of_profit != '' ? val.financial_margin_of_profit : 0; - prev_loss_margin[index] = val.financial_margin_of_loss != '' ? val.financial_margin_of_loss : 0; - // if(index != 0 ){ - // let variation_percent = (((profit_margin != '' ? profit_margin : loss_margin ) - (prev_profit_margin != '' ? prev_profit_margin : prev_loss_margin ))/ (prev_profit_margin != '' ? Math.abs(prev_profit_margin) : Math.abs(prev_loss_margin))) * 100; - // let final_variation_percent = variation_percent != Infinity ? !(Number.isNaN(variation_percent)) ? variation_percent.toFixed(2) :0: 0; - // childArray.controls.financial_profit_to_sale_variation.setValue(final_variation_percent); - // } - /**************************** Calculating Net Profit (or) Net Loss - ENDS HERE **************************************************************/ - /** Calculating Sales's Profit Variation - * Label name = "Variation of Profit % over sales" - **/ - if ((profit_margin != '' || loss_margin != '') && index != 0) { - loss_margin = loss_margin !== undefined ? loss_margin : 0; - profit_margin = profit_margin !== undefined ? profit_margin : 0; - var temp_prev_loss_margin = prev_loss_margin[index - 1] !== undefined ? prev_loss_margin[index - 1] : 0; - var temp_prev_profit_margin = prev_profit_margin[index - 1] !== undefined ? prev_profit_margin[index - 1] : 0; - if (annual_sale != '') { - var a = (profit_margin != '' ? profit_margin : loss_margin) - (temp_prev_profit_margin != 0 ? temp_prev_profit_margin : temp_prev_loss_margin); - var b = a / (temp_prev_profit_margin != 0 ? Math.abs(temp_prev_profit_margin) : Math.abs(temp_prev_loss_margin)); - var c = b * 100; - var final_percent = c != Infinity ? !(Number.isNaN(c)) ? c != -Infinity ? c.toFixed(2) : 0 : 0 : 0; - childArray.controls.financial_profit_to_sale_variation.setValue(final_percent); - } - } - /**************************** Calculating Sales's Profit Variation - ENDS HERE **************************************************************/ - }); - }; - PdQuestionFinancialInfoPage.prototype.confirmAlert = function (i, details) { - var estimate_sales_from = +details.value.estimate_sales_from; - var estimate_sales_to = +details.value.estimate_sales_to; - if (estimate_sales_from != null && estimate_sales_to != null) { - if (+estimate_sales_from > +estimate_sales_to) { - // alert("Given To value is lower than From Value"); - this.toast.pdTriggerappmessage("Given To value is lower than From Value"); - details.controls.estimate_sales_to.setValue(''); - details.controls.estimate_sales_average.setValue(''); - return; - } - var C = (estimate_sales_to - estimate_sales_from); - var D = (C / estimate_sales_from) * 100; - if (estimate_sales_from <= 5000000) { - if (D > 20) { - var r = confirm("Given Sales Range is greater than 20%"); - if (r == true) { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - else { - details.controls.estimate_sales_to.setValue(''); - return; - } - } - else { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - } - else if (estimate_sales_from > 5000000 && estimate_sales_from <= 10000000) { - if (D > 15) { - var r = confirm("Given Sales Range is greater than 15%"); - if (r == true) { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - else { - details.controls.estimate_sales_to.setValue(''); - return; - } - } - else { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - } - else if (estimate_sales_from > 10000000) { - if (D > 10) { - var r = confirm("Given Sales Range is greater than 10%"); - if (r == true) { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - else { - details.controls.estimate_sales_to.setValue(''); - return; - } - } - else { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - } - else { - details.controls.estimate_sales_to.setValue(estimate_sales_to != Infinity ? estimate_sales_to : 0); - } - // if(D >= 30){ - // var r = confirm("Given Sales Range is greater than 30%"); - // if (r == true) { - // details.controls.estimate_sales_to.setValue(estimate_sales_to); - // }else{ - // details.controls.estimate_sales_to.setValue(''); - // return; - // } - // } - // else{ - // details.controls.estimate_sales_to.setValue(estimate_sales_to); - // } - } - this.calculateSalesAverage(i, details); - }; - PdQuestionFinancialInfoPage.prototype.calculateSalesAverage = function (i, details) { - var estimate_sales_from = details.value.estimate_sales_from; - var estimate_sales_to = details.value.estimate_sales_to; - if (estimate_sales_from != '' && estimate_sales_to != '') { - var range1 = +estimate_sales_from / 10; - var lower = (+estimate_sales_from) + range1; - var higer = ((+estimate_sales_to + +estimate_sales_from) / 2); - if (lower > higer) { - details.controls.estimate_sales_average.setValue(higer != Infinity ? higer.toFixed(2) : 0); - this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_sales_average.setValue(lower != Infinity ? lower.toFixed(2) : 0); - this.AV_SalesInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else { - details.controls.estimate_sales_average.setValue(''); - } - }; - PdQuestionFinancialInfoPage.prototype.calculateMarginProfit = function (i, details) { - var sales_average = details.value.estimate_sales_average; - if (sales_average == '') { - // alert("Considered Sales Average is Empty"); - this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); - details.controls.estimate_profit_range_from.setValue(''); - details.controls.estimate_profit_range_to.setValue(''); - details.controls.estimate_profit_margin.setValue(''); - details.controls.estimate_profit_margin_percent.setValue(''); - return; - } - var estimate_profit_range_from = details.value.estimate_profit_range_from; - if (+estimate_profit_range_from > 100) { - // alert('Given Profit percent is More Than 100'); - this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"); - details.controls.estimate_profit_range_from.setValue(''); - details.controls.estimate_profit_range_to.setValue(''); - details.controls.estimate_profit_margin.setValue(''); - details.controls.estimate_profit_margin_percent.setValue(''); - return; - } - var estimate_profit_range_to = details.value.estimate_profit_range_to; - if (+estimate_profit_range_to > 100) { - // alert('Given Profit percent is More Than 100'); - this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"); - details.controls.estimate_profit_range_to.setValue(''); - details.controls.estimate_profit_margin.setValue(''); - details.controls.estimate_profit_margin_percent.setValue(''); - return; - } - if (sales_average != '' && estimate_profit_range_from != '' && estimate_profit_range_to != '') { - if (+estimate_profit_range_from > +estimate_profit_range_to) { - // alert("Given To value is lower than From Value"); - this.toast.pdTriggerappmessage("Given To value is lower than From Value"); - details.controls.estimate_profit_range_to.setValue(''); - details.controls.estimate_profit_margin.setValue(''); - details.controls.estimate_profit_margin_percent.setValue(''); - return; - } - var profit_percent = (estimate_profit_range_to + estimate_profit_range_from) / 2; - var Profit_Average = (profit_percent * sales_average) / 100; - var difference = (estimate_profit_range_to - estimate_profit_range_from); - if (difference > 3) { - var r = confirm("Given Profit Percent Range is greater than 3"); - if (r == true) { - details.controls.estimate_profit_margin.setValue(Profit_Average != Infinity ? Math.round(Profit_Average) : 0); - details.controls.estimate_profit_margin_percent.setValue(profit_percent != Infinity ? profit_percent.toFixed(2) : 0); - this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); - } - else { - details.controls.estimate_profit_range_to.setValue(''); - details.controls.estimate_profit_margin.setValue(''); - details.controls.estimate_profit_margin_percent.setValue(''); - return; - } - } - details.controls.estimate_profit_margin.setValue(Profit_Average != Infinity ? Math.round(Profit_Average) : 0); - details.controls.estimate_profit_margin_percent.setValue(profit_percent != Infinity ? profit_percent.toFixed(2) : 0); - this.AV_marginProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(Profit_Average)); - // details.controls.estimate_profit_margin.setValue(Math.round(Profit_Average)); - // details.controls.estimate_profit_margin_percent.setValue(profit_percent.toFixed(2)); - } - }; - PdQuestionFinancialInfoPage.prototype.calculateProfitAmount = function (i, details) { - var sales_average = details.value.estimate_sales_average; - if (sales_average == '') { - //alert("Considered Sales Average is Empty"); - this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); - details.controls.estimate_net_profit_from.setValue(''); - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - var estimate_net_profit_from = details.value.estimate_net_profit_from; - var estimate_net_profit_to = details.value.estimate_net_profit_to; - if (+estimate_net_profit_to > +sales_average) { - //alert("Given Profit is Greater than Sales"); - this.toast.pdTriggerappmessage("Given Profit is Greater than Sales"); - details.controls.estimate_net_profit_from.setValue(''); - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - if (sales_average != '' && estimate_net_profit_from != '' && estimate_net_profit_to != '') { - if (+estimate_net_profit_from > +estimate_net_profit_to) { - // alert("Given To value is lower than From Value"); - this.toast.pdTriggerappmessage("Given To value is lower than From Value"); - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - var C = (estimate_net_profit_to - estimate_net_profit_from); - var D = (C / estimate_net_profit_from) * 100; - var range1 = +estimate_net_profit_from / 10; - var lower = (+estimate_net_profit_from) + range1; - var higer = ((+estimate_net_profit_to + +estimate_net_profit_from) / 2); - if (estimate_net_profit_from <= 5000000) { - if (D >= 20) { - var r = confirm("Given Profit Range is greater than 20%"); - if (r == true) { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - else { - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var Profit_percent = (higer / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var Profit_percent = (lower / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else if (estimate_net_profit_from > 5000000 || estimate_net_profit_from <= 10000000) { - if (D >= 15) { - var r = confirm("Given Sales Range is greater than 15%"); - if (r == true) { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - else { - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var Profit_percent = (higer / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var Profit_percent = (lower / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else if (estimate_net_profit_from > 10000000) { - if (D >= 10) { - var r = confirm("Given Sales Range is greater than 10%"); - if (r == true) { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - else { - details.controls.estimate_net_profit_to.setValue(''); - details.controls.estimate_net_profit.setValue(''); - details.controls.estimate_net_profit_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var Profit_percent = (higer / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var Profit_percent = (lower / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else { - details.controls.estimate_net_profit_to.setValue(estimate_net_profit_to != Infinity ? estimate_net_profit_to : 0); - if (lower > higer) { - details.controls.estimate_net_profit.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var Profit_percent = (higer / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_profit.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var Profit_percent = (lower / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(Profit_percent != Infinity ? Profit_percent.toFixed(2) : 0); - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - } - }; - PdQuestionFinancialInfoPage.prototype.calculateMarginLoss = function (i, details) { - var sales_average = details.value.estimate_sales_average; - if (sales_average == '') { - // alert("Considered Sales Average is Empty"); - this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); - details.controls.estimate_loss_range_from.setValue(''); - details.controls.estimate_loss_range_to.setValue(''); - details.controls.estimate_loss_margin.setValue(''); - details.controls.estimate_loss_margin_percent.setValue(''); - return; - } - // else{ - var estimate_loss_range_from = details.value.estimate_loss_range_from; - if (+estimate_loss_range_from > 100) { - // alert('Given Loss Percent is more than 100'); - this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"); - details.controls.estimate_loss_range_from.setValue(''); - details.controls.estimate_loss_range_to.setValue(''); - details.controls.estimate_loss_margin.setValue(''); - details.controls.estimate_loss_margin_percent.setValue(''); - return; - } - var estimate_loss_range_to = details.value.estimate_loss_range_to; - if (+estimate_loss_range_to > 100) { - // alert('Given Loss Percent is more than 100'); - this.toast.pdTriggerappmessage("Given Loss Percent is more than 100 "); - details.controls.estimate_loss_range_from.setValue(''); - details.controls.estimate_loss_range_to.setValue(''); - details.controls.estimate_loss_margin.setValue(''); - details.controls.estimate_loss_margin_percent.setValue(''); - return; - } - if (sales_average != '' && estimate_loss_range_from != '' && estimate_loss_range_to != '') { - if (+estimate_loss_range_from > +estimate_loss_range_to) { - //alert("Given Loss Percent is more than 100"); - this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"); - details.controls.estimate_loss_range_to.setValue(''); - details.controls.estimate_loss_margin.setValue(''); - details.controls.estimate_loss_margin_percent.setValue(''); - return; - } - var loss_percent = (estimate_loss_range_to + estimate_loss_range_from) / 2; - var loss_Average = (loss_percent * sales_average) / 100; - var difference = (estimate_loss_range_to - estimate_loss_range_from); - // details.controls.estimate_loss_margin.setValue(Math.round(loss_Average)); - // details.controls.estimate_loss_margin_percent.setValue(loss_percent.toFixed(2)); - // this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); - if (difference > 3) { - var r = confirm("Given Loss Percent Range is greater than 3"); - if (r == true) { - details.controls.estimate_loss_margin.setValue(loss_Average != Infinity ? Math.round(loss_Average) : 0); - details.controls.estimate_loss_margin_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); - } - else { - details.controls.estimate_loss_range_to.setValue(''); - details.controls.estimate_loss_margin.setValue(''); - details.controls.estimate_loss_margin_percent.setValue(''); - return; - } - } - details.controls.estimate_loss_margin.setValue(loss_Average != Infinity ? Math.round(loss_Average) : 0); - details.controls.estimate_loss_margin_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_marginLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(loss_Average)); - } - }; - PdQuestionFinancialInfoPage.prototype.calculateLossAmount = function (i, details) { - var sales_average = details.value.estimate_sales_average; - if (sales_average == '') { - // alert("Considered Sales Average is Empty"); - this.toast.pdTriggerappmessage("Considered Sales Average is Empty"); - details.controls.estimate_net_loss_from.setValue(''); - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - var estimate_net_loss_from = details.value.estimate_net_loss_from; - var estimate_net_loss_to = details.value.estimate_net_loss_to; - if (+estimate_net_loss_to > +sales_average) { - // alert("Given Loss is Greater than Sales"); - this.toast.pdTriggerappmessage("Given Loss is Greater than Sales"); - details.controls.estimate_net_loss_from.setValue(''); - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - if (sales_average != '' && estimate_net_loss_from != '' && estimate_net_loss_to != '') { - if (+estimate_net_loss_from > +estimate_net_loss_to) { - //alert("Given To value is Lower than From Value"); - this.toast.pdTriggerappmessage("Given To value is Lower than From Value"); - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - // if(+estimate_net_loss_to > +estimate_net_loss_from){ - // alert("loss is greater than sales"); - // details.controls.estimate_net_loss_to.setValue(''); - // details.controls.estimate_net_loss.setValue(''); - // details.controls.estimate_net_loss_percent.setValue(''); - // return; - // } - var C = (estimate_net_loss_to - estimate_net_loss_from); - var D = (C / estimate_net_loss_from) * 100; - var range1 = +estimate_net_loss_from / 10; - var lower = (+estimate_net_loss_from) + range1; - var higer = ((+estimate_net_loss_to + +estimate_net_loss_from) / 2); - if (estimate_net_loss_from <= 5000000) { - if (D >= 20) { - var r = confirm("Given Profit Range is greater than 20%"); - if (r == true) { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - else { - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var loss_percent = (higer / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var loss_percent = (lower / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else if (estimate_net_loss_from > 5000000 || estimate_net_loss_from <= 10000000) { - if (D >= 15) { - var r = confirm("Given Sales Range is greater than 15%"); - if (r == true) { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - else { - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var loss_percent = (higer / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var loss_percent = (lower / sales_average) * 100; - details.controls.estimate_net_profit_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else if (estimate_net_loss_from > 10000000) { - if (D >= 10) { - var r = confirm("Given Sales Range is greater than 10%"); - if (r == true) { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - else { - details.controls.estimate_net_loss_to.setValue(''); - details.controls.estimate_net_loss.setValue(''); - details.controls.estimate_net_loss_percent.setValue(''); - return; - } - } - else { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - } - if (lower > higer) { - details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var loss_percent = (higer / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var loss_percent = (lower / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - else { - details.controls.estimate_net_loss_to.setValue(estimate_net_loss_to != Infinity ? estimate_net_loss_to : 0); - if (lower > higer) { - details.controls.estimate_net_loss.setValue(higer != Infinity ? higer.toFixed(2) : 0); - var loss_percent = (higer / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(higer)); - } - else { - details.controls.estimate_net_loss.setValue(lower != Infinity ? lower.toFixed(2) : 0); - var loss_percent = (lower / sales_average) * 100; - details.controls.estimate_net_loss_percent.setValue(loss_percent != Infinity ? loss_percent.toFixed(2) : 0); - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(Math.round(lower)); - } - } - } - }; - /** On Key Press Event For Input Field */ - PdQuestionFinancialInfoPage.prototype.keyPress = function (event) { - //const pattern = /[0-9\-\.\ ]/; - var pattern = /[0-9\.]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - /** To Convert Amount into Words */ - PdQuestionFinancialInfoPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.FY_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); - // this.placeholderName[i] = 'Weekly Instalment Amount'; break; - break; - case 2: - this.FY_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - //alert('Fin net Profit'+this.FY_netProfitAmtInwords[i]); - break; - case 3: - this.FY_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - // alert('Fin net Loss'+this.FY_netLossAmtInwords[i]); - break; - case 4: - this.AV_annualSalesInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 5: - this.AV_netProfitAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 6: - this.AV_netLossAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 7: - this.AV_netProfitAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 8: - this.AV_netProfitAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 9: - this.AV_netLossAmtFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 10: - this.AV_netLossAmtToInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 11: - this.AV_SalesFrmInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 12: - this.AV_SalesToInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - PdQuestionFinancialInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-financial-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-financial-info\pd-question-financial-info.html"*/'\n\n\n\n\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n
Data As Per Financial Statements
\n\n
\n\n
\n\n \n\n \n\n \n\n Yes\n\n No\n\n\n\n \n\n \n\n
\n\n \n\n Enter year from Which Financials Provided\n\n \n\n Invalid year format\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n Financial Year : {{details.get(\'financial_year\').value}}\n\n
\n\n \n\n {{"₹"}} {{FY_annualSalesInwords[i]}} Only \n\n \n\n
\n\n \n\n Sale Variation from Previous Year in %\n\n   -\n\n \n\n

\n\n \n\n No difference in Sales in FY {{details.get(\'financial_year\').value}} over Sales in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} \n\n \n\n \n\n Increase in Sales in FY {{details.get(\'financial_year\').value}} over Sales in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{details.get(\'financial_annualsales_variation\').value}} % \n\n \n\n \n\n Decrease in Sales in FY {{details.get(\'financial_year\').value}} over Sales in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{(details.get(\'financial_annualsales_variation\').value).replace(\'-\', \'\')}} % \n\n \n\n

\n\n \n\n
\n\n \n\n \n\n Net Profit\n\n Net Loss\n\n \n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{FY_netProfitAmtInwords[i]}} Only\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n {{"₹"}}{{FY_netLossAmtInwords[i]}} Only\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n Profit Variation from Previous Year in %: \n\n   - \n\n

\n\n \n\n No difference in Profit in FY {{details.get(\'financial_year\').value}} over Profit in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} \n\n \n\n \n\n Increase in Profit in FY {{details.get(\'financial_year\').value}} over Profit in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{details.get(\'financial_variation\').value}} % \n\n \n\n \n\n Decrease in Profit in FY {{details.get(\'financial_year\').value}} over Profit in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{(details.get(\'financial_variation\').value).replace(\'-\', \'\')}} % \n\n \n\n

\n\n \n\n \n\n Variation of Profit % over sales\n\n   -\n\n

\n\n \n\n No difference in Profit sales % in FY {{details.get(\'financial_year\').value}} over Profit sales % in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} \n\n \n\n \n\n Increase in Profit sales % in FY {{details.get(\'financial_year\').value}} over Profit sales % in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{details.get(\'financial_profit_to_sale_variation\').value}} % \n\n \n\n \n\n Decrease in Profit sales % in FY {{details.get(\'financial_year\').value}} over Profit sales % in FY {{financialForm.controls.date_per_financial[\'controls\'][i-1].get(\'financial_year\').value}} {{(details.get(\'financial_profit_to_sale_variation\').value).replace(\'-\', \'\')}} % \n\n \n\n

\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
Financial As Per Customers
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n {{"₹"}} {{AV_SalesFrmInwords[i]}} Only\n\n \n\n \n\n \n\n {{"₹"}} {{AV_SalesToInwords[i]}} Only\n\n \n\n \n\n \n\n {{"₹"}} {{AV_SalesInwords[i]}} Only\n\n \n\n\n\n \n\n \n\n Net Profit\n\n Net Loss\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_marginProfitAmtInwords[i]}} Only \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n {{"₹"}} {{AV_netProfitAmtFrmInwords[i]}} Only \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netProfitAmtToInwords[i]}} Only \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netProfitAmtInwords[i]}} Only \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n {{a.name}} \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_marginLossAmtInwords[i]}} Only \n\n \n\n
\n\n
\n\n \n\n \n\n {{"₹"}} {{AV_netLossAmtFrmInwords[i]}} Only \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netLossAmtToInwords[i]}} Only \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{AV_netLossAmtInwords[i]}} Only\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n
Working Capital Details
\n\n
\n\n
\n\n \n\n \n\n \n\n In case of Credit Sales, what is the average no of days taken to receive the money?\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n {{a.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-financial-info\pd-question-financial-info.html"*/, - encapsulation: __WEBPACK_IMPORTED_MODULE_0__angular_core__["_12" /* ViewEncapsulation */].None, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionFinancialInfoPage); - return PdQuestionFinancialInfoPage; -}()); - -//# sourceMappingURL=pd-question-financial-info.js.map - -/***/ }), - -/***/ 203: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionClientInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionClientInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionClientInfoPage = (function () { - function PdQuestionClientInfoPage(navCtrl, navParams, qustCat, aws, toast, fb) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.fb = fb; - this.submitted = false; - this.m_paymentType = []; - this.companyRelationShipList = []; - this.titleList = []; - this.noRecordsFound = false; - this.errorMessage = ''; - this.m_manufacturingProducts = []; - this.m_tradingProducts = []; - this.m_suplierProducts = []; - this.manufacturingForm = false; - this.tradingForm = false; - this.serviceProviderForm = false; - this.mfgCreditCardFlag = false; - this.trdCreditCardFlag = false; - this.spCreditCardFlag = false; - this.mfgCounter = []; - this.trdCounter = []; - this.spCounter = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.formDetails = this.navParams.get('formDetails'); - this.users = this.aws.getlocale(); - this.pdid = this.pdDetails.pd_id; - this.company_id = this.pdDetails.company_id; - this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid, this.company_id).subscribe(function (data) { - if (data.dataStatus) { - var datas_1 = data.records; - _this.m_manufacturingProducts = datas_1.type_of_activity.filter(function (data) { if (data.type_of_activity_id == 2) { - return data; - } }).map(function (data) { return data.prodcuts.slice(); }); - // this.m_tradingProducts = datas.type_of_activity.filter(data=>{if(data.type_of_activity_id == 3){return data}}).map(data=> [...data.prodcuts]); - _this.m_suplierProducts = datas_1.type_of_activity.filter(function (data) { if (data.type_of_activity_id == 5) { - return data; - } }).map(function (data) { return data.prodcuts.slice(); }); - var api = Object.keys(datas_1.type_of_activity).map(function (key) { - return datas_1.type_of_activity[key]; - }); - if (api.length > 0) { - api.forEach(function (val) { - if (val.type_of_activity_id == 3) { - if (val.prodcuts) { - _this.m_tradingProducts.push(val.prodcuts); - } - } - if (val.type_of_activity_id == 4) { - if (val.prodcuts) { - _this.m_tradingProducts.push(val.prodcuts); - } - } - }); - } - _this.m_tradingProducts = [].concat.apply([], _this.m_tradingProducts); - _this.initFormLoadDetails(datas_1.type_of_activity); - } - else { - _this.toast.pdTriggerappmessage('No Category Records Found.!'); - _this.noRecordsFound = false; - _this.errorMessage = data.msg; - } - }, function (err) { - _this.toast.pdTriggerappmessage('No Category Records Found.!'); - _this.noRecordsFound = false; - _this.errorMessage = 'No Records Found , Something went Wrong!'; - }); - this.getdropList(); - } - PdQuestionClientInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionClientInfoPage'); - }; - PdQuestionClientInfoPage.prototype.initFormLoadDetails = function (record) { - var _this = this; - var params = {}; - params.pd_id = this.pdid; - params.pd_form_id = this.formDetails.form_id; - params.company_id = this.company_id; - this.qustCat.retiverForm(params).subscribe(function (data) { - if (data['dataStatus']) { - var dataForm_1 = data['records']; - if (dataForm_1 !== undefined) { - _this.clientInfoForm = _this.fb.group({ - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - service_provider_details: _this.fb.array([_this.serviceProviderFormCreation(record)]), - supplier_info_form_remark: [dataForm_1.supplier_info_form_remark || null] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - // Load form details for manufacturing - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - // if(dataForm.manufacturing_details[0].main_raw_materials){ - if (arr.length > 0) { - // let api_main_raw_materials = Object.keys(dataForm.main_raw_materials).map(function (key) { - // return dataForm.main_raw_materials[key]; - // }); - if (dataForm_1.manufacturing_details) { - console.log(dataForm_1); - var api_main_raw_materials = dataForm_1.manufacturing_details[0].main_raw_materials; - _this.initManufacturingProductsDetails(api_main_raw_materials); - _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(dataForm_1.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit || null); - } - else { - console.log("NO Data", dataForm_1); - _this.initManufacturingProductsDetails(null); - _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - } - // } - // Load form details for the wholeshale trading details - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - // let api_trading_products = Object.keys(dataForm.trading_products).map(function (key) { - // return dataForm.trading_products[key]; - // }); - if (dataForm_1.trade_details) { - var api_trading_products = dataForm_1.trade_details[0].trading_products; - _this.initTradingProductsDetails(api_trading_products); - _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(dataForm_1.trade_details[0].trading_products_total_payments_percent_on_credit || null); - } - else { - _this.initTradingProductsDetails(null); - _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); - } - } - // Load form details for the service provider prduct details - var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2.length > 0) { - // let api_service_provider_products = Object.keys(dataForm.service_products).map(function (key) { - // return dataForm.service_products[key]; - // }); - if (dataForm_1.service_provider_details) { - var api_service_provider_products = dataForm_1.service_provider_details[0].service_products; - _this.initServiceProviderProductsDetails(api_service_provider_products); - _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(dataForm_1.service_provider_details[0].service_products_total_payments_percent_on_credit || null); - } - else { - _this.initServiceProviderProductsDetails(null); - _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null); - } - } - // Load form details for the retail trading details - var arr3 = record.filter(function (data) { return data.type_of_activity_id == 3; }); - // if (arr3.length > 0) { - // this.retaildTradingForm = true; - // } - _this.noRecordsFound = true; - } - else { - _this.clientInfoForm = _this.fb.group({ - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - service_provider_details: _this.fb.array([_this.serviceProviderFormCreation(record)]), - supplier_info_form_remark: [dataForm_1.supplier_info_form_remark || null] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - _this.initManufacturingProductsDetails(null); - _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - _this.initTradingProductsDetails(null); - _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); - } - var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2.length > 0) { - var api_service_provider_products = Object.keys(dataForm_1.service_products).map(function (key) { - return dataForm_1.service_products[key]; - }); - _this.initServiceProviderProductsDetails(api_service_provider_products); - _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null); - } - // Load form details for the retail trading details - var arr3 = record.filter(function (data) { return data.type_of_activity_id == 3; }); - // if (arr3.length > 0) { - // this.retaildTradingForm = true; - // } - _this.noRecordsFound = true; - } - } - else { - _this.clientInfoForm = _this.fb.group({ - pdid: [_this.pdid], - formid: [_this.formDetails.form_id], - company_id: [_this.company_id], - fk_createdby: [_this.users], - manufacturing_details: _this.fb.array([_this.manufacturingFormCreation(record)]), - trade_details: _this.fb.array([_this.tradingFormCreation(record)]), - service_provider_details: _this.fb.array([_this.serviceProviderFormCreation(record)]), - supplier_info_form_remark: [] - // wholesale_trade_details: this.fb.array([this.tradingFormCreation(record)]), - }); - var arr = record.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - _this.initManufacturingProductsDetails(null); - _this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials_total_payments_percent_on_credit'].setValue(null); - } - var arr1 = record.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr1.length > 0) { - _this.initTradingProductsDetails(null); - _this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products_total_payments_percent_on_credit'].setValue(null); - } - var arr2 = record.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr2.length > 0) { - _this.initServiceProviderProductsDetails(null); - _this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products_total_payments_percent_on_credit'].setValue(null); - } - // Load form details for the retail trading details - var arr3 = record.filter(function (data) { return data.type_of_activity_id == 3; }); - // if (arr3.length > 0) { - // this.retaildTradingForm = true; - // } - _this.noRecordsFound = true; - } - }, function (err) { - }); - }; - PdQuestionClientInfoPage.prototype.manufacturingFormCreation = function (val) { - var arr = val.filter(function (data) { return data.type_of_activity_id == 2; }); - if (arr.length > 0) { - this.manufacturingForm = true; - return this.fb.group({ - main_raw_materials: this.fb.array([]), - main_raw_materials_total_payments_percent_on_credit: [] - }); - // } - } - else { - return; - } - }; - PdQuestionClientInfoPage.prototype.tradingFormCreation = function (val) { - // let arr = val.filter(data => data.type_of_activity_id == 4); - var arr = val.filter(function (data) { return data.type_of_activity_id == 3 || data.type_of_activity_id == 4; }); - if (arr.length > 0) { - this.tradingForm = true; - return this.fb.group({ - trading_products: this.fb.array([]), - trading_products_total_payments_percent_on_credit: [] - }); - } - else { - return; - } - }; - PdQuestionClientInfoPage.prototype.serviceProviderFormCreation = function (val) { - var arr = val.filter(function (data) { return data.type_of_activity_id == 5; }); - if (arr.length > 0) { - this.serviceProviderForm = true; - return this.fb.group({ - service_products: this.fb.array([]), - service_products_total_payments_percent_on_credit: [] - }); - } - else { - return; - } - }; - PdQuestionClientInfoPage.prototype.initManufacturingProductsDetails = function (datas) { - var _this = this; - var control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - if (datas === null) { - control.push(this.initManufacturingProducts(null)); - } - else { - datas.forEach(function (val, inx) { - _this.checkCard(val.manufacturing_payment_type, 1, inx); - control.push(_this.initManufacturingProducts(val)); - }); - // for (let val of datas) { - // control.push(this.initManufacturingProducts(val)); - // } - } - }; - PdQuestionClientInfoPage.prototype.initManufacturingProducts = function (records) { - if (records === null) { - return this.fb.group({ - manufacturing_product_name: [''], - manufacturing_client_name: [''], - manufacturing_contact_person_name: [''], - manufacturing_contact_person_mobile_number: [''], - manufacturing_payment_type: [''], - manufacturing_payment_mode: [''], - // manufacturing_credit_days: [''], - person_title_name: [''], - person_designation: [''], - person_stdcode: [''], - person_landline: [''], - other_person_designation: [''], - manufacturing_credit_days_from: [''], - manufacturing_credit_days_to: [''] - }); - } - else { - return this.fb.group({ - manufacturing_product_name: [records.manufacturing_product_name || null], - manufacturing_client_name: [records.manufacturing_client_name || null], - manufacturing_contact_person_name: [records.manufacturing_contact_person_name || null], - manufacturing_contact_person_mobile_number: [records.manufacturing_contact_person_mobile_number || null], - manufacturing_payment_type: [records.manufacturing_payment_type || null], - manufacturing_payment_mode: [records.manufacturing_payment_mode || null], - manufacturing_credit_days: [records.manufacturing_credit_days || null], - person_title_name: [records.person_title_name || null], - person_designation: [records.person_designation || null], - person_stdcode: [records.person_stdcode || null], - person_landline: [records.person_landline || null], - other_person_designation: [records.other_person_designation || null], - manufacturing_credit_days_from: [records.manufacturing_credit_days_from || null], - manufacturing_credit_days_to: [records.manufacturing_credit_days_to || null] - }); - } - }; - PdQuestionClientInfoPage.prototype.initTradingProductsDetails = function (datas) { - var _this = this; - var control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - if (datas === null) { - control.push(this.initTradingProducts(null)); - } - else { - datas.forEach(function (val, inx) { - _this.checkCard(val.trade_product_payment_type, 2, inx); - control.push(_this.initTradingProducts(val)); - }); - // for (let val of datas) { - // control.push(this.initTradingProducts(val)); - // } - } - }; - PdQuestionClientInfoPage.prototype.initTradingProducts = function (records) { - if (records === null) { - return this.fb.group({ - trade_product_name: [''], - trade_client_name: [''], - trade_product_contact_person_name: [''], - trade_product_contact_person_mobile_number: [''], - trade_product_payment_type: [''], - trade_product_payment_mode: [''], - trade_product_frequency_of_purchase: [''], - trade_product_credit_days_from: [''], - trade_product_credit_days_to: [''], - person_title_name: [''], - person_designation: [''], - person_stdcode: [''], - person_landline: [''], - other_person_designation: [''], - }); - } - else { - return this.fb.group({ - trade_product_name: [records.trade_product_name], - trade_client_name: [records.trade_client_name], - trade_product_contact_person_name: [records.trade_product_contact_person_name], - trade_product_contact_person_mobile_number: [records.trade_product_contact_person_mobile_number], - trade_product_payment_type: [records.trade_product_payment_type], - trade_product_payment_mode: [records.trade_product_payment_mode], - trade_product_frequency_of_purchase: [records.trade_product_frequency_of_purchase], - trade_product_credit_days_from: [records.trade_product_credit_days_from], - trade_product_credit_days_to: [records.trade_product_credit_days_to], - person_title_name: [records.person_title_name || null], - person_designation: [records.person_designation || null], - person_stdcode: [records.person_stdcode || null], - person_landline: [records.person_landline || null], - other_person_designation: [records.other_person_designation || null], - }); - } - }; - PdQuestionClientInfoPage.prototype.initServiceProviderProductsDetails = function (datas) { - var _this = this; - var control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products']; - if (datas === null) { - control.push(this.initServiceProviderProducts(null)); - } - else { - datas.forEach(function (val, inx) { - _this.checkCard(val.service_provider_product_payment_type, 3, inx); - control.push(_this.initServiceProviderProducts(val)); - }); - // for (let val of datas) { - // control.push(this.initServiceProviderProducts(val)); - // } - } - }; - PdQuestionClientInfoPage.prototype.initServiceProviderProducts = function (records) { - if (records === null) { - return this.fb.group({ - service_provider_product_name: [''], - service_provider_client_name: [''], - service_provider_product_contact_person_name: [''], - service_provider_product_contact_person_mobile_number: [''], - service_provider_product_payment_type: [''], - service_provider_product_payment_mode: [''], - service_provider_product_frequency_of_purchase: [''], - service_provider_product_credit_days_from: [''], - service_provider_product_credit_days_to: [''], - person_title_name: [''], - person_designation: [''], - person_stdcode: [''], - person_landline: [''], - other_person_designation: [''], - }); - } - else { - return this.fb.group({ - service_provider_product_name: [records.service_provider_product_name], - service_provider_client_name: [records.service_provider_client_name], - service_provider_product_contact_person_name: [records.service_provider_product_contact_person_name], - service_provider_product_contact_person_mobile_number: [records.service_provider_product_contact_person_mobile_number], - service_provider_product_payment_type: [records.service_provider_product_payment_type], - service_provider_product_payment_mode: [records.service_provider_product_payment_mode], - service_provider_product_frequency_of_purchase: [records.service_provider_product_frequency_of_purchase], - service_provider_product_credit_days_from: [records.service_provider_product_credit_days_from], - service_provider_product_credit_days_to: [records.service_provider_product_credit_days_to], - person_title_name: [records.person_title_name || null], - person_designation: [records.person_designation || null], - person_stdcode: [records.person_stdcode || null], - person_landline: [records.person_landline || null], - other_person_designation: [records.other_person_designation || null], - }); - } - }; - PdQuestionClientInfoPage.prototype.addMoreRawMaterials = function (e) { - // e.stropPropagation(); - var control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - control.push(this.initManufacturingProducts(null)); - }; - PdQuestionClientInfoPage.prototype.removeRawMaterials = function (inx) { - var control = this.clientInfoForm.controls['manufacturing_details']['controls'][0].controls['main_raw_materials']; - control.removeAt(inx); - }; - PdQuestionClientInfoPage.prototype.addMoretradeProduct = function (e) { - // e.stropPropagation(); - var control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - control.push(this.initTradingProducts(null)); - }; - PdQuestionClientInfoPage.prototype.removeTradingProduct = function (inx) { - var control = this.clientInfoForm.controls['trade_details']['controls'][0].controls['trading_products']; - control.removeAt(inx); - }; - PdQuestionClientInfoPage.prototype.addMoreServiceProduct = function (e) { - // e.stropPropagation(); - var control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products']; - control.push(this.initServiceProviderProducts(null)); - }; - PdQuestionClientInfoPage.prototype.removeServiceProduct = function (inx) { - var control = this.clientInfoForm.controls['service_provider_details']['controls'][0].controls['service_products']; - control.removeAt(inx); - }; - PdQuestionClientInfoPage.prototype.getdropList = function () { - var _this = this; - this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { - _this.companyRelationShipList = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('TITLES').subscribe(function (data) { - _this.titleList = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('PAYMENTMODE').subscribe(function (data) { - _this.m_paymentType = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - }; - // saveclientDetails(answerData) - // { - // let records:any ={}; - // records.pdid = this.pdDetails.pd_id; - // records.formid = this.FormId.form_id; - // records.fk_createdby = this.users; - // records.client_details = answerData.clientArray; - // this.qustCat.saveForm(records).subscribe(res=> - // { - // if(res['dataStatus']==true) - // { - // this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - // this.navCtrl.pop(); - // } - // }); - // } - /** To Save/Edited Popup Data */ - PdQuestionClientInfoPage.prototype.saveClientInfo = function (answerFormValues) { - var _this = this; - Object.keys(answerFormValues).forEach(function (key) { return (answerFormValues[key] == null) && delete answerFormValues[key]; }); - if (answerFormValues.manufacturing_details[0] == null) { - delete answerFormValues['manufacturing_details']; - } - if (answerFormValues.trade_details[0] == null) { - delete answerFormValues['trade_details']; - } - if (answerFormValues.service_provider_details[0] == null) { - delete answerFormValues['service_provider_details']; - } - //To Remove The "Null" With Key also - Object.keys(answerFormValues).forEach(function (key) { if (answerFormValues[key] === null || answerFormValues[key] === undefined || answerFormValues[key] === '') { - delete answerFormValues[key]; - } ; }); - this.qustCat.saveForm(answerFormValues).subscribe(function (responsed) { - if (responsed['status'] == 200) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage('Something Wents Wrong Try Again.!'); - } - }); - }; - PdQuestionClientInfoPage.prototype.selectedPersonDesignation = function (items, e, flag) { - if (flag == 1) { - // e==1 ? items.controls['other_person_designation'].setValidators([Validators.required]) - // : items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); - // items.controls['other_person_designation'].updateValueAndValidity(); - } - else if (flag == 2) { - // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required]) - // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); - // items.controls['other_person_designation'].updateValueAndValidity(); - } - else if (flag == 3) { - // e==1 ?items.controls['other_person_designation'].setValidators([Validators.required]) - // :items.controls['other_person_designation'].clearValidators(),items.controls['other_person_designation'].setValue(''); - // items.controls['other_person_designation'].updateValueAndValidity(); - } - }; - PdQuestionClientInfoPage.prototype.checkCard = function (e, flag, index) { - if (flag == 3 && e == 3) { - this.spCounter[index] = 1; - } - else if (flag == 3 && e != 3) { - this.spCounter[index] = 0; - } - var SP = this.spCounter.reduce(function (sum, val) { return sum + +val; }, 0); - this.spCreditCardFlag = SP > 0 ? true : false; - if (flag == 2 && e == 3) { - this.trdCounter[index] = 1; - } - else if (flag == 2 && e != 3) { - this.trdCounter[index] = 0; - } - var TRD = this.trdCounter.reduce(function (sum, val) { return sum + +val; }, 0); - this.trdCreditCardFlag = TRD > 0 ? true : false; - if (flag == 1 && e == 3) { - this.mfgCounter[index] = 1; - } - else if (flag == 1 && e != 3) { - this.mfgCounter[index] = 0; - } - var MFG = this.mfgCounter.reduce(function (sum, val) { return sum + +val; }, 0); - this.mfgCreditCardFlag = MFG > 0 ? true : false; - }; - PdQuestionClientInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-client-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-client-info\pd-question-client-info.html"*/'\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n
Manufacturing Product Details
\n\n
\n\n
\n\n
\n\n
\n\n Product #{{l+1}}\n\n \n\n
\n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number.\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n Payment received in\n\n Cash.\n\n Payment\n\n received through Banking channels.\n\n \n\n \n\n \n\n No of days of Credit provided to Client for payment\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
Trading Product Details
\n\n
\n\n
\n\n
\n\n
\n\n Trading Product #{{l+1}}\n\n \n\n
\n\n \n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number.\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n\n\n \n\n \n\n \n\n Payment received in\n\n Cash.\n\n Payment\n\n received through Banking channels.\n\n \n\n\n\n \n\n \n\n No of days of Credit provided to Client for payment\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
Service Provider Product Details
\n\n \n\n
\n\n
\n\n
\n\n
\n\n Service Provided #{{l+1}}\n\n \n\n
\n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tl.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n \n\n {{comrelShip.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number.\n\n \n\n \n\n \n\n Enter Valid STD Code Number.\n\n \n\n \n\n \n\n \n\n Enter Valid LandLine Number.\n\n \n\n \n\n \n\n {{\n\n pm.name }}\n\n \n\n \n\n \n\n \n\n Payment received in\n\n Cash.\n\n Payment\n\n received through Banking channels.\n\n \n\n \n\n \n\n
\n\n \n\n No of days of Credit provided to Client for payment\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
{{ errorMessage }}
\n\n
\n\n
\n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-client-info\pd-question-client-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) - ], PdQuestionClientInfoPage); - return PdQuestionClientInfoPage; -}()); - -//# sourceMappingURL=pd-question-client-info.js.map - -/***/ }), - -/***/ 22: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ConstantsProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - -/* - Generated class for the ConstantsProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var ConstantsProvider = (function () { - function ConstantsProvider(http) { - this.http = http; - this.commonimage = "http://ssa.sineedge.com/sparqapi/logo/avatar.jpg"; - console.log('Hello ConstantsProvider Provider'); - } - ConstantsProvider.prototype.apiurl = function () { - var testapiurl = 'http://ssa.sineedge.com/sparqtest/api/'; - var devapiurl = 'http://ssa.sineedge.com/sparqapi/api/'; - var localapiurl = 'http://192.168.0.9/sparqapi/api/'; - return devapiurl; - }; - ConstantsProvider.prototype.getcurrentDate = function () { - var today = new Date(); - var time = today.getHours() + ":" + today.getMinutes() + ":" + today.getSeconds(); - var date = today.getFullYear() + '-' + (today.getMonth() + 1) + '-' + today.getDate(); - var time = today.getHours() + ":" + today.getMinutes(); - var CurrentDate = date + "T00:00"; - return CurrentDate.toString(); - }; - ConstantsProvider.prototype.convertNumberToWords = function (amount) { - var words = new Array(); - words[0] = ''; - words[1] = 'One'; - words[2] = 'Two'; - words[3] = 'Three'; - words[4] = 'Four'; - words[5] = 'Five'; - words[6] = 'Six'; - words[7] = 'Seven'; - words[8] = 'Eight'; - words[9] = 'Nine'; - words[10] = 'Ten'; - words[11] = 'Eleven'; - words[12] = 'Twelve'; - words[13] = 'Thirteen'; - words[14] = 'Fourteen'; - words[15] = 'Fifteen'; - words[16] = 'Sixteen'; - words[17] = 'Seventeen'; - words[18] = 'Eighteen'; - words[19] = 'Nineteen'; - words[20] = 'Twenty'; - words[30] = 'Thirty'; - words[40] = 'Forty'; - words[50] = 'Fifty'; - words[60] = 'Sixty'; - words[70] = 'Seventy'; - words[80] = 'Eighty'; - words[90] = 'Ninety'; - amount = amount.toString(); - var atemp = amount.split("."); - var number = atemp[0].split(",").join(""); - var n_length = number.length; - var value = ""; - var words_string = ""; - if (n_length <= 9) { - var n_array = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0); - var received_n_array = new Array(); - for (var i = 0; i < n_length; i++) { - received_n_array[i] = number.substr(i, 1); - } - for (var i = 9 - n_length, j = 0; i < 9; i++, j++) { - n_array[i] = received_n_array[j]; - } - for (var i = 0, j = 1; i < 9; i++, j++) { - if (i == 0 || i == 2 || i == 4 || i == 7) { - if (n_array[i] == 1) { - n_array[j] = 10 + parseInt(n_array[j]); - n_array[i] = 0; - } - } - } - value = ""; - for (var i = 0; i < 9; i++) { - if (i == 0 || i == 2 || i == 4 || i == 7) { - value = n_array[i] * 10; - } - else { - value = n_array[i]; - } - if (value != 0) { - words_string += words[value] + " "; - } - if ((i == 1 && value != 0) || (i == 0 && value != 0 && n_array[i + 1] == 0)) { - words_string += "Crores "; - } - if ((i == 3 && value != 0) || (i == 2 && value != 0 && n_array[i + 1] == 0)) { - words_string += "Lakhs "; - } - if ((i == 5 && value != 0) || (i == 4 && value != 0 && n_array[i + 1] == 0)) { - words_string += "Thousand "; - } - if (i == 6 && value != 0 && (n_array[i + 1] != 0 && n_array[i + 2] != 0)) { - words_string += "Hundred and "; - } - else if (i == 6 && value != 0) { - words_string += "Hundred "; - } - } - words_string = words_string.split(" ").join(" "); - } - return words_string; - }; - ConstantsProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */]]) - ], ConstantsProvider); - return ConstantsProvider; -}()); - -//# sourceMappingURL=constants.js.map - -/***/ }), - -/***/ 246: -/***/ (function(module, exports) { - -function webpackEmptyAsyncContext(req) { - // Here Promise.resolve().then() is used instead of new Promise() to prevent - // uncatched exception popping up in devtools - return Promise.resolve().then(function() { - throw new Error("Cannot find module '" + req + "'."); - }); -} -webpackEmptyAsyncContext.keys = function() { return []; }; -webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; -module.exports = webpackEmptyAsyncContext; -webpackEmptyAsyncContext.id = 246; - -/***/ }), - -/***/ 289: -/***/ (function(module, exports) { - -function webpackEmptyAsyncContext(req) { - // Here Promise.resolve().then() is used instead of new Promise() to prevent - // uncatched exception popping up in devtools - return Promise.resolve().then(function() { - throw new Error("Cannot find module '" + req + "'."); - }); -} -webpackEmptyAsyncContext.keys = function() { return []; }; -webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; -module.exports = webpackEmptyAsyncContext; -webpackEmptyAsyncContext.id = 289; - -/***/ }), - -/***/ 333: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LoginPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_material__ = __webpack_require__(349); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__ = __webpack_require__(69); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pd_list_pd_list__ = __webpack_require__(76); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__password_password__ = __webpack_require__(395); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - -// import { Component, OnInit, ViewEncapsulation } from '@angular/core'; - -// import { CustomValidators } from 'ng2-validation'; - - - - - -var LoginPage = (function () { - function LoginPage(aws, dialog, shared, navCtrl, Menu, toast) { - this.aws = aws; - this.dialog = dialog; - this.shared = shared; - this.navCtrl = navCtrl; - this.Menu = Menu; - this.toast = toast; - this.status = false; - this.config = { - disableClose: false, - width: '', - height: '', - position: { - top: '', - bottom: '', - left: '', - right: '' - } - }; - } - LoginPage.prototype.ngOnInit = function () { - //this.loggedInCheck(); - }; - LoginPage.prototype.ionViewDidEnter = function () { - this.Menu.enable(false); - }; - LoginPage.prototype.ionViewWillLeave = function () { - this.Menu.enable(true); - }; - /** - * @param email - * @param password - * AWS login service - */ - LoginPage.prototype.login = function () { - var _this = this; - // console.log(this.email); - if (this.email !== undefined && this.password !== undefined && this.email != '' && this.password != '' && this.email != null && this.password != null) { - var auth = { 'Username': this.email, 'Password': this.password }; - this.aws.dologin(auth).subscribe(function (awsres) { - var userid = _this.aws.getlocale(); - _this.aws.getuserprofile(userid).subscribe(function (usersres) { - _this.users = usersres; - if (_this.users.dataStatus == true) { - if (_this.users.records[0].role_name == "PD Officer" || _this.users.records[0].role_name == "PD Executive") { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_5__pd_list_pd_list__["a" /* PdListPage */]); - } - else { - _this.toast.pdTriggerappmessage('This App only for PD Officers'); - localStorage.clear(); - } - } - }); - }, function (err) { - console.log(JSON.stringify(err.message)); - if (err.message == "New password is required.") { - //console.log("if"); - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_6__password_password__["a" /* PasswordPage */], { 'Username': _this.email, 'Password': _this.password }); - } - else { - console.log(JSON.stringify(err.message)); - _this.toast.pdTriggerappmessage(JSON.stringify(err.message)); - } - //alert(err.message); - }); - } - else { - this.toast.pdTriggerappmessage('Enter Email or Password'); - } - }; - /** - * New password set - * Defalut aws function - * @param email password,newpassword - */ - // newpassopen() { - // let dialogRef = this.dialog.open(NewPasswordDialog, this.config); - // dialogRef.afterClosed().subscribe(result => { - // if (result !== undefined) { - // let auth = { 'Username': this.email, 'Password': this.password, 'newpassword': result }; - // console.log(auth); - // this.aws.dologin(auth).subscribe(res => { - // console.log(res); - // // this.router.navigate(['/home']); - // }, err => { - // // alert(err.message); - // }) - // } - // }); - // } - LoginPage.prototype.forgotopen = function () { - this.status = true; - }; - LoginPage.prototype.forgotpassword = function () { - var auth = { 'Username': this.email }; - console.log(auth); - // this.aws.userforgotpass(auth).subscribe(res => { - // console.log(res); - // }) - }; - LoginPage.prototype.loggedInCheck = function () { - //alert(this.shared.isLoggedIn); - if (this.shared.isLoggedIn) { - alert("if"); - // this.router.navigate(['/home']); - return false; - } - else { - alert("else"); - return true; - } - }; - LoginPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-login',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\login\login.html"*/'\n\n\n\n\n\n\n\n\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\login\login.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_material__["h" /* MatDialog */], - __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["o" /* MenuController */], - __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], LoginPage); - return LoginPage; -}()); - -// ======================= END ============================== -/** -* New password Dialog -*/ -// const newpassword = new FormControl('', Validators.required); -// const confirmPassword = new FormControl(''); -// @Component({ -// selector: 'app-jazz-dialog', -// template: ` -//
New Password Change.
-// -// -// -//
-// -// -// -// Passwords do not math. -//
-// -// ` -// }) -// export class NewPasswordDialog { -// newpassword: any = newpassword; -// confirmPassword: any = confirmPassword; -// jazzMessage = 'Jazzy jazz jazz'; -// constructor(public dialogRef: MatDialogRef) { -// } -// } -// @Component({ -// selector: 'app-jazz-dialog', -// template: ` -//
Forgot Password
-// -// -// -//
-// -// ` -// }) -// export class ForgotPass { -// newpassword: any = newpassword; -// confirmPassword: any = confirmPassword; -// jazzMessage = 'Jazzy jazz jazz'; -// constructor(public dialogRef: MatDialogRef) { -// } -// } -//# sourceMappingURL=login.js.map - -/***/ }), - -/***/ 358: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return InputPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_status_bar__ = __webpack_require__(187); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__angular_cdk_platform__ = __webpack_require__(38); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_launch_navigator__ = __webpack_require__(359); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__otp_otp__ = __webpack_require__(198); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__ = __webpack_require__(204); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__angular_common__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__ionic_native_location_accuracy__ = __webpack_require__(390); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_constants_constants__ = __webpack_require__(22); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__pd_general_images_pd_general_images__ = __webpack_require__(391); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__ionic_native_android_permissions__ = __webpack_require__(124); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__pages_input_bounced_reject_bounced_reject__ = __webpack_require__(392); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - - - - - - -/** - * Generated class for the InputPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var currentdate = new Date().toJSON().slice(0, 19); -var InputPage = (function () { - function InputPage(navCtrl, navParams, fb, statusBar, platform, launchNavigator, aws, pdDetails, geolocation, alertCtrl, locationAccuracy, toast, constant, androidPermissions) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.statusBar = statusBar; - this.platform = platform; - this.launchNavigator = launchNavigator; - this.aws = aws; - this.pdDetails = pdDetails; - this.geolocation = geolocation; - this.alertCtrl = alertCtrl; - this.locationAccuracy = locationAccuracy; - this.toast = toast; - this.constant = constant; - this.androidPermissions = androidPermissions; - this.initiatedAccess = false; - this.scheduleAccess = false; - this.pipe = new __WEBPACK_IMPORTED_MODULE_10__angular_common__["d" /* DatePipe */]('en-US'); - this.acceptedAccess = false; - this.startedAccess = false; - this.timeOut = 15 * 1000; - this.maxdate = this.pipe.transform(new Date(), 'yyyy-MM-ddThh:mm').toString(); - /***Header value pass */ - this.statusBar.styleDefault(); - this.statusBar.overlaysWebView(false); - this.statusBar.backgroundColorByHexString('#db4437'); - var timeStart = this.pipe.transform(new Date(), 'dd/MM/yyyy hh:mm a'); - this.applicatentDetails = this.navParams.get('pdDetails'); - this.getFullPD(); - if (this.applicatentDetails.pd_status == 'ALLOCATED') { - this.acceptedAccess = true; - } - if (this.applicatentDetails.pd_status == 'ACCEPTED') { - this.scheduleAccess = true; - } - if (this.applicatentDetails.pd_status == 'SCHEDULED') { - this.initiatedAccess = true; - } - //console.log(this.initiatedAccess); - if (this.applicatentDetails.pd_status == 'INITIATED') { - this.startedAccess = true; - this.getenableAccuracy(); - } - this.users = this.aws.getlocale(); - } - InputPage.prototype.ionViewDidLoad = function () { - this.setPermission(); - }; - InputPage.prototype.ionViewCanLeave = function () { - clearInterval(this.timeInterval); - }; - InputPage.prototype.locationnavicate = function (address) { - this.launchNavigator.navigate(address); - }; - InputPage.prototype.setPermission = function () { - var _this = this; - this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION); }); - this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); - this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION); }); - this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); - }; - InputPage.prototype.getFullPD = function () { - var _this = this; - var records = { 'pdid': this.applicatentDetails.pd_id }; - this.pdDetails.getFullPDdetails(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.other_applicant = res['records'].applicants_details; - console.log(_this.other_applicant); - var courrentDateTime = _this.pipe.transform(new Date(), 'yyyy-MM-dd HH:mm'); - var scheduledDateTime = res['records'].pd_master_details[0].scheduled_on_for_validation; - var diffInMs = Date.parse(courrentDateTime) - Date.parse(scheduledDateTime); - var diffInHours = Math.floor(diffInMs / 1000 / 60 / 60); - if (diffInHours <= -4) { - _this.enableStartPD = true; - } - else { - _this.enableStartPD = false; - } - } - }); - }; - InputPage.prototype.pdStatus = function (status, appdetails) { - var _this = this; - var data; - if (status == 'BOUNCED') { - data = { 'pd_id': appdetails.pd_id, 'pd_status': status, 'fk_updatedby': this.users, 'updatedon': currentdate }; - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_16__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], { 'details': data }); - // this.pdDetails.updatepdStatus(data).subscribe(res=> - // { - // this.updateStatus = res; - // if(this.updateStatus.dataStatus == true) - // { - // this.navCtrl.setRoot(PdListPage); - // } - // }) - } - else if (status == 'ACCEPTED') { - data = { 'pd_id': appdetails.pd_id, 'pd_status': status, 'fk_updatedby': this.users, 'updatedon': currentdate }; - this.pdDetails.updatepdStatus(data).subscribe(function (res) { - _this.updateStatus = res; - if (_this.updateStatus.dataStatus == true) { - _this.getNewpdupdate(); - _this.scheduleAccess = true; - } - else { - _this.scheduleAccess = false; - } - }); - } - }; - InputPage.prototype.pdschedule = function (scheduledate, appdetails) { - var _this = this; - var data; - console.log(scheduledate); - if (scheduledate != undefined) { - var schDate = scheduledate.slice(0, 19).replace('T', ' '); - console.log(schDate); - data = { 'pd_id': appdetails.pd_id, 'pd_status': 'SCHEDULED', 'scheduled_on': schDate, 'fk_updatedby': this.users, 'updatedon': currentdate }; - this.pdDetails.updatepdStatus(data).subscribe(function (res) { - _this.updateSchedule = res; - if (_this.updateSchedule.dataStatus == true) { - _this.getNewpdupdate(); - _this.initiatedAccess = true; - } - }); - } - else { - this.toast.pdTriggerappmessage("Please Choose the Schedule Date"); - this.input_focus.setFocus(); - //this.input_focus.scrollToTop(); - this.scrolltop.scrollTop; - } - }; - InputPage.prototype.getenableAccuracy = function () { - var _this = this; - this.locationAccuracy.canRequest().then(function (canRequest) { - if (canRequest) { - // the accuracy option will be ignored by iOS - _this.locationAccuracy.request(_this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function () { - _this.getcurrentLocation(); - }, function (error) { return alert('Error requesting location permissions' + JSON.stringify(error)); }); - } - }); - }; - InputPage.prototype.getcurrentLocation = function () { - var _this = this; - var data; - var options = { - frequency: 3000, - enableHighAccuracy: true, - timeOut: 1000, - }; - this.timeInterval = setInterval(function () { - _this.currentPosPDofficer = ''; - _this.geolocation.getCurrentPosition(options).then(function (resp) { - // resp.coords.latitude - // resp.coords.longitude - if (resp.coords != undefined) { - _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; - // this.toast.pdTriggerappmessage(this.currentPosPDofficer); - console.log(_this.currentPosPDofficer); - data = { 'pd_id': _this.applicatentDetails.pd_id, 'link': _this.currentPosPDofficer }; - _this.pdDetails.saveCurrentLocation(data).subscribe(function (res) { - // this.updateinitiated = res; - // if(this.updateinitiated.dataStatus == true) - // { - // // this.getNewpdupdate(); - // // this.startedAccess = true; - // }else - // { - // this.startedAccess = false; - // } - }); - } - }).catch(function (error) { - _this.toast.pdTriggerappmessage(error.message); - }); - }, this.timeOut); - }; - InputPage.prototype.pdreschedule = function () { - this.scheduleAccess = true; - this.initiatedAccess = false; - }; - InputPage.prototype.pdinitiated = function (appdetails) { - var _this = this; - var data; - this.locationAccuracy.canRequest().then(function (canRequest) { - if (canRequest) { - // the accuracy option will be ignored by iOS - _this.locationAccuracy.request(_this.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function () { - _this.geolocation.getCurrentPosition().then(function (resp) { - // resp.coords.latitude - // resp.coords.longitude - _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; - data = { 'pd_id': appdetails.pd_id, 'pd_status': 'INITIATED', 'mobile_no': appdetails.applicat_details[0].mobile_no, 'officerName': appdetails.pd_allocated_to, 'firstName': appdetails.applicat_details[0].applicant_name, 'fk_updatedby': _this.users, 'updatedon': currentdate, 'link': _this.currentPosPDofficer }; - _this.pdDetails.updatepdStatus(data).subscribe(function (res) { - _this.updateinitiated = res; - if (_this.updateinitiated.dataStatus == true) { - _this.getNewpdupdate(); - _this.getcurrentLocation(); - _this.startedAccess = true; - } - else { - _this.startedAccess = false; - } - }); - }).catch(function (error) { - console.log('Error getting location', error); - }); - }, function (error) { return alert('Error requesting location permissions' + JSON.stringify(error)); }); - } - }); - }; - InputPage.prototype.startPdDiscussion = function (appdetails) { - var _this = this; - var data; - var alert = this.alertCtrl.create({ - title: 'Starting PD Officer', - message: 'Are you starting the Discussions', - buttons: [ - { - text: 'No', - role: 'cancel', - handler: function () { - // console.log('Cancel clicked'); - // this.toast.pdTriggerappmessage('') - } - }, - { - text: 'YES', - handler: function () { - _this.geolocation.getCurrentPosition().then(function (resp) { - _this.currentPosPDofficer = resp.coords.latitude + "," + resp.coords.longitude; - data = { 'pd_id': appdetails.pd_id, 'pd_status': 'STARTED', 'mobile_no': appdetails.applicat_details[0].mobile_no, 'fk_updatedby': _this.users, 'updatedon': currentdate, 'link': _this.currentPosPDofficer }; - console.log(data); - _this.pdDetails.updatepdStatus(data).subscribe(function (res) { - _this.updatestarted = res; - if (_this.updatestarted.dataStatus == true) { - clearInterval(_this.timeInterval); - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_8__otp_otp__["a" /* OtpPage */], { 'pdDetails': appdetails }); - } - }); - // console.log('Buy clicked'); - }); - } - } - ] - }); - alert.present(); - }; - InputPage.prototype.getNewpdupdate = function () { - var _this = this; - this.acceptedAccess = false; - this.initiatedAccess = false; - this.scheduleAccess = false; - this.startedAccess = false; - this.pdDetails.getpddetails(this.users).subscribe(function (res) { - _this.appdata = res; - if (_this.appdata.dataStatus == true) { - _this.applicatentDetails = _this.appdata.records.filter(function (app) { return app.pd_id == _this.applicatentDetails.pd_id; })[0]; - if (_this.applicatentDetails.pd_status == 'ALLOCATED') { - _this.acceptedAccess = true; - } - if (_this.applicatentDetails.pd_status == 'ACCEPTED') { - _this.scheduleAccess = true; - _this.toast.pdTriggerappmessage("Accepted Successfully"); - } - if (_this.applicatentDetails.pd_status == 'SCHEDULED') { - _this.initiatedAccess = true; - _this.getFullPD(); - _this.toast.pdTriggerappmessage("Scheduled Successfully"); - } - if (_this.applicatentDetails.pd_status == 'INITIATED') { - _this.startedAccess = true; - _this.toast.pdTriggerappmessage("Initiated Successfully"); - } - } - }); - }; - InputPage.prototype.camerasetup = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_14__pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], { 'pdDetails': this.applicatentDetails }); - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('focusinp'), - __metadata("design:type", Object) - ], InputPage.prototype, "input_focus", void 0); - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('scroll'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) - ], InputPage.prototype, "scrolltop", void 0); - InputPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-input',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\input\input.html"*/'\n\n \n\n \n\n {{applicatentDetails.lender_full_name}} - {{applicatentDetails.lender_applicant_id}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n   {{applicatentDetails.applicat_details[0].applicant_name | titlecase}}\n\n \n\n
\n\n \n\n \n\n {{applicatentDetails.customer_segment_name}}\n\n \n\n
\n\n \n\n \n\n \n\n {{applicatentDetails.addressline1}}
\n\n {{applicatentDetails.city_name}}
\n\n {{applicatentDetails.state_name}}\n\n -{{applicatentDetails.pincode}}\n\n -{{applicatentDetails.other_pincode}}
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n {{applicatentDetails.applicat_details[0].mobile_no}} \n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{applicatentDetails.product_name}}\n\n / {{applicatentDetails.subproduct_name}}\n\n \n\n
\n\n \n\n \n\n \n\n Schedule Date\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n  {{applicatentDetails.scheduled_on}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n
Applicant # {{i+1}}
\n\n
\n\n \n\n \n\n   {{other_app.applicant_name | titlecase}}\n\n \n\n \n\n \n\n \n\n {{other_app.mobile_no}}\n\n \n\n \n\n \n\n \n\n
\n\n

\n\n \n\n
\n\n \n\n
Lender Contact Details
\n\n
\n\n \n\n \n\n \n\n \n\n   {{applicatentDetails.pd_contact_person}}\n\n \n\n \n\n \n\n \n\n {{applicatentDetails.pd_contact_mobileno}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\input\input.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_4__angular_cdk_platform__["a" /* Platform */], __WEBPACK_IMPORTED_MODULE_5__ionic_native_launch_navigator__["a" /* LaunchNavigator */], - __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_geolocation__["a" /* Geolocation */], - __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_11__ionic_native_location_accuracy__["a" /* LocationAccuracy */], __WEBPACK_IMPORTED_MODULE_12__providers_common_provider_toast__["a" /* ToastProvider */], - __WEBPACK_IMPORTED_MODULE_13__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_15__ionic_native_android_permissions__["a" /* AndroidPermissions */]]) - ], InputPage); - return InputPage; -}()); - -//# sourceMappingURL=input.js.map - -/***/ }), - -/***/ 360: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pd_question_category_pd_question_category__ = __webpack_require__(123); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__ = __webpack_require__(199); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - -/** - * Generated class for the PdQuestionPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var currentdate = new Date().toJSON().slice(0, 19).replace('T', ' '); -var PdQuestionPage = (function () { - function PdQuestionPage(navCtrl, navParams, platform, fb, qstDetails, aws, camera, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qstDetails = qstDetails; - this.aws = aws; - this.camera = camera; - this.toast = toast; - this.docName = []; - this.docArray = []; - this.imageArray = []; - this.SwipedTabsIndicator = null; - this.tabTitleWidthArray = []; - this.tabElementWidth_px = 50; - this.screenWidth_px = 0; - this.isRight = false; - this.isLeft = false; - this.tabs = []; - this.screenWidth_px = platform.width(); - this.questionAnswer = this.fb.group({ - answerDetails: [null], - items: this.fb.array([]), - }); - this.questionanotherData = this.fb.group({ - questionRemarks: [null] - }); - this.getpdQuestionDetails(); - this.userid = this.aws.getlocale(); - } - PdQuestionPage.prototype.ionViewDidLoad = function () { - }; - PdQuestionPage.prototype.ionViewDidEnter = function () { - this.SwipedTabsIndicator = document.getElementById("indicator"); - for (var i in this.tabs) - this.tabTitleWidthArray.push(document.getElementById("tabTitle" + i).offsetWidth); - this.selectTab(0); - }; - PdQuestionPage.prototype.ionViewWillLeave = function () { - this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_5__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': this.pdinfo }); - }; - PdQuestionPage.prototype.scrollIndicatiorTab = function () { - this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - this.screenWidth_px / 2, 0); - // let answerDetails = this.questionAnswer.value; - // let remarks = this.questionanotherData.value; - if (this.isLeft) { - //this.prev(answerDetails,remarks,this.questionDetails); - } - if (this.isRight) { - //this.saveQuestionDetails(answerDetails,remarks,this.questionDetails); - } - }; - PdQuestionPage.prototype.selectTab = function (index) { - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; - this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; - this.SwipedTabsSlider.slideTo(index); - }; - PdQuestionPage.prototype.calculateDistanceToSpnd = function (index) { - var result = 0; - for (var _i = 0; _i < index; _i++) { - result = result + this.tabTitleWidthArray[_i]; - } - return result; - }; - PdQuestionPage.prototype.updateIndicatorPosition = function () { - var index = this.SwipedTabsSlider.getActiveIndex(); - if (this.SwipedTabsSlider.length() == index) - index = index - 1; - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; - this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; - }; - PdQuestionPage.prototype.updateIndicatorPositionOnTouchEnd = function () { - var _this = this; - setTimeout(function () { _this.updateIndicatorPosition(); }, 200); - }; - PdQuestionPage.prototype.animateIndicator = function ($event) { - this.isLeft = false; - this.isRight = false; - var currentSliderCenterProgress = (1 / (this.SwipedTabsSlider.length() - 1)) * this.SwipedTabsSlider.getActiveIndex(); - if ($event.progress < currentSliderCenterProgress) { - this.isLeft = true; - this.isRight = false; - } - if ($event.progress > currentSliderCenterProgress) { - this.isLeft = false; - this.isRight = true; - } - if (this.SwipedTabsSlider.isEnd()) - this.isRight = false; - if (this.SwipedTabsSlider.isBeginning()) - this.isLeft = false; - if (this.isRight) - this.SwipedTabsIndicator.style.webkitTransform = - 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() + 1]) - + 'px,0,0)'; - if (this.isLeft) - this.SwipedTabsIndicator.style.webkitTransform = - 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() - 1]) - + 'px,0,0)'; - if (!this.isRight && !this.isLeft) - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()] + "px"; - }; - /** - * Pd Discussion Qustion Load - */ - PdQuestionPage.prototype.getpdQuestionDetails = function () { - this.questionDetails = this.navParams.get('questionDetails'); - this.pdinfo = this.navParams.get('pdDetails'); - for (var _a = 0, _b = this.questionDetails.questions; _a < _b.length; _a++) { - var qustimage = _b[_a]; - if (qustimage.images !== undefined) { - for (var _c = 0, _d = qustimage.images; _c < _d.length; _c++) { - var image = _d[_c]; - image.questionId = qustimage.fk_question_id; - this.docArray.push(image); - } - for (var _e = 0, _f = qustimage.answers; _e < _f.length; _e++) { - var answers = _f[_e]; - if (qustimage.fk_question_answertype == 3) { - this.items = this.questionAnswer.get('items'); - this.items.push(this.getquestionAnswer(answers)); - } - } - } - } - for (var i = 1; i <= this.questionDetails.questions_count; i++) { - var j = i.toString(); - this.tabs.push(j); - } - }; - PdQuestionPage.prototype.getquestionAnswer = function (answers) { - return this.fb.group({ - "pd_detail_answer_id": answers.pd_detail_answer_id, - "pd_answer_id": answers.question_answer_id, - "pd_answer": answers.answer, - "pd_answer_weightage": answers.template_answer_weightage, - "fk_pd_id": this.pdinfo.pd_id, - "fk_pd_detail_id": answers.fk_pd_detail_id, - "checkbox": (answers.isactive == null ? false : true) - }); - }; - // count = 0; - PdQuestionPage.prototype.getDocUpload = function (qustid) { - var _this = this; - // this.docqustid = qustId; - this.camera.getpicture().then(function (res) { - if (res !== undefined) { - _this.docArray.push({ 'pd_document_name': res, 'pd_document_title': '', 'questionId': qustid }); - } - }); - // this.count++; - }; - PdQuestionPage.prototype.docnames = function (name, id, image, qustid) { - this.docArray[id] = { 'pd_document_name': image, 'pd_document_title': name, 'questionId': qustid }; - }; - PdQuestionPage.prototype.removeimage = function (index) { - //for(let i=0;i<=this.igrimage.length;i++){ - //if(this.igrimage[i]== this.igrimage[index]){ - this.docArray.splice(index, 1); - //} - //} - }; - PdQuestionPage.prototype.saveQuestionDetails = function (answerDetails, questionRemarks, questionDetails) { - for (var _a = 0, _b = this.docArray; _a < _b.length; _a++) { - var docs = _b[_a]; - if (docs.pd_document_title != '' && docs.pd_document_title != null && docs.pd_document_title !== undefined) { - //alert(); - this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': docs.pd_document_title }); - // return true; - } - else { - //alert(); - this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': "docNames" }); - } - } - if (answerDetails.answerDetails != null) { - //alert('answers'); - var pd_id = this.pdinfo.pd_id; - var catid = questionDetails.fk_question_category_id; - var qt_id = questionDetails.questions.filter(function (qst) { return qst.template_question_id == answerDetails.answerDetails.fk_template_question_id; })[0]; - var qut_id = qt_id.fk_question_id; - var qustName = qt_id.question; - var qut_weightage = qt_id.question_weightage; - var ans_id = answerDetails.answerDetails.fk_question_answer_id; - var pd_answer = answerDetails.answerDetails.answer; - var ans_weightage = answerDetails.answerDetails.template_answer_weightage; - var pd_remarks = questionRemarks.questionRemarks; - var updatedby = ''; - var updateon = ''; - var createdby = ''; - var createon = ''; - var pd_details_id = ''; - var pd_detail_answer_id = ''; - if (qt_id.pd_detail_id == null) { - createdby = this.userid; - createon = currentdate; - pd_details_id = ''; - } - else { - pd_details_id = qt_id.pd_detail_id; - updatedby = this.userid; - updateon = currentdate; - pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id; - } - var saveRecords = { - "pd_detail_id": pd_details_id, - "fk_pd_id": pd_id, - "fk_category_id": catid, - "fk_question_id": qut_id, - "pd_question": qustName, - "pd_question_weightage": qut_weightage, - "question_remark": pd_remarks, - "answers": [{ "pd_detail_answer_id": pd_detail_answer_id, - "pd_answer_id": ans_id, - "pd_answer": pd_answer, - "pd_answer_weightage": qut_weightage, - "fk_pd_id": pd_id, - "fk_pd_detail_id": pd_details_id, - }], - "fk_createdon": createon, - "createdby": createdby, - "fk_updatedon": updateon, - "updatedby": updatedby, - "images": this.imageArray || "", - }; - // this.qstDetails.saveQusetion(saveRecords).subscribe(res=> - // { - // this.qustCate = res; - // if(this.qustCate.dataStatus == true){ - // this.SwipedTabsSlider.slideNext(); - // this.docArray = []; - // this.getcategoryList(qt_id,pd_id); - // } - // }) - // }else - // { - // this.SwipedTabsSlider.slideNext(); - } - }; - PdQuestionPage.prototype.getcategoryList = function (qustinfo, pdId) { - var _this = this; - var qustDetails = { "question_id": qustinfo.fk_question_id, "pd_id": pdId, "template_id": qustinfo.fk_template_id, "category_id": qustinfo.fk_template_question_category_id - }; - var answerData; - this.qstDetails.getAnswerTemplate(qustDetails).subscribe(function (res) { - answerData = res; - if (answerData.dataStatus == true) { - // answerData = answerData.records; - // let eachquestion = this.questionDetails.questions.filter(qust=>qust.question_id == answerData.question_id)[0]; - // eachquestion['answers'] = answerData.answers; - // this.questionDetails = - // this.imageArray = answerData.images; - // for(let docs of this.imageArray) - // { - // this.docArray.push({'pd_document_name':docs.pd_document_name,'pd_document_title':docs.pd_document_title,'questionId':''}) - // } - _this.questionanotherData.controls['questionRemarks'].setValue(answerData.question_remark); - } - }); - }; - PdQuestionPage.prototype.prev = function (answerDetails, questionRemarks, questionDetails) { - var _this = this; - for (var _a = 0, _b = this.docArray; _a < _b.length; _a++) { - var docs = _b[_a]; - if (docs.pd_document_title != '' && docs.pd_document_title != null && docs.pd_document_title !== undefined) { - //alert(); - this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': docs.pd_document_title }); - // return true; - } - else { - //alert(); - this.imageArray.push({ 'pd_document_name': docs.pd_document_name, 'pd_document_title': "docNames" }); - } - } - if (answerDetails.answerDetails != null) { - //alert('answers'); - var pd_id_1 = this.pdinfo.pd_id; - var catid = questionDetails.fk_question_category_id; - var qt_id_1 = questionDetails.questions.filter(function (qst) { return qst.template_question_id == answerDetails.answerDetails.fk_template_question_id; })[0]; - var qut_id = qt_id_1.fk_question_id; - var qustName = qt_id_1.question; - var qut_weightage = qt_id_1.question_weightage; - var ans_id = answerDetails.answerDetails.fk_question_answer_id; - var pd_answer = answerDetails.answerDetails.answer; - var ans_weightage = answerDetails.answerDetails.template_answer_weightage; - var pd_remarks = questionRemarks.questionRemarks; - var updatedby = ''; - var updateon = ''; - var createdby = ''; - var createon = ''; - var pd_details_id = ''; - var pd_detail_answer_id = ''; - if (qt_id_1.pd_detail_id == null) { - createdby = this.userid; - createon = currentdate; - pd_details_id = ''; - } - else { - pd_details_id = qt_id_1.pd_detail_id; - updatedby = this.userid; - updateon = currentdate; - pd_detail_answer_id = answerDetails.answerDetails.pd_detail_answer_id; - } - var saveRecords = { - "pd_detail_id": pd_details_id, - "fk_pd_id": pd_id_1, - "fk_category_id": catid, - "fk_question_id": qut_id, - "pd_question": qustName, - "pd_question_weightage": qut_weightage, - "question_remark": pd_remarks, - "answers": [{ "pd_detail_answer_id": pd_detail_answer_id, - "pd_answer_id": ans_id, - "pd_answer": pd_answer, - "pd_answer_weightage": qut_weightage, - "fk_pd_id": pd_id_1, - "fk_pd_detail_id": pd_details_id, - }], - "fk_createdon": createon, - "createdby": createdby, - "fk_updatedon": updateon, - "updatedby": updatedby, - "images": this.imageArray || "", - }; - this.qstDetails.saveQusetion(saveRecords).subscribe(function (res) { - _this.qustCate = res; - if (_this.qustCate.dataStatus == true) { - _this.SwipedTabsSlider.slidePrev(); - _this.docArray = []; - _this.getcategoryList(qt_id_1, pd_id_1); - } - }); - } - else { - if (this.SwipedTabsSlider.getActiveIndex() != 0) { - this.SwipedTabsSlider.slidePrev(); - } - } - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('SwipedTabsSlider'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["v" /* Slides */]) - ], PdQuestionPage.prototype, "SwipedTabsSlider", void 0); - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('MultiItemsScrollingTabs'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) - ], PdQuestionPage.prototype, "ItemsTitles", void 0); - PdQuestionPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question.html"*/'\n\n\n\n\n\n \n\n \n\n {{questionDetails.category_name}} Category\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tab}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n\n\n\n\n\n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

{{qustDetails.question}}

\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n {{answerType.answer}}\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n\n\n \n\n \n\n\n\n
\n\n \n\n \n\n
\n\n
\n\n {{img.pd_document_title}}\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n\n\n \n\n\n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n\n\n \n\n \n\n \n\n {{ control.controls.pd_answer.value }}\n\n \n\n\n\n \n\n\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n\n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n\n\n
\n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["u" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdQuestionPage); - return PdQuestionPage; -}()); - -//# sourceMappingURL=pd-question.js.map - -/***/ }), - -/***/ 362: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAddressPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionAddressPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAddressPage = (function () { - // counts:number = 1; - function PdQuestionAddressPage(navCtrl, navParams, fb, qustCat, aws, toast, alerCtrl, constant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.alerCtrl = alerCtrl; - this.constant = constant; - //placeholderName : any = 'Estimated area of the (Address Type)'; - this.placeholderName = []; - this.premisesRentAmtInwords = []; - this.locality = []; - this.pdlocation = []; - this.addressTypes = []; - this.addressRemarksAccess = false; - this.cityData = []; - this.pincodeData = []; - this.stateData = []; - this.uomData = []; - this.questionDetails = this.navParams.get('questionDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.users = this.aws.getlocale(); - // if(this.pdDetails.addressline2 ! =null || this.pdDetails.addressline3 !=null){ - // this.address = this.pdDetails.addressline1+','+this.pdDetails.addressline2+','+this.pdDetails.addressline3; - // }else{ - // this.address = this.pdDetails.addressline1+', - , -'; - // } - // this.pdState = this.pdDetails.fk_state; - // this.getCityAndPincodeDetails(this.pdState); - // this.pdCity = this.pdDetails.fk_city; - // this.pdPincode = this.pdDetails.pincode_id; - // this.pdOtherPincode = this.pdPincode == 1 ? this.pdDetails.other_pincode : ''; - this.getdropdownlist(); - this.pdQuestionAddress = this.fb.group({ - addresses: this.fb.array([]), - address_form_remark: [''] - // address_ownership:[null], - // other_ownership:[null], - // rent_amt:[null], - // other_premises_bussiness_activity : [null], - // bussiness_activity_remark:[null], - // bussiness_activity:[null], - // bussiness_address_type:[null], - // bussiness_address_type_others:[null], - // business_years:[null], - // business_month:[null], - // additional_address_units: this.fb.array([]), - }); - this.getaddressForm(); - //this.loadPD() - } - PdQuestionAddressPage.prototype.ionViewDidLoad = function () { - //this.addUnits(); - console.log("ionViewDidLoad PdQuestionAddressPage"); - }; - PdQuestionAddressPage.prototype.ionViewWillLeave = function () { - // let method = this.alerCtrl.create({ - // message: 'Do You Want Save', - // buttons: [ - // { - // text: 'Save', - // cssClass: 'method-color', - // handler: () => { - // - // } - // }, - // { - // text: 'Cancel', - // cssClass: 'method-color', - // handler: () => { - // - // this.navCtrl.pop(); - // } - // } - // ] - // }); - // method.present() - }; - /** To Get City And Pincode Data For Address Form - * Param 'stateID' -> selected StateId - */ - PdQuestionAddressPage.prototype.getCityAndPincodeDetails = function (stateID, i) { - var _this = this; - this.qustCat.getStateWiseCities(stateID).subscribe(function (data) { - if (data.status == 200) { - _this.cityData[i] = data.records.cities; - _this.pincodeData[i] = data.records.pincode; - } - }); - }; - PdQuestionAddressPage.prototype.getdropdownlist = function () { - // this.addressTypes = [ - var _this = this; - // {'id':'Office','Name':'Office'}, - // {'id':'Clinic','Name':'Clinic'}, - // {'id':'Factory','Name':'Factory'}, - // {'id':'Warehouse','Name':'Warehouse'}, - // {'id':'Shop','Name':'Shop'}, - // {'id':'ResidencecumOffice','Name':'ResidencecumOffice'}, - // {'id':'Residence','Name':'Residence'}, - // {'id':'OTHERS','Name':'OTHERS'} - // ]; - this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.addressTypes = res['records'].filter(function (add) { return add.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('PDLOCATIONAPPROACH').subscribe(function (res) { - _this.pdlocation = res; - if (_this.pdlocation.dataStatus == true) { - _this.pdlocation = _this.pdlocation.records.filter(function (loca) { return loca.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('COMMENTSONLOCALITY').subscribe(function (res) { - _this.cmtlocality = res; - if (_this.cmtlocality.dataStatus == true) { - _this.cmtlocality = _this.cmtlocality.records.filter(function (loc) { return loc.isactive == 1; }); - } - }); - // this.qustCat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(res=> - // { - // this.custBehaviour = res; - // if(this.custBehaviour.dataStatus == true) - // { - // this.custBehaviour = this.custBehaviour.records.filter(cust=>cust.isactive ==1); - // } - // }) - this.qustCat.getcommondrop('LOCALITY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.locality = res['records'].filter(function (loc) { return loc.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.residence = res['records'].filter(function (red) { return red.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('CITY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.CITY = res['records'].filter(function (red) { return red.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('STATE').subscribe(function (res) { - _this.stateData = res['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getcommondrop('UOM').subscribe(function (res) { - _this.uomData = res['records'].filter(function (val) { return val.isactive == 1 && val.is_land_uom != 0; }); - }); - }; - // checkaddress(value) - // { - // - // if(value=="OTHERS") - // { - // this.addressRemarksAccess = true; - // }else - // { - // this.addressRemarksAccess = false; - // } - // } - // createItem(): FormGroup { - // return this.fb.group({ - // name: [null], - // do_you_know: [null], - // how_long: [null], - // is_owner: [null], - // }); - // }; - PdQuestionAddressPage.prototype.createUnits = function (val) { - if (val == null) { - return this.fb.group({ - no_of_additional_units: [''], - premises_type: [''], - premises_type_others: [''], - premises_city: [''], - // premises_ownership: [''], - //premises_ownership_others: [''], - //premises_rent_amt:[''], - premises_remarks: [''], - }); - } - else { - return this.fb.group({ - no_of_additional_units: [val.no_of_additional_units], - premises_type: [val.premises_type], - premises_type_others: [val.premises_type_others], - premises_city: [val.premises_city], - // premises_ownership: [val.premises_ownership], - // premises_ownership_others: [val.other_ownership], - // premises_rent_amt:[val.rent_amt], - premises_remarks: [val.premises_remarks], - }); - } - }; - PdQuestionAddressPage.prototype.addUnits = function () { - this.items = this.pdQuestionAddress.get('additional_address_units'); - this.items.push(this.createUnits(null)); - }; - PdQuestionAddressPage.prototype.removeUnits = function (i) { - this.items.removeAt(i); - }; - PdQuestionAddressPage.prototype.ConvertMonthintoYear = function (e) { - var business_year = this.pdQuestionAddress.controls.business_years.value; - var converted_month = e % 12; - var converted_year = e / 12; - this.pdQuestionAddress.controls.business_years.setValue(+business_year + +Math.floor(converted_year)); - this.pdQuestionAddress.controls.business_month.setValue(Math.floor(converted_month)); - }; - PdQuestionAddressPage.prototype.initAddress = function (AddressDetails) { - if (AddressDetails != null) { - return this.fb.group({ - address: [AddressDetails.address, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - address_type: [AddressDetails.address_type, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - address_type_others: [AddressDetails.address_type_others], - state: [AddressDetails.state], - city: [AddressDetails.city], - pincode: [AddressDetails.pincode], - pincode_others: [AddressDetails.pincode_others, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(6), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(6)])], - locality: [AddressDetails.locality, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - locality_others: [AddressDetails.locality_others], - locality_mixuse: [AddressDetails.locality_mixuse], - pd_location: [AddressDetails.pd_location, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comment_locality: [AddressDetails.comment_locality, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - estimated_area: [AddressDetails.estimated_area], - uom: [AddressDetails.uom], - uom_others: [AddressDetails.uom_others] - }); - } - else { - return this.fb.group({ - address: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - address_type: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - address_type_others: [''], - state: [''], - city: [''], - pincode: [''], - pincode_others: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(6), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(6)])], - locality: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - locality_others: [''], - locality_mixuse: [''], - pd_location: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - comment_locality: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - estimated_area: [''], - uom: [''], - uom_others: [''] - }); - } - }; - /** On Key Press Event For Numbers */ - PdQuestionAddressPage.prototype.keyPress = function (event) { - var pattern = /[0-9]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - PdQuestionAddressPage.prototype.inWords = function (e, i) { - this.premisesRentAmtInwords[i] = this.constant.convertNumberToWords(e.target.value); - }; - PdQuestionAddressPage.prototype.inWordsForRent = function (e) { - this.rentAmtInwords = this.constant.convertNumberToWords(e.target.value); - }; - PdQuestionAddressPage.prototype.selectedAddressType = function (e, i) { - this.placeholderName[i] = 'Estimated area of the ' + e; - }; - PdQuestionAddressPage.prototype.savepdQuestion = function (answerData) { - var _this = this; - var records = {}; - // records.address = answerData.address; - // if(answerData.address_type_others != null){ - // records.address_type_others = answerData.address_type_others; - // } - // // records.state =answerData.state - // records.city = answerData.city - // records.pincode = answerData.pincode - // records.pincode_others = answerData.pincode== 1 ? - // this.pdQuestionAddress.controls.pincode_others.value : ''; - // records.address_type = answerData.address_type; - // records.locality = answerData.locality; - // records.locality_others = answerData.locality == 1 ? - // this.pdQuestionAddress.controls.locality_others.value : ''; - // records.locality_mixuse = answerData.locality == 5 ? - // this.pdQuestionAddress.controls.locality_mixuse.value : ''; - // records.pd_location = answerData.pd_location; - // records.comment_locality = answerData.comment_locality; - // records.other_comment_locality = answerData.other_comment_locality; - // records.estimated_area = answerData.estimated_area; - // records.uom = answerData.uom; - // records.uom_others = answerData.uom == 1 ? - // this.pdQuestionAddress.controls.uom_others.value : ''; - // records.customer_behaviour = answerData.customer_behaviour; - // records.neighbourhood = answerData.neighbourhood; - console.log("Answer DAta", answerData); - records.addresses = answerData.addresses; - records.address_form_remark = answerData.address_form_remark; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.address_form_remark = answerData.address_form_remark; - // records.address_ownership = answerData.address_ownership; - // records.other_ownership = answerData.other_ownership; - // records.rent_amt = answerData.rent_amt; - // records.other_premises_bussiness_activity = answerData.other_premises_bussiness_activity; - // records.bussiness_activity = answerData.bussiness_activity; - // records.bussiness_activity_remark = answerData.bussiness_activity_remark; - // records.business_years = answerData.business_years; - // records.business_month = answerData.business_month; - // records.additional_address_units = answerData.additional_address_units; - this.qustCat.saveForm(records).subscribe(function (data) { - // let params: any = {}; - // params.pd_id = '250'; - // params.pd_form_id = '250'; - // setTimeout(function(){ - // this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - // },5000) - if (data['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }, function (err) { - _this.toast.pdTriggerappmessage('Something went wrong '); - }); - }; - PdQuestionAddressPage.prototype.getaddressForm = function () { - var _this = this; - var res; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - var control = _this.pdQuestionAddress.controls['addresses']; - _this.getaddressDetails = res; - if (_this.getaddressDetails.dataStatus == true) { - if (_this.getaddressDetails.records.addresses) { - _this.getaddressDetails = _this.getaddressDetails.records.addresses; - if (_this.getaddressDetails.length == 0) { - control.push(_this.initAddress('')); - } - else { - _this.getaddressDetails.forEach(function (datas, index) { - var val = { - 'address': datas.address, - 'address_type': datas.address_type, - 'address_type_others': datas.address_type_others, - 'state': datas.state, - 'city': datas.city, - 'pincode': datas.pincode, - 'pincode_others': datas.pincode_others, - 'locality': datas.locality, - 'locality_others': datas.locality_others, - 'locality_mixuse': datas.locality_mixuse, - 'pd_location': datas.pd_location, - 'comment_locality': datas.comment_locality, - 'estimated_area': datas.estimated_area, - 'uom': datas.uom, - 'uom_others': datas.uom_others - }; - _this.getCityAndPincodeDetails(datas.state, index); - var selectedAddressType = _this.addressTypes.filter(function (element) { return element.address_type_id == datas.address_type; })[0]; - _this.selectedAddressType(selectedAddressType.address_type, index); - if (datas.address_type == 1) { - _this.selectedAddressType(datas.address_type_others, index); - } - control.push(_this.initAddress(val)); - }); - _this.pdQuestionAddress.controls.address_form_remark.setValue(res['records'].address_form_remark); - } - // if(this.getaddressDetails.additional_address_units != null){ - // var result = Object.keys(res['records'].additional_address_units).map(function(key) { - // // return res['records'].additional_address_units[key]; - // //for slicing the automatically created - // }); - // //this.removeUnits(0); - // } - // let control = this.pdQuestionAddress.get('additional_address_units') as FormArray; - // this.pdQuestionAddress.controls['address'].setValue(this.getaddressDetails.address); - // this.pdQuestionAddress.controls['state'].setValue(this.getaddressDetails.state) - // if (this.getaddressDetails.state != '') { - // this.getCityAndPincodeDetails(this.getaddressDetails.state); - // this.pdQuestionAddress.controls.city.setValue(this.getaddressDetails.city); - // this.pdQuestionAddress.controls.pincode.setValue(this.getaddressDetails.pincode); - // if (this.getaddressDetails.pincode == 1) { - // this.pdQuestionAddress.controls.pincode_others.setValue(this.getaddressDetails.pincode_others); - // this.pdQuestionAddress.controls.pincode_others.setValidators([Validators.required]); - // this.pdQuestionAddress.controls.pincode_others.updateValueAndValidity(); - // } - // } - // this.pdQuestionAddress.controls['pd_location'].setValue(this.getaddressDetails.pd_location); - // this.pdQuestionAddress.controls['address_type'].setValue(this.getaddressDetails.address_type); - // let selectedAddressType = this.addressTypes.filter(element =>element.address_type_id == this.getaddressDetails.address_type); - // this.selectedAddressType(selectedAddressType); - // if(this.getaddressDetails.address_type != null) { - // this.pdQuestionAddress.controls['address_type_others'].setValue(this.getaddressDetails.address_type_others); - // this.selectedAddressType(this.getaddressDetails.address_type_others); - // } - // this.pdQuestionAddress.controls['comment_locality'].setValue(this.getaddressDetails.comment_locality); - // if(this.getaddressDetails.comment_locality != null){ - // this.pdQuestionAddress.controls['other_comment_locality'].setValue(this.getaddressDetails.other_comment_locality); - // } - // // this.pdQuestionAddress.controls.customer_behaviour.setValue(this.getaddressDetails.customer_behaviour); - // this.pdQuestionAddress.controls['locality'].setValue(this.getaddressDetails.locality); - // if(this.getaddressDetails.locality == 1 ){ - // this.pdQuestionAddress.controls['locality_others'].setValue(this.getaddressDetails.locality_others); - // } - // if(this.getaddressDetails.locality == 5){ - // this.pdQuestionAddress.controls['locality_mixuse'].setValue(this.getaddressDetails.locality_mixuse) - // } - // this.pdQuestionAddress.controls.estimated_area.setValue(this.getaddressDetails.estimated_area); - // this.pdQuestionAddress.controls.uom.setValue(this.getaddressDetails.uom); - // if (this.getaddressDetails.uom == 1) { - // this.pdQuestionAddress.controls.uom_others.setValue(this.getaddressDetails.uom_others); - // this.pdQuestionAddress.controls.uom_others.setValidators([Validators.required]) - // this.pdQuestionAddress.controls.uom_others.updateValueAndValidity(); - // } - // this.pdQuestionAddress.controls['address_form_remark'].setValue(this.getaddressDetails.address_form_remark); - // // this.pdQuestionAddress.controls['address_ownership'].setValue(this.getaddressDetails.address_ownership); - // this.pdQuestionAddress.controls['other_ownership'].setValue(this.getaddressDetails.other_ownership); - // this.pdQuestionAddress.controls['rent_amt'].setValue(this.getaddressDetails.rent_amt); - // if(this.getaddressDetails.rent_amt != null){ - // this.rentAmtInwords = this.constant.convertNumberToWords(this.getaddressDetails.rent_amt); - // } - // this.pdQuestionAddress.controls['other_premises_bussiness_activity'].setValue(this.getaddressDetails.other_premises_bussiness_activity); - // if(this.getaddressDetails['other_premises_bussiness_activity'] !=null) { - // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(this.getaddressDetails.other_premises_bussiness_activity); - // } - // else{ - // this.pdQuestionAddress.controls['bussiness_activity_remark'].setValue(''); - // } - // this.pdQuestionAddress.controls['bussiness_activity'].setValue(this.getaddressDetails.bussiness_activity); - // this.pdQuestionAddress.controls['business_years'].setValue(this.getaddressDetails.business_years); - // this.pdQuestionAddress.controls['business_month'].setValue(this.getaddressDetails.business_month); - /* if(this.getaddressDetails.bussiness_activity == 'yes') { - - if (result.length == 0) { - - control.push(this.createUnits(null)); - } else {*/ - //for(let val of this.getaddressDetails.additional_address_units){ - //control.push(this.createUnits(val)); - //} - //result.forEach((datas,index) => { - //this.premisesRentAmtInwords[index] = this.constant.convertNumberToWords(datas.premises_rent_amt); - //this.pdQuestionAddress.controls['additional_address_units'].setValue(datas); - //}); - //} - // } - } - else { - control.push(_this.initAddress('')); - } - } - else - _this.loadPD(); - }); - }; - PdQuestionAddressPage.prototype.loadPD = function () { - var _this = this; - var control = this.pdQuestionAddress.controls['addresses']; - this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(function (res) { - if (res.dataStatus == true) { - _this.addressesList = res.records.filter(function (item) { return item.isactive == 1; }); - console.log('this.addressesList', _this.addressesList); - if (_this.addressesList.length > 0) { - _this.addressesList.forEach(function (datas, index) { - var obj = { - 'address': datas.addressline1, - 'address_type': '', - 'address_type_others': '', - 'state': datas.fk_state, - 'city': datas.fk_city, - 'pincode': datas.pincode_id, - 'pincode_others': datas.other_pincode, - 'locality': '', - 'locality_others': '', - 'locality_mixuse': '', - 'pd_location': '', - 'comment_locality': '', - 'estimated_area': '', - 'uom': '', - 'uom_others': '' - }; - _this.getCityAndPincodeDetails(datas.fk_state, index); - control.push(_this.initAddress(obj)); - }); - } - else { - control.push(_this.initAddress('')); - } - } - else { - control.push(_this.initAddress('')); - } - }); - }; - PdQuestionAddressPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-address',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-address\pd-question-address.html"*/'\n\n\n\n \n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n
Address Details # {{i+1}}
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n {{SL.name}}\n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n\n\n \n\n \n\n Select\n\n {{PL.pincode}}\n\n \n\n \n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n --\n\n {{m_addressType.address_type}} \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n \n\n
\n\n \n\n \n\n --\n\n {{m_locality.locality_name}}\n\n \n\n\n\n \n\n \n\n
\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n --\n\n {{data.description}}\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n --\n\n {{data.rating}}\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-address\pd-question-address.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAddressPage); - return PdQuestionAddressPage; -}()); - -//# sourceMappingURL=pd-question-address.js.map - -/***/ }), - -/***/ 363: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionEmpInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/** - * Generated class for the PdQuestionEmpInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionEmpInfoPage = (function () { - function PdQuestionEmpInfoPage(navCtrl, navParams, fb) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.questionDetails = this.navParams.get('questionDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.empInfo = this.fb.group({ - nameOfEmp: [null], - yearWithEmp: [null], - empMet: [null], - designationOfEmp: [null], - salaryConfirm: [null], - actualSalary: [null], - attRegisterSeen: [null], - salaryRegisterSeen: [null] - }); - } - PdQuestionEmpInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionEmpInfoPage'); - }; - PdQuestionEmpInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-emp-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-emp-info\pd-question-emp-info.html"*/'\n\n\n\n \n\n \n\n Employee Salary Category\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n

Emp Met

\n\n \n\n YES\n\n NO\n\n \n\n
\n\n \n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n

Salary amt confirmed

\n\n \n\n YES\n\n NO\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n

Attendance Register seen

\n\n \n\n YES\n\n NO\n\n \n\n
\n\n\n\n \n\n

Salary register seen

\n\n \n\n YES\n\n NO\n\n \n\n
\n\n\n\n
\n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-emp-info\pd-question-emp-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */]]) - ], PdQuestionEmpInfoPage); - return PdQuestionEmpInfoPage; -}()); - -//# sourceMappingURL=pd-question-emp-info.js.map - -/***/ }), - -/***/ 364: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionCurrentLoansPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionCurrentLoansPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionCurrentLoansPage = (function () { - function PdQuestionCurrentLoansPage(navCtrl, navParams, fb, qustCat, toast, aws, constant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.toast = toast; - this.aws = aws; - this.constant = constant; - this.placeholderName = []; - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.amtInwords = []; - this.emiAmtInwords = []; - this.dataFromAssets = []; - this.labelArr = []; - this.investmentTypeData = []; - console.log("other", this.applicants); - this.questionDetails = this.navParams.get('questionDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.navParams.get('FormId'); - this.applicants = this.pdDetails.applicat_details.filter(function (val) { return val.pd_co_applicant_id != 0; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - console.log("Applicant", this.applicants); - this.getdropdown(); - // this.applicants.push - this.users = this.aws.getlocale(); - this.currentLoans = this.fb.group({ - existing_loan: [null], - currentloan_remarks: [null], - loan_details: this.fb.array([]) - }); - } - PdQuestionCurrentLoansPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - this.getcurrentLoans(); - }; - PdQuestionCurrentLoansPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (res) { - _this.lenderData = res['records'].filter(function (len) { return len.isactive == 1; }); - }); - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - _this.frequencyData = res['records'].filter(function (frq) { return frq.isactive == 1; }); - }); - this.qustCat.getcommondrop('EXISTINGLOANTYPES').subscribe(function (val) { - _this.loanTypeData = val['records'].filter(function (loan) { return loan.isactive == 1; }); - }); - this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { - // console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - if (data['dataStatus'] == true) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - } - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - //modifyCompanyList.push({'id':"0",'name':'Others','group_id':1}) - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - // console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - } - }); - var modifyApplicantList = []; - if (this.applicants.length > 0) { - // this.applicants.push({'pd_co_applicant_id':'0','applicant_name':'Others'}); - modifyApplicantList = this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - // modifyApplicantList.push() - this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); - } - this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(function (data) { - _this.investmentTypeData = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getcommondrop('ADDRESSTYPE').subscribe(function (data) { - _this.addressTypeData = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getcommondrop('PROPERTIES').subscribe(function (data) { - _this.propertyTypeData = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - }; - PdQuestionCurrentLoansPage.prototype.exitsCheck = function (val) { - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - if (val == "Yes") { - this.addLoanDetails(); - } - }; - PdQuestionCurrentLoansPage.prototype.createLoanDetail = function (data) { - return this.fb.group({ - label: data == null ? [''] : [data.label], - other_frequency: [''], - loan_amount: [''], - frequency: [''], - emi: [''], - loan_type: [''], - others_loan_type: [''], - loan_taken_by: [''], - others_loan_taken: [''], - lender: [''], - others_lender: [''], - original_tenure: [''], - current_balance_tenure: [''], - elapsed_tenure: [], - }); - }; - PdQuestionCurrentLoansPage.prototype.addLoanDetails = function () { - var control = this.currentLoans.controls['loan_details']; - control.push(this.createLoanDetail(null)); - }; - PdQuestionCurrentLoansPage.prototype.deleteLoanDetails = function (index) { - var control = this.currentLoans.controls['loan_details']; - if (control.length == 1) { - this.currentLoans.controls['loan_details'].reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionCurrentLoansPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionCurrentLoansPage.prototype.checkOthers = function (values) { - if (values != null) { - return values.id == 0 ? true : false; - } - else { - return false; - } - }; - PdQuestionCurrentLoansPage.prototype.checkTenure = function (details) { - var originalTenure = details.value.original_tenure; - // alert(originalTenure); - details.controls.current_balance_tenure.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(+originalTenure)]); - details.controls.current_balance_tenure.updateValueAndValidity(); - // details.controls.current_balance_tenure.setValidators([Validators.max(+originalTenure)]); - // details.controls.current_balance_tenure.updateValueAndValidity(); - // let BalanceTenure = details.value.current_balance_tenure; - // if( originalTenure < BalanceTenure){ - // alert('Greater'); - // details.controls.current_balance_tenure.setValue(''); - // alert('validation setted For'); - // details.controls.current_balance_tenure.setValidators([Validators.min(+originalTenure)]); - // details.controls.current_balance_tenure.updateValueAndValidity(); - // } - }; - PdQuestionCurrentLoansPage.prototype.calculateTenure = function (details) { - var ElapsedValues; - if (details.value.original_tenure != null && details.value.original_tenure != '' && details.value.current_balance_tenure != null && details.value.current_balance_tenure != '') { - ElapsedValues = details.value.original_tenure - details.value.current_balance_tenure; - details.controls['elapsed_tenure'].setValue(ElapsedValues); - } - }; - PdQuestionCurrentLoansPage.prototype.keyPress = function (event) { - var pattern = /[0-9]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - PdQuestionCurrentLoansPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.amtInwords[i] = this.constant.convertNumberToWords(e.target.value); - break; - case 2: - this.emiAmtInwords[i] = this.constant.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - PdQuestionCurrentLoansPage.prototype.selectedfrequency = function (e, i) { - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - // alert('function in'); - switch (+e) { - case 1: - this.placeholderName[i] = 'Instalment Amount'; - break; - case 2: - this.placeholderName[i] = 'Annual Instalment Amount'; - break; - case 3: - this.placeholderName[i] = 'Halfyearly Instalment Amount'; - break; - case 4: - this.placeholderName[i] = 'Fortnightly Instalment Amount'; - break; - case 5: - this.placeholderName[i] = 'Daily Instalment Amount'; - break; - case 6: - this.placeholderName[i] = 'Quarterly Instalment Amount'; - break; - case 7: - this.placeholderName[i] = 'Monthly Instalment Amount'; - break; - default: - this.placeholderName[i] = 'Instalment Amount'; - break; - } - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - }; - PdQuestionCurrentLoansPage.prototype.submitCurrentloan = function (answerData) { - var _this = this; - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - var records = {}; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.existing_loan = answerData.existing_loan; - records.loan_details = answerData.loan_details; - records.currentloan_remarks = answerData.currentloan_remarks; - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - this.qustCat.saveForm(records).subscribe(function (data) { - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - if (data['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - }; - PdQuestionCurrentLoansPage.prototype.getcurrentLoans = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - var control = _this.currentLoans.controls['loan_details']; - if (res['dataStatus'] == true) { - var currentLoanDetails = res['records']; - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - if (res['records'].loan_details !== undefined && res['records'].loan_details != null && res['records'].loan_details != '') { - var result = Object.keys(res['records'].loan_details).map(function (key) { - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - return res['records'].loan_details[key]; - }); - _this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan); - _this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks); - var control_1 = _this.currentLoans.controls['loan_details']; - if (currentLoanDetails.existing_loan != 'No') { - if (result.length == 0) { - control_1.push(_this.createLoanDetail(null)); - } - else { - result.forEach(function (datas, index) { - // let objs = { - // 'label': datas.label, - // 'loan_amount': datas.loan_amount, - // 'frequency':datas.frequency, - // 'other_frequency':datas.other_frequency, - // 'emi': datas.emi, - // 'loan_type': datas.loan_type, - // 'others_loan_type': datas.others_loan_type, - // 'loan_taken_by':datas.loan_taken_by, - // 'others_loan_taken':datas.others_loan_taken, - // 'lender': datas.lender, - // 'others_lender':datas.others_lender, - // 'original_tenure': datas.original_tenure, - // 'current_balance_tenure': datas.current_balance_tenure, - // 'elapsed_tenure':datas.elapsed_tenure - // } - control_1.push(_this.createLoanDetail(null)); - _this.selectedfrequency(datas.frequency, index); - if (datas.loan_amount != '') { - _this.amtInwords[index] = _this.constant.convertNumberToWords(datas.loan_amount); - } - if (datas.emi != '') { - _this.emiAmtInwords[index] = _this.constant.convertNumberToWords(datas.emi); - } - }); - _this.currentLoans.controls['loan_details'].setValue(result); - } - } - } - else { - _this.currentLoans.controls['existing_loan'].setValue(currentLoanDetails.existing_loan); - _this.currentLoans.controls['currentloan_remarks'].setValue(currentLoanDetails.currentloan_remarks); - } - } - else { - // console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - _this.qustCat.getAssetsWithLoanFromBusiness(_this.pdid).subscribe(function (data) { - console.log('Enter'); - if (data.dataStatus == true) { - console.log("dataStatus", data.dataStatus); - var AssetData = data.record; - console.log(AssetData); - // console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - if (AssetData.business_address_asset.length > 0) { - AssetData.business_address_asset.map(function (element) { - _this.dataFromAssets.push({ mode: 0, - mode_name: element.address_label, - details: [], - owner_name: element.business_name_of_the_owner, - form_type: 'Data From Bussiness Address' }); - }); - } - if (AssetData.business_assets.length > 0) { - AssetData.business_assets.map(function (element) { - _this.dataFromAssets.push({ mode: element.business_assets_mode, - mode_name: element.business_assets_mode_name, - details: element.business_details, - owner_name: element.business_name_of_the_owner, - form_type: 'Data From Business Assets' }); - }); - } - if (AssetData.other_assests.length > 0) { - AssetData.other_assests.map(function (element) { - _this.dataFromAssets.push({ mode: element.assets_mode, - mode_name: element.assets_mode_name, - details: element.details, - owner_name: element.name_of_the_owner, - form_type: 'Data From Other Asset' - }); - }); - } - console.log("DAta", _this.dataFromAssets); - // id: "4", name: "Equipments and machinaries", isactive: "1", flag: "1", is_others: "0" - // id: "7", name: "Investments", isactive: "1", flag: "0", is_others: "0" - // id: "6", name: "Life Insurance Policy", isactive: "1", flag: "0", is_others: "0" - // id: "2", name: "Property", isactive: "1", flag: "1", is_others: "0" - // id: "3", name: "Vehicle", isactsive: "1", flag: "1", is_others: "0" - // id: "1", name: "Others", isactive: "1", flag: "1", is_others: "1"} - if (_this.dataFromAssets.length > 0) { - var labelarray_1 = []; - _this.dataFromAssets.forEach(function (val, index) { - if (val.mode == 0) { - console.log("0"); - var owner = val.owner_name.map((function (e) { - return e.name.split(','); - })); - // labelarray[index] = ' : '+owner +' - '+ val.mode_name.split("/")[0] + ' ( ' + val.mode_name.split("/")[1] + ' )'; - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name; - } - if (val.mode == 1) { - console.log("1"); - var data_1; - var owner = "Owner Not Mentioned"; - val.details.forEach(function (v, index) { - data_1 = v.any_other_assets; - }); - if (val.owner_name.length > 0) { - owner = val.owner_name.map((function (e) { - return e.name.split(','); - })); - } - var description = data_1 != '' ? '( ' + data_1 + ' )' : ''; - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; - } - if (val.mode == 2) { - console.log("2"); - var owner_1 = "Owner Not Mentioned"; - var data_2; - val.details.forEach(function (v, index) { - data_2 = v.property_type_name; - if (v.property_type != 1) { - if (val.form_type == 'Data From Business Assets') { - data_2 = _this.addressTypeData.filter(function (item) { return item.address_type_id == v.property_type; })[0].address_type; - } - else if (val.form_type == 'Data From Other Asset') { - data_2 = _this.propertyTypeData.filter(function (item) { return item.id == v.property_type; })[0].name; - } - else { - data_2 = ''; - } - } - else { - data_2 = v.other_property_type; - } - if (val.owner_name.length > 0) { - owner_1 = val.owner_name.map((function (e) { - return e.name.split(','); - })); - } - }); - var description = data_2 != '' ? '( ' + data_2 + ' )' : ''; - labelarray_1[index] = ' : ' + owner_1 + ' - ' + val.mode_name + description; - } - if (val.mode == 3) { - console.log("3"); - var data_3; - var owner = "Owner Not Mentioned"; - val.details.forEach(function (v, index) { - data_3 = v.manufacturer_model_vehicle; - }); - if (val.owner_name.length > 0) { - owner = val.owner_name.map((function (e) { - return e.name.split(','); - })); - } - var description = data_3 != '' ? '( ' + data_3 + ' )' : ''; - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; - } - if (val.mode == 4) { - console.log("4"); - var data_4; - var owner = "Owner Not Mentioned"; - val.details.forEach(function (v, index) { - data_4 = v.equipment_manufacturing_description; - }); - if (val.owner_name.length > 0) { - owner = val.owner_name.map((function (e) { - return e.name.split(','); - })); - } - var description = data_4 != '' ? '( ' + data_4 + ' )' : ''; - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; - } - if (val.mode == 6) { - console.log("6"); - var owner = "Owner Not Mentioned"; - if (val.owner_name.length > 0) { - owner = val.owner_name.map((function (e) { - return e.name.split(','); - })); - } - // else { - // owner = val.owner_name; - // } - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name; - } - if (val.mode == 7) { - console.log("7"); - var data_5; - var owner = "Owner Not Mentioned"; - val.details.forEach(function (v, index) { - data_5 = v.investments_type != 1 - ? _this.investmentTypeData.filter(function (data) { return data.id == v.investments_type; })[0].name - : v.other_investments_type; - }); - if (val.owner_name.length > 0) { - owner = val.owner_name.map((function (e) { - return e.name.split(','); - })); - } - console.log("exit", owner); - var description = data_5 != '' ? '( ' + data_5 + ' )' : ''; - labelarray_1[index] = ' : ' + owner + ' - ' + val.mode_name + description; - var vals = owner + ' - ' + val.mode_name; - console.log("labelarr", labelarray_1[index]); - console.log(vals); - } - }); - var control_2 = _this.currentLoans.controls['loan_details']; - _this.labelArr = labelarray_1; - var arr_1 = []; - if (_this.labelArr.length > 0) { - _this.currentLoans.controls['existing_loan'].setValue('Yes'); - _this.labelArr.forEach(function (v, index) { - console.log("Label", v); - arr_1 = { - 'label': v, - 'loan_amount': '', - 'frequency': '', - 'other_frequency': '', - 'emi': '', - 'loan_type': '', - 'others_loan_type': '', - 'loan_taken_by': '', - 'others_loan_taken': '', - 'lender': '', - 'others_lender': '', - 'original_tenure': '', - 'current_balance_tenure': '', - 'elapsed_tenure': '' - }; - control_2.push(_this.createLoanDetail(arr_1)); - }); - // this.currentLoanForm.controls['existing_loan'].setValue(arr); - } - } - else { - console.log('ionViewDidLoad PdQuestionCurrentLoansPage'); - control.push(_this.createLoanDetail(null)); - } - } - }); - } - }); - }; - PdQuestionCurrentLoansPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-current-loans',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-current-loans\pd-question-current-loans.html"*/'\n\n \n \n \n\n\n \n\n\n\n\n\n
\n \n \n Do you have any other Existing Loans\n \n Yes\n No\n \n \n \n
\n
\n
\n
Loan Details #{{i+1}} {{details.get(\'label\').value}}
\n \n \n \n {{types.loan_type_name}}\n \n\n \n \n \n \n \n \n {{"₹"}}{{amtInwords[i]}}only\n \n \n \n \n {{btLen.lender_name}}\n \n \n \n \n \n \n \n \n {{val.name}}\n \n \n \n \n \n \n \n \n \n \n {{freq.name}}\n \n \n \n \n \n \n \n {{"₹"}}{{emiAmtInwords[i]}}only\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n
\n
\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-current-loans\pd-question-current-loans.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionCurrentLoansPage); - return PdQuestionCurrentLoansPage; -}()); - -//# sourceMappingURL=pd-question-current-loans.js.map - -/***/ }), - -/***/ 365: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionLoansPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionLoansPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionLoansPage = (function () { - function PdQuestionLoansPage(navCtrl, navParams, fb, qustCat, aws, toast, constant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.constant = constant; - this.enduse = []; - this.mortageAccess = false; - this.ownerNames = []; - this.isOtherPurpose = false; - this.endUserList = []; - this.mergeCompanyApplicant = []; - this.m_endUseOFTopUpList = []; - this.isContribution = false; - this.isOtherSource = false; - this.isPLSource = false; - this.sourceList = []; - this.subProductData = []; - this.FormId = this.navParams.get('FormId'); - this.pdDetails = this.navParams.get('pdDetails'); - this.applicants = this.pdDetails.applicat_details; - this.productAbbr = this.pdDetails.product_abbr; - this.users = this.aws.getlocale(); - this.pdid = this.pdDetails.pd_id; - this.getDropdown(); - this.loanDetailsForm = this.fb.group({ - loan_amount: [this.pdDetails.loan_amount], - loan_tenure: [''], - sub_product: [''], - end_use: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - end_use_other: [''], - is_transfer: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - //is_topup: ['', Validators.compose([Validators.required])], - // is_topup: [''], - balance_transfer_amount: [''], - topup_amount: [''], - end_use_topup: [''], - other_end_use_topup: [''], - lender: [''], - other_bt_lender: [''], - own_contribution: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - source: [''], - //personal_loan_source:[''], - other_source: [''], - //lender_name_type: [''], - emi_level: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - property_type: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - property_type_others: [''], - owner_name: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - construction_status: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - //percentage_of_construction : [''], - emv_per_customer: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - //value_per_agreement: ['', Validators.compose([Validators.required])], - loandetails_remarks: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - }); - console.log(this.pdDetails.loanAmount); - if (this.loanDetailsForm.controls['loan_amount'] != null) { - this.loanAmtInWords = this.constant.convertNumberToWords(this.pdDetails.loan_amount); - } - if (this.pdDetails.product_abbr != "BL" || this.pdDetails.product_abbr != "PL" || this.pdDetails.product_abbr != "LL") { - this.mortagetypeAccess = true; - } - else { - this.mortagetypeAccess = false; - } - if (this.productAbbr == 'PL' || this.productAbbr == 'BL' || this.productAbbr == 'LAP') { - this.isContribution = true; - } - } - PdQuestionLoansPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionLoansPage'); - this.getLoanDetails(); - }; - PdQuestionLoansPage.prototype.getDropdown = function () { - var _this = this; - this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { - _this.m_btLenderList = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getEndUseForLoan(this.pdid, this.pdDetails.fk_subproduct_id).subscribe(function (data) { - _this.m_endUseForLoan = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('STATUSOFCONSTRUCTION').subscribe(function (data) { - _this.m_statusofCunstruction = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('MORTAGEPROPERTIES').subscribe(function (data) { - if (data['dataStatus'] == true) { - var that_1 = _this; - _this.m_mortageTypeProperty = data['records'].filter(function (data) { - if (that_1.pdDetails.product_abbr != "LAP" && data.group_name == that_1.pdDetails.product_abbr && data.isactive == 1) { - return data; - } - else if (that_1.pdDetails.product_abbr == "LAP" && data.sub_group_name == that_1.pdDetails.subproduct_name) { - return data; - } - else { - return; - } - }); - // this.mortage_type(this.propertyType); - } - }); - this.qustCat.getcommondrop('SOURCEOFBALANCETRANSFER').subscribe(function (data) { - _this.m_sourceofamount = data['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(function (subdata) { - if (subdata['dataStatus'] == true) { - var that_2 = _this; - _this.m_endUseofLoad = subdata['records'].filter(function (data) { - if (that_2.pdDetails.fk_product_id == data.fk_product_id && data.isactive == 1) { - return data; - } - }); - _this.endUserChange(_this.enduse); - } - }); - this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); - } - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - }); - var modifyApplicantList = []; - if (this.applicants.length > 0) { - modifyApplicantList = this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); - if (this.productAbbr != 'LAP') { - this.mergeCompanyApplicant.push({ groupName: 'OTHERS', groupValues: [{ id: 0, name: 'Not Yet Finalised', group_id: 2 }] }); - } - } - this.qustCat.getcommondrop('ENDUSEOFTOPUP').subscribe(function (data) { - _this.m_endUseOFTopUpList = data['records'].filter(function (val) { return val.is_active == 1; }); - }); - this.qustCat.getcommondrop('SUBPRODUCTS').subscribe(function (data) { - _this.subProductData = data['records'].filter(function (val) { return val.isactive == 1; }); - console.log(_this.subProductData); - }); - }; - PdQuestionLoansPage.prototype.selectedBalancesTransferChanges = function (event) { - // if(event.value == 'no') { - // this.loanDetailsForm.controls['is_topup'].clearValidators(); - //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity(); - // this.loanDetailsForm.controls['is_topup'].setValue(''); - //} - //else if(event.value == 'yes'){ - // this.loanDetailsForm.controls['is_topup'].setValidators([Validators.required]); - //this.loanDetailsForm.controls['is_topup'].updateValueAndValidity(); - // } - if (event.value == 'no') { - this.loanDetailsForm.controls['source'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this.loanDetailsForm.controls['source'].updateValueAndValidity(); - this.loanDetailsForm.controls['own_contribution'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity(); - this.loanDetailsForm.controls['other_bt_lender'].setValue(''); - this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); - this.loanDetailsForm.controls['lender'].setValue(''); - this.loanDetailsForm.controls['topup_amount'].setValue(''); - this.loanDetailsForm.controls['end_use_topup'].setValue(''); - this.loanDetailsForm.controls['other_end_use_topup'].setValue(''); - this.topUpAmtInWords = ''; - } - else if (event.value == 'yes') { - this.loanDetailsForm.controls['source'].setValue(''); - this.loanDetailsForm.controls['source'].clearValidators(); - this.loanDetailsForm.controls['source'].updateValueAndValidity(); - this.loanDetailsForm.controls['own_contribution'].setValue(''); - this.loanDetailsForm.controls['own_contribution'].clearValidators(); - this.loanDetailsForm.controls['own_contribution'].updateValueAndValidity(); - this.isOtherSource = false; - this.loanDetailsForm.controls['other_source'].setValue(''); - } - }; - PdQuestionLoansPage.prototype.mortage_type = function (mortage_value) { - var mortagetypes = this.m_mortageTypeProperty.filter(function (mor) { return mor.mortage_property_id == mortage_value; })[0]; - var property_name = mortagetypes.property_name; - if (property_name == 'Others (Please Specify)') { - this.mortageAccess = true; - } - else { - this.mortageAccess = false; - } - }; - PdQuestionLoansPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionLoansPage.prototype.loanCalc = function () { - var BtAmount = this.loanDetailsForm.value.balance_transfer_amount; - var loanAmount = this.loanDetailsForm.value.loan_amount; - var topupAmt; - if (BtAmount != null && BtAmount != '' && loanAmount != null && loanAmount != '') { - if (loanAmount >= BtAmount) { - topupAmt = loanAmount - BtAmount; - this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt); - this.topUpAmtInWords = this.constant.convertNumberToWords(topupAmt); - } - else { - this.toast.pdTriggerappmessage('warning !! Balances Transfer Amount is greater than Loan Amount Please check.!'); - this.loanDetailsForm.controls['balance_transfer_amount'].setValue(''); - this.balTxrfAmtInWords = ''; - this.loanDetailsForm.controls['topup_amount'].setValue(''); - this.topUpAmtInWords = ''; - } - } - //this.loanDetailsForm.controls['topup_amount'].setValue(topupAmt); - }; - PdQuestionLoansPage.prototype.subProductChange = function (event) { - var _this = this; - this.qustCat.getEndUseForLoan(this.pdid, event).subscribe(function (res) { - _this.m_endUseForLoan = res['records'].filter(function (data) { return data.isactive == 1; }); - }); - }; - PdQuestionLoansPage.prototype.endUserChange = function (event) { - var _this = this; - //this.endUserList = []; - event.forEach(function (option) { - var othresData = _this.m_endUseForLoan.filter(function (sub) { return sub.enduse_of_loan_id == option; })[0]; - othresData = othresData.enduse_of_loan.substr(0, 6).toLowerCase(); - _this.endUserList.push({ end_use: option }); - if (othresData == 'others') { - _this.isOtherPurpose = true; - return; - } - else { - _this.isOtherPurpose = false; - } - }); - }; - PdQuestionLoansPage.prototype.ownerNameChange = function (event) { - var _this = this; - this.ownerNames = []; - event.value.forEach(function (option) { - _this.ownerNames.push({ owner_name: option }); - }); - }; - PdQuestionLoansPage.prototype.sourceChange = function (evt) { - // this.isOtherSource = (evt.some(e => e == 4) == true) ? true : false ; - // this.isPLSource = (evt.some(e => e == 3) == true) ? true : false ; - var _this = this; - this.isOtherSource = evt.some(function (e) { return e == 1; }); // this return true or false Only; - this.isPLSource = evt.some(function (e) { return e == 3; }); // this return true or false Only; - this.sourceList = []; - evt.forEach(function (option) { - _this.sourceList.push({ source: option }); - }); - }; - PdQuestionLoansPage.prototype.inWords = function (e, flag) { - switch (flag) { - case 1: - this.loanAmtInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 2: - this.balTxrfAmtInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 3: - this.valAsPerAgmtInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 4: - this.ownContributionInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 5: - this.topUpAmtInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 6: - this.emiAmtInWords = this.constant.convertNumberToWords(e.target.value); - break; - case 7: - this.emvAmtInWords = this.constant.convertNumberToWords(e.target.value); - default: - break; - } - }; - PdQuestionLoansPage.prototype.submitLoanDetails = function () { - var _this = this; - // if(this.loanDetailsForm.valid){ - var records = {}; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.loan_amount = this.loanDetailsForm.controls['loan_amount'].value; - records.loan_tenure = this.loanDetailsForm.controls['loan_tenure'].value; - records.sub_product = this.loanDetailsForm.controls['sub_product'].value; - // get end user final group data - var dataEnd_user_data = []; - this.loanDetailsForm.controls['end_use'].value.forEach(function (element) { - dataEnd_user_data.push({ end_use: element }); - }); - records.end_use_group = dataEnd_user_data; - if (this.isOtherPurpose) { - records.end_use_other = this.loanDetailsForm.controls['end_use_other'].value; - } - records.is_transfer = this.loanDetailsForm.controls['is_transfer'].value; - // records.is_topup = this.loanDetailsForm.controls['is_topup'].value; - if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') { - records.balance_transfer_amount = this.loanDetailsForm.controls['balance_transfer_amount'].value; - } - else if (this.loanDetailsForm.controls['is_transfer'].value == 'no') { - records.own_contribution = this.loanDetailsForm.controls['own_contribution'].value; - var dataSource_list_1 = []; - if (this.loanDetailsForm.controls['source'].value != '') { - this.loanDetailsForm.controls['source'].value.forEach(function (element) { - dataSource_list_1.push({ sources: element }); - }); - } - records.source_group = dataSource_list_1; - } - //if (this.loanDetailsForm.controls['is_topup'].value == 'yes') { - records.topup_amount = this.loanDetailsForm.controls['topup_amount'].value; - //} - if (records.topup_amount > 0) { - records.end_use_topup = this.loanDetailsForm.controls['end_use_topup'].value; - if (records.end_use_topup == 1) { - records.other_end_use_topup = this.loanDetailsForm.controls['other_end_use_topup'].value; - } - } - if (this.loanDetailsForm.controls['is_transfer'].value == 'yes') { - records.lender = this.loanDetailsForm.controls['lender'].value; - } - if (this.loanDetailsForm.controls['lender'].value == 1) { - records.other_bt_lender = this.loanDetailsForm.controls['other_bt_lender'].value; - } - /* records.source = this.loanDetailsForm.controls['source'].value; - if (this.loanDetailsForm.controls['source'].value == 'other') { - records.lender_name_type = this.loanDetailsForm.controls['lender_name_type'].value; - }*/ - if (this.isOtherSource) { - records.other_source = this.loanDetailsForm.controls['other_source'].value; - } - else { - records.other_source = ''; - } - records.emi_level = this.loanDetailsForm.controls['emi_level'].value; - if (this.mortageCardAccess == true) { - records.property_type = this.loanDetailsForm.controls['property_type'].value; - if (this.loanDetailsForm.value.property_type_others != '' && this.loanDetailsForm.value.property_type_others != null) { - records.property_type_others = this.loanDetailsForm.controls['property_type_others'].value; - } - ; - // records.owner_name_group = this.ownerNames; - if (this.loanDetailsForm.controls['owner_name'].value != '') { - var dataOwner_name_1 = []; - this.loanDetailsForm.controls['owner_name'].value.forEach(function (element) { - dataOwner_name_1.push({ owner_name: element }); - }); - records.owner_name_group = dataOwner_name_1; - } - else { - records.owner_name_group = ''; - } - records.construction_status = this.loanDetailsForm.controls['construction_status'].value; - // records.percentage_of_construction = this.loanDetailsForm.controls['percentage_of_construction'].value; - } - else { - records.property_type = null; - records.property_type_others = null; - records.owner_name_group = null; - records.construction_status = null; - records.emv_per_customer = null; - } - records.emv_per_customer = this.loanDetailsForm.controls['emv_per_customer'].value; - //records.value_per_agreement = this.loanDetailsForm.controls['value_per_agreement'].value; - records.loandetails_remarks = this.loanDetailsForm.controls['loandetails_remarks'].value; - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage('Error'); - } - // this.notifier.notify('success', 'Saved Successfully.'); - }); - // }else - // { - // this.toast.pdTriggerappmessage('Enter The All Field'); - // } - }; - PdQuestionLoansPage.prototype.getLoanDetails = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (value) { - if (value['dataStatus'] == true) { - var loanDetails_1 = value['records']; - var result = Object.keys(loanDetails_1.end_use_group).map(function (key) { - return loanDetails_1.end_use_group[key]; - }); - //this.enduse - result.forEach(function (val) { - _this.enduse.push(val.end_use); - //this.endUserList.push({'end_use':val.end_use}); - }); - var ownername_1 = []; - if (loanDetails_1.owner_name_group != null) { - var owner = Object.keys(loanDetails_1.owner_name_group).map(function (key) { - return loanDetails_1.owner_name_group[key]; - }); - owner.forEach(function (val) { - ownername_1.push(val.owner_name); - _this.ownerNames.push({ 'end_use': val.end_use }); - }); - } - _this.loanDetailsForm.controls['loan_amount'].setValue(loanDetails_1.loan_amount); - _this.loanDetailsForm.controls['loan_tenure'].setValue(loanDetails_1.loan_tenure); - if (loanDetails_1.loan_amount) { - _this.loanAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.loan_amount); - } - _this.loanDetailsForm.controls['sub_product'].setValue(loanDetails_1.sub_product); - _this.loanDetailsForm.controls['end_use'].setValue(_this.enduse); - _this.endUserChange(_this.enduse); - if (loanDetails_1.end_use_other != '') { - //this.endUserChange(this.enduse); - // this.isOtherPurpose=true; - _this.loanDetailsForm.controls['end_use_other'].setValue(loanDetails_1.end_use_other); - } - _this.loanDetailsForm.controls['is_transfer'].setValue(loanDetails_1.is_transfer); - if (loanDetails_1.balance_transfer_amount) { - _this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails_1.balance_transfer_amount); - _this.balTxrfAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.balance_transfer_amount); - } - if (loanDetails_1.topup_amount) { - _this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails_1.topup_amount); - _this.topUpAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.topup_amount); - if (loanDetails_1.topup_amount > 0) { - _this.loanDetailsForm.controls['end_use_topup'].setValue(loanDetails_1.end_use_topup); - if (loanDetails_1.end_use_topup == 1) { - _this.loanDetailsForm.controls['other_end_use_topup'].setValue(loanDetails_1.other_end_use_topup); - } - } - } - // this.loanDetailsForm.controls['is_topup'].setValue(loanDetails.is_topup); - if (loanDetails_1.balance_transfer_amount) { - _this.loanDetailsForm.controls['balance_transfer_amount'].setValue(loanDetails_1.balance_transfer_amount); - } - if (loanDetails_1.topup_amount) { - _this.loanDetailsForm.controls['topup_amount'].setValue(loanDetails_1.topup_amount); - } - if (loanDetails_1.lender) { - _this.loanDetailsForm.controls['lender'].setValue(loanDetails_1.lender); - } - _this.loanDetailsForm.controls['own_contribution'].setValue(loanDetails_1.own_contribution); - if (loanDetails_1.own_contribution) { - _this.ownContributionInWords = _this.constant.convertNumberToWords(loanDetails_1.own_contribution); - } - //this.loanDetailsForm.controls['source'].setValue(loanDetails.source); - if (loanDetails_1.is_transfer != 'yes') { - var source = Object.keys(loanDetails_1.source_group).map(function (key) { - return loanDetails_1.source_group[key]; - }); - var dbsourcelist_1 = []; - source.forEach(function (val) { - dbsourcelist_1.push(val.sources); - }); - _this.loanDetailsForm.controls['source'].setValue(dbsourcelist_1); - _this.sourceChange(dbsourcelist_1); - if (loanDetails_1.other_source) { - // this.isOtherSource = true; - _this.loanDetailsForm.controls['other_source'].setValue(loanDetails_1.other_source); - } - } - /* if (loanDetails.lender_name_type) { - this.loanDetailsForm.controls['lender_name_type'].setValue(loanDetails.lender_name_type); - }*/ - if (loanDetails_1.emi_level) { - _this.loanDetailsForm.controls['emi_level'].setValue(loanDetails_1.emi_level); - _this.emiAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.emi_level); - } - _this.loanDetailsForm.controls['other_bt_lender'].setValue(loanDetails_1.other_bt_lender); - _this.loanDetailsForm.controls['property_type'].setValue(loanDetails_1.property_type); - _this.propertyType = loanDetails_1.property_type; - if (loanDetails_1.property_type != null) { - _this.mortage_type(_this.propertyType); - if (_this.mortageCardAccess == true) { - _this.loanDetailsForm.controls['property_type_others'].setValue(loanDetails_1.property_type_others); - // this.mortage_type(loanDetails.property_type_others); - } - _this.loanDetailsForm.controls['owner_name'].setValue(ownername_1); - _this.loanDetailsForm.controls['construction_status'].setValue(loanDetails_1.construction_status); - _this.loanDetailsForm.controls['emv_per_customer'].setValue(loanDetails_1.emv_per_customer); - if (loanDetails_1.emv_per_customer) { - _this.emvAmtInWords = _this.constant.convertNumberToWords(loanDetails_1.emv_per_customer); - } - } - // this.loanDetailsForm.controls['value_per_agreement'].setValue(loanDetails.value_per_agreement); - _this.loanDetailsForm.controls['loandetails_remarks'].setValue(loanDetails_1.loandetails_remarks); - } - else { - } - }); - if (this.productAbbr == 'BL' || this.productAbbr == 'PL' || this.productAbbr == 'LL') { - this.mortageCardAccess = false; - this.loanDetailsForm.controls['owner_name'].setValue(''); - this.loanDetailsForm.controls['owner_name'].clearValidators(); - this.loanDetailsForm.controls['owner_name'].updateValueAndValidity(); - } - else { - this.mortageCardAccess = true; - this.loanDetailsForm.controls['owner_name'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this.loanDetailsForm.controls['owner_name'].updateValueAndValidity(); - } - }; - PdQuestionLoansPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-loans',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-loans\pd-question-loans.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{"₹"}} {{loanAmtInWords}} Only\n\n \n\n \n\n Loan Tenture applied for?\n\n \n\n \n\n \n\n \n\n {{sub.name}}\n\n \n\n \n\n \n\n \n\n {{ enduse.enduse_of_loan }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{balTxrfAmtInWords}} Only\n\n \n\n \n\n \n\n \n\n {{ btLen.lender_name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{topUpAmtInWords}} Only\n\n \n\n \n\n \n\n {{ list.end_use_of_topup }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{ownContributionInWords}} Only\n\n \n\n \n\n \n\n \n\n {{ sour.name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{emiAmtInWords}} Only\n\n \n\n \n\n \n\n
\n\n \n\n \n\n

Details of Property being Mortgaged\n\n

\n\n \n\n \n\n \n\n \n\n {{ typeprop.property_name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{ status.name }} \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{emvAmtInWords}} Only\n\n \n\n \n\n \n\n \n\n

\n\n \n\n
\n\n
\n\n \n\n Remarks\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-loans\pd-question-loans.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionLoansPage); - return PdQuestionLoansPage; -}()); - -//# sourceMappingURL=pd-question-loans.js.map - -/***/ }), - -/***/ 366: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBankingPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionBankingPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBankingPage = (function () { - function PdQuestionBankingPage(navCtrl, navParams, fb, aws, qustCat, toast, cons) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.cons = cons; - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.limitCaseFlag = []; - this.amtInwords = []; - //this.applicants.pop(); - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.navParams.get('FormId'); - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (val) { return val.applicant_type == 0 || val.applicant_type == 1; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - // alert(); - this.users = this.aws.getlocale(); - this.bankDetails = this.fb.group({ - bankitems: this.fb.array([]), - banking_form_remark: [null], - }); - this.salaryField = this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? false : true; - this.getdropdown(); - this.retiveBankDetails(); - } - PdQuestionBankingPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionBankingPage'); - }; - PdQuestionBankingPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.accountType = res['records']; - } - }); - this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.m_btLenderList = data['records'].filter(function (data) { return data.isactive == 1; }); - } - }); - this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); - } - // let modifyCompanyList : any=[]; - // if(this.existCompanyList.length>0){ - // modifyCompanyList = this.existCompanyList.map(element => { - // return {id:element.company_order_id.toString(),name:element.company_name,group_id:1}; - // }); - // this.mergeCompanyApplicant.push({groupName:'COMPANIES',groupValues:modifyCompanyList}) - //} - }); - var modifyApplicantList = []; - if (this.applicants.length > 0) { - modifyApplicantList = this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); - } - }; - PdQuestionBankingPage.prototype.selectedAccTypeChanges = function (event, i) { - if (event == 2 || event == 1) { - this.limitCaseFlag[i] = false; - // const control = this.bankingForm.controls['itemRows']; - // control.controls[0].get('limit').clearValidators(); - // control.controls[0].get('limit').updateValueAndValidity(); - } - else { - this.limitCaseFlag[i] = true; - } - }; - /** Amount InWords */ - PdQuestionBankingPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - /** To Convert Month into Year */ - PdQuestionBankingPage.prototype.ConvertMonthintoYear = function (itemrow, e) { - var year = itemrow.controls.vintage_year.value; - var converted_month = e % 12; - var converted_year = e / 12; - itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year)); - itemrow.controls.vintage_month.setValue(Math.floor(converted_month)); - }; - PdQuestionBankingPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionBankingPage.prototype.checkOthers = function (values) { - if (values != null) { - return values.id == 0 ? true : false; - } - else { - return false; - } - }; - PdQuestionBankingPage.prototype.createBankItem = function (name) { - return this.fb.group({ - applicant_name: [''], - bank_name: [''], - account_type: [''], - salary: this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? [''] : [''], - limit: [''], - other_bank: [''], - other_applicant: [''], - //is_main: [''], - vintage_year: [''], - vintage_month: [''], - }); - }; - PdQuestionBankingPage.prototype.addBankDetails = function () { - // if(this.pd.valid){ - // if(this.items.length !=0) - // { - // this.neighbourAccess = true; - // } - this.bankitems = this.bankDetails.get('bankitems'); - this.bankitems.push(this.createBankItem('')); - }; - PdQuestionBankingPage.prototype.addmoreBankDetils = function () { - this.bankitems = this.bankDetails.get('bankitems'); - this.bankitems.push(this.createBankItem('')); - }; - PdQuestionBankingPage.prototype.removebank = function (i) { - if (this.bankitems.length == 1) { - this.bankitems.reset(); - } - else - this.bankitems.removeAt(i); - }; - PdQuestionBankingPage.prototype.savepdBank = function (answerData) { - var _this = this; - var records = {}; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.banking_details = answerData.bankitems; - records.banking_form_remark = answerData.banking_form_remark; - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - }; - PdQuestionBankingPage.prototype.retiveBankDetails = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var result = Object.keys(res['records'].banking_details).map(function (key) { - return res['records'].banking_details[key]; - }); - _this.bankDetails.controls.banking_form_remark.setValue(res['records'].banking_form_remark); - _this.bankitems = _this.bankDetails.get('bankitems'); - if (result.length == 0) { - _this.bankitems.push(_this.createBankItem('')); - } - else { - result.forEach(function (datas, index) { - _this.selectedAccTypeChanges(+datas.account_type, index); - if (datas.limit != '') { - _this.amtInwords[index] = _this.cons.convertNumberToWords(+datas.limit); - } - // this.selectedBorrower(datas.applicant_name,index); - _this.bankitems.push(_this.createBankItem('')); - }); - _this.bankDetails.controls['bankitems'].setValue(result); - } - } - else { - _this.addBankDetails(); - } - }); - }; - PdQuestionBankingPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-banking',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-banking\pd-question-banking.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n
Banking details {{i+1}}
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{val.name}} \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{ btLen.lender_name }}\n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n {{bankacc.name}}\n\n\n\n \n\n\n\n \n\n \n\n
\n\n
\n\n \n\n\n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n
\n\n
\n\n In case of OD / CC account, What is the Limit \n\n \n\n {{"₹"}} {{amtInwords[i]}} only\n\n \n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n

Approximate vintage of the account (No of years)

\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-banking\pd-question-banking.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionBankingPage); - return PdQuestionBankingPage; -}()); - -//# sourceMappingURL=pd-question-banking.js.map - -/***/ }), - -/***/ 367: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionFamilyPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionFamilyPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionFamilyPage = (function () { - // cons: any; - function PdQuestionFamilyPage(navCtrl, navParams, fb, qustCat, aws, toast, cons) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.cons = cons; - this.earningStatus = [{ - type: 'Earning', - id: 1 - }, { - type: 'Non Earning', - id: 2 - }]; - this.cityData = []; - this.pincodeData = []; - this.FamilyMemberAsLabel = []; - this.selectPerson = []; - this.apiFamilyMembers = []; - //isReadOnly: any=[]; - this.RentAmount = []; - this.IncomePerMonth = []; - this.prevFamilyMembersCtrlLength = 0; - this.currFamilyMembersCtrlLength = 0; - this.FormId = this.navParams.get('FormId'); - this.pdDetails = this.navParams.get('pdDetails'); - this.selected_person = this.pdDetails.pdapplicants_details; - this.selectPerson = this.pdDetails.applicat_details; - this.users = this.aws.getlocale(); - this.familyForm = this.fb.group({ - family_details: this.fb.array([]), - family_details_form_remark: [''], - }); - this.getRelation(); - this.getoccupation(); - } - PdQuestionFamilyPage.prototype.ionViewDidLoad = function () { - console.log("ionViewDidLoad PdQuestionFamilyPage"); - this.getFamilyData(); - }; - PdQuestionFamilyPage.prototype.initFamilyDetails = function (records) { - var _this = this; - if (records === null) { - var formData = this.fb.group({ - selected_person: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - residence_place: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - residence_city: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - residence_state: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - residence_pin: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - residence_other_pincode: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - residence_No_of_years: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - residence_ownership: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - ownershipOther: [''], - rent: [''], - total_number_of_family_members: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].min(1), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(20)])], - family_members_details: this.fb.array([]) - }); - var control = this.familyForm.controls['family_details']; - control.push(formData); - } - else { - records.forEach(function (val, index) { - if (val.rent != null) { - _this.RentAmount[index] = _this.cons.convertNumberToWords(val.rent); - } - _this.FamilyMemberAsLabel[index] = _this.selectPerson.filter(function (item) { return item.pd_co_applicant_id == val.selected_person; })[0].applicant_name; - _this.getCity(val.residence_state, index); - var formData = _this.fb.group({ - selected_person: [val.selected_person], - residence_place: [val.residence_place], - residence_city: [val.residence_city], - residence_state: [val.residence_state], - residence_pin: [val.residence_pin], - residence_other_pincode: [val.residence_other_pincode], - residence_No_of_years: [val.residence_No_of_years, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - residence_ownership: [val.residence_ownership], - rent: [val.rent || null], - ownershipOther: [val.ownershipOther || null], - total_number_of_family_members: [val.total_number_of_family_members, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].min(1), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].max(20)])], - family_members_details: _this.fb.array([]) - }); - var control = _this.familyForm.controls['family_details']; - control.push(formData); - var inx = control.length - 1; - //this.getNumberOfFamilyMemberDetails(inx); - _this.initFamilyMembersDetails(inx, val.family_members_details); - //this.initFamilyMembersDetails - }); - } - /* - return this.fb.group({ - //family_details - selected_person:[''], - residence_place:[''], - residence_city:[''], - residence_state:[''], - residence_pin:[''], - residence_No_of_years: ['',Validators.compose([])], - residence_ownership:[], - rent:[''], - ownershipOther:[''], - total_number_of_family_members:['',Validators.compose([Validators.min(1), Validators.max(20)])], - - //family_member_details - - - - family_members_details:this.fb.array([]), - - - // person: [null], - /* personOther: [''], - members: [''], - residence: [''], - years: [null], - family_details_form_remark:[''], - - });*/ - }; - PdQuestionFamilyPage.prototype.initFamilyMembersDetails = function (inx, val) { - var _this = this; - var control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details; - val.forEach(function (vals, index) { - if (vals.earning_gross_income_per_month != null) { - _this.IncomePerMonth[index] = _this.cons.convertNumberToWords(vals.earning_gross_income_per_month); - } - var datas = _this.fb.group({ - family_member_name: [vals.family_member_name || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - family_member_relationship: [vals.family_member_relationship || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - family_member_age: [vals.family_member_age || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - family_member_earning_status: [vals.family_member_earning_status || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_segment: [vals.earning_segment || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_if_others_segment: [vals.earning_if_others_segment || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_gross_income_per_month: [vals.earning_gross_income_per_month || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_name_of_the_employer_or_business: [vals.earning_name_of_the_employer_or_business || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_number_of_years_in_employment_or_business: [vals.earning_number_of_years_in_employment_or_business || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_occupation: [vals.non_earning_occupation || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_if_others: [vals.non_earning_if_others || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_if_schoolorcollege: [vals.non_earning_if_schoolorcollege || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_if_retired_from: [vals.non_earning_if_retired_from || null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - }); - control.push(datas); - }); - }; - /*return this.fb.group({ - family_member_name:[''], - family_member_relationship:[], - family_member_age:[], - family_member_earning_status:['',Validators.compose([])], - //family_member_earnings - earning_segment:[''], - earning_gross_income_per_month:[''], - earning_name_of_the_employer_or_business:[''], - earning_number_of_years_in_employment_or_business:[''], - - non_earning_occupation:[''], - non_earning_if_others:[''], - non_earning_if_retired_from:[''], - });*/ - PdQuestionFamilyPage.prototype.add = function () { - // const control=this.familyForm.controls['family_details']; - //control.push(this.initFamilyDetails('chck')); - this.initFamilyDetails(null); - this.toast.pdTriggerappmessage("Family Details Added"); - }; - PdQuestionFamilyPage.prototype.remove_family_details = function (i) { - var control = this.familyForm.controls['family_details']; - control.removeAt(i); - }; - PdQuestionFamilyPage.prototype.addMemberDet = function (data) { - var control = this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; - //this.initFamilyMembersDetails('','') - control.push(this.generateFamilyMembersDetailsGet()); - }; - PdQuestionFamilyPage.prototype.removeMemberDet = function (index, f_index) { - var control = this.familyForm.controls['family_details']['controls'][f_index].controls.family_members_details; - if (control.length > 1) { - control.removeAt(index); - } - else { - control.reset(); - } - // if(control.value !=null && index == 0) - }; - PdQuestionFamilyPage.prototype.getNumberOfFamilyMemberDetails = function (data) { - var datavalue = data; - var formData = this.familyForm.controls['family_details']['controls'][datavalue].controls; - if (formData['total_number_of_family_members'].valid) { - var totmem = formData['total_number_of_family_members'].value; - var control = this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; - if (totmem >= control.length) { - var len = totmem - control.length; - for (var i = 0; i < len; i++) { - control.push(this.generateFamilyMembersDetailsGet()); - } - } - else if (totmem < control.length) { - //control.controls.slice(1, 2); - var numbe = control.length - totmem; - for (var i = control.length; i >= totmem; i--) { - control.removeAt(i); - } - // var nn=control.length-totmem; - // control.controls = []; - /*for (let i = 0; i < totmem; i++) { - control.push(this.generateFamilyMembersDetailsGet()); - - }*/ - // this.initFamilyDetails(this.resValue['records'].family_details); - // this.toast.pdTriggerappmessage("Please choose the number greater than"+control.length); - } - } - else { - var control = this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; - control.removeAt(control.length); - control.controls = []; - } - /* const control=this.familyForm.controls['family_details']['controls'][data].controls.family_members_details; - control.push(this.initFamilyMembersDetails()); - */ - }; - PdQuestionFamilyPage.prototype.generateFamilyMembersDetailsGet = function () { - return this.fb.group({ - family_member_name: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - family_member_relationship: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - family_member_age: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - family_member_earning_status: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_segment: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_if_others_segment: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_gross_income_per_month: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_name_of_the_employer_or_business: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_number_of_years_in_employment_or_business: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_occupation: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_if_others: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_if_schoolorcollege: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_if_retired_from: ['', __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - }); - }; - PdQuestionFamilyPage.prototype.getRelation = function () { - var _this = this; - var master_name = 'RELATIONSHIPS'; - this.qustCat.getcommondrop(master_name).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.relationData = data['records'].filter(function (rel) { return rel.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('PERSONSMET').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.filteredStates = res['records'].filter(function (per) { return per.isactive == 1; }); - } - }); - // this.qustCat.getcommondrop('CUSTOMERSEGMENT').subscribe(res=> - // { - // if(res['dataStatus']==true) - // { - // this.cusSeg = res['records'].filter(seg=>seg.isactive==1); - // } - // }); - this.qustCat.getcommondrop('EARNINGMEMBERSSTATUS').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.cusSeg = res['records'].filter(function (seg) { return seg.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('RESIDENCEOWNERSHIP').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.ownerShip = res['records'].filter(function (own) { return own.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('STATE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.stateData = res['records'].filter(function (item) { return item.isactive == 1; }); - } - }); - }; - PdQuestionFamilyPage.prototype.getCity = function (e, i) { - var _this = this; - // this.cityData = this.wholeCityData.filter(city=>city.fk_state_id == e); - // this._pd.retriveForm(params).subscribe(data => { - this.qustCat.getStateWiseCities(e).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.cityData[i] = data.records.cities; - _this.pincodeData[i] = data.records.pincode; - } - }); - }; - PdQuestionFamilyPage.prototype.getoccupation = function () { - var _this = this; - var master_name = 'OCCUPATIONMEMBERS'; - this.qustCat.getcommondrop(master_name).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.occupationData = data['records'].filter(function (occ) { return occ.isactive == 1; }); - } - }); - }; - /* createMembers(): FormGroup { - return this.fb.group({ - earning_member_name : [null], - earning_member_age : [null], - relation: [null], - segment: [null], - income: [null], - employer_name: [null], - }); - } - count :number = 0; - addearningMembers() - { - this.items = this.familyForm.get('earningMembers') as FormArray; - this.items.push(this.createMembers()); - this.count++; - this.checkfamilystatus(this.count,''); - - } - - deleteEarningMembers(i) - { - - if(this.items.length==1) - { - this.familyForm.controls['earningMembers'].reset(); - }else{ - this.items.removeAt(i); - } - this.count--; - this.checkfamilystatus(this.count,''); - } - createNonMembers(): FormGroup { - return this.fb.group({ - non_earning_member_name : [''], - non_earning_member_age : [''], - relationship: [null], - occupation: [null], - retired: [null], - others_occupation:[null], - }); - } - addMembers() - { - this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray; - this.count++; - this.checkfamilystatus(this.count,''); - this.membersitem.push(this.createNonMembers()); - - } - deleteMembers(i) - { - if(this.membersitem.length==1){ - this.familyForm.controls['nonEarningMembers'].reset(); - - }else{ - this.membersitem.removeAt(i); - } - this.count--; - this.checkfamilystatus(this.count,''); - } - checkfamilystatus(count,familystatus) - { - if(familystatus !='' && familystatus !==undefined){ - - }else{ - familystatus = this.familyForm.get('members').value; - } - if(familystatus !== null ){ - if(familystatus == count) - { - - this.familyAddStatus = true; - }else - { - this.familyAddStatus = false; - } - } - }*/ - /* Old - savepdfamily(answerData) - { - let records: any = {}; - records.no_of_years = answerData.years; - if (answerData.ownership == '4') { - records.ownershipOther = answerData.ownershipOther; - } - records.residence = answerData.residence; - if (answerData.ownership == '3') { - records.what_rent = answerData.rent; - } - // if (answerData.person == '8') { - // records.person_met = answerData.personOther.value; - // } else { - // records.person_met = answerData.person; - // } - records.ownership = answerData.ownership - records.family_members = answerData.members; - records.earning_members = answerData.earningMembers; - records.non_earning_members = answerData.nonEarningMembers; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.family_details_form_remark = answerData.family_details_form_remark; - this.qustCat.saveForm(records).subscribe(res=> - { - if(res['dataStatus']==true) - { - this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - this.navCtrl.pop(); - } - }) - }*/ - PdQuestionFamilyPage.prototype.savepdfamily = function (answerData) { - var _this = this; - var records = {}; - records = this.familyForm.value; - Object.keys(records).forEach(function (key) { return (records[key] == null) && delete records[key]; }); - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - this.qustCat.saveForm(records).subscribe(function (res) { - _this.toast.pdTriggerappmessage("Record Saved Successfully"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - }, function (err) { - _this.toast.pdTriggerappmessage("Some Fields value is Missing Please Fill It"); - }); - /*let records: any = {}; - records.no_of_years = answerData.residence_No_of_years; - if (answerData.residence_ownership == '4') { - records.ownershipOther = answerData.ownershipOther; - } - //records.residence = answerData.residence; - if (answerData.residence_ownership == '3') { - records.what_rent = answerData.rent; - } - // if (answerData.person == '8') { - // records.person_met = answerData.personOther.value; - // } else { - // records.person_met = answerData.person; - // } - records.ownership = answerData.residence_ownership - records.family_members = answerData.total_number_of_family_members; - records.earning_members = answerData.earningMembers; - records.non_earning_members = answerData.nonEarningMembers; - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.family_details_form_remark = answerData.family_details_form_remark; - this.qustCat.saveForm(records).subscribe(res=> - { - if(res['dataStatus']==true) - { - this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - this.navCtrl.pop(); - } - })*/ - }; - PdQuestionFamilyPage.prototype.selectedPerson = function (e, inx) { - var _this = this; - this.FamilyMemberAsLabel[inx] = this.selectPerson.filter(function (item) { return item.pd_co_applicant_id == e; })[0].applicant_name; - var control = this.familyForm.controls['family_details']['controls'][inx].controls.family_members_details; - this.currFamilyMembersCtrlLength = control.length; - var i = 0; - for (i; i < this.prevFamilyMembersCtrlLength; i++) { - console.log(i, this.prevFamilyMembersCtrlLength); - control.removeAt(i); - } - // while(index < this.prevFamilyMembersCtrlLength) - // { - // } - this.prevFamilyMembersCtrlLength = this.currFamilyMembersCtrlLength; - console.log('familyMembersControlLength', this.prevFamilyMembersCtrlLength, this.currFamilyMembersCtrlLength); - if (this.apiFamilyMembers.length > 0) { - var arraydata_1; - var data = this.apiFamilyMembers.filter(function (item) { return item.relation_to == e; }); - // data_gets_from:'GeneralForm' - // data_gets_from:'BusinessForm' - if (data.length > 0) { - this.prevFamilyMembersCtrlLength = data.length; - console.log('familyMembersControlLength', this.prevFamilyMembersCtrlLength, this.currFamilyMembersCtrlLength); - data.forEach(function (val, inx) { - // // family_member_earning_status - // if(val.age){ - // this.isReadOnly[inx] = true; - // }else{ - // this.isReadOnly[inx] = false; - // } - arraydata_1 = { - 'family_member_name': val.name, - 'family_member_relationship': val.relationship, - 'family_member_age': val.age, - 'family_member_earning_status': val.data_gets_from == 'BusinessForm' ? '1' : '', - 'earning_segment': '', - 'earning_gross_income_per_month': '', - 'earning_name_of_the_employer_or_business': '', - 'earning_number_of_years_in_employment_or_business': '', - 'earning_if_others_segment': '', - 'non_earning_occupation': '', - 'non_earning_if_others': '', - 'non_earning_if_retired_from': '', - 'non_earning_if_schoolorcollege': '' - }; - control.push(_this.initgenerateFamilyMembersDetailsGet(arraydata_1)); - }); - } - else { - this.prevFamilyMembersCtrlLength = 1; - console.log('familyMembersControlLength', this.prevFamilyMembersCtrlLength, this.currFamilyMembersCtrlLength); - control.push(this.generateFamilyMembersDetailsGet()); - } - } - else { - control.push(this.generateFamilyMembersDetailsGet()); - } - }; - PdQuestionFamilyPage.prototype.generateFamilyMembersDetailsGetData = function (data) { - var result = Object.keys(data).map(function (key) { - return data[key]; - }); - if (result.length > 0) { - for (var _i = 0, result_1 = result; _i < result_1.length; _i++) { - var val = result_1[_i]; - var control = this.familyForm.controls['family_members_details']; - control.push(this.initgenerateFamilyMembersDetailsGet(val)); - } - } - }; - PdQuestionFamilyPage.prototype.initgenerateFamilyMembersDetailsGet = function (val) { - return this.fb.group({ - family_member_name: [val.family_member_name, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - family_member_relationship: [val.family_member_relationship, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - family_member_age: [val.family_member_age, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - family_member_earning_status: [val.family_member_earning_status, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_segment: [val.earning_segment, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_if_others_segment: [val.earning_if_others_segment, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_gross_income_per_month: [val.earning_gross_income_per_month, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_name_of_the_employer_or_business: [val.earning_name_of_the_employer_or_business, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - earning_number_of_years_in_employment_or_business: [val.earning_number_of_years_in_employment_or_business, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_occupation: [val.non_earning_occupation, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_if_others: [val.non_earning_if_others, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_if_schoolorcollege: [val.non_earning_if_schoolorcollege, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - non_earning_if_retired_from: [val.non_earning_if_retired_from, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([])], - }); - }; - PdQuestionFamilyPage.prototype.getFamilyData = function () { - var _this = this; - this.qustCat.getFamilyDetails(this.pdDetails.pd_id).subscribe(function (res) { - if (res['dataStatus'] == true) { - var Temparr = []; - if (res.record.from_general_form.length > 0) { - var familyMembersGeneralForm = Object.keys(res.record.from_general_form).map(function (key) { - return res.record.from_general_form[key]; - }); - var datas = familyMembersGeneralForm.map(function (element) { - return { id: element.pd_co_applicant_id.toString(), - name: element.applicant_name, - relationship: element.relationship, - relation_to: element.relation_to, - age: element.age, - data_gets_from: 'GeneralForm' }; - }); - Temparr.push(datas); - } - else { - console.log("No data in General Form"); - } - if (res.record.from_business_form.length > 0) { - var familyMembersBusinessForm = Object.keys(res.record.from_business_form).map(function (key) { - return res.record.from_business_form[key]; - }); - var datas = familyMembersBusinessForm.map(function (element) { - return { id: element.other_family_relationship_id, - name: element.family_member_name, - relationship: element.other_family_relationship_id, - relation_to: element.relation_to_id, - age: '', - data_gets_from: 'BusinessForm' }; - }); - Temparr.push(datas); - } - else { - console.log("No data in Business Form"); - } - _this.apiFamilyMembers = [].concat.apply([], Temparr); - } - }); - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - console.log("Entering Retrieve"); - if (res['status'] == 200) { - if (res['records'].family_details.length > 0) { - _this.familyForm.controls.family_details_form_remark.setValue(res['records'].family_details_form_remark); - _this.resValue = res; - _this.initFamilyDetails(res['records'].family_details); - } - } - else { - console.log("No Data Found"); - _this.initFamilyDetails(null); - } - //this.generateFamilyMembersDetailsGetData(res['records'].family_members_details); - }, function (err) { - console.log("Error", err); - }); - /*let earning:any = []; - let non_earning:any = []; - let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id} - this.qustCat.retiverForm(records).subscribe(res=> - { - if(res['dataStatus']==true) - { - non_earning = Object.keys(res['records'].non_earning_members).map(function(key) { - - return res['records'].non_earning_members[key]; - }); - this.familyForm.controls['family_details_form_remark'].setValue(res['records'].family_details_form_remark); - earning = Object.keys(res['records'].earning_members).map(function(key) { - return res['records'].earning_members[key]; - }); - let familyDetails = res['records']; - this.checkfamilystatus(non_earning.length + earning.length,familyDetails.family_members); - // this.familyForm.controls['person'].setValue(familyDetails.person_met); - this.familyForm.controls['personOther'].setValue(familyDetails.personOther); - this.familyForm.controls['members'].setValue(familyDetails.family_members); - this.familyForm.controls['residence'].setValue(familyDetails.residence); - this.familyForm.controls['years'].setValue(familyDetails.no_of_years); - this.familyForm.controls['ownership'].setValue(familyDetails.ownership); - this.familyForm.controls['ownershipOther'].setValue(familyDetails.ownershipOther); - this.familyForm.controls['rent'].setValue(familyDetails.what_rent); - // this.familyForm.controls['earningMembers'].setValue(earning); - // for(this.) - this.items = this.familyForm.get('earningMembers') as FormArray; - this.membersitem =this.familyForm.get('nonEarningMembers') as FormArray; - if(earning.length==0) - { - this.addearningMembers(); - }else - { - earning.forEach(datas => { - this.count++; - this.items.push(this.createMembers()); - }); - this.familyForm.controls['earningMembers'].setValue(earning); - - } - - if(non_earning.length==0) - { - this.addMembers(); - }else - { - non_earning.forEach(datas => { - this.count++; - this.membersitem.push(this.createNonMembers()); - - }); - this.familyForm.controls['nonEarningMembers'].setValue(non_earning); - // this.checkfamilystatus(this.count); - } - - // for(let earningDetails of earning){ - // this.items = this.familyForm.get('earningMembers') as FormArray; - // this.items.push(earning); - // } - - }else - { - this.addearningMembers(); - this.addMembers(); - } - }) */ - }; - /** To Convert Amount into Words */ - PdQuestionFamilyPage.prototype.inWords = function (e, flag, i) { - switch (flag) { - case 1: - this.RentAmount[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 2: - this.IncomePerMonth[i] = this.cons.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - PdQuestionFamilyPage.prototype.initSetValue = function (records) { - for (var _i = 0, records_1 = records; _i < records_1.length; _i++) { - var val = records_1[_i]; - var formData = this.fb.group({ - selected_person: [val.selected_person], - residence_place: [val.residence_place] - }); - } - }; - PdQuestionFamilyPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-family',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-family\pd-question-family.html"*/'\n\n \n \n {{FormId.form_name}}\n \n \n\n
\n
\n \n \n \n

Family Details {{i+1}}

\n \n
\n \n \n \n {{pd.applicant_name}}\n \n \n \n
\n \n \n \n \n
Residence Details of {{FamilyMemberAsLabel[i]}}
\n \n \n \n \n \n \n \n {{s.name}}\n \n \n \n \n \n \n {{c.city_name}}\n \n \n \n \n \n \n {{p.pincode}}\n \n \n \n \n \n \n \n \n \n \n \n {{own.name}}\n \n\n\n \n {{"₹"}} {{RentAmount[i]}} Only\n\n\n \n \n \n
\n \n \n \n \n \n \n
\n \n
\n
\n \n Family Details # {{ix+1}} Of {{FamilyMemberAsLabel[i]}}\n \n \n \n \n \n {{relation.name}}\n \n \n \n \n \n \n \n \n {{earning.type}}\n \n \n \n
\n
Earning Details
\n \n \n \n {{segment.earning_member_status}}\n \n \n \n \n \n \n \n \n {{"₹"}} {{IncomePerMonth[ix]}} Only\n \n \n \n \n \n \n \n \n
\n \n
\n \n \n \n {{occupation.name}}\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n \n
\n \n \n
\n
\n\n\n
\n\n \n\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n\n \n \n \n \n
\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-family\pd-question-family.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], - __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionFamilyPage); - return PdQuestionFamilyPage; -}()); - -//# sourceMappingURL=pd-question-family.js.map - -/***/ }), - -/***/ 368: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssestsPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(22); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionAssestsPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssestsPage = (function () { - function PdQuestionAssestsPage(navCtrl, navParams, fb, aws, qustCat, toast, constprovider) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.constprovider = constprovider; - this.m_any_asset_loan_type = [{ 'value': "yes", 'viewValue': "Yes" }, - { 'value': "no", 'viewValue': "No" }, - { 'value': "nan", 'viewValue': "NA" }]; - this.FormList = false; - this.loadDetails = true; - this.appxMarketAmtInwords = []; - this.OtherAppxMarketAmtInwords = []; - this.emiAmtInwords = []; - this.OtherEmiAmtInwords = []; - this.PremiumPaidInwords = []; - this.OtherPremiumPaidInwords = []; - this.SumAssuredInwords = []; - this.OtherSumAssuredInwords = []; - this.AmtInvestInwords = []; - this.AssetValueInwords = []; - this.OtherAssetValueInwords = []; - this.B_emiAmtInwords = []; - this.O_emiAmtInwords = []; - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.apiLoadFinish = false; - this.assestInfo = "busass"; - this.FormId = this.navParams.get('FormId'); - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.users = this.aws.getlocale(); - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (val) { return val.applicant_type == 0 || val.applicant_type == 1; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - this.AssetsDetailsForm = this.fb.group({ - assets_details: this.fb.array([]), - // business_assets_details:this.fb.array([]), - assets_form_remark: [''] - }); - this.getAssetDetails(); - this.getdropList(); - //this. addAsset(1); - this.loadDetails = true; - } - PdQuestionAssestsPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssestsPage'); - }; - PdQuestionAssestsPage.prototype.getdropList = function () { - var _this = this; - this.qustCat.getcommondrop('ASSETTYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_assets_type = res['records'].filter(function (data) { return data.isactive == 1 && data.id != 5; }); - } - }); - this.qustCat.getcommondrop('PROPERTIES').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_propertyType = res['records']; - } - }); - this.qustCat.getcommondrop('INVESTMENTTYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_investmentType = res['records']; - } - }); - this.qustCat.getcommondrop('INSURANCETYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_insuranceType = res['records']; - } - }); - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records']; - } - }); - this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.m_relation = data['records'].filter(function (data) { return data.isactive == 1; }); - } - }); - this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); - } - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - var modifyApplicantList = []; - if (_this.applicants.length > 0) { - modifyApplicantList = _this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); - } - }); - }; - PdQuestionAssestsPage.prototype.createAsset = function () { - return this.fb.group({ - assets_mode: [null], - details: this.fb.array([]), - approximate_market_value: [null], - name_of_the_owner: [''], - other_owner: [''], - // purchase_year: [null], - purchase_year: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(4), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(4)])], - vintage_personal: [''], - // purchase_month: [null], - emi: [null], - }); - }; - PdQuestionAssestsPage.prototype.addAsset = function (flag) { - if (flag == 1) { - this.assetItem = this.AssetsDetailsForm.get('assets_details'); - this.assetItem.push(this.createAsset()); - } - }; - PdQuestionAssestsPage.prototype.deleteAsset = function (i, flag) { - if (flag == 1) { - this.assetItem = this.AssetsDetailsForm.get('assets_details'); - if (this.assetItem.length == 1) { - this.AssetsDetailsForm.controls['assets_details'].reset(); - } - else { - this.assetItem.removeAt(i); - } - } - }; - PdQuestionAssestsPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionAssestsPage.prototype.loanCalc = function (details, flag) { - if (flag == 1) { - var ElapsedValues = void 0; - if (details.value.original_loan_tenure != null && details.value.original_loan_tenure != '' && details.value.balance_tenure != null && details.value.balance_tenure != '') { - ElapsedValues = details.value.original_loan_tenure - details.value.balance_tenure; - details.controls['elapsed_tenure'].setValue(ElapsedValues); - } - } - }; - PdQuestionAssestsPage.prototype.selectedAssetsType = function (e, i, flag) { - var val = i; - if (flag == 1) { - var arr = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - arr.controls.splice(0); - } - switch (e.value) { - case '1': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.otherAssetsDescription()); - break; - } - case '2': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadProperty()); - break; - } - case '3': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.load_Four_Weeler()); - break; - } - case '4': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadEquipmentManufacturingDescription()); - break; - } - case '5': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadConsumerDurableDescription()); - break; - } - case '6': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadInsuranceDescription()); - break; - } - case '7': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadInvestDescription()); - break; - } - case '8': { - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.otherAssetsDescription()); - break; - } - default: { - break; - } - } - }; - PdQuestionAssestsPage.prototype.loadProperty = function () { - return this.fb.group({ - property_type: [''], - other_property_type: [''] - }); - }; - PdQuestionAssestsPage.prototype.loadJwellDescription = function () { - return this.fb.group({}); - }; - PdQuestionAssestsPage.prototype.loadConsumerDurableDescription = function () { - return this.fb.group({ - consumer_durable_description: [null] - }); - }; - PdQuestionAssestsPage.prototype.otherBusinessAssetsDescription = function () { - return this.fb.group({ - any_other_assets: [''], - any_other_asset_value: [''], - any_other_asset_loan: [''], - }); - }; - PdQuestionAssestsPage.prototype.otherAssetsDescription = function () { - return this.fb.group({ - any_other_assets: [''], - }); - }; - PdQuestionAssestsPage.prototype.loadInsuranceDescription = function () { - return this.fb.group({ - insurance_type: [null], - premium_paid: [null], - frequency_mode: [null], - other_frequency_mode: [null], - sum_assured: [null], - members_coverd: [null] - }); - }; - PdQuestionAssestsPage.prototype.loadInvestDescription = function () { - return this.fb.group({ - investments_type: [''], - other_investments_type: [''], - in_which_organisation: [''], - amount_of_invest: [''], - bank_name: [''] - }); - }; - PdQuestionAssestsPage.prototype.load_Four_Weeler = function () { - return this.fb.group({ - //manufacturer_model: [''], - manufacturer_model_vehicle: [''] - }); - }; - PdQuestionAssestsPage.prototype.loadEquipmentManufacturingDescription = function () { - return this.fb.group({ - equipment_manufacturing_description: [''] - }); - }; - PdQuestionAssestsPage.prototype.load_Two_Weeler = function () { - return this.fb.group({ - manufacturer_model_two_weeler: [''] - }); - }; - PdQuestionAssestsPage.prototype.loadPropertyWithData = function (data) { - return this.fb.group({ - property_type: [data.property_type], - other_property_type: [data.other_property_type] - }); - }; - PdQuestionAssestsPage.prototype.loadJwellDescriptionWithData = function (data) { - return this.fb.group({}); - }; - PdQuestionAssestsPage.prototype.loadConsumerDurableDescriptionWithData = function (data) { - return this.fb.group({ - consumer_durable_description: [data.consumer_durable_description] - }); - }; - PdQuestionAssestsPage.prototype.otherAssetsDescriptionWithData = function (data) { - return this.fb.group({ - any_other_assets: [data.any_other_assets], - }); - }; - PdQuestionAssestsPage.prototype.otherBusinessAssetsDescriptionWithData = function (data) { - return this.fb.group({ - any_other_assets: [data.any_other_assets], - any_other_asset_value: [data.any_other_asset_value], - any_other_asset_loan: [data.any_other_asset_loan], - }); - }; - PdQuestionAssestsPage.prototype.loadInsuranceDescriptionWithData = function (data) { - return this.fb.group({ - //insurance_type: [data.insurance_type], - premium_paid: [data.premium_paid], - frequency_mode: [data.frequency_mode], - other_frequency_mode: [data.other_frequency_mode], - sum_assured: [data.sum_assured], - members_coverd: [data.members_coverd] - }); - }; - PdQuestionAssestsPage.prototype.loadInvestDescriptionWithData = function (data) { - return this.fb.group({ - investments_type: [data.investments_type], - other_investments_type: [data.other_investments_type], - in_which_organisation: [data.in_which_organisation], - amount_of_invest: [data.amount_of_invest], - bank_name: [data.bank_name] - }); - }; - PdQuestionAssestsPage.prototype.load_Four_WeelerWithData = function (data) { - return this.fb.group({ - // manufacturer_model: [data.manufacturer_model, Validators.compose([Validators.required])] - manufacturer_model_vehicle: [data.manufacturer_model_vehicle] - }); - }; - PdQuestionAssestsPage.prototype.loadEquipmentManufacturingDescriptionWithData = function (data) { - return this.fb.group({ - equipment_manufacturing_description: [data.equipment_manufacturing_description] - }); - }; - PdQuestionAssestsPage.prototype.load_Two_WeelerWithData = function (data) { - return this.fb.group({ - manufacturer_model_vehicle: [data.manufacturer_model_vehicle] - }); - }; - PdQuestionAssestsPage.prototype.saveAssetDetails = function (answerData) { - var _this = this; - Object.keys(answerData).forEach(function (key) { return (answerData[key] == null) && delete answerData[key]; }); - // answerData.assets_details.map(val => { - // if (val.emi == 'no') { - // val.emi_paid = ''; - // val.elapsed_tenure = ''; - // val.balance_tenure = ''; - // val.original_loan_tenure =''; - // } - // }); - answerData.pdid = this.pdDetails.pd_id; - answerData.formid = this.FormId.form_id; - answerData.fk_createdby = this.users; - this.qustCat.saveForm(answerData).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - }; - PdQuestionAssestsPage.prototype.getAssetDetails = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var assetArray = Object.keys(res['records'].assets_details).map(function (key) { - // this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark) - return res['records'].assets_details[key]; - }); - _this.AssetsDetailsForm.controls['assets_form_remark'].setValue(res['records'].assets_form_remark); - if (assetArray.length > 0) { - for (var _i = 0, assetArray_1 = assetArray; _i < assetArray_1.length; _i++) { - var val = assetArray_1[_i]; - var vals = { - assets_mode: val.assets_mode, - approximate_market_value: val.approximate_market_value, - name_of_the_owner: val.name_of_the_owner, - other_owner: val.other_owner, - purchase_year: val.purchase_year, - vintage_personal: val.vintage_personal, - // purchase_month: val.purchase_month, - emi: val.emi, - }; - var control = _this.AssetsDetailsForm.controls['assets_details']; - control.push(_this.initDetailsWithdata(vals)); - _this.setAssetsDetailsWithData(vals.assets_mode, val.details, control.length - 1); - } - } - // if (busarray.length > 0) { - // for (let val of busarray) { - // let vals = { - // assets_mode: val.assets_mode, - // approximate_market_value: val.approximate_market_value, - // name_of_the_owner: val.name_of_the_owner, - // purchase_year: val.purchase_year, - // purchase_month: val.purchase_month, - // emi: val.emi, - // emi_paid: val.emi_paid, - // elapsed_tenure: val.elapsed_tenure, - // balance_tenure: val.balance_tenure, - // original_loan_tenure:val.original_loan_tenure, - // }; - // const control = this.AssetsDetailsForm.controls['assets_details']; - // control.push(this.initBusinessDetailsWithdata(vals)); - // this.setAssetsDetailsWithData2(vals.assets_mode, val.details, control.length-1); - // } - // } - _this.apiLoadFinish = true; - //this.AssetsDetailsForm.controls['assets_details'].setValue(assetArray); - } - else { - _this.apiLoadFinish = true; - _this.addAsset(1); - // this.addAsset(2); - } - }); - }; - PdQuestionAssestsPage.prototype.initDetailsWithdata = function (data) { - return this.fb.group({ - assets_mode: [data.assets_mode], - details: this.fb.array([]), - approximate_market_value: [data.approximate_market_value], - name_of_the_owner: [data.name_of_the_owner], - other_owner: [data.other_owner || ''], - vintage_personal: [data.vintage_personal], - // purchase_year: [data.purchase_year], - purchase_year: [data.purchase_year, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].minLength(4), __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].maxLength(4)])], - // purchase_month: [data.purchase_month], - emi: [data.emi || 0], - }); - }; - PdQuestionAssestsPage.prototype.setAssetsDetailsWithData = function (assets_details_mode, datas, i) { - var _this = this; - var val = i; - // var data = Object.keys(datas).map(function (key) { - // return datas[key]; - // }); - // alert(JSON.stringify(datas)); - var data = datas; - var arr = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - arr.controls.splice(0); - switch (assets_details_mode) { - case '1': { - var array_data_1; - data.forEach(function (datas, i) { - array_data_1 = { 'any_other_assets': datas.any_other_assets, - 'name_of_the_owner': datas.name_of_the_owner, - 'other_owner': datas.other_owner, - }; - //this.OtherAssetValueInwords[i] = this.constprovider.convertNumberToWords(+datas.any_other_asset_value); - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.otherAssetsDescriptionWithData(array_data_1)); - break; - } - case '2': { - var array_data_2; - data.forEach(function (datas, i) { - array_data_2 = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type }; - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadPropertyWithData(array_data_2)); - break; - } - case '3': { - var array_data_3; - data.forEach(function (datas, i) { - array_data_3 = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle }; - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.load_Four_WeelerWithData(array_data_3)); - break; - } - case '4': { - var array_data_4; - data.forEach(function (datas, i) { - array_data_4 = { 'equipment_manufacturing_description': datas.equipment_manufacturing_description }; - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadEquipmentManufacturingDescriptionWithData(array_data_4)); - break; - } - case '5': { - this.FormList = true; - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - // control.push(this.loadConsumerDurableDescriptionWithData(data)); - break; - } - case '6': { - var array_data_5; - data.forEach(function (datas, i) { - array_data_5 = { - 'premium_paid': datas.premium_paid, - 'frequency_mode': datas.frequency_mode, - 'other_frequency_mode': datas.other_frequency_mode, - 'sum_assured': datas.sum_assured, - 'members_coverd': datas.members_coverd - }; - _this.PremiumPaidInwords[i] = _this.constprovider.convertNumberToWords(+datas.premium_paid); - _this.SumAssuredInwords[i] = _this.constprovider.convertNumberToWords(+datas.sum_assured); - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadInsuranceDescriptionWithData(array_data_5)); - break; - } - case '7': { - var array_data_6; - data.forEach(function (datas, i) { - _this.AmtInvestInwords[i] = _this.constprovider.convertNumberToWords(+datas.amount_of_invest); - array_data_6 = { 'investments_type': datas.investments_type, - 'other_investments_type': datas.other_investments_type, - 'in_which_organisation': datas.in_which_organisation, - 'amount_of_invest': datas.amount_of_invest, - 'bank_name': datas.bank_name }; - }); - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.loadInvestDescriptionWithData(array_data_6)); - break; - } - case '8': { - this.FormList = true; - var control = this.AssetsDetailsForm.controls['assets_details'].at(val).get('details'); - control.push(this.otherAssetsDescriptionWithData(data)); - break; - } - default: { - break; - } - } - }; - /** On Key Press Event For Number only Accepting */ - PdQuestionAssestsPage.prototype.keyPress = function (event) { - var pattern = /[0-9\-\.\ ]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - PdQuestionAssestsPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.appxMarketAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 2: - this.OtherAppxMarketAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 3: - this.emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 4: - this.OtherEmiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 5: - this.PremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 6: - this.OtherPremiumPaidInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 7: - this.SumAssuredInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 8: - this.OtherSumAssuredInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 9: - this.AmtInvestInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 10: - this.OtherAmtInvestInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 11: - this.AssetValueInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 12: - this.OtherAssetValueInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 13: - this.B_emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - case 14: - this.O_emiAmtInwords[i] = this.constprovider.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - // check others - PdQuestionAssestsPage.prototype.checkOthers = function (values) { - if (values != null) { - return values.id == 0 ? true : false; - } - else { - return false; - } - }; - PdQuestionAssestsPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assests',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assests\pd-question-assests.html"*/'\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n
Asset Details # {{i+1}}
\n\n \n\n
\n\n
\n\n \n\n \n\n {{ asset.name }}\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n {{ prop.name }}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{PremiumPaidInwords[s]}} Only\n\n \n\n
\n\n
\n\n \n\n \n\n {{ freqn.name }}\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n {{"₹"}} {{SumAssuredInwords[s]}} Only\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n {{ ins_type.name }}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n {{"₹"}} {{AmtInvestInwords[s]}} Only\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n\n\n Vintage\n\n \n\n \n\n\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n

Is there a loan?

\n\n \n\n \n\n YES\n\n NO\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assests\pd-question-assests.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssestsPage); - return PdQuestionAssestsPage; -}()); - -//# sourceMappingURL=pd-question-assests.js.map - -/***/ }), - -/***/ 369: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionOtherIncomePage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionOtherIncomePage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionOtherIncomePage = (function () { - function PdQuestionOtherIncomePage(navCtrl, navParams, fb, qustCat, aws, toast, constant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustCat = qustCat; - this.aws = aws; - this.toast = toast; - this.constant = constant; - this.incomeEarnedBy = []; - this.amtInWords = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.navParams.get('FormId'); - this.getFrequency(); - this.users = this.aws.getlocale(); - this.otherIncomeForm = this.fb.group({ - other_income: [null], - otherincome_remarks: [null], - income_details: this.fb.array([]) - }); - //this.incomeDetails=this.otherIncomeForm.get('income_details')as FormArray - //this.incomeDetails.push(this.createDetail()) - } - PdQuestionOtherIncomePage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionOtherIncomePage'); - this.getOtherIncome(); - }; - PdQuestionOtherIncomePage.prototype.createDetail = function () { - return this.fb.group({ - source: [''], - address: [''], - others_source: [''], - income_earned_by: [''], - others_income_earned_by: [''], - amount: [''], - frequency: [''], - others_frequency: [''] - }); - }; - PdQuestionOtherIncomePage.prototype.addIncomeDetails = function () { - this.incomeDetails = this.otherIncomeForm.get('income_details'); - this.incomeDetails.push(this.createDetail()); - }; - PdQuestionOtherIncomePage.prototype.deleteIncomeDetails = function (index) { - this.incomeDetails = this.otherIncomeForm.get('income_details'); - if (this.incomeDetails.length == 1) { - // this.otherIncomeForm.controls['income_details'].reset(); - this.otherIncomeForm.reset(); - this.amtInWords[index] = ''; - } - else { - this.incomeDetails.removeAt(index); - } - }; - PdQuestionOtherIncomePage.prototype.checkotherDetails = function (val) { - if (val == "Yes") { - this.addIncomeDetails(); - } - if (val == "No") { - //let length=this.otherIncomeForm.income_details.controls.length - var control = this.otherIncomeForm.controls['income_details']; - control.removeAt(0); - // let len=control.length - // for(let i=0;i\n\n \n \n {{FormId.form_name}}\n\n\n \n\n\n\n\n\n
\n \n \n

Other Income

\n \n Yes\n      \n No\n \n \n
\n \n \n
\n
\n

Income Details {{i+1}}

\n \n \n \n {{source.name}}\n \n \n \n Address\n \n \n \n \n \n \n \n {{person.applicant_name | titlecase}}\n Others\n \n \n \n \n \n \n \n {{"₹"}} {{amtInWords[i]}}\n \n \n \n \n {{frq.name}}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n
\n
\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-other-income\pd-question-other-income.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionOtherIncomePage); - return PdQuestionOtherIncomePage; -}()); - -//# sourceMappingURL=pd-question-other-income.js.map - -/***/ }), - -/***/ 370: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionPersonalInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionPersonalInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionPersonalInfoPage = (function () { - function PdQuestionPersonalInfoPage(navCtrl, navParams, aws, qustCat, toast, _fb) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this._fb = _fb; - this.qualifications = ["Graduate", "Under Graduate", "Post Graduate", "Professional"]; - this.earningStatus = ["Earning Member", "House Wife", "Student", "Retired", "Pensioner", "Other Non earning member"]; - this.relationShipList = []; - this.mainApplicantQuestions = ["Name", "Age", "Entity", "Educational Qualification", "Earning Status"]; - this.coApplicantQuestions = ["Name", "Age", "Entity", "Educational Qualification", "Earning Status", "Relationship"]; - this.mainApplicantDetails = []; - this.coApplicantDetails = []; - //coItem:any; - //mainItem:any; - this.repeat = 3; - this.loadDataStatus = false; - this.questionDetails = this.navParams.get('questionDetails'); - this.pdDetails = this.navParams.get('pdDetails'); - this.users = this.aws.getlocale(); - // this.getRelationMaster(); - } - PdQuestionPersonalInfoPage.prototype.ngOnInit = function () { - this.loadPDDetails(); - this.getRelationMaster(); - this.mainApplicantDetails = this.pdDetails.applicat_details - .filter(function (item) { return item.applicant_type == 1; }); - this.coApplicantDetails = this.pdDetails.applicat_details - .filter(function (item) { return item.applicant_type == 0; }); - }; - // load form pd details - PdQuestionPersonalInfoPage.prototype.loadPDDetails = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': '341' }; - this.qustCat.retiverForm(records).subscribe(function (data) { - if (data['status'] == 200) { - _this.loadFormWithIDData(data['records']); - } - else { - var defaultMainApp = []; - var defaultCoApp = []; - // generate default main applicant form details - if (_this.mainApplicantDetails.length > 0) { - for (var j = 0; j < _this.mainApplicantQuestions.length; j++) { - if (j == 0) { - var generateRow = { - "pd_question": "", - "pd_answer": _this.mainApplicantDetails[0].applicant_name, - }; - defaultMainApp.push(generateRow); - } - else { - var generateRow = { - "pd_question": "", - "pd_answer": "", - }; - defaultMainApp.push(generateRow); - } - } - } - _this.loadFormData(defaultMainApp, _this.coApplicantDetails); - } - }, function (error) { return _this.errorMessage = error; }); - }; - PdQuestionPersonalInfoPage.prototype.loadFormWithIDData = function (data) { - var main_result = Object.keys(data.main_applicant_details).map(function (key) { - return data.main_applicant_details[key]; - }); - var co_result = Object.keys(data.co_applicant_details).map(function (key) { - return data.co_applicant_details[key]; - }); - // main applicant - var mainApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](main_result.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ - name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.name_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.age_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.entity_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.qualification_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.earning_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - }); })); - // co applicant - var iterateCoApp = []; - var coApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](co_result.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ - name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.name_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.age_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.entity_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.qualification_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.earning_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - relation_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.relation_ans, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - }); })); - this._personalForm = this._fb.group({ - pdid: null, - form_id: null, - mainItem: mainApplicantGroup, - coItem: coApplicantGroup, - personal_info_form_remark: [data.personal_info_form_remark] - }); - this.loadDataStatus = true; - }; - PdQuestionPersonalInfoPage.prototype.loadFormData = function (mainApp, coApp) { - var _this = this; - // main applicant - var mainApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](this.mainApplicantDetails.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ - name_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[0]), - name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.applicant_name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - name_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](0), - age_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[1]), - age_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](1), - age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - entity_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[2]), - entity_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](2), - entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - qualification_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[3]), - qualification_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](3), - qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - earningStatus_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.mainApplicantQuestions[4]), - earning_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](4), - earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - }); })); - // co applicant - var iterateCoApp = []; - var coApplicantGroup = new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */](this.coApplicantDetails.map(function (item, key) { return new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]({ - name_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[0]), - name_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](item.applicant_name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - name_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](0), - age_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[1]), - age_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](1), - age_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - entity_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[2]), - entity_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](2), - entity_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - qualification_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[3]), - qualification_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](3), - qualification_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - earningStatus_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[4]), - earning_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](4), - earning_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - relationShip_ques: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](_this.coApplicantQuestions[5]), - relation_id: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](5), - relation_ans: new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required), - }); })); - this._personalForm = this._fb.group({ - pdid: null, - form_id: null, - mainItem: mainApplicantGroup, - coItem: coApplicantGroup, - personal_info_form_remark: null - }); - this.loadDataStatus = true; - }; - Object.defineProperty(PdQuestionPersonalInfoPage.prototype, "pdMainapplicant", { - //get pd main applicant array values - get: function () { return this._personalForm.get('mainItem'); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(PdQuestionPersonalInfoPage.prototype, "pdCoapplicant", { - // get pd co applicant array values - get: function () { return this._personalForm.get('coItem'); }, - enumerable: true, - configurable: true - }); - // get relation master details - PdQuestionPersonalInfoPage.prototype.getRelationMaster = function () { - var _this = this; - var relation = "RELATIONSHIPS"; - this.qustCat.getcommondrop(relation).subscribe(function (data) { - if (data['status'] == 200) { - _this.relationShipList = data['records']; - } - }, function (error) { return _this.errorMessage = error; }); - }; - // submit forms details - PdQuestionPersonalInfoPage.prototype.submitPersonalForm = function (formData) { - var _this = this; - if (this._personalForm.valid) { - var main_applicantDetails_1 = []; - var co_applicantDetails_1 = []; - formData.mainItem.forEach(function (element, key) { - if (key == 0) { - main_applicantDetails_1.push({ - "name_ans": element.name_ans, - "age_ans": element.age_ans, - "entity_ans": element.entity_ans, - "qualification_ans": element.qualification_ans, - "earning_ans": element.earning_ans, - }); - } - }); - formData.coItem.forEach(function (Coelement, Cokey) { - co_applicantDetails_1.push({ - "name_ans": Coelement.name_ans, - "age_ans": Coelement.age_ans, - "qualification_ans": Coelement.qualification_ans, - "entity_ans": Coelement.entity_ans, - "earning_ans": Coelement.earning_ans, - "relation_ans": Coelement.relation_ans, - }); - }); - var save_details = { - "pdid": this.pdDetails.pd_id, - "formid": '341', - "fk_createdby": this.users, - "main_applicant_details": main_applicantDetails_1, - "co_applicant_details": co_applicantDetails_1, - "personal_info_form_remark": this._personalForm.get('personal_info_form_remark').value - }; - this.qustCat.saveForm(save_details).subscribe(function (result) { - if (result['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - // this.notifier.notify('success', 'Success.'); - } - else { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - } - }, function (error) { - // this.notifier.notify('warning', 'Something Wents Wrong Try Again.!'); - }); - } - }; - PdQuestionPersonalInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-personal-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-personal-info\pd-question-personal-info.html"*/'\n\n\n\n \n\n \n\n Personal Info Category\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n \n\n
\n\n\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n Main Applicant\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{education}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{earning}}\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n Co Applicant\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{education}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{earning}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{rel.name}}\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n Remarks\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-personal-info\pd-question-personal-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) - ], PdQuestionPersonalInfoPage); - return PdQuestionPersonalInfoPage; -}()); - -//# sourceMappingURL=pd-question-personal-info.js.map - -/***/ }), - -/***/ 371: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionRentalInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionRentalInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionRentalInfoPage = (function () { - function PdQuestionRentalInfoPage(navCtrl, navParams, aws, toast, qustCat, fb) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.toast = toast; - this.qustCat = qustCat; - this.fb = fb; - this.FormId = this.navParams.get('FormId'); - this.pdDetails = this.navParams.get('pdDetails'); - this.users = this.aws.getlocale(); - this.rentalForms = this.fb.group({ - person_met: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - property_own: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - nature_property: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - nature_others: [null], - rental_home: this.fb.array([]) - }); - this.getRentalDetails(); - } - PdQuestionRentalInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionRentalInfoPage'); - }; - PdQuestionRentalInfoPage.prototype.createrentalHome = function () { - return this.fb.group({ - complete_add: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - area_of_property: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - structure_property: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - total_room: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - is_rent: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - date_agreement: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - date_validity: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - rent_agreement: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - actual_rent: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - photo_areegment: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - property_photographs: [null], - bank: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - cash: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - rent_each_floor: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - total_rent: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - related_doc_owner: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - details_tenants: this.fb.array([]), - third_party_check: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - }); - }; - PdQuestionRentalInfoPage.prototype.createTenantsDetails = function () { - return this.fb.group({ - name: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - mobile_no: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - tenants_seen: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - tenants_con_owner: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - rent_paid: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - staying_since: [null, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - }); - }; - PdQuestionRentalInfoPage.prototype.addrentalHome = function () { - var control = this.rentalForms.get('rental_home'); - control.push(this.createrentalHome()); - this.addTenantsDetails(0); - }; - PdQuestionRentalInfoPage.prototype.addTenantsDetails = function (i) { - var control = this.rentalForms.controls['rental_home'].at(i).get('details_tenants'); - // control.controls.splice(0); - control.push(this.createTenantsDetails()); - }; - PdQuestionRentalInfoPage.prototype.deleteTenantsDetails = function (rentIndex, TenantsIndex) { - var control = this.rentalForms.controls['rental_home'].at(rentIndex).get('details_tenants'); - control.removeAt(TenantsIndex); - }; - PdQuestionRentalInfoPage.prototype.deleterentalHome = function (i) { - var control = this.rentalForms.controls['rental_home']; - if (control.length == 1) { - this.rentalForms.controls['rental_home'].reset(); - } - else { - control.removeAt(i); - } - }; - PdQuestionRentalInfoPage.prototype.saveRentalDetails = function (answerData) { - var _this = this; - var records = {}; - // if(this.rentalForms.valid){ - records.pdid = this.pdDetails.pd_id; - records.formid = this.FormId.form_id; - records.fk_createdby = this.users; - records.person_met = answerData.person_met; - records.property_own = answerData.property_own; - records.nature_property = answerData.nature_property; - if (answerData.nature_property == 'others') { - records.nature_others = answerData.nature_others; - } - records.rental_home = answerData.rental_home; - Object.keys(records.rental_home).forEach(function (key) { return (records.rental_home[key] == null) && delete answerData[key]; }); - this.qustCat.saveForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - // }else - // { - // this.toast.pdTriggerappmessage('Enter All Field'); - // } - }; - PdQuestionRentalInfoPage.prototype.getRentalDetails = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var rentalDetails = res['records']; - var rentalData = Object.keys(res['records'].rental_home).map(function (key) { - return res['records'].rental_home[key]; - }); - var tanantsData = []; - var control = _this.rentalForms.controls['rental_home']; - var tanantscontrol; - rentalData.forEach(function (val, index) { - // this.addrentalHome(); - // tanantsData.push(Object.keys(val.details_tenants).map(function(key) - // { - // return val.details_tenants[key]; - // })); - rentalData[index].details_tenants = Object.keys(val.details_tenants).map(function (key) { - return val.details_tenants[key]; - }); - control.push(_this.createrentalHome()); - tanantscontrol = _this.rentalForms.controls['rental_home'].at(index).get('details_tenants'); - rentalData[index].details_tenants.forEach(function (val, key) { - //rentalData[index].details_tenants = val; - // rentalData[index].details_tenants = [key]; - tanantscontrol.push(_this.createTenantsDetails()); - }); - // control[index].details_tenants =tanantscontrol; - }); - _this.rentalForms.controls['person_met'].setValue(rentalDetails.person_met); - _this.rentalForms.controls['property_own'].setValue(rentalDetails.property_own); - _this.rentalForms.controls['nature_property'].setValue(rentalDetails.nature_property); - if (rentalDetails.nature_property == 'others') { - _this.rentalForms.controls['nature_others']. - setValue(rentalDetails.nature_others); - } - _this.rentalForms.controls['rental_home'].setValue(rentalData); - } - else { - _this.addrentalHome(); - // this.addTenantsDetails(0); - } - }); - }; - PdQuestionRentalInfoPage.prototype.createTenantsDetailswithData = function (index, data) { - return this.fb.group({ - name: [data.name], - mobile_no: [data.mobile_no], - tenants_seen: [data.tenants_seen], - tenants_con_owner: [data.tenants_con_owner], - rent_paid: [data.rent_paid], - staying_since: [data.staying_since] - }); - }; - PdQuestionRentalInfoPage.prototype.validateAllFormFields = function (formGroup) { - var _this = this; - Object.keys(formGroup.controls).forEach(function (field) { - var control = formGroup.get(field); - if (control instanceof __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]) { - control.markAsTouched({ onlySelf: true }); - } - else if (control instanceof __WEBPACK_IMPORTED_MODULE_5__angular_forms__["e" /* FormGroup */]) { - _this.validateAllFormFields(control); - } - else if (control instanceof __WEBPACK_IMPORTED_MODULE_5__angular_forms__["b" /* FormArray */]) { - _this.validateAllFormFields(control); - } - }); - }; - PdQuestionRentalInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-rental-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-rental-info\pd-question-rental-info.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Applicant\n\n Co-Applicant\n\n Parental\n\n\n\n \n\n \n\n \n\n \n\n Residential/commercial\n\n Others\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n Rentel Home Details {{rent_i+1}}\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n

Is Rent agreement available

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

Photo of agreement taken ?

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n \n\n\n\n \n\n
\n\n

Details of the tenants {{i+1}}

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-rental-info\pd-question-rental-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) - ], PdQuestionRentalInfoPage); - return PdQuestionRentalInfoPage; -}()); - -//# sourceMappingURL=pd-question-rental-info.js.map - -/***/ }), - -/***/ 372: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedDashPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_info_pd_question_assessed_info__ = __webpack_require__(373); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionAssessedDashPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedDashPage = (function () { - function PdQuestionAssessedDashPage(navCtrl, navParams, aws, fb, qustCat, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.fb = fb; - this.qustCat = qustCat; - this.toast = toast; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.users = this.aws.getlocale(); - this.assessedForm = this.fb.group({ - calc_type_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - mode: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - margin: [null], - fk_createdby: [this.users], - fk_updatedby: [null], - }); - } - PdQuestionAssessedDashPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedDashPage'); - }; - PdQuestionAssessedDashPage.prototype.ionViewCanEnter = function () { - this.getassessedIncome(); - }; - PdQuestionAssessedDashPage.prototype.getViewPage = function (pageId) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], { 'pdDetails': this.pdDetails, 'pageId': pageId }); - }; - PdQuestionAssessedDashPage.prototype.saveAssessedForm = function (answerData) { - var _this = this; - if (this.assessedForm.valid) { - var records = { 'records': this.assessedForm.value }; - this.qustCat.saveassessedForms('saveAssessedIncomeCalculateMode', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.getassessedIncome(); - } - else { - } - }); - } - }; - PdQuestionAssessedDashPage.prototype.getassessedIncome = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id }; - this.qustCat.retiverassessedForm('getAssessedIncome', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.assessedProcess = true; - _this.grossprofit = res['records'].gross_profit_calculation_type[0]; - if (res['records'].purchase_details.length != 0) { - _this.purchaseData = true; - } - if (res['records'].sales_items_by_monthwise.length != 0 || res['records'].sales_declared_by_customer.length != 0 || res['records'].sales_calculated_by_itemwise.length != 0) { - _this.salesData = true; - } - if (res['records'].business_expenses.length != 0) { - _this.businessData = true; - } - if (res['records'].house_hold_expenses.length != 0) { - _this.houseExpenseData = true; - } - if (res['records'].othre_business_income.length != 0) { - _this.businessIncome = true; - } - if (res['records'].final_data.length != 0) { - _this.finalAccess = true; - _this.finalData = res['records'].final_data[0]; - _this.finalIncome = _this.finalData.income; - _this.finalExpense = _this.finalData.expense; - } - if (_this.grossprofit !== undefined) { - _this.grossAccess = true; - _this.assessedForm.controls['mode'].setValue(_this.grossprofit.mode); - _this.assessedForm.controls['margin'].setValue(_this.grossprofit.margin); - _this.assessedForm.controls['calc_type_id'].setValue(_this.grossprofit.calc_type_id); - } - } - else { - _this.assessedProcess = false; - } - }); - }; - PdQuestionAssessedDashPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-dash',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-dash\pd-question-assessed-dash.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Purchase Calculation\n\n \n\n \n\n \n\n
\n\n \n\n

Purchase Detail Available

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n \n\n

Sales

\n\n \n\n Gross Margin\n\n Net Margin\n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

SALES

\n\n
\n\n
\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

PURCHASE

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

BUSINESS EXPENSE

\n\n
\n\n
\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

HOUSE HOLD

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n --\n\n \n\n \n\n \n\n

OTHER BUSINESS INCOME

\n\n
\n\n
\n\n
\n\n \n\n

SUMMARY

\n\n
\n\n \n\n \n\n
Business Revenue
\n\n
\n\n \n\n
{{finalIncome.sales_revenue}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
Purchase
\n\n
\n\n \n\n
{{finalExpense.purchase}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
Gross Profit
\n\n
\n\n \n\n
{{finalData.gross_profit}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
Business Expense
\n\n
\n\n \n\n
{{finalExpense.business_expense}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
Business Income
\n\n
\n\n \n\n
{{finalData.other_business_income}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
Net Profit
\n\n
\n\n \n\n
{{finalExpense.net_profit}}
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-dash\pd-question-assessed-dash.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdQuestionAssessedDashPage); - return PdQuestionAssessedDashPage; -}()); - -//# sourceMappingURL=pd-question-assessed-dash.js.map - -/***/ }), - -/***/ 373: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__ = __webpack_require__(374); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__ = __webpack_require__(375); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__ = __webpack_require__(376); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__ = __webpack_require__(377); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__ = __webpack_require__(378); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__ = __webpack_require__(379); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - - - -/** - * Generated class for the PdQuestionAssessedInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedInfoPage = (function () { - function PdQuestionAssessedInfoPage(navCtrl, navParams, aws, qustCat, toast, fb) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.fb = fb; - this.houseannual = []; - this.expenseannual = []; - this.sales_item_month_value = []; - this.sales_wise_month_headers = []; - this.sales_month_wise_data = []; - this.grandpurchaseTotal = null; - this.annual = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.pageId = this.navParams.get('pageId'); - switch (this.pageId) { - case 1: - this.FormName = "Sales Page"; - break; - case 2: - this.FormName = "Purchase Page"; - break; - case 3: - this.FormName = "Business Expense Page"; - break; - case 4: - this.FormName = "House Hold Page"; - break; - default: - this.FormName = "Question Page"; - break; - } - this.users = this.aws.getlocale(); - this.assessedForm = this.fb.group({ - sdc_id: [null], - sales_declared_by_customer: [null], - fk_pd_id: [this.pdDetails.pd_id], - margin_per: [null], - margin_value: [null], - isactive: [1], - fk_createdby: [this.users], - }); - // this.getdropList(); - } - PdQuestionAssessedInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedInfoPage'); - }; - PdQuestionAssessedInfoPage.prototype.ionViewDidEnter = function () { - }; - PdQuestionAssessedInfoPage.prototype.ionViewCanEnter = function () { - this.getAssessedDetails(); - }; - PdQuestionAssessedInfoPage.prototype.getMarginCalc = function () { - var margin_per = this.assessedForm.controls['margin_per'].value; - var sales_declared_by_customer = this.assessedForm.controls['sales_declared_by_customer'].value; - if (margin_per != null && sales_declared_by_customer != null) { - var value = sales_declared_by_customer * (margin_per / 100); - this.assessedForm.controls['margin_value'].setValue(value); - } - }; - PdQuestionAssessedInfoPage.prototype.saveData = function (answerData) { - var _this = this; - var records = {}; - records = { 'records': answerData }; - console.log(records); - this.qustCat.saveassessedForms('saveAssessedIncomeSalesDeclaredByCustomer', records).subscribe(function (res) { - // console.log(res); - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - _this.getAssessedDetails(); - } - }); - }; - PdQuestionAssessedInfoPage.prototype.getAssessedDetails = function () { - var _this = this; - this.sales_item_month_value = []; - this.sales_month_wise_data = []; - this.sales_item_value = []; - var records = { 'pd_id': this.pdDetails.pd_id }; - this.qustCat.retiverassessedForm('getAssessedIncome', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var sales_value = res['records'].sales_declared_by_customer[0]; - _this.sales_item_value = res['records'].sales_calculated_by_itemwise; - _this.sales_item_month_value = res['records'].sales_items_by_monthwise; - _this.purchse_details = res['records'].purchase_details; - _this.grossprofitCalc = res['records'].gross_profit_calculation_type[0]; - _this.mode = _this.grossprofitCalc.mode; - console.log(_this.grossprofitCalc); - var result = _this.purchse_details.reduce(function (p, c) { - return p; - }, []); - console.log(result); - _this.businessExpenses_details = res['records'].business_expenses; - _this.houseHold_details = res['records'].house_hold_expenses; - _this.busissnessIncome = res['records'].othre_business_income; - // console.log(this.sales_item_month_value); - // this.getpurchaseDetails(this.purchse_details); - _this.sales_item_month_value.forEach(function (itemElement, itemIndex) { - var expandBodyContent = Object.keys(itemElement.items).map(function (key) { return ({ header: key, value: itemElement.items[key] }); }); - var listItems = []; - expandBodyContent.forEach(function (expnadElement, expnadIndex) { - var calculateItems = expnadElement.value.reduce(function (acc, calculate) { return acc + Number(calculate.sales_value); }, 0); - listItems.push({ items: expnadElement, itemsTotal: calculateItems }); - }); - var calculateAllItemsTotal = listItems.reduce(function (racc, rcalculate) { return racc + Number(rcalculate.itemsTotal); }, 0); - var convertYear = 12 / listItems.length; - var footerMessage = []; - footerMessage.push({ - month_message: listItems.length + ' Month Sales : ' + calculateAllItemsTotal, - month_value: calculateAllItemsTotal, - year_message: ' Yearly Sales Arrived : ' + calculateAllItemsTotal * convertYear, - year_value: calculateAllItemsTotal * convertYear, - }); - _this.sales_month_wise_data.push({ salesItem: itemElement.sales_item, expandElements: expandBodyContent, footerMessage: footerMessage, simId: itemElement.sim_id }); - }); - console.log(_this.sales_month_wise_data); - if (sales_value !== undefined) { - _this.assessedForm.controls['sdc_id'].setValue(sales_value.sdc_id); - _this.assessedForm.controls['sales_declared_by_customer'].setValue(sales_value.sales_declared_by_customer); - _this.assessedForm.controls['margin_value'].setValue(sales_value.margin_value); - _this.assessedForm.controls['margin_per'].setValue(sales_value.margin_per); - } - } - }); - }; - /** - * Add Assessed Forms - */ - PdQuestionAssessedInfoPage.prototype.AddAssessedForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], { 'pdDetails': this.pdDetails, 'sales': null, 'grossprofit': this.grossprofitCalc }); - }; - PdQuestionAssessedInfoPage.prototype.editDetails = function (salesCal) { - var salesData = this.sales_item_value.filter(function (sal) { return sal.sci_id == salesCal; }); - console.log(salesData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], { 'pdDetails': this.pdDetails, 'sales': salesData, 'grossprofit': this.grossprofitCalc }); - }; - PdQuestionAssessedInfoPage.prototype.editAllDetails = function (AllsalesData) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], { 'pdDetails': this.pdDetails, 'sales': AllsalesData, 'grossprofit': this.grossprofitCalc }); - }; - /**Assessed Daily Form Details */ - PdQuestionAssessedInfoPage.prototype.AddAssessedDailyForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], { 'pdDetails': this.pdDetails, 'salesDaily': null, 'grossprofit': this.grossprofitCalc }); - }; - PdQuestionAssessedInfoPage.prototype.editAssessedDailyForm = function (simId) { - var dailySaleDetails = this.sales_item_month_value.filter(function (ass) { return ass.sim_id == simId; }); - console.log(dailySaleDetails); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], { 'pdDetails': this.pdDetails, 'salesDaily': dailySaleDetails, 'grossprofit': this.grossprofitCalc }); - }; - /**purchase Details Forms */ - PdQuestionAssessedInfoPage.prototype.AddPurchaseForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], { 'pdDetails': this.pdDetails, 'purchase': null }); - }; - PdQuestionAssessedInfoPage.prototype.editPurchaseDetails = function (purchaseCal) { - var salesData = this.purchse_details.filter(function (sal) { return sal.purchase_id == purchaseCal; }); - console.log(salesData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], { 'pdDetails': this.pdDetails, 'purchase': salesData }); - }; - PdQuestionAssessedInfoPage.prototype.editPurchaseAllDetails = function (AllpurchaseData) { - console.log('260', AllpurchaseData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], { 'pdDetails': this.pdDetails, 'purchase': AllpurchaseData }); - }; - /**Business Expense */ - PdQuestionAssessedInfoPage.prototype.AddExpenseForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], { 'pdDetails': this.pdDetails, 'expense': null }); - }; - PdQuestionAssessedInfoPage.prototype.editExpenseDetails = function (expenseCal) { - var salesData = this.businessExpenses_details.filter(function (sal) { return sal.pd_expense_id == expenseCal; }); - console.log(salesData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], { 'pdDetails': this.pdDetails, 'expense': salesData }); - }; - PdQuestionAssessedInfoPage.prototype.editExpenseAllDetails = function (AllexpenseData) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], { 'pdDetails': this.pdDetails, 'expense': AllexpenseData }); - }; - /** Household Expenses Details */ - PdQuestionAssessedInfoPage.prototype.AddHouseExpenseForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], { 'pdDetails': this.pdDetails, 'expense': null }); - }; - PdQuestionAssessedInfoPage.prototype.editHouseExpenseDetails = function (expenseCal) { - var salesData = this.houseHold_details.filter(function (sal) { return sal.household_expense_id == expenseCal; }); - console.log(salesData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], { 'pdDetails': this.pdDetails, 'expense': salesData }); - }; - PdQuestionAssessedInfoPage.prototype.editHouseExpenseAllDetails = function (AllExpenseData) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_10__pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], { 'pdDetails': this.pdDetails, 'expense': AllExpenseData }); - }; - /** - * Income Details - */ - PdQuestionAssessedInfoPage.prototype.AddIncomeForm = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], { 'pdDetails': this.pdDetails, 'income': null }); - }; - PdQuestionAssessedInfoPage.prototype.editIncomeDetails = function (expenseCal) { - var salesData = this.busissnessIncome.filter(function (sal) { return sal.pd_business_income_id == expenseCal; }); - console.log(salesData); - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], { 'pdDetails': this.pdDetails, 'income': salesData }); - }; - PdQuestionAssessedInfoPage.prototype.editIncomeAllDetails = function (AllexpenseData) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_11__pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], { 'pdDetails': this.pdDetails, 'income': AllexpenseData }); - }; - PdQuestionAssessedInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-info\pd-question-assessed-info.html"*/'\n\n\n\n \n\n \n\n {{FormName}}\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n \n\n Sales Calculation\n\n \n\n \n\n \n\n
\n\n

Sales declared by the customer as the annual sales actually done.

\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n
\n\n\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Sales Details\n\n \n\n \n\n \n\n

Sales Details

\n\n \n\n \n\n \n\n \n\n

{{"✎"}}

\n\n
\n\n
\n\n \n\n\n\n\n\n \n\n \n\n \n\n\n\n\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{salesItem.sales_item}}\n\n \n\n \n\n {{"₹"}} {{salesItem.annual_sale_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n Daily Sales Details\n\n \n\n \n\n

Daily Sales Details

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n

{{monthwise.salesItem | titlecase}}

\n\n \n\n \n\n {{eachItem.header}}\n\n
\n\n \n\n \n\n \n\n {{eachmonthItem.sales_date | date:\'dd-MM-yyyy\'}}\n\n \n\n \n\n {{"₹"}} {{eachmonthItem.sales_value}}\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n {{monthwise.footerMessage[0].month_message}}
\n\n {{monthwise.footerMessage[0].year_message}}\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n

Purchase Details

\n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n {{purchase.purchase_item}}\n\n \n\n \n\n {{"₹"}} {{purchase.annual_purchase_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n

Business Expenses

\n\n \n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{expense.expense_item}}\n\n \n\n \n\n {{"₹"}} {{expense.annual_expenses_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n

HouseHold Details

\n\n \n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{houseExepense.expense_item}}\n\n \n\n \n\n {{"₹"}} {{houseExepense.annual_expense_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n

Business Income Details

\n\n \n\n \n\n

{{"✎"}}

\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{busIncome.business_income_item !=\'Others(Please Specify)\'?busIncome.business_income_item:busIncome.other_frequncy_item}}\n\n \n\n \n\n {{"₹"}} {{busIncome.income_value}}\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n\n\n\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-info\pd-question-assessed-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) - ], PdQuestionAssessedInfoPage); - return PdQuestionAssessedInfoPage; -}()); - -//# sourceMappingURL=pd-question-assessed-info.js.map - -/***/ }), - -/***/ 374: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedSalesPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionAssessedSalesPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedSalesPage = (function () { - function PdQuestionAssessedSalesPage(navCtrl, navParams, aws, fb, qustCat, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.fb = fb; - this.qustCat = qustCat; - this.toast = toast; - this.salesData = []; - this.annual = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.grossprofitCalc = this.navParams.get('grossprofit'); - this.users = this.aws.getlocale(); - this.assessedForm = this.fb.group({ - salesCalItemwise: this.fb.array([]), - }); - this.salesData = this.navParams.get('sales'); - if (this.salesData != null) { - this.getSalesItemData(this.salesData); - } - else { - this.addSalesCal(); - } - // this.addSalesCal(); - this.getdropList(); - } - PdQuestionAssessedSalesPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedSalesPage'); - }; - PdQuestionAssessedSalesPage.prototype.getdropList = function () { - var _this = this; - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('UOM').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.UOM = res['records'].filter(function (uom) { return uom.isactive == 1; }); - } - }); - }; - PdQuestionAssessedSalesPage.prototype.createSalesCal = function () { - return this.fb.group({ - sci_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - sales_item: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - sales_qty: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - fk_uom_id: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - rate_per_unit: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - annual_sale_value: [null], - margin_per: [null], - margin_per_uom: [null], - margin_final_value: [null], - }); - }; - PdQuestionAssessedSalesPage.prototype.addSalesCal = function () { - if (this.assessedForm.valid) { - var control = this.assessedForm.get('salesCalItemwise'); - control.push(this.createSalesCal()); - } - else { - this.toast.pdTriggerappmessage('Enter the all fields'); - } - }; - PdQuestionAssessedSalesPage.prototype.removeSalesCal = function (i) { - this.annual.splice(i, 1); - // this.annual[i].spl - this.grandTotal = this.annual.reduce(function (a, b) { return a + b; }, 0); - console.log(this.grandTotal); - var control = this.assessedForm.get('salesCalItemwise'); - if (control.length == 1) { - control.removeAt(i); - this.addSalesCal(); - } - else { - control.removeAt(i); - } - }; - /** - * frequency Type - * 1.Weekly no need - * 2.Daily 250 - * 3.Yearly - * 4.Hourly no need - * 5.Monthly 12 - * 6.none - * 7.none - * 8.none - */ - PdQuestionAssessedSalesPage.prototype.salecalculat = function (index, details) { - // console.log(details,index); - var frequencyId = details.value.fk_frequency_id; - var salesQty = details.value.sales_qty; - var UOM = details.value.rate_per_unit; - // console.log(frequencyId,salesQty,UOM,index); - // console.log(frequencyId); - var annual; - if (salesQty != null && UOM != null) { - if (frequencyId == 1) { - } - else if (frequencyId == 2) { - annual = (salesQty * UOM * 250); - this.annual[index] = annual; - details.controls['annual_sale_value'].setValue(annual); - } - else if (frequencyId == 3) { - annual = (salesQty * UOM); - this.annual[index] = annual; - details.controls['annual_sale_value'].setValue(annual); - } - else if (frequencyId == 4) { - } - else if (frequencyId == 5) { - annual = (salesQty * UOM * 12); - this.annual[index] = annual; - details.controls['annual_sale_value'].setValue(annual); - } - else if (frequencyId == 6) { - } - else if (frequencyId == 7) { - } - else if (frequencyId == 8) { - } - else { - } - this.grandTotal = this.annual.reduce(function (a, b) { return a + b; }, 0); - } - else { - // this.toast.pdTriggerappmessage('Enter the Sales Quantity and UOM'); - } - console.log(this.annual); - }; - PdQuestionAssessedSalesPage.prototype.getSalesCalc = function (details) { - // console.log(details); - var margin_per = details.value.margin_per; - var margin_amount = details.value.margin_per_uom; - var annual_sale_value = details.value.annual_sale_value; - var sales_qty = details.value.sales_qty; - // console.log(sales_qty,margin_amount); - var value = ''; - if (margin_per != null || margin_amount != null) { - if (margin_per != null) { - value = +annual_sale_value * (+margin_per / 100); - } - else { - console.log('else'); - value = +sales_qty * +margin_amount; - } - console.log(value); - details.controls['margin_final_value'].setValue(value); - } - }; - PdQuestionAssessedSalesPage.prototype.saveData = function (answerData) { - var _this = this; - var records = { 'records': answerData.salesCalItemwise }; - console.log(records); - this.qustCat.saveassessedForms('saveAssessedIncomeSalesCalculatedByItemwise', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.navCtrl.pop(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - } - }); - }; - PdQuestionAssessedSalesPage.prototype.getSalesItemData = function (salesData) { - var _this = this; - console.log(salesData); - var control = this.assessedForm.get('salesCalItemwise'); - salesData.forEach(function (sale, index) { - _this.annual[index] = sale.annual_sale_value; - control.push(_this.createSaleswithData(sale)); - }); - // this.assessedForm.controls['salesCalItemwise'].setValue(salesData); - // console.log(control); - this.grandTotal = this.annual.reduce(function (a, b) { return a + b; }, 0); - }; - PdQuestionAssessedSalesPage.prototype.createSaleswithData = function (data) { - return this.fb.group({ - sci_id: [data.sci_id], - fk_pd_id: [this.pdDetails.pd_id], - sales_item: [data.sales_item, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - sales_qty: [data.sales_qty, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - fk_uom_id: [data.fk_uom_id, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - rate_per_unit: [data.rate_per_unit, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - annual_sale_value: [data.annual_sale_value], - margin_per: [data.margin_per], - margin_per_uom: [data.margin_per_uom], - margin_final_value: [data.margin_final_value], - }); - }; - PdQuestionAssessedSalesPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-sales',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-sales\pd-question-assessed-sales.html"*/'\n\n\n\n \n\n \n\n Item Salas Details\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n

Itemwise

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{uom.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

Grand Total : {{grandTotal}}

\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-sales\pd-question-assessed-sales.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdQuestionAssessedSalesPage); - return PdQuestionAssessedSalesPage; -}()); - -//# sourceMappingURL=pd-question-assessed-sales.js.map - -/***/ }), - -/***/ 375: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedDailySalesPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionAssessedDailySalesPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedDailySalesPage = (function () { - function PdQuestionAssessedDailySalesPage(navCtrl, navParams, aws, qustCat, toast, fb, constant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.fb = fb; - this.constant = constant; - this.temparr = []; - this.tempdate = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.salesDaily = this.navParams.get('salesDaily'); - this.grossprofitCalc = this.navParams.get('grossprofit'); - this.users = this.aws.getlocale(); - this.currentDate = constant.getcurrentDate().replace("T00:00", ''); - this.salesDailyForm = this.fb.group({ - sales_product: this.fb.array([]), - }); - if (this.salesDaily != null) { - this.getDailySalesData(this.salesDaily); - } - else { - this.adddailySalaesProduct(); - } - } - PdQuestionAssessedDailySalesPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedDailySalesPage'); - }; - PdQuestionAssessedDailySalesPage.prototype.createdailysalesProduct = function () { - return this.fb.group({ - sim_id: [null], - sales_item: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - child: this.fb.array([]), - fk_pd_id: [this.pdDetails.pd_id], - margin_per: [null], - margin_value: [null], - fk_createdby: [this.users], - isactive: ['1'], - }); - }; - PdQuestionAssessedDailySalesPage.prototype.createdailyChildSaleProduct = function () { - return this.fb.group({ - simc_id: [null], - fk_sim_id: [null], - sales_date: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - sales_value: [null, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - isactive: ['1'], - }); - }; - PdQuestionAssessedDailySalesPage.prototype.getSalesCalc = function (subchild, child, key) { - var saledate = new Date(subchild.value.sales_date).getMonth() + 1; - var totalitemmargin = child.value.margin_per; - if (totalitemmargin != null && subchild.value.sales_value != null) { - var loopAccess = false; - var loopindex = 0; - if (this.tempdate.length != 0) { - for (var i = 0; i < this.tempdate.length; i++) { - if (this.tempdate[i].month == saledate) { - loopAccess = true; - loopindex = i; - } - } - if (loopAccess) { - this.tempdate[loopindex].value = this.tempdate[loopindex].value + subchild.value.sales_value; - this.temparr.push(subchild.value.sales_value); - loopAccess = false; - loopindex = 0; - } - else { - this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); - this.temparr.push(subchild.value.sales_value); - } - } - else { - this.tempdate.push({ 'month': saledate, 'value': subchild.value.sales_value }); - this.temparr.push(subchild.value.sales_value); - } - var totalMonth = 12 / this.tempdate.length; - var tempgrandTotal = this.tempdate.reduce(function (a, b) { return (+a + +b.value); }, 0); - // let value = tempgrandTotal * (totalitemmargin / 100); - var value = tempgrandTotal * totalMonth; - var grandValue = value * (totalitemmargin / 100); - child.controls['margin_value'].setValue(grandValue); - } - }; - PdQuestionAssessedDailySalesPage.prototype.adddailySalaesProduct = function () { - this.tempdate = []; - if (this.salesDailyForm.valid) { - var control = this.salesDailyForm.get('sales_product'); - control.push(this.createdailysalesProduct()); - this.adddailyChildSaleProduct(control.length - 1); - } - }; - PdQuestionAssessedDailySalesPage.prototype.adddailyChildSaleProduct = function (index) { - // if(this.salesDailyForm.valid){ - var control = this.salesDailyForm.get('sales_product').at(index).get('child'); - control.push(this.createdailyChildSaleProduct()); - // } - }; - PdQuestionAssessedDailySalesPage.prototype.deletedailySalesProduct = function (index) { - this.tempdate.slice(index, 1); - var control = this.salesDailyForm.controls['sales_product']; - if (control.length == 1) { - this.salesDailyForm.controls['sales_product'].reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionAssessedDailySalesPage.prototype.deletedailyChildSaleProduct = function (saleIndex, saleChildIndex) { - this.tempdate = []; - var control = this.salesDailyForm.controls['sales_product'].at(saleIndex).get('child'); - if (control.length == 1) { - control.removeAt(saleChildIndex); - this.adddailyChildSaleProduct(saleIndex); - } - else { - control.removeAt(saleChildIndex); - } - }; - PdQuestionAssessedDailySalesPage.prototype.saveData = function (answerData) { - var _this = this; - if (this.salesDailyForm.valid) { - var records = { 'records': answerData.sales_product }; - this.qustCat.saveassessedForms('saveAssessedIncomeMonthwiseItems', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.navCtrl.pop(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - } - }); - } - }; - PdQuestionAssessedDailySalesPage.prototype.getDailySalesData = function (dailySalesData) { - var _this = this; - var control = this.salesDailyForm.get('sales_product'); - var salesChildControl; - var salesChildControlarr = []; - dailySalesData.forEach(function (val, index) { - control.push(_this.dailySalesWithData(val)); - salesChildControl = _this.salesDailyForm.controls['sales_product'].at(index).get('child'); - salesChildControlarr[index] = Object.keys(val['items']).map(function (key) { return val['items'][key]; }); - salesChildControlarr[index].forEach(function (vals, i) { - vals.forEach(function (item, key) { - var saleDate = new Date(item.sales_date); - item.sales_date = saleDate.getFullYear() + '-' + ("0" + (saleDate.getMonth() + 1)).slice(-2) + '-' + ("0" + (saleDate.getDay() + 1)).slice(-2); - salesChildControl.push(_this.dailySalesChildWithData(item, val.sim_id)); - }); - }); - }); - }; - PdQuestionAssessedDailySalesPage.prototype.dailySalesWithData = function (data) { - return this.fb.group({ - sim_id: [data.sim_id], - sales_item: [data.sales_item, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - child: this.fb.array([]), - fk_pd_id: [this.pdDetails.pd_id], - fk_createdby: [this.users], - isactive: ['1'], - margin_per: [data.margin_per], - margin_value: [data.margin_value], - }); - }; - PdQuestionAssessedDailySalesPage.prototype.dailySalesChildWithData = function (data, fk_id) { - return this.fb.group({ - simc_id: [data.simc_id], - fk_sim_id: [fk_id], - sales_date: [data.sales_date, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - sales_value: [data.sales_value, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required])], - isactive: ['1'], - }); - }; - PdQuestionAssessedDailySalesPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-daily-sales',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-daily-sales\pd-question-assessed-daily-sales.html"*/'\n\n\n\n \n\n \n\n Assessed Daily Sales Details\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n

{{item.get(\'sales_item\').value | titlecase}}

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-daily-sales\pd-question-assessed-daily-sales.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionAssessedDailySalesPage); - return PdQuestionAssessedDailySalesPage; -}()); - -//# sourceMappingURL=pd-question-assessed-daily-sales.js.map - -/***/ }), - -/***/ 376: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedPurchasePage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_aws_service__ = __webpack_require__(7); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionAssessedPurchasePage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedPurchasePage = (function () { - function PdQuestionAssessedPurchasePage(navCtrl, fb, navParams, qustCat, toast, aws) { - this.navCtrl = navCtrl; - this.fb = fb; - this.navParams = navParams; - this.qustCat = qustCat; - this.toast = toast; - this.aws = aws; - this.annual = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.purchaseDetails = this.navParams.get('purchase'); - this.users = this.aws.getlocale(); - this.rawMaterialForm = this.fb.group({ - purchase: this.fb.array([]), - }); - if (this.purchaseDetails != null) { - this.getpurchaseDetails(this.purchaseDetails); - } - else { - this.addPurchaseDetails(); - } - this.getdropList(); - } - PdQuestionAssessedPurchasePage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedPurchasePage'); - }; - PdQuestionAssessedPurchasePage.prototype.createPurchaseDetails = function () { - return this.fb.group({ - purchase_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - purchase_item: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - purchase_qty: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_uom_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - rate_per_unit: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_purchase_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - isactive: ['1'], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedPurchasePage.prototype.getdropList = function () { - var _this = this; - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (fre) { return fre.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('UOM').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.UOM = res['records'].filter(function (uom) { return uom.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.businessExpenses = res['records'].filter(function (bus) { return bus.isactive == 1; }); - } - }); - }; - PdQuestionAssessedPurchasePage.prototype.addPurchaseDetails = function () { - var control = this.rawMaterialForm.controls['purchase']; - control.push(this.createPurchaseDetails()); - }; - PdQuestionAssessedPurchasePage.prototype.deletePurchaseDetails = function (i) { - this.annual.splice(i, 1); - // this.annual[i].spl - this.grandpurchaseTotal = this.annual.reduce(function (a, b) { return +a + +b; }, 0); - var control = this.rawMaterialForm.controls['purchase']; - control.removeAt(i); - }; - PdQuestionAssessedPurchasePage.prototype.salecalculat = function (index, details) { - console.log(this.grandpurchaseTotal); - console.log(details, index); - var frequencyId = details.value.fk_frequency_id; - var purchaseQty = details.value.purchase_qty; - var UOM = details.value.rate_per_unit; - console.log(frequencyId, purchaseQty, UOM, index); - // console.log(frequencyId); - var annual; - if (purchaseQty != null && UOM != null) { - if (frequencyId == 1) { - } - else if (frequencyId == 2) { - annual = (purchaseQty * UOM * 250); - this.annual[index] = annual; - details.controls['annual_purchase_value'].setValue(annual); - } - else if (frequencyId == 3) { - annual = (purchaseQty * UOM); - this.annual[index] = annual; - details.controls['annual_purchase_value'].setValue(annual); - } - else if (frequencyId == 4) { - } - else if (frequencyId == 5) { - annual = (purchaseQty * UOM * 12); - this.annual[index] = annual; - details.controls['annual_purchase_value'].setValue(annual); - } - else if (frequencyId == 6) { - } - else if (frequencyId == 7) { - } - else if (frequencyId == 8) { - } - else { - } - this.grandpurchaseTotal = this.annual.reduce(function (a, b) { return +a + +b; }, 0); - } - else { - this.toast.pdTriggerappmessage('Enter the Purchase Quantity and UOM'); - } - }; - PdQuestionAssessedPurchasePage.prototype.savepurchaseData = function (answerData) { - var _this = this; - if (this.rawMaterialForm.valid) { - var records = { 'records': answerData.purchase }; - console.log('data', records); - this.qustCat.saveassessedForms('saveAssessedIncomePurchaseDetails', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.navCtrl.pop(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - // this.getAssessedDetails(); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter All Field'); - } - }; - PdQuestionAssessedPurchasePage.prototype.getpurchaseDetails = function (purchaseDetails) { - var _this = this; - console.log('function in', purchaseDetails); - var control = this.rawMaterialForm.controls['purchase']; - console.log(control); - if (purchaseDetails.length == 0) { - console.log('if'); - this.addPurchaseDetails(); - } - else { - console.log('else'); - purchaseDetails.forEach(function (val, index) { - // console.log(index); - control.push(_this.createPurchasewithData(val)); - _this.annual[index] = val.annual_purchase_value; - }); - this.grandpurchaseTotal = this.annual.reduce(function (a, b) { return (+a + +b); }, 0); - } - // console.log(control); - }; - PdQuestionAssessedPurchasePage.prototype.createPurchasewithData = function (data) { - return this.fb.group({ - purchase_id: [data.purchase_id], - fk_pd_id: [this.pdDetails.pd_id], - purchase_item: [data.purchase_item, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - purchase_qty: [data.purchase_qty, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_uom_id: [data.fk_uom_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - rate_per_unit: [data.rate_per_unit, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_purchase_value: [data.annual_purchase_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - isactive: ['1'], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedPurchasePage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-purchase',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-purchase\pd-question-assessed-purchase.html"*/'\n\n\n\n \n\n \n\n Purchase\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n\n\n
\n\n \n\n \n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n\n\n \n\n {{uom.name}}\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n\n\n \n\n {{frq.name}}\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n

Grand Total:

\n\n
\n\n \n\n

{{grandpurchaseTotal}}

\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-purchase\pd-question-assessed-purchase.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_aws_service__["a" /* AwsServiceProvider */]]) - ], PdQuestionAssessedPurchasePage); - return PdQuestionAssessedPurchasePage; -}()); - -//# sourceMappingURL=pd-question-assessed-purchase.js.map - -/***/ }), - -/***/ 377: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedBusinessPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionAssessedBusinessPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedBusinessPage = (function () { - function PdQuestionAssessedBusinessPage(navCtrl, navParams, fb, aws, qustCat, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.grandExpenseTotal = []; - this.expenseannual = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.expenseDetails = this.navParams.get('expense'); - this.users = this.aws.getlocale(); - this.BuissnessForm = this.fb.group({ - busExpense: this.fb.array([]), - }); - if (this.expenseDetails != null) { - this.getBuisnessExpenses(this.expenseDetails); - } - else { - this.addBusinessDetails(); - } - this.getdropdown(); - } - PdQuestionAssessedBusinessPage.prototype.grandpurchaseTotal = function (arg0) { - throw new Error("Method not implemented."); - }; - PdQuestionAssessedBusinessPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('BUSINESSEXPENSES').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.businessExpenses = res['records'].filter(function (bus) { return bus.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); - } - }); - }; - PdQuestionAssessedBusinessPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedBusinessPage'); - }; - PdQuestionAssessedBusinessPage.prototype.createBusinessDetails = function () { - return this.fb.group({ - pd_expense_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - expense_item_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - expense_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_expenses_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - isactive: ['1'], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedBusinessPage.prototype.addBusinessDetails = function () { - var control = this.BuissnessForm.controls['busExpense']; - control.push(this.createBusinessDetails()); - }; - PdQuestionAssessedBusinessPage.prototype.deleteBuisnessDetails = function (i) { - this.expenseannual.splice(i, 1); - this.grandExpenseTotal = this.expenseannual.reduce(function (a, b) { return +a + +b; }, 0); - var control = this.BuissnessForm.controls['busExpense']; - control.removeAt(i); - }; - PdQuestionAssessedBusinessPage.prototype.busExpensecalculat = function (index, details) { - var frequencyId = details.value.fk_frequency_id; - var expenseValue = details.value.expense_value; - var UOM = details.value.rate_per_unit; - var annual; - if (expenseValue != null) { - if (frequencyId == 1) { - } - else if (frequencyId == 2) { - annual = (expenseValue * 250); - this.expenseannual[index] = annual; - details.controls['annual_expenses_value'].setValue(annual); - } - else if (frequencyId == 3) { - annual = (expenseValue); - this.expenseannual[index] = annual; - details.controls['annual_expenses_value'].setValue(annual); - } - else if (frequencyId == 4) { - } - else if (frequencyId == 5) { - annual = (expenseValue * 12); - this.expenseannual[index] = annual; - details.controls['annual_expenses_value'].setValue(annual); - } - else if (frequencyId == 6) { - } - else if (frequencyId == 7) { - } - else if (frequencyId == 8) { - } - else { - } - this.grandExpenseTotal = this.expenseannual.reduce(function (a, b) { return +a + +b; }, 0); - } - else { - this.toast.pdTriggerappmessage('Enter the Amount and Frequency'); - } - }; - PdQuestionAssessedBusinessPage.prototype.saveBusinessData = function (answerData) { - var _this = this; - if (this.BuissnessForm.valid) { - var records = { 'records': answerData.busExpense }; - this.qustCat.saveassessedForms('saveAssessedIncomeBusinessExpenses', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.navCtrl.pop(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter The All Field'); - } - }; - PdQuestionAssessedBusinessPage.prototype.getBuisnessExpenses = function (expenseDetails) { - var _this = this; - if (expenseDetails.length == 0) { - this.addBusinessDetails(); - } - else { - var control_1 = this.BuissnessForm.controls['busExpense']; - expenseDetails.forEach(function (val, index) { - _this.expenseannual[index] = val.annual_expenses_value; - control_1.push(_this.createBusinessExpensewithData(val)); - }); - this.grandExpenseTotal = this.expenseannual.reduce(function (a, b) { return +a + +b; }, 0); - } - }; - PdQuestionAssessedBusinessPage.prototype.createBusinessExpensewithData = function (data) { - return this.fb.group({ - pd_expense_id: [data.pd_expense_id], - fk_pd_id: [this.pdDetails.pd_id], - expense_item_id: [data.expense_item_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - expense_value: [data.expense_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_expenses_value: [data.annual_expenses_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - isactive: ['1'], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedBusinessPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-business',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business\pd-question-assessed-business.html"*/'\n\n\n\n \n\n \n\n Business Expense\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{expense.expense_item}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n

Total Business Expenses:

\n\n
\n\n \n\n

{{grandExpenseTotal}}

\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business\pd-question-assessed-business.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdQuestionAssessedBusinessPage); - return PdQuestionAssessedBusinessPage; -}()); - -//# sourceMappingURL=pd-question-assessed-business.js.map - -/***/ }), - -/***/ 378: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedHouseholdPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__ = __webpack_require__(10); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionAssessedHouseholdPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedHouseholdPage = (function () { - function PdQuestionAssessedHouseholdPage(navCtrl, navParams, fb, aws, toast, qustCat) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.toast = toast; - this.qustCat = qustCat; - this.houseannual = []; - this.grandHouseExpenseTotal = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.houseExpenseDetails = this.navParams.get('FormId'); - this.expenseDetails = this.navParams.get('expense'); - this.users = this.aws.getlocale(); - this.houseHoldForm = this.fb.group({ - houseExpense: this.fb.array([]), - }); - if (this.expenseDetails != null) { - this.getHouseholdExpense(this.expenseDetails); - } - else { - this.addHouseExpenses(); - } - this.getdropdown(); - } - PdQuestionAssessedHouseholdPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedHouseholdPage'); - }; - PdQuestionAssessedHouseholdPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); - } - }); - }; - PdQuestionAssessedHouseholdPage.prototype.createHouseExpense = function () { - return this.fb.group({ - household_expense_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - expense_item: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - expense_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_expense_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - isactive: ["1"], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedHouseholdPage.prototype.addHouseExpenses = function () { - var control = this.houseHoldForm.controls['houseExpense']; - control.push(this.createHouseExpense()); - }; - PdQuestionAssessedHouseholdPage.prototype.deleteHouseExpense = function (i) { - this.houseannual.splice(i, 1); - this.grandHouseExpenseTotal = this.houseannual.reduce(function (a, b) { return +a + +b; }, 0); - var control = this.houseHoldForm.controls['houseExpense']; - control.removeAt(i); - }; - PdQuestionAssessedHouseholdPage.prototype.houseExpensecalculat = function (index, details) { - var frequencyId = details.value.fk_frequency_id; - var expenseValue = details.value.expense_value; - // let UOM = details.value.rate_per_unit; - // console.log(frequencyId,purchaseQty,UOM,index); - // console.log(details); - var annual; - if (expenseValue != null) { - if (frequencyId == 1) { - } - else if (frequencyId == 2) { - annual = (expenseValue * 250); - this.houseannual[index] = annual; - details.controls['annual_expense_value'].setValue(annual); - } - else if (frequencyId == 3) { - annual = (expenseValue); - this.houseannual[index] = annual; - details.controls['annual_expense_value'].setValue(annual); - } - else if (frequencyId == 4) { - } - else if (frequencyId == 5) { - annual = (expenseValue * 12); - this.houseannual[index] = annual; - details.controls['annual_expense_value'].setValue(annual); - } - else if (frequencyId == 6) { - } - else if (frequencyId == 7) { - } - else if (frequencyId == 8) { - } - else { - } - this.grandHouseExpenseTotal = this.houseannual.reduce(function (a, b) { return +a + +b; }, 0); - console.log(this.grandHouseExpenseTotal); - } - else { - this.toast.pdTriggerappmessage('Enter the Amount and Frequency'); - } - }; - PdQuestionAssessedHouseholdPage.prototype.saveHouseExpenseData = function (answerData) { - var _this = this; - if (this.houseHoldForm.valid) { - var records = { 'records': answerData.houseExpense }; - this.qustCat.saveassessedForms('saveAssessedIncomeHouseholdExpenses', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.navCtrl.pop(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter The All Field'); - } - }; - PdQuestionAssessedHouseholdPage.prototype.getHouseholdExpense = function (houseExpesneDetails) { - var _this = this; - if (houseExpesneDetails.length == 0) { - this.addHouseExpenses(); - } - else { - var control_1 = this.houseHoldForm.controls['houseExpense']; - houseExpesneDetails.forEach(function (val, index) { - _this.houseannual[index] = val.annual_expense_value; - control_1.push(_this.createHouseholdwithData(val)); - }); - this.grandHouseExpenseTotal = this.houseannual.reduce(function (a, b) { return +a + +b; }, 0); - } - }; - PdQuestionAssessedHouseholdPage.prototype.createHouseholdwithData = function (data) { - return this.fb.group({ - household_expense_id: [data.household_expense_id], - fk_pd_id: [this.pdDetails.pd_id], - expense_item: [data.expense_item, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - expense_value: [data.expense_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_expense_value: [data.annual_expense_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - isactive: ["1"], - fk_createdby: [this.users] - }); - }; - PdQuestionAssessedHouseholdPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-household',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-household\pd-question-assessed-household.html"*/'\n\n\n\n \n\n \n\n House Hold Expense\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n

Total Household Expenses :

\n\n
\n\n \n\n

{{grandHouseExpenseTotal}}

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-household\pd-question-assessed-household.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_question_category_question_category__["a" /* QuestionCategoryProvider */]]) - ], PdQuestionAssessedHouseholdPage); - return PdQuestionAssessedHouseholdPage; -}()); - -//# sourceMappingURL=pd-question-assessed-household.js.map - -/***/ }), - -/***/ 379: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionAssessedBusinessIncomePage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionAssessedBusinessIncomePage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionAssessedBusinessIncomePage = (function () { - function PdQuestionAssessedBusinessIncomePage(navCtrl, navParams, fb, aws, qustCat, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.m_freqOfPurchase = []; - this.grandIncomeTotal = []; - this.incomeannual = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.expenseDetails = this.navParams.get('income'); - this.users = this.aws.getlocale(); - this.BuissnessForm = this.fb.group({ - busIncome: this.fb.array([]), - }); - if (this.expenseDetails != null) { - this.getBuisnessExpenses(this.expenseDetails); - } - else { - this.addBusinessDetails(); - } - this.getdropdown(); - } - PdQuestionAssessedBusinessIncomePage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('BUSINESSINCOME').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.businessIncome = res['records'].filter(function (bus) { return bus.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.m_freqOfPurchase = res['records'].filter(function (frq) { return frq.isactive == 1; }); - } - }); - }; - PdQuestionAssessedBusinessIncomePage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionAssessedBusinessIncomePage'); - }; - PdQuestionAssessedBusinessIncomePage.prototype.createBusinessDetails = function () { - return this.fb.group({ - pd_business_income_id: [null], - fk_pd_id: [this.pdDetails.pd_id], - business_income_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - income_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_income_value: [null, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - isactive: ['1'], - fk_createdby: [this.users], - other_income_item: [null], - other_frequncy_item: [null], - }); - }; - PdQuestionAssessedBusinessIncomePage.prototype.addBusinessDetails = function () { - var control = this.BuissnessForm.controls['busIncome']; - control.push(this.createBusinessDetails()); - }; - PdQuestionAssessedBusinessIncomePage.prototype.deleteBuisnessDetails = function (i) { - this.incomeannual.splice(i, 1); - this.grandIncomeTotal = this.incomeannual.reduce(function (a, b) { return +a + +b; }, 0); - var control = this.BuissnessForm.controls['busIncome']; - control.removeAt(i); - }; - PdQuestionAssessedBusinessIncomePage.prototype.busIncomecalculate = function (index, details) { - var frequencyId = details.value.fk_frequency_id; - var incomeValue = details.value.income_value; - // let UOM = details.value.rate_per_unit; - var annual; - if (incomeValue != null && incomeValue != null) { - var frequency_factor = this.m_freqOfPurchase.filter(function (frq) { return frq.frequency_id == frequencyId; })[0]; - if (frequencyId == 1) { - annual = (incomeValue * frequency_factor.mutiple_factor); - this.incomeannual[index] = annual; - details.controls['annual_income_value'].setValue(annual); - } - else if (frequencyId == 2) { - annual = (incomeValue * frequency_factor.mutiple_factor); - this.incomeannual[index] = annual; - details.controls['annual_income_value'].setValue(annual); - } - else if (frequencyId == 3) { - annual = (incomeValue * frequency_factor.mutiple_factor); - this.incomeannual[index] = annual; - details.controls['annual_income_value'].setValue(annual); - } - else if (frequencyId == 4) { - annual = (incomeValue * frequency_factor.mutiple_factor); - this.incomeannual[index] = annual; - details.controls['annual_income_value'].setValue(annual); - } - else if (frequencyId == 5) { - annual = (incomeValue * frequency_factor.mutiple_factor); - this.incomeannual[index] = annual; - details.controls['annual_income_value'].setValue(annual); - } - else if (frequencyId == 6) { - annual = (incomeValue * frequency_factor.mutiple_factor); - this.incomeannual[index] = annual; - details.controls['annual_income_value'].setValue(annual); - } - else if (frequencyId == 7) { - annual = (incomeValue * frequency_factor.mutiple_factor); - this.incomeannual[index] = annual; - details.controls['annual_income_value'].setValue(annual); - } - else if (frequencyId == 8) { - annual = (incomeValue); - this.incomeannual[index] = annual; - details.controls['annual_income_value'].setValue(annual); - } - else { - } - this.grandIncomeTotal = this.incomeannual.reduce(function (a, b) { return +a + +b; }, 0); - } - else { - this.toast.pdTriggerappmessage('Enter the Amount and Frequency'); - } - }; - PdQuestionAssessedBusinessIncomePage.prototype.saveBusinessData = function (answerData) { - var _this = this; - if (this.BuissnessForm.valid) { - var records = { 'records': answerData.busIncome }; - this.qustCat.saveassessedForms('saveOtherBusinessIncome', records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.navCtrl.pop(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter The All Field'); - } - }; - PdQuestionAssessedBusinessIncomePage.prototype.getBuisnessExpenses = function (expenseDetails) { - var _this = this; - if (expenseDetails.length == 0) { - this.addBusinessDetails(); - } - else { - var control_1 = this.BuissnessForm.controls['busIncome']; - expenseDetails.forEach(function (val, index) { - _this.incomeannual[index] = val.annual_income_value; - control_1.push(_this.createBusinessExpensewithData(val)); - }); - this.grandIncomeTotal = this.incomeannual.reduce(function (a, b) { return +a + +b; }, 0); - } - }; - PdQuestionAssessedBusinessIncomePage.prototype.createBusinessExpensewithData = function (data) { - return this.fb.group({ - pd_business_income_id: [data.pd_business_income_id], - fk_pd_id: [this.pdDetails.pd_id], - business_income_id: [data.business_income_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - income_value: [data.income_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - fk_frequency_id: [data.fk_frequency_id, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - annual_income_value: [data.annual_income_value, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required])], - isactive: ['1'], - fk_createdby: [this.users], - other_income_item: [data.other_income_item], - other_frequncy_item: [data.other_frequncy_item], - }); - }; - PdQuestionAssessedBusinessIncomePage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-assessed-business-income',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business-income\pd-question-assessed-business-income.html"*/'\n\n\n\n \n\n \n\n Business Income\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{income.business_income_item}}\n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{frq.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n

Total Business Income:

\n\n
\n\n \n\n

{{grandIncomeTotal}}

\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-assessed-business-income\pd-question-assessed-business-income.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdQuestionAssessedBusinessIncomePage); - return PdQuestionAssessedBusinessIncomePage; -}()); - -//# sourceMappingURL=pd-question-assessed-business-income.js.map - -/***/ }), - -/***/ 380: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionLenderRepresentativePage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PdQuestionLenderRepresentativePage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionLenderRepresentativePage = (function () { - function PdQuestionLenderRepresentativePage(navCtrl, navParams, aws, qustCat, toast, fb) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.fb = fb; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.users = this.aws.getlocale(); - this.representativeForm = this.fb.group({ - pdid: [this.pdDetails.pd_id], - formid: [this.FormId.form_id], - fk_createdby: [this.users], - lender_representative_accompany: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - representative_remarks: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - lender_representative_details: this.fb.array([]), - }); - this.getLenderReDetails(); - } - PdQuestionLenderRepresentativePage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionLenderRepresentativePage'); - }; - PdQuestionLenderRepresentativePage.prototype.createlenReDetails = function () { - return this.fb.group({ - lender_representative_who_accompanies: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - lender_representative_carry_loan_files: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - }); - }; - PdQuestionLenderRepresentativePage.prototype.selectedLoanChanges = function (e) { - if (e.value == 'Yes') { - var control = this.representativeForm.controls['lender_representative_details']; - control.push(this.createlenReDetails()); - } - else if (e.value == 'No') { - var arr = this.representativeForm.controls.lender_representative_details; - arr.removeAt(0); - } - }; - PdQuestionLenderRepresentativePage.prototype.sumbitData = function (answerData) { - var _this = this; - if (this.representativeForm.valid) { - var records = this.representativeForm.value; - this.qustCat.saveForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - } - else { - this.toast.pdTriggerappmessage('Enter All Field'); - } - }; - PdQuestionLenderRepresentativePage.prototype.getLenderReDetails = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var lenderReDetails = res['records']; - if (lenderReDetails.lender_representative_accompany == 'Yes') { - _this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany); - _this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks); - var lender_represent_details = Object.keys(res['records'].lender_representative_details).map(function (key) { - return res['records'].lender_representative_details[key]; - }); - var control_1 = _this.representativeForm.controls['lender_representative_details']; - lender_represent_details.forEach(function (val) { - control_1.push(_this.createlenReDetails()); - }); - _this.representativeForm.controls['lender_representative_details'].setValue(lender_represent_details); - } - else { - _this.representativeForm.controls['lender_representative_accompany'].setValue(lenderReDetails.lender_representative_accompany); - _this.representativeForm.controls['representative_remarks'].setValue(lenderReDetails.representative_remarks); - } - } - }); - }; - PdQuestionLenderRepresentativePage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-lender-representative',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-lender-representative\pd-question-lender-representative.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-lender-representative\pd-question-lender-representative.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */]]) - ], PdQuestionLenderRepresentativePage); - return PdQuestionLenderRepresentativePage; -}()); - -//# sourceMappingURL=pd-question-lender-representative.js.map - -/***/ }), - -/***/ 381: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionGeneralInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_question_general_other_applicant_pd_question_general_other_applicant__ = __webpack_require__(382); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__angular_common__ = __webpack_require__(8); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pipes_pd_pd__ = __webpack_require__(383); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - -/** - * Generated class for the PdQuestionGeneralInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionGeneralInfoPage = (function () { - function PdQuestionGeneralInfoPage(navCtrl, navParams, aws, qustCat, toast, fb, modal) { - var _this = this; - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.fb = fb; - this.modal = modal; - this.pipe = new __WEBPACK_IMPORTED_MODULE_7__angular_common__["d" /* DatePipe */]('en-US'); - this.fetch_related_details = []; - this.pd_applicants_details = []; - this.OldData = []; - this.OldData_indi = []; - this.cart = []; - this.maxDate = new Date(); - this.pd_applicants_details = []; - this.pd_applicants_details.pop(); - this.pdDetails = this.navParams.get('pdDetails'); - console.log(this.pdDetails); - //let get_max_date=this.pdDetails.pd_date_of_initiation.split('/').reverse.join("/"); - //this.maxDate=new Date(get_max_date) - this.FormId = this.navParams.get('FormId'); - this.customer_segment_abbr = this.pdDetails.customer_segment_abbr; - this.users = this.aws.getlocale(); - this.getdropdown(); - this.generalForm = this.fb.group({ - pdid: this.pdDetails.pd_id, - formid: this.FormId.form_id, - applicant_list: this.fb.array([]), - applicant_relation: this.fb.array([]), - list_value: this.fb.array([]), - company_value: this.fb.array([]), - individuals: this.fb.array([]), - companies: this.fb.array([]), - persons_with_relationships: this.fb.array([]), - company_with_relationships: this.fb.array([]), - rental_income_rcv_in_years: [''], - rental_income_rcv_in_month: [''], - general_remark: '' - }); - //this.initIndividuals(); - this.pd_applicants_details = this.pdDetails.applicat_details; - // this.getcoapplicantDetails(); - this.buttonClick = false; - this.h_companies = false; - this.addIndi = false; - this.addComp = false; - // this.initCompanies() - this.datav = [{ - name: "fairoj", - id: 1 - }, - { - name: "ff", - id: 2 - } - ]; - //this.fulldata=this.generalForm.value - this.generalForm.controls['list_value'].valueChanges.subscribe(function (val) { - var control = _this.generalForm.controls['list_value']; - _this.individualsList = control.value.filter(function (element) { return element.is_applicant == true; }); - _this.individualsListBothCase = control.value.filter(function (element) { return element.is_applicant == true || element.is_person_met == true; }); - _this.fulldata = control.value; - //control.controls.length - //control.push() - }); - this.generalForm.controls['company_value'].valueChanges.subscribe(function (val) { - var control = _this.generalForm.controls['company_value']; - _this.companyList = control.value.filter(function (element) { return element.company_name; }); - }); - this.i = 0; - } - PdQuestionGeneralInfoPage.prototype.ionViewDidLoad = function () { - // this.pd_applicants_details.pop(); - console.log('ionViewDidLoad PdQuestionGeneralInfoPage'); - this.getGeneralForm(); - }; - PdQuestionGeneralInfoPage.prototype.ionViewLoaded = function () { - // setTimeout(() => { - // this.generalForm.controls['general_remark']['controls'].setFocus(); - // },150); - }; - PdQuestionGeneralInfoPage.prototype.initlistv = function (data, purpose) { - var control = this.generalForm.controls['list_value']; - console.log("control", control.length); - if (purpose == 'ins') { - for (var _i = 0, data_1 = data; _i < data_1.length; _i++) { - var val = data_1[_i]; - var c_qualification_name = this.qualificationById(val.qualification); // for getting qualification Name - var formData = this.fb.group({ - applicant_title_name: [val.applicant_title_name], - applicant_name: [val.applicant_name], - is_person_met: val.is_person_met, - is_applicant: val.is_applicant, - age: [val.age], - qualification: [val.qualification], - course_name: [val.course_name], - individuals_order_id: [control.length + 1], - is_new: true, - is_active: true, - pd_co_applicant_id: [control.length + 1], - qualification_name: [c_qualification_name] - }); - control.push(formData); - this.buttonClick = false; - // this.generalForm.value.individuals.value="" - } - } - if (purpose == 'get') { - for (var _a = 0, data_2 = data; _a < data_2.length; _a++) { - var val = data_2[_a]; - var c_qualification_name = this.qualificationById(val.qualification); // for getting qualification Name - var formData = this.fb.group({ - applicant_title_name: [val.applicant_title_name], - applicant_name: [val.applicant_name], - is_person_met: val.is_person_met, - is_applicant: val.is_applicant, - age: [val.age], - qualification: [val.qualification], - course_name: [val.course_name], - individuals_order_id: [val.individuals_order_id], - is_new: [val.is_new], - is_active: [val.is_active], - pd_co_applicant_id: [val.pd_co_applicant_id], - qualification_name: [c_qualification_name] - }); - control.push(formData); - this.buttonClick = false; - // this.generalForm.value.individuals.value="" - } - } - }; - PdQuestionGeneralInfoPage.prototype.qualificationById = function (data) { - for (var _i = 0, _a = this.qualificationList; _i < _a.length; _i++) { - var i = _a[_i]; - if (data == i.qualification_id) { - this.qual_name = i.qualification_name; - return this.qual_name; - } - } - }; - PdQuestionGeneralInfoPage.prototype.initCompanyValue = function (data, purpose) { - var control = this.generalForm.controls['company_value']; - if (purpose == 'ins') { - for (var _i = 0, data_3 = data; _i < data_3.length; _i++) { - var val = data_3[_i]; - var c_business_name = ''; - if (val.business_entity_type != 1) { - c_business_name = this.businessEntityById(val.business_entity_type); - } - if (val.business_entity_type == 1) { - c_business_name = val.business_entity_type_other; - } - var formData = this.fb.group({ - company_name: [val.company_name], - // pd_co_applicant_id:[this.i+1], - // company_order_id:[this.lengthv.companies.length+1], - company_order_id: [control.length + 1], - is_company_applicant: [val.is_company_applicant], - business_entity_type: [val.business_entity_type], - business_entity_type_other: [val.business_entity_type_other], - is_new: true, - is_active: true, - company_messrs_name: ['M/s'], - business_years: [val.business_years], - business_month: [val.business_month], - business_date_object: [val.business_date_object], - business_entity_type_name: [c_business_name] - }); - control.push(formData); - this.h_companies = false; - } - } - if (purpose == 'get') { - for (var _a = 0, data_4 = data; _a < data_4.length; _a++) { - var val = data_4[_a]; - var c_business_name = ''; - if (val.business_entity_type != 1) { - c_business_name = this.businessEntityById(val.business_entity_type); - } - if (val.business_entity_type == 1) { - c_business_name = val.business_entity_type_other; - } - var formData = this.fb.group({ - company_name: [val.company_name], - // pd_co_applicant_id:[this.i+1], - company_order_id: [val.company_order_id], - is_company_applicant: [val.is_company_applicant], - business_entity_type: [val.business_entity_type], - business_entity_type_other: [val.business_entity_type_other], - is_new: [val.is_new], - is_active: [val.is_active], - company_messrs_name: [val.company_messrs_name], - business_years: [val.business_years], - business_month: [val.business_month], - business_date_object: [val.business_date_object], - business_entity_type_name: [c_business_name] - }); - control.push(formData); - this.h_companies = false; - } - } - }; - PdQuestionGeneralInfoPage.prototype.businessEntityById = function (val) { - for (var _i = 0, _a = this.businessEntityTypeList; _i < _a.length; _i++) { - var v = _a[_i]; - if (val == v.business_entity_type_id) { - var name = v.business_entity_type_name; - return name; - } - } - }; - PdQuestionGeneralInfoPage.prototype.initIndividuals = function (data) { - var control = this.generalForm.controls['individuals']; - control.controls = []; - if (data == null) { - var formData = this.fb.group({ - applicant_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - is_person_met: false, - is_applicant: false, - age: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - qualification: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - course_name: [''], - applicant_title_name: [''] - }); - control.push(formData); - } - else { - var formData = this.fb.group({ - applicant_name: [data.applicant_name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - is_person_met: data.is_person_met, - is_applicant: data.is_applicant, - age: [data.age, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - qualification: [data.qualification, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - course_name: [data.course_name], - applicant_title_name: [data.applicant_title_name] - }); - this.buttonClick = !this.buttonClick; - control.push(formData); - } - }; - PdQuestionGeneralInfoPage.prototype.initCompanies = function (data) { - var control = this.generalForm.controls['companies']; - control.controls = []; - if (data == null) { - var formData = this.fb.group({ - company_name: [''], - is_company_applicant: false, - business_entity_type: [''], - business_entity_type_other: [''], - business_years: [''], - business_month: [''], - business_date_object: [''] - }); - control.controls = []; - control.push(formData); - } - else { - var formData = this.fb.group({ - company_name: [data.company_name], - is_company_applicant: data.is_company_applicant, - business_entity_type: [data.business_entity_type], - business_entity_type_other: [data.business_entity_type_other], - business_years: [data.business_years], - business_month: [data.business_month], - business_date_object: [data.business_date_object] - }); - this.h_companies = !this.h_companies; - control.push(formData); - } - }; - PdQuestionGeneralInfoPage.prototype.initPersonRelationship = function (value) { - var control = this.generalForm.controls['persons_with_relationships']; - if (value == '') { - var formData = this.fb.group({ - pd_co_applicant_id: [''], - applicant_name: [''], - relationship: [''], - relation_to: [''], - individuals_order_id: [control.length + 1], - }); - control.push(formData); - } - else { - for (var _i = 0, value_1 = value; _i < value_1.length; _i++) { - var val = value_1[_i]; - var formData = this.fb.group({ - pd_co_applicant_id: [val.pd_co_applicant_id], - applicant_name: [val.applicant_name], - relationship: [val.relationship], - relation_to: [val.relation_to], - }); - control.push(formData); - } - } - }; - PdQuestionGeneralInfoPage.prototype.initCompanyRelationShip = function (value) { - if (value == '') { - var formData = this.fb.group({ - applicant_name: [''], - company_relationship: [''], - relation_to_company: [''], - }); - var control = this.generalForm.controls['company_with_relationships']; - control.push(formData); - } - else { - for (var _i = 0, value_2 = value; _i < value_2.length; _i++) { - var val = value_2[_i]; - var formData = this.fb.group({ - applicant_name: [val.applicant_name], - company_relationship: [val.company_relationship], - relation_to_company: [val.relation_to_company], - }); - var control = this.generalForm.controls['company_with_relationships']; - control.push(formData); - } - } - }; - PdQuestionGeneralInfoPage.prototype.add = function () { - this.initIndividuals(null); - }; - PdQuestionGeneralInfoPage.prototype.addRec = function (v) { - if (v == '1') { - this.addIndi = true; - this.buttonClick = !this.buttonClick; - this.initIndividuals(null); - } - if (v == '2') { - console.log("companies", this.h_companies); - this.addComp = true; - // this.h_companies=true; - this.h_companies = !this.h_companies; - console.log("companies", this.h_companies); - this.initCompanies(null); - } - }; - PdQuestionGeneralInfoPage.prototype.editIndividuals = function (index) { - var values = this.generalForm.controls.list_value.value[index]; - console.log(values); - this.addIndi = false; - this.updateIndex_indi = index; - this.initIndividuals(values); - // this.nameField.nativeElement.focus(); - }; - PdQuestionGeneralInfoPage.prototype.editCompanies = function (index) { - console.log("index", index); - var values = this.generalForm.controls.company_value.value[index]; - console.log(values); - this.updateIndex_comp = index; - this.addComp = false; - //this. - this.initCompanies(values); - }; - PdQuestionGeneralInfoPage.prototype.update = function (v) { - console.log("index", v); - if (v == '1') { - if (!this.generalForm.controls['individuals'].valid) { - this.toast.pdTriggerappmessage("Please Fill all Mandatory fields Marked with '*'"); - } - else { - var val = this.generalForm.controls.individuals.value[0]; - var old = this.generalForm.controls.list_value.value[this.updateIndex_indi]; - // const control=this.generalForm.controls.list_value.at(this.updateIndex_indi) - // const control=this.list_value - var c_qualification_name = this.qualificationById(val.qualification); - var control = this.generalForm.controls['list_value']['controls'][this.updateIndex_indi]; - control.patchValue({ - applicant_title_name: val.applicant_title_name, - applicant_name: val.applicant_name, - is_person_met: val.is_person_met, - is_applicant: val.is_applicant, - age: val.age, - qualification: val.qualification, - course_name: val.course_name, - individuals_order_id: old.individuals_order_id, - is_new: old.is_new, - is_active: old.is_active, - pd_co_applicant_id: old.pd_co_applicant_id, - qualification_name: c_qualification_name - }); - this.buttonClick = false; - console.log(this.generalForm.controls.list_value['controls']); - // this.generalForm.controls.list_value.value.scrollToTop(); - // this.generalForm.controls['list_value']._scrollContent; - //this.myinput._scrollContent(); - console.log("values", val); - console.log("old", old); - console.log(control); - } - } - else if (v == '2') { - if (!this.generalForm.controls['companies'].valid) { - this.toast.pdTriggerappmessage("Please Fill all Mandatory Fields Marked with '*"); - } - else { - var val = this.generalForm.controls.companies.value[0]; - var c_business_name = this.businessEntityById(val.business_entity_type); - var control = this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]; - control.patchValue({ - company_name: val.company_name, - // company_order_id:[control.length+1], - is_company_applicant: val.is_company_applicant, - business_entity_type: val.business_entity_type, - business_entity_type_other: val.business_entity_type_other, - // is_new:true, - // is_active:true, - //company_messrs_name:['M/s'], - business_years: val.business_years, - business_month: val.business_month, - business_date_object: val.business_date_object, - business_entity_type_name: c_business_name - }); - this.h_companies = false; - console.log(this.generalForm.controls['company_value']['controls'][this.updateIndex_comp]); - } - } - }; - PdQuestionGeneralInfoPage.prototype.delete = function (v) { - // const control=this.generalForm.controls['individuals']; - //control.removeAt(i); - //this.data=this.generalForm.value.individuals; - this.cart.push(this.generalForm.value.individuals); - this.data = Object.assign(this.cart); - // this.data=Object.assign(this.generalForm.value.individuals) - this.datajson = JSON.stringify(this.cart); - if (v == '1') { - if (!this.generalForm.controls['individuals'].valid) { - this.toast.pdTriggerappmessage("Please Fill all Mandatory field Marked with '*'"); - } - else { - this.initlistv(this.generalForm.value.individuals, 'ins'); - this.initPersonRelationship(''); - } - } - else if (v == '2') { - if (!this.generalForm.controls['companies'].valid) { - this.toast.pdTriggerappmessage("Please Fill all Mandatory field Marked with '*'"); - } - else { - this.initCompanyValue(this.generalForm.value.companies, 'ins'); - } - } - }; - PdQuestionGeneralInfoPage.prototype.removeList = function (i, index) { - if (index == '1') { - //For List List_value(Individuals) - var control = this.generalForm.controls['list_value']; - control.value[i].is_active = false; - this.OldData_indi.push(control.value[i]); - control.removeAt(i); - //For Person RelationShip auto Delete - var control1 = this.generalForm.controls['persons_with_relationships']; - control1.removeAt(i); - } - if (index == 2) { - //For Company_values(Companies) - var control = this.generalForm.controls['company_value']; - control.value[i].is_active = false; - var vla = control.value[i]; - this.OldData.push(vla); - control.removeAt(i); - // let control: any = this.generalForm.get('companies') as FormArray; - //this.generalForm.controls['companies'] - //control.controls['is_active'].setValue(false); - //control.controls[i].clearValidators(); - //control.controls[i].updateValueAndValidity(); - //control.clear - // control.controls[i].is_active.setValue(false); - /* control.controls[i].controls.company_name.clearValidators(); - control.controls[i].controls.company_name.updateValueAndValidity(); - control.controls[i].controls.business_years.clearValidators(); - control.controls[i].controls.business_years.updateValueAndValidity(); - control.controls[i].controls.business_entity_type.clearValidators(); - control.controls[i].controls.business_entity_type.updateValueAndValidity();*/ - } - if (index == "companyrel") { - //For company_relationship - var control = this.generalForm.controls['company_with_relationships']; - control.removeAt(i); - } - }; - PdQuestionGeneralInfoPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('EDUQUALIFICATION').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.qualificationList = res['records'].filter(function (com) { return com.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(function (res) { - _this.businessEntityTypeList = res['records'].filter(function (com) { return com.isactive == 1; }); - }); - this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.relationShipList = res['records'].filter(function (rel) { return rel.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.companyRelationShipList = res['records'].filter(function (com) { return com.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('TITLES').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.titleList = res['records'].filter(function (com) { return com.isactive == 1; }); - } - }); - }; - PdQuestionGeneralInfoPage.prototype.getcoapplicantDetails = function (checkApplicantExist, exist_applicant_relation) { - var _this = this; - var applicantControl = this.generalForm.controls['applicant_list']; - var relationControl = this.generalForm.controls['applicant_relation']; - if (checkApplicantExist.length > 0) { - checkApplicantExist.forEach(function (val) { - applicantControl.push(_this.createApplicant(val)); - }); - } - if (exist_applicant_relation.length > 0) { - exist_applicant_relation.forEach(function (val) { - relationControl.push(_this.createApplicantRelation(val)); - //push related to details - _this.fetch_related_details.push(val.applicant_name); - }); - } - }; - PdQuestionGeneralInfoPage.prototype.createApplicant = function (elementValue) { - return this.fb.group({ - pd_co_applicant_id: [elementValue.pd_co_applicant_id], - applicant_name: [elementValue.applicant_name], - company_name: [elementValue.company_name], - exist_status: [elementValue.exist_status == 1 && elementValue.pd_co_applicant_id > 0 ? true : false], - }); - }; - PdQuestionGeneralInfoPage.prototype.coapplicantChange = function (event, index, item) { - var _this = this; - var relationControl = this.generalForm.controls['applicant_relation']; - var applicantControl = this.generalForm.controls['applicant_list']; - if (item.exist_status.value) { - if (item.pd_co_applicant_id.value == 0) { - var modal = this.modal.create(__WEBPACK_IMPORTED_MODULE_6__pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */]); - modal.onDidDismiss(function (data) { - if (data != 1) { - data.otherName.forEach(function (val) { - var applicant_details = { 'pd_co_applicant_id': val.pd_co_applicant_id, 'applicant_name': val.applicant_name, 'applicant_relation_to': '', 'relation': '', 'company_name': '', 'company_relation': '' }; - relationControl.push(_this.createApplicantRelation(applicant_details)); - // push related to details - _this.fetch_related_details.push(val.applicant_name); - }); - } - else { - applicantControl.at(index).get('exist_status').setValue(false); - } - }); - modal.present(); - } - else { - var applicant_details = { 'pd_co_applicant_id': item.pd_co_applicant_id.value, 'applicant_name': item.applicant_name.value, 'applicant_relation_to': '', 'relation': '', 'company_name': item.company_name.value, 'company_relation': '' }; - relationControl.push(this.createApplicantRelation(applicant_details)); - // push related to details - this.fetch_related_details.push(item.applicant_name.value); - } - } - else { - var relationControl_1 = this.generalForm.controls['applicant_relation']; - var pos_id = relationControl_1.value.map(function (e) { - return e.pd_co_applicant_id; - }).indexOf(item.pd_co_applicant_id.value); - if (item.pd_co_applicant_id.value != 0) { - relationControl_1.removeAt(pos_id); - var pos_name = this.fetch_related_details.indexOf(item.applicant_name.value); - this.fetch_related_details.splice(pos_name, 1); - } - else { - applicantControl.at(index).get('exist_status').setValue(false); - } - // remove related to details - } - }; - PdQuestionGeneralInfoPage.prototype.createApplicantRelation = function (elementValue) { - return this.fb.group({ - pd_co_applicant_id: [elementValue.pd_co_applicant_id], - applicant_name: [elementValue.applicant_name], - company_name: [elementValue.company_name, elementValue.company_name ? __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required : __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].nullValidator], - company_relationship: [elementValue.company_relationship], - applicant_relation_to: [elementValue.applicant_relation_to, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - relationship: [elementValue.relationship], - }); - }; - // temparr=[]; - PdQuestionGeneralInfoPage.prototype.removereferance = function (index) { - var relationControl = this.generalForm.controls['applicant_relation']; - relationControl.removeAt(index); - // this.temparr = []; - }; - // createApplicateOthers() - // { - // return this.fb.group( - // { - // Name: - // }) - // } - PdQuestionGeneralInfoPage.prototype.ConvertMonthintoYearforBusiness = function (e, controlIndex, flag) { - var converted_month = e % 12; - var converted_year = e / 12; - if (flag == 1) { - var control = this.generalForm.get('companies'); - control = control.controls[controlIndex]; - var business_year = control.controls.business_years.value; - control.controls.business_years.setValue(+business_year + +Math.floor(converted_year)); - control.controls.business_month.setValue(Math.floor(converted_month)); - } - else if (flag == 2) { - var ri_year = this.generalForm.controls.rental_income_rcv_in_years.value; - this.generalForm.controls['rental_income_rcv_in_years'].setValue(+ri_year + +Math.floor(converted_year)); - this.generalForm.controls['rental_income_rcv_in_month'].setValue(Math.floor(converted_month)); - } - }; - PdQuestionGeneralInfoPage.prototype.getDateObjects = function (values, controlIndex) { - var control = this.generalForm.get('companies'); - control.controls['business_years'] = ''; - control.controls['business_month'] = ''; - control = control.controls[controlIndex]; - var pd_initiation_date = this.pdDetails.pd_date_of_initiation.split('/').reverse().join("/"); - var selected_date = this.pipe.transform(values, 'yyyy/MM/dd'); - ; - var diffInMs = Date.parse(pd_initiation_date) - Date.parse(selected_date); - var diff = Math.floor(diffInMs / 1000); - diff /= (60 * 60 * 24 * 30); - diff = Math.abs(Math.round(diff)); - control.controls['business_years'].setValue(0); - control.controls['business_month'].setValue(0); - if (diff) { - control.controls['business_years'].setValue(Math.floor(diff / 12)); - control.controls['business_month'].setValue(Math.floor(diff % 12)); - } - }; - PdQuestionGeneralInfoPage.prototype.submitData = function (answerData) { - var _this = this; - var saveRecords = {}; - var valuesData_indi = []; - var valuesData = []; - var existData_indi = Object.keys(answerData.list_value).map(function (key) { - return answerData.list_value[key]; - }); - existData_indi.forEach(function (element) { - valuesData_indi.push(element); - }); - if (this.OldData_indi.length > 0) { - this.OldData_indi.forEach(function (element) { - valuesData_indi.push(element); - }); - } - var existData = Object.keys(answerData.company_value).map(function (key) { - return answerData.company_value[key]; - }); - existData.forEach(function (element) { - valuesData.push(element); - }); - if (this.OldData.length > 0) { - this.OldData.forEach(function (element) { - valuesData.push(element); - }); - } - saveRecords.individuals = valuesData_indi; - saveRecords.companies = valuesData; - saveRecords.pdid = answerData.pdid; - saveRecords.formid = answerData.formid; - saveRecords.fk_createdby = this.users; - saveRecords.persons_with_relationships = answerData.persons_with_relationships; - saveRecords.company_with_relationships = answerData.company_with_relationships; - saveRecords.general_remark = answerData.general_remark; - this.qustCat.saveForm(saveRecords).subscribe(function (dataResult) { - if (dataResult['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 3000); - } - else { - _this.toast.pdTriggerappmessage('Error'); - } - }); - /* Old Data - if(this.generalForm.valid) - { - let saveRecords:any = {} - let applicantList:any=[]; - let applicantRelationList:any=[]; - // this for applicant list for selected - answerData.applicant_list.forEach((element,key) => { - if(element.exist_status==1){ - applicantList.push({ - "pd_co_applicant_id":element.pd_co_applicant_id, - "applicant_name":element.applicant_name, - }) - } - }); - // this is for selected applicant relation - answerData.applicant_relation.forEach((element,key) => { - applicantRelationList.push({ - "pd_co_applicant_id":element.pd_co_applicant_id, - "applicant_name":element.applicant_name, - "company_name":element.company_name, - "company_relationship":element.company_relationship, - "applicant_relation_to":element.applicant_relation_to, - "relationship":element.relationship, - }) - }); - - saveRecords.pdid=answerData.pdid; - saveRecords.formid=answerData.formid; - saveRecords.general_remark=answerData.general_remark; - saveRecords.selected_applicant=applicantList; - saveRecords.applicant_relation=applicantRelationList; - saveRecords.fk_createdby = this.users; - this.qustCat.saveForm(saveRecords).subscribe(res=> - { - if(res['dataStatus']==true) - { - this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - this.navCtrl.pop(); - } - }) - }*/ - }; - PdQuestionGeneralInfoPage.prototype.getGeneralForm = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (res) { - _this.data_all = res['records']; - var exist_companies; - var exist_company_with_relationship; - var companyControl = _this.generalForm.get('company_value'); - companyControl.controls = []; - _this.lengthv = _this.data_all; - if (res['dataStatus'] == true) { - _this.generalForm.controls['general_remark'].setValue(_this.data_all.general_remark); - // - var arrlist_indi = []; - var exist_individuals = Object.keys(res['records'].individuals).map(function (key) { - return res['records'].individuals[key]; - }); - if (exist_individuals.length > 0) { - exist_individuals.forEach(function (element) { - if (element.is_active != false) { - arrlist_indi.push(element); - } - else { - _this.OldData_indi.push(element); - } - }); - } - _this.initlistv(arrlist_indi, 'get'); - if (_this.data_all.persons_with_relationships != '') { - _this.initPersonRelationship(_this.data_all.persons_with_relationships); - } - //Create Company with Relationship - exist_company_with_relationship = Object.keys(res['records'].company_with_relationships).map(function (key) { - return res['records'].company_with_relationships[key]; - }); - if (_this.customer_segment_abbr != 'SE-RI') { - if (exist_company_with_relationship.length > 0) { - exist_company_with_relationship.forEach(function (key) { - _this.initCompanyRelationShip(key); - }); - } - else if (exist_company_with_relationship.length == 0) { - _this.initCompanyRelationShip(''); - } - //create Companies - exist_companies = Object.keys(res['records'].companies).map(function (key) { - return res['records'].companies[key]; - }); - var arraylis = []; - if (exist_companies.length > 0) { - exist_companies.forEach(function (element, cindex) { - if (element.is_active != false) { - arraylis.push(element); - } - else { - _this.OldData.push(element); - } - }); - } - _this.initCompanyValue(arraylis, 'get'); - _this.generalForm.controls['rental_income_rcv_in_years'].setValue(null); - _this.generalForm.controls['rental_income_rcv_in_month'].setValue(null); - } - else if (_this.customer_segment_abbr == 'SE-RI') { - _this.generalForm.controls['rental_income_rcv_in_years'].setValue(res['records'].rental_income_rcv_in_years ? res['records'].rental_income_rcv_in_years : ''); - _this.generalForm.controls['rental_income_rcv_in_month'].setValue(res['records'].rental_income_rcv_in_month ? res['records'].rental_income_rcv_in_month : ''); - } - // var arraylis:any=[] - // if(exist_companies.length>0){ - // exist_companies.forEach((element,cindex)=>{ - // if(element.is_active!=false){ - // arraylis.push(element); - // } - // else{ - // this.OldData.push(element); - // } - // }) - // } - // this.initCompanyValue(arraylis,'get'); - // if(this.data_all.company_with_relationships != ''){ - // this.initCompanyRelationShip(this.data_all.company_with_relationships); - // } - } - else { - console.log("Else data", _this.pd_applicants_details); - _this.pd_applicants_details.forEach(function (datas, index) { - datas.is_applicant = true, - datas.is_person_met = false; - datas.is_new = false; - datas.is_main_applicant = datas.applicant_type == '1' ? true : false; - datas.is_active = true; - datas.individuals_order_id = index + 1; - // company_order_id = index+1, - datas.age = '', - datas.qualification = '', - datas.course_name = ''; - if (datas.company_name != '' && datas.company_name != null) { - console.log("company"); - var setCompanyValues = { company_order_id: companyControl.controls.length + 1, company_name: datas.company_name, is_company_applicant: datas.is_company_applicant, business_entity_type: datas.business_entity_type, business_entity_type_other: datas.business_entity_type_other, business_years: datas.business_years, business_month: datas.business_month, business_date_object: datas.business_date_object, is_new: datas.is_new, is_active: true }; - companyControl.push(_this.createCompanies(setCompanyValues)); - } - }); - // this.lengthv.push("individuals") - // this.lengthv.push("companies") - // this.lengthv.push('persons_with_relationships') - //this.lengthv.push("") - console.log("applicant", _this.lengthv); - _this.initlistv(_this.pd_applicants_details, 'get'); - _this.initPersonRelationship(_this.pd_applicants_details); - // this.initCompanyValue(this.pd_applicants_details,'get'); - _this.initCompanyRelationShip(''); - } - }); - /*let records = {'pd_id':this.pdDetails.pd_id,'pd_form_id':this.FormId.form_id}; - this.qustCat.retiverForm(records).subscribe(res=> - { - if(res['dataStatus']==true) - { - this.pd_applicants_details.push({'pd_co_applicant_id':"0",'applicant_name':'Others'}); - - let generalDetails = res['records']; - this.generalForm.controls['general_remark'].setValue(generalDetails.general_remark); - - let applicant_relation = Object.keys(res['records'].applicant_relation).map(function(key) - { - return res['records'].applicant_relation[key]; - }); - - let selected_applicant = Object.keys(res['records'].selected_applicant).map(function(key) - { - return res['records'].selected_applicant[key].pd_co_applicant_id; - }); - let applicantControl = this.generalForm.controls['applicant_list']; - - let actual_applicant = this.pd_applicants_details.map(item => item.pd_co_applicant_id); - let checkApplicantExist =actual_applicant.map((id, index) => { - if (selected_applicant.indexOf(id) < 0) { - this.pd_applicants_details[index].exist_status=0; - return this.pd_applicants_details[index]; - } - else{ - this.pd_applicants_details[index].exist_status=1; - this.pd_applicants_details[index].applicant_relation_to=''; - this.pd_applicants_details[index].relation=''; - return this.pd_applicants_details[index]; - } - }).filter(item => item != undefined); - this.getcoapplicantDetails(checkApplicantExist,applicant_relation); - }else - { - this.pd_applicants_details.push({'pd_co_applicant_id':"0",'applicant_name':'Others'}); - - } - })*/ - }; - PdQuestionGeneralInfoPage.prototype.createCompanies = function (elementValue) { - var name = this.businessEntityById(elementValue.business_entity_type); - return this.fb.group({ - company_order_id: [elementValue.company_order_id], - company_name: [elementValue.company_name,], - company_messrs_name: ['M/s'], - is_company_applicant: [elementValue.is_company_applicant], - business_entity_type: [elementValue.business_entity_type, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - business_years: [elementValue.business_years, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required], - business_month: [elementValue.business_month], - business_date_object: [elementValue.business_date_object], - is_active: [elementValue.is_active], - is_new: [elementValue.is_new], - business_entity_type_name: [name] - }); - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('remark'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_0__angular_core__["t" /* ElementRef */]) - ], PdQuestionGeneralInfoPage.prototype, "nameField", void 0); - PdQuestionGeneralInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-general-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-info.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n
\n\n \n\n
Name of individuals
\n\n \n\n \n\n \n\n \n\n

{{item.get(\'applicant_name\').value | titlecase}}

\n\n

Age : {{item.get(\'age\').value}}  \n\n {{item.get(\'qualification_name\').value}}

\n\n

  {{item.get(\'course_name\').value | titlecase}}

\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n

Person

\n\n \n\n
\n\n \n\n

Applicant

\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n Add Individual\n\n Update Individual\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n {{t1.name}}\n\n \n\n \n\n \n\n \n\n \n\n Name is Required \n\n \n\n \n\n \n\n Age is Required\n\n \n\n \n\n \n\n \n\n {{qu.qualification_name}} \n\n \n\n Qualification is Required \n\n \n\n \n\n \n\n \n\n \n\n Is Person Met

\n\n Is Applicant \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n
Number of Years for which rental income is being received
\n\n \n\n \n\n Please Enter Correct Year\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n
Company/Firm
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n

{{item.get(\'company_name\').value | titlecase}}

\n\n

{{item.get(\'business_entity_type_name\').value}}{{item.get(\'business_entity_type_other\').value+"-Others"}}

\n\n

  {{item.get(\'business_years\').value}} Years {{item.get(\'business_month\').value}} Months

\n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n

Company Applicant

\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n Add Company/Firm\n\n \n\n
\n\n
\n\n \n\n Company / Firm\n\n \n\n Company Name is Required\n\n \n\n Is Applicant
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n {{business.business_entity_type_name}}\n\n \n\n \n\n Business Entity Required\n\n \n\n \n\n \n\n \n\n \n\n

Number of Years For Which The Business Has Been Running

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n\n\n \n\n \n\n \n\n Relationship Between Individuals\n\n \n\n \n\n
\n\n \n\n \n\n
Applicant {{i+1}}
\n\n \n\n \n\n {{name.applicant_name}}\n\n \n\n \n\n \n\n \n\n {{member.name}}\n\n \n\n \n\n \n\n \n\n Select\n\n {{rel.applicant_name | titlecase}}\n\n Not Applicable\n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n\n\n \n\n
\n\n \n\n Relationship of Individuals to Company / Firm\n\n \n\n
\n\n
Applicant {{i+1}}
\n\n \n\n \n\n {{name.applicant_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{comrelShip.name }}\n\n \n\n \n\n \n\n \n\n \n\n {{comp.company_name}}\n\n \n\n \n\n \n\n
\n\n

\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-info.html"*/, - providers: [__WEBPACK_IMPORTED_MODULE_8__pipes_pd_pd__["a" /* PdPipe */]], - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["p" /* ModalController */]]) - ], PdQuestionGeneralInfoPage); - return PdQuestionGeneralInfoPage; -}()); - -//# sourceMappingURL=pd-question-general-info.js.map - -/***/ }), - -/***/ 382: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionGeneralOtherApplicantPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/** - * Generated class for the PdQuestionGeneralOtherApplicantPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionGeneralOtherApplicantPage = (function () { - function PdQuestionGeneralOtherApplicantPage(navCtrl, navParams, fb, viewCtrl) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.viewCtrl = viewCtrl; - this.applicantInfo = { 'pd_co_applicant_id': "0", 'applicant_name': '', 'company_name': '' }; - this.otherForm = this.fb.group({ - otherName: this.fb.array([]), - }); - this.addmore(); - } - PdQuestionGeneralOtherApplicantPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionGeneralOtherApplicantPage'); - }; - PdQuestionGeneralOtherApplicantPage.prototype.createName = function (elementValue) { - return this.fb.group({ - pd_co_applicant_id: [elementValue.pd_co_applicant_id], - applicant_name: [elementValue.applicant_name, __WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required], - }); - }; - PdQuestionGeneralOtherApplicantPage.prototype.addmore = function () { - if (this.otherForm.valid) { - var control = this.otherForm.controls['otherName']; - control.push(this.createName(this.applicantInfo)); - } - }; - PdQuestionGeneralOtherApplicantPage.prototype.deleteappdata = function (index) { - var control = this.otherForm.controls['otherName']; - if (control.length == 1) { - control.reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionGeneralOtherApplicantPage.prototype.closeModal = function () { - this.viewCtrl.dismiss(1); - }; - PdQuestionGeneralOtherApplicantPage.prototype.submitData = function (answerData) { - if (this.otherForm.valid) { - this.viewCtrl.dismiss(this.otherForm.value); - } - }; - PdQuestionGeneralOtherApplicantPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-general-other-applicant',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-other-applicant\pd-question-general-other-applicant.html"*/'\n\n\n\n \n\n \n\n \n\n \n\n Other Applicant Details Added\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-general-info\pd-question-general-other-applicant\pd-question-general-other-applicant.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["y" /* ViewController */]]) - ], PdQuestionGeneralOtherApplicantPage); - return PdQuestionGeneralOtherApplicantPage; -}()); - -//# sourceMappingURL=pd-question-general-other-applicant.js.map - -/***/ }), - -/***/ 383: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdPipe; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; - -/** - * Generated class for the PdPipe pipe. - * - * See https://angular.io/api/core/Pipe for more info on Angular Pipes. - */ -var PdPipe = (function () { - function PdPipe() { - } - /** - * Takes a value and makes it lowercase. - */ - PdPipe.prototype.transform = function (value, searchItem) { - var findExistIndex = searchItem.existRelationList.filter(function (sVal) { return sVal.relation_to == searchItem.currentApplicantID; }); - if (findExistIndex.length > 0) { - var check = value.filter(function (fVal) { - return !findExistIndex.some(function (sVal) { - return fVal.pd_co_applicant_id == searchItem.currentApplicantID || fVal.pd_co_applicant_id == sVal.pd_co_applicant_id; - }); - }); - return check; - } - else { - return value.filter(function (fVal) { return fVal.pd_co_applicant_id != searchItem.currentApplicantID; }); - } - }; - PdPipe = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["T" /* Pipe */])({ - name: 'pdPipe', - }) - ], PdPipe); - return PdPipe; -}()); - -//# sourceMappingURL=pd.js.map - -/***/ }), - -/***/ 384: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionNeighbourHoodPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionNeighbourHoodPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionNeighbourHoodPage = (function () { - function PdQuestionNeighbourHoodPage(navCtrl, navParams, aws, qustCat, toast, fb, constant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.qustCat = qustCat; - this.toast = toast; - this.fb = fb; - this.constant = constant; - this.check_type = [{ 'id': 0, 'type_name': 'Neighbourhood' }, { 'id': 1, 'type_name': 'Reference Check' }]; - this.finalRemarksList = [{ 'id': 1, 'name': "Positive" }, - { 'id': 2, 'name': "Negative" }, - { 'id': 3, 'name': "Insufficient information provided" }]; - this.amtInWords = []; - this.isDisplay = []; - this.isDisplay2 = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2; }); - this.applicants.push({ 'pd_co_applicant_id': 0, 'applicant_name': "Others" }); - this.neighbourhoodForm = this.fb.group({ - pdid: this.pdDetails.pd_id, - formid: this.FormId.form_id, - check_type: 0, - neighbourhood_list: this.fb.array([]), - neighbourhood_status: [''], - referencecheck_list: this.fb.array([]), - neighbour_reference_remark: '' - }); - this.users = this.aws.getlocale(); - this.getneighbourhood(); - this.getdropdown(); - } - PdQuestionNeighbourHoodPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionNeighbourHoodPage'); - }; - PdQuestionNeighbourHoodPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('RELATIONWITHBUSINESS').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.relationBusiness = res['records'].filter(function (rel) { return rel.isactive == 1; }); - } - }); - this.qustCat.getcommondrop('FREQUENCY').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.frequency = res['records'].filter(function (frq) { return frq.isactive == 1; }); - } - }); - }; - PdQuestionNeighbourHoodPage.prototype.inWords = function (val, i) { - this.amtInWords[i] = this.constant.convertNumberToWords(val.target.value); - }; - PdQuestionNeighbourHoodPage.prototype.keyPress = function (event) { - var pattern = /[0-9]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - /** To Convert Month into Year */ - PdQuestionNeighbourHoodPage.prototype.ConvertMonthintoYear = function (itemrow, e, flag) { - if (flag == 2) { - var year = itemrow.controls.year_relation_applicant.value; - var converted_month = e % 12; - var converted_year = e / 12; - itemrow.controls.year_relation_applicant.setValue(+year + +Math.floor(converted_year)); - itemrow.controls.months_relation_applicant.setValue(Math.floor(converted_month)); - } - else if (flag == 1) { - var year = itemrow.controls.how_long_do_know_in_year.value; - var converted_month = e % 12; - var converted_year = e / 12; - itemrow.controls.how_long_do_know_in_year.setValue(+year + +Math.floor(converted_year)); - itemrow.controls.how_long_do_know_in_month.setValue(Math.floor(converted_month)); - } - }; - PdQuestionNeighbourHoodPage.prototype.toggleVisibility = function (e, index, flag) { - var val; - if (flag == 1) { - this.isDisplay[index] = e; - } - else if (flag == 2) { - this.isDisplay2[index] = e; - } - }; - PdQuestionNeighbourHoodPage.prototype.checkOthers = function (values) { - if (values != null) { - return values == 0 ? true : false; - } - else { - return false; - } - }; - PdQuestionNeighbourHoodPage.prototype.createreferance = function () { - return this.fb.group({ - reference_name: [null], - mobile: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].minLength(10), __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].maxLength(10)])], - statecode: [null], - landline: [null], - location: [null], - relationship_with: [null], - others: [null], - year_relation_applicant: [null], - months_relation_applicant: [null], - business_volume_amount: [null], - business_volume_unit: [null], - others_unit: [null], - reference_final_remarks: [null], - specify_final_remark: [null] - }); - }; - PdQuestionNeighbourHoodPage.prototype.addreferance = function () { - var control = this.neighbourhoodForm.controls['referencecheck_list']; - control.push(this.createreferance()); - }; - PdQuestionNeighbourHoodPage.prototype.removereferance = function (i) { - var control = this.neighbourhoodForm.controls['referencecheck_list']; - if (control.length == 1) { - control.reset(); - } - else { - control.removeAt(i); - } - }; - PdQuestionNeighbourHoodPage.prototype.createNeighbourhood = function () { - return this.fb.group({ - neighbourhood_name: [null], - do_know: [''], - how_long_do_know_in_year: [''], - how_long_do_know_in_month: [''], - organisation_owner: [''], - is_applicant_owner: [''], - other_organisation_owner: [''], - did_not_know_the_business_operation: [''], - did_not_know_the_owner: [''], - }); - }; - PdQuestionNeighbourHoodPage.prototype.addneighbourhood = function () { - var control = this.neighbourhoodForm.controls['neighbourhood_list']; - control.push(this.createNeighbourhood()); - }; - PdQuestionNeighbourHoodPage.prototype.removeneighbourhood = function (i) { - var control = this.neighbourhoodForm.controls['neighbourhood_list']; - if (control.length == 1) { - control.reset(); - } - else { - control.removeAt(i); - } - }; - PdQuestionNeighbourHoodPage.prototype.submitData = function (answerData) { - var _this = this; - var saveRecords = {}; - var referencecheck_list = []; - var neighbourhood_list = []; - if (answerData.check_type == 0) { - answerData.neighbourhood_list.forEach(function (element, key) { - neighbourhood_list.push({ - "neighbourhood_name": element.neighbourhood_name, - "do_know": element.do_know, - "how_long_do_know_in_year": element.how_long_do_know_in_year, - "how_long_do_know_in_month": element.how_long_do_know_in_month, - "is_applicant_owner": element.is_applicant_owner, - "organisation_owner": element.organisation_owner, - "other_organisation_owner": element.other_organisation_owner, - "did_not_know_the_business_operation": element.did_not_know_the_business_operation, - "did_not_know_the_owner": element.did_not_know_the_owner - }); - }); - saveRecords.neighbourhood_list = neighbourhood_list; - } - else { - // this for referencecheck_list for selected - answerData.referencecheck_list.forEach(function (element, key) { - referencecheck_list.push({ - "reference_name": element.reference_name, - "mobile": element.mobile, - "landline": element.statecode + '-' + element.landline, - "location": element.location, - "relationship_with": element.relationship_with, - "others": element.others, - "year_relation_applicant": element.year_relation_applicant, - "months_relation_applicant": element.months_relation_applicant, - "business_volume_amount": element.business_volume_amount, - "business_volume_unit": element.business_volume_unit, - "others_unit": element.others_unit, - "reference_final_remarks": element.reference_final_remarks, - "specify_final_remark": element.specify_final_remark - }); - }); - saveRecords.referencecheck_list = referencecheck_list; - } - saveRecords.pdid = answerData.pdid; - saveRecords.formid = answerData.formid; - saveRecords.check_type = answerData.check_type; - saveRecords.fk_createdby = this.users; - saveRecords.neighbourhood_status = answerData.neighbourhood_status; - saveRecords.neighbour_reference_remark = answerData.neighbour_reference_remark; - this.qustCat.saveForm(saveRecords).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - }); - }; - PdQuestionNeighbourHoodPage.prototype.getneighbourhood = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - var control = this.neighbourhoodForm.controls['referencecheck_list']; - var neicontrol = this.neighbourhoodForm.controls['neighbourhood_list']; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var neighbourDetails = res['records']; - // neighbourDetails.neighbourhood_list.='' - if (neighbourDetails.check_type == 0) { - _this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type); - _this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark); - _this.neighbourhoodForm.controls['neighbourhood_status'].setValue(neighbourDetails.neighbourhood_status); - var neighbourhood_list = Object.keys(res['records'].neighbourhood_list).map(function (key) { - return res['records'].neighbourhood_list[key]; - }); - neighbourhood_list.forEach(function (element, index) { - _this.toggleVisibility(element.did_not_know_the_business_operation, index, 1); - _this.toggleVisibility(element.did_not_know_the_owner, index, 2); - neicontrol.push(_this.createNeighbourhood()); - }); - _this.neighbourhoodForm.controls['neighbourhood_list'].setValue(neighbourhood_list); - } - else { - _this.addneighbourhood(); - } - if (neighbourDetails.check_type == 1) { - var referencecheck_list_1 = Object.keys(res['records'].referencecheck_list).map(function (key) { - return res['records'].referencecheck_list[key]; - }); - _this.neighbourhoodForm.controls['check_type'].setValue(neighbourDetails.check_type); - _this.neighbourhoodForm.controls['neighbour_reference_remark'].setValue(neighbourDetails.neighbour_reference_remark); - referencecheck_list_1.forEach(function (val, index) { - var statecodesearch = val.landline.search("-"); - referencecheck_list_1[index].statecode = val.landline.substr(0, statecodesearch); - referencecheck_list_1[index].landline = val.landline.substr(+statecodesearch + 1, 8); - control.push(_this.createreferance()); - _this.amtInWords[index] = _this.constant.convertNumberToWords(val.business_volume_amount); - }); - _this.neighbourhoodForm.controls['referencecheck_list'].setValue(referencecheck_list_1); - } - else { - _this.addreferance(); - } - } - else { - _this.addneighbourhood(); - _this.addreferance(); - } - }); - }; - PdQuestionNeighbourHoodPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-neighbour-hood',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-neighbour-hood\pd-question-neighbour-hood.html"*/'\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n
\n\n \n\n Please Select the type
\n\n \n\n {{types.type_name}}\n\n \n\n
\n\n\n\n \n\n
\n\n
\n\n \n\n
Neighbour Details #{{n+1}}

\n\n \n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{list.applicant_name}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n


\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n Positive\n\n Negative\n\n \n\n \n\n
\n\n
\n\n\n\n \n\n\n\n
\n\n
\n\n \n\n
Reference Details #{{r+1}}

\n\n \n\n \n\n \n\n \n\n \n\n \n\n Enter Valid Mobile Number. \n\n \n\n \n\n \n\n

Enter valid Mobile Number

\n\n

Landline Number

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n Select\n\n \n\n {{relationship.relation_with_business_name | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n

Period of Relationship

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{amtInWords[r]}}\n\n \n\n \n\n \n\n Select\n\n \n\n {{volume.name | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n {{rem.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-neighbour-hood\pd-question-neighbour-hood.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionNeighbourHoodPage); - return PdQuestionNeighbourHoodPage; -}()); - -//# sourceMappingURL=pd-question-neighbour-hood.js.map - -/***/ }), - -/***/ 385: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionFinalRemarkPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -// import { t } from '@angular/core/src/render3'; - - - -/** - * Generated class for the PdQuestionFinalRemarkPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionFinalRemarkPage = (function () { - function PdQuestionFinalRemarkPage(navCtrl, navParams, fb, qustcat, aws, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.qustcat = qustcat; - this.aws = aws; - this.toast = toast; - this.m_remarkTypeCustomerBehaviour = []; - this.m_recommendationList = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.navParams.get('FormId'); - this.users = aws.getlocale(); - this._finalRemarkForm = this.fb.group({ - fk_createdby: [this.users], - pdid: [this.pdid], - formid: [this.FormId.form_id], - final_custormer_remark_type: [null], - final_other_customer_behaviour: [null], - is_service_provided: [null], - final_form_remarks: [null], - pd_officers_recommendation: [null], - others_pd_officers_recommendation: [''], - reason_for_positive: [''], - reason_for_negative: [''], - reason_for_refer_to_credit: [''], - }); - this.getDropDown(); - } - PdQuestionFinalRemarkPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionFinalRemarkPage'); - this.getFinalRemark(); - }; - PdQuestionFinalRemarkPage.prototype.getDropDown = function () { - var _this = this; - this.qustcat.getcommondrop('CUSTOMERBEHAVIOUR').subscribe(function (res) { - _this.m_remarkTypeCustomerBehaviour = res['records'].filter(function (data) { return data.isactive == 1; }); - }); - this.qustcat.getcommondrop('PDOFFICERRECOMMENDATIONS').subscribe(function (res) { - _this.m_recommendationList = res['records']; - }); - }; - PdQuestionFinalRemarkPage.prototype.RecommendationChange = function (e) { - // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 1){ - // } - // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 3){ - // } - // if(this._finalRemarkForm.controls.pd_officers_recommendation.value == 4){ - // } - if (e == 1) { - this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators(); - this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue(''); - this._finalRemarkForm.controls['reason_for_positive'].clearValidators(); - this._finalRemarkForm.controls['reason_for_positive'].setValue(''); - this._finalRemarkForm.controls['reason_for_negative'].clearValidators(); - this._finalRemarkForm.controls['reason_for_negative'].setValue(''); - } - if (e == 2) { - this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators(); - this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); - this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators(); - this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue(''); - this._finalRemarkForm.controls['reason_for_positive'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this._finalRemarkForm.controls['reason_for_negative'].clearValidators(); - this._finalRemarkForm.controls['reason_for_negative'].setValue(''); - } - if (e == 3) { - this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); - this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); - this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValue(''); - this._finalRemarkForm.controls['reason_for_refer_to_credit'].clearValidators(); - this._finalRemarkForm.controls['reason_for_positive'].clearValidators(); - this._finalRemarkForm.controls['reason_for_positive'].setValue(''); - this._finalRemarkForm.controls['reason_for_negative'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - } - if (e == 4) { - this._finalRemarkForm.controls['others_pd_officers_recommendation'].setValue(''); - this._finalRemarkForm.controls['others_pd_officers_recommendation'].clearValidators(); - this._finalRemarkForm.controls['reason_for_refer_to_credit'].setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]); - this._finalRemarkForm.controls['reason_for_positive'].clearValidators(); - this._finalRemarkForm.controls['reason_for_positive'].setValue(''); - this._finalRemarkForm.controls['reason_for_negative'].setValue(''); - this._finalRemarkForm.controls['reason_for_negative'].clearValidators(); - } - this._finalRemarkForm.controls['others_pd_officers_recommendation'].updateValueAndValidity(); - this._finalRemarkForm.controls['reason_for_refer_to_credit'].updateValueAndValidity(); - this._finalRemarkForm.controls['reason_for_positive'].updateValueAndValidity(); - this._finalRemarkForm.controls['reason_for_negative'].updateValueAndValidity(); - }; - PdQuestionFinalRemarkPage.prototype.getFinalRemark = function () { - var _this = this; - var saveRecords = { 'pd_id': this.pdid, 'pd_form_id': this.FormId.form_id }; - this.qustcat.retiverForm(saveRecords).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this._finalRemarkForm.controls.final_custormer_remark_type.setValue(data['records'].final_custormer_remark_type); - _this._finalRemarkForm.controls.final_other_customer_behaviour.setValue(data['records'].final_other_customer_behaviour); - _this._finalRemarkForm.controls.is_service_provided.setValue(data['records'].is_service_provided); - _this._finalRemarkForm.controls.pd_officers_recommendation.setValue(data['records'].pd_officers_recommendation); - _this._finalRemarkForm.controls.others_pd_officers_recommendation.setValue(data['records'].others_pd_officers_recommendation); - _this._finalRemarkForm.controls.reason_for_positive.setValue(data['records'].reason_for_positive); - _this._finalRemarkForm.controls.reason_for_refer_to_credit.setValue(data['records'].reason_for_refer_to_credit); - _this._finalRemarkForm.controls.reason_for_negative.setValue(data['records'].reason_for_negative); - _this._finalRemarkForm.controls.final_form_remarks.setValue(data['records'].final_form_remarks); - } - }); - }; - PdQuestionFinalRemarkPage.prototype.saveFinalRemark = function () { - var _this = this; - if (this._finalRemarkForm.invalid) { - return; - } - else { - var answerData = this._finalRemarkForm.value; - //To Remove The "Null" With Key also - Object.keys(answerData).forEach(function (key) { return (answerData[key] == null) && delete answerData[key]; }); - this.qustcat.saveForm(answerData).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Record Saved Successfully"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage("Sorry!! Something Went Wrong"); - } - }); - } - }; - PdQuestionFinalRemarkPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-final-remark',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-final-remark\pd-question-final-remark.html"*/'\n\n\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n \n\n \n\n \n\n \n\n {{pm.description}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Location\n\n
\n\n \n\n \n\n Is the location of the business / profession suited to the nature of business / service provided?
\n\n \n\n Select \n\n Well Suited.\n\n Fairly Suited\n\n Not Suited\n\n \n\n
\n\n \n\n \n\n Select \n\n {{ list.pdofficer_recommendation }}\n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n\n\n\n\n \n\n\n\n
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-final-remark\pd-question-final-remark.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdQuestionFinalRemarkPage); - return PdQuestionFinalRemarkPage; -}()); - -//# sourceMappingURL=pd-question-final-remark.js.map - -/***/ }), - -/***/ 386: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessGroupPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(200); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(203); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(201); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__ = __webpack_require__(387); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__ = __webpack_require__(388); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__ = __webpack_require__(389); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(202); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - -/** - * Generated class for the PdQuestionBusinessGroupPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBusinessGroupPage = (function () { - function PdQuestionBusinessGroupPage(navCtrl, navParams, qustCat) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustCat = qustCat; - this.pdDetails = []; - this.existCompanyList = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - this.getCompanyListForBusiness(); - } - /** To Get General Form's Company List */ - PdQuestionBusinessGroupPage.prototype.getCompanyListForBusiness = function () { - var _this = this; - this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function (data) { - if (data.dataStatus) { - _this.existCompanyList = data.records.filter(function (val) { return val.is_active; }); - _this.waitLoading = true; - } - else { - _this.waitLoading = false; - } - }); - }; - /** To Get Related Form Details */ - PdQuestionBusinessGroupPage.prototype.OnSelectBusinessGroupForms = function (details, company) { - this.pdDetails.company_id = company.company_order_id; - this.pdDetails.company_name = company.company_name; - this.pdDetails.business_entity_type = company.business_entity_type; - this.pdDetails.business_entity_type_other = company.business_entity_type_other; - this.pdDetails.business_years = company.business_years; - this.pdDetails.business_month = company.business_month; - if (details.form_id == 1) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_3__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 2) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_4__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 11) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_5__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 13) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 14) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_9__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 15) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_3__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 21) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_8__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - if (details.form_id == 22) { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], { 'formDetails': details, 'pdDetails': this.pdDetails }); - } - }; - PdQuestionBusinessGroupPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-business-group',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-group.html"*/'\n\n\n\n\n\n \n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n {{companyList.company_name}}\n\n \n\n \n\n \n\n \n\n {{quesIndex+1}}\n\n {{quesIndex+1}}\n\n
\n\n

{{ formButton.form_name }}

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n

Business Related Information is Not Available.Please Check General Information

\n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-group.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], - __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], - __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */]]) - ], PdQuestionBusinessGroupPage); - return PdQuestionBusinessGroupPage; -}()); - -//# sourceMappingURL=pd-question-business-group.js.map - -/***/ }), - -/***/ 387: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionBusinessInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBusinessInfoPage = (function () { - function PdQuestionBusinessInfoPage(navCtrl, navParams, aws, toast, qustCat, fb, cons) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.toast = toast; - this.qustCat = qustCat; - this.fb = fb; - this.cons = cons; - this.stateList = []; - this.applicants = []; - this.businessEntityTypeList = { - business_entity_type_id: String, - business_entity_type_name: String, - sourcsection_labeleName: String - }; - this.relationData = []; - this.industryData = []; - this.activityData = []; - this.companyRelationShipList = []; - this.countryDataList = []; - this.filterCityList = []; - this.errorMessage = []; - this.titleData = []; - this.personsList = []; - this.ExportFlag = false; - this.bankList = []; - this.temp_additiondetailofposmachine = []; - this.isreadonlyyear = []; - this.isreadonlymonth = []; - this.EntityTypeFlag = false; - this.ManufacturingCounterArray = []; - this.RetailCounterArray = []; - this.WholeSaleCounterArray = []; - this.ServiceCounterArray = []; - this.getStateCityDet(); - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.formdetails = this.navParams.get('formDetails'); - this.FormId = this.formdetails.form_id; - this.users = this.aws.getlocale(); - this.applicants = this.pdDetails.applicat_details; - this.generalExistEntityType = this.pdDetails.business_entity_type; - this.generalExistEntityType_other = this.pdDetails.business_entity_type_other; - this.generalExistBusinessYear = this.pdDetails.business_years; - this.step = 0; - // this.initBusinessForm(); - // this.getBuisnessDetails(); - this.businessForm = this.fb.group({ - fk_createdby: [this.users], - pdid: [this.pdid], - formid: [this.FormId], - company_id: this.pdDetails.company_id, - partners: this.fb.array([]), - persons_with_relationships: this.fb.array([]), - select_business_activity_type: this.fb.array([]), - manufacturing_activity_details: this.fb.array([]), - retail_trading_activity_details: this.fb.array([]), - wholesale_trading_activity_details: this.fb.array([]), - service_provider_activity_details: this.fb.array([]), - others_activity_details: this.fb.array([]), - export_sale_of_total_sales: [''], - //applicant_use_mobile_wallets:[''], - //applicant_use_pos_machines:[''], - seasonality: [''], - employees_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - employees_permanent: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - employees_temporary: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - employees_appx_salary: [''], - was_the_company_name_board_sighted: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - officer_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - shop_eat_act_cert: [''], - gst_Regn_cert: [''], - //export_import_cert: [''], - // factory_cert: [''], - //practice_cert: [''], - pf_regn: [''], - esic_regn: [''], - other_documents: [''], - documents: this.fb.array([]), - business_remarks: [''] - }); - this.getdropdown(); - // this.initBusinessForm(); - } - PdQuestionBusinessInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionBusinessInfoPage'); - }; - PdQuestionBusinessInfoPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('RELATIONSHIPS').subscribe(function (data) { - data['records'].forEach(function (val) { - if (val.isactive == 1) { - _this.relationData.push(val); - } - }); - }); - this.qustCat.getcommondrop('INDUSTRYCLASSIFICATION').subscribe(function (data) { - data['records'].forEach(function (val) { - if (val.isactive == 1) { - _this.industryData.push(val); - } - }); - }); - this.qustCat.getcommondrop('TYPEOFACTIVITY').subscribe(function (data) { - data['records'].forEach(function (val) { - if (val.isactive == 1 && val.type_of_activity_id != 1) { - _this.activityData.push(val); - } - }); - }); - this.qustCat.getcommondrop('BUSINESSENTITYTYPE').subscribe(function (data) { - var filterList = data['records'].filter(function (val) { return val.business_entity_type_id == _this.generalExistEntityType; }); - _this.businessEntityTypeList.business_entity_type_id = filterList[0].business_entity_type_id == 1; - _this.businessEntityTypeList.business_entity_type_name = filterList[0].business_entity_type_id != 1 ? filterList[0].business_entity_type_name : _this.generalExistEntityType_other; - _this.businessEntityTypeList.section_label = filterList[0].business_entity_type_id != 1 ? filterList[0].section_label : _this.generalExistEntityType_other; - if (_this.businessEntityTypeList.business_entity_type_name == 'OPC (One Person Company)' || _this.businessEntityTypeList.business_entity_type_name == 'Sole proprietorship') { - _this.EntityTypeFlag = true; - } - }); - this.qustCat.getcommondrop('COMPANYRELATIONSHIPS').subscribe(function (data) { - _this.companyRelationShipList = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getcommondrop('COUNTRY').subscribe(function (data) { - _this.countryDataList = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getcommondrop('TITLES').subscribe(function (data) { - _this.titleData = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustCat.getAllPersonsName(this.pdid).subscribe(function (data) { - if (data.dataStatus) { - _this.personsList = data['record'].filter(function (val) { return val.applicant_type == 1; }); - } - }); - this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { - _this.bankList = data['records'].filter(function (val) { return val.isactive == 1 && val.lender_type == 1; }); - }); - }; - PdQuestionBusinessInfoPage.prototype.getStateCityDet = function () { - var _this = this; - this.qustCat.getStateCityDetails().subscribe(function (data) { - _this.stateList = data.records; - _this.getDetails(); - }); - }; - PdQuestionBusinessInfoPage.prototype.changeOfStartedBusiness = function (members, i, e) { - if (e == 'yes') { - members.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear); - this.isreadonlyyear[i] = this.generalExistBusinessYear != undefined ? true : false; - members.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth); - this.isreadonlymonth[i] = this.generalExistBusinessMonth != undefined ? true : false; - } - else { - this.isreadonlyyear[i] = false; - this.isreadonlymonth[i] = false; - } - }; - PdQuestionBusinessInfoPage.prototype.getDetails = function () { - var _this = this; - var params = {}; - params.pd_id = this.pdid; - params.pd_form_id = 13; - params.company_id = this.pdDetails.company_id; - this.qustCat.retiverForm(params).subscribe(function (data) { - var businessVal = data['records']; - var constVal; - var Partnr = _this.businessForm.controls['partners']; - var control1 = _this.businessForm.controls['persons_with_relationships']; - var business_activity = _this.businessForm.controls['select_business_activity_type']; - var manufacture_details = _this.businessForm.controls['manufacturing_activity_details']; - var retailControl = _this.businessForm.controls['retail_trading_activity_details']; - var wholesaleControl = _this.businessForm.controls['wholesale_trading_activity_details']; - var serviceProviderControl = _this.businessForm.controls['service_provider_activity_details']; - var othersControl = _this.businessForm.controls['others_activity_details']; - var otherDoc = _this.businessForm.controls['documents']; - //retailControl.push(this.manufactureDetails()); - //manufacture_details.push(this.manufactureDetails()) - // const india_sales:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.india_where_sale_done; - //india_sales.push(this.indiaSalesDone()) - //const country_sale:any=this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.countries_where_export_done; - // country_sale.push(this.createCountrySale()); - //const max_sale_state:any= this.businessForm.controls['manufacturing_activity_details']['controls'][0].controls.max_sale_state_name; - //max_sale_state.push(this.maxSaleState()) - if (data['status'] == 200) { - var DocArray = void 0; - var PartnrArray = Object.keys(data['records'].partners).map(function (key) { - return data['records'].partners[key]; - }); - if (PartnrArray.length == 0) { - Partnr.push(_this.createPartners()); - } - else { - PartnrArray.forEach(function (datas, key) { - Partnr.push(_this.createPartners()); - if (datas.partner_name == 'Others') { - Partnr.controls[key].addControl('partner_other_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - if (parseInt(datas.total_business_experiance) > parseInt(datas.current_business_experiance_year)) { - Partnr.controls[key].addControl('total_business_previous_experience', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - else { - Partnr.controls[key].removeControl('total_business_previous_experience'); - } - }); - } - if (data['records'].persons_with_relationships) { - var PartnrArray1 = Object.keys(data['records'].persons_with_relationships).map(function (key) { - return data['records'].persons_with_relationships[key]; - }); - if (PartnrArray1.length > 0) { - PartnrArray1.forEach(function (datas, key) { - control1.push(_this.createRelationShip()); - }); - businessVal.persons_with_relationships = PartnrArray1; - } - else { - //control1.push(this.createRelationShip()); - businessVal.persons_with_relationships = []; - } - } - else { - businessVal.persons_with_relationships = []; - } - if (data['records'].other_documents == 'yes') { - DocArray = Object.keys(data['records'].documents).map(function (key) { - return data['records'].documents[key]; - }); - DocArray.forEach(function (datas) { - otherDoc.push(_this.createDocument()); - }); - } - else { - DocArray = [{ document: '' }]; - otherDoc.push(_this.createDocument()); - } - businessVal.pdid = _this.pdid; - businessVal.formid = 13; - businessVal.company_id = _this.pdDetails.company_id; - businessVal.fk_createdby = _this.users; - //businessVal.designation = DesgnArray; - businessVal.partners = PartnrArray; - // businessVal.persons_with_relationships=PartnrArray1 - businessVal.documents = DocArray; - if (businessVal.employees_appx_salary) { - _this.appxSalaryAmtInwords = _this.cons.convertNumberToWords(businessVal.employees_appx_salary); - } - // this.businessForm.controls['partners']['controls'].value.partner_other_name='dd' - // this.businessForm.setValue(businessVal); - //this.businessForm.value.seasonality - var activityData_1 = _this.activityData.map(function (item) { return ({ name: item.name, type_of_activity_id: item.type_of_activity_id }); }); - var exist_activity_data_1 = []; - if (data['records'].select_business_activity_type) { - exist_activity_data_1 = Object.keys(data['records'].select_business_activity_type).map(function (key) { - return data['records'].select_business_activity_type[key].type_of_activity_id; - }); - } - var actual_businees_activity = activityData_1.map(function (item) { return item.type_of_activity_id; }); - var check_exist_businees_activity = actual_businees_activity.map(function (id, index) { - if (exist_activity_data_1.indexOf(id) < 0) { - activityData_1[index].exist_status = 0; - return activityData_1[index]; - } - else { - activityData_1[index].exist_status = 1; - return activityData_1[index]; - } - }).filter(function (item) { return item != undefined; }); - if (check_exist_businees_activity.length > 0) { - check_exist_businees_activity.forEach(function (val, index) { - business_activity.push(_this.createBusinessActivity(val)); - // this.businessForm.controls['select_business_activity_type'].value[index].exist_status=val.exist_status - }); - businessVal.select_business_activity_type = check_exist_businees_activity; - } - // business_activity.push(this.createBusinessActivity()) - // this.businessForm.controls['select_business_activity_type'].setValue(check_exist_businees_activity) - if (data['records'].manufacturing_activity_details) { - var selectedManufacturing = Object.keys(data['records'].manufacturing_activity_details).map(function (key) { - return data['records'].manufacturing_activity_details[key]; - }); - if (selectedManufacturing.length > 0) { - selectedManufacturing.length > 0 ? _this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('export_import_cert'); - selectedManufacturing.length > 0 ? _this.businessForm.addControl('factory_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('factory_cert'); - selectedManufacturing.forEach(function (element, index) { - _this.CheckExport(element.area_of_sale, 'MActivity', index); - manufacture_details.push(_this.manufactureDetails()); - if (element.area_of_sale == 'Within India') { - manufacture_details.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - manufacture_details.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - var innercontrol = manufacture_details.controls[index].get('india_where_sale_done'); - innercontrol.push(_this.indiaSalesDone()); - }); - manufacture_details.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - var innercontrol = manufacture_details.controls[index].get('max_sale_state_name'); - innercontrol.push(_this.maxSaleState()); - }); - } - else if (element.area_of_sale == 'Export') { - manufacture_details.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = manufacture_details.controls[index].get('countries_where_export_done'); - innercontrol.push(_this.createCountrySale()); - }); - } - else if (element.area_of_sale == 'Both') { - manufacture_details.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - manufacture_details.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - manufacture_details.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - var innercontrol = manufacture_details.controls[index].get('india_where_sale_done'); - innercontrol.push(_this.indiaSalesDone()); - }); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - var innercontrol = manufacture_details.controls[index].get('max_sale_state_name'); - innercontrol.push(_this.maxSaleState()); - }); - manufacture_details.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = manufacture_details.controls[index].get('countries_where_export_done'); - innercontrol.push(_this.createCountrySale()); - }); - } - }); - businessVal.manufacturing_activity_details = selectedManufacturing; - } - else { - businessVal.manufacturing_activity_details = []; - } - } - else { - businessVal.manufacturing_activity_details = []; - } - if (data['records'].retail_trading_activity_details) { - var selectedRetail = Object.keys(data['records'].retail_trading_activity_details).map(function (key) { - return data['records'].retail_trading_activity_details[key]; - }); - if (selectedRetail.length > 0) { - selectedRetail.length > 0 ? _this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('export_import_cert'); - selectedRetail.length > 0 ? _this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_mobile_wallets'); - selectedRetail.length > 0 ? _this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_pos_machines'); - selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('no_of_pos_machines'); - selectedRetail.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('pos_machines_details', _this.fb.array([])) : _this.businessForm.removeControl('pos_machines_details'); - selectedRetail.forEach(function (element, index) { - _this.CheckExport(element.area_of_sale, 'RActivity', index); - retailControl.push(_this.manufactureDetails()); - if (element.area_of_sale == 'Within India') { - retailControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - retailControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - var innercontrol = retailControl.controls[index].get('india_where_sale_done'); - innercontrol.push(_this.indiaSalesDone()); - }); - retailControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - var innercontrol = retailControl.controls[index].get('max_sale_state_name'); - innercontrol.push(_this.maxSaleState()); - }); - } - else if (element.area_of_sale == 'Export') { - retailControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = retailControl.controls[index].get('countries_where_export_done'); - innercontrol.push(_this.createCountrySale()); - }); - } - else if (element.area_of_sale == 'Both') { - retailControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - retailControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - retailControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - var innercontrol = retailControl.controls[index].get('india_where_sale_done'); - innercontrol.push(_this.indiaSalesDone()); - }); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - var innercontrol = retailControl.controls[index].get('max_sale_state_name'); - innercontrol.push(_this.maxSaleState()); - }); - retailControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = retailControl.controls[index].get('countries_where_export_done'); - innercontrol.push(_this.createCountrySale()); - }); - } - }); - businessVal.retail_trading_activity_details = selectedRetail; - } - else { - businessVal.retail_trading_activity_details = []; - } - } - else { - businessVal.retail_trading_activity_details = []; - } - // update whole sale details - if (data['records'].wholesale_trading_activity_details) { - var selectedWholesale = Object.keys(data['records'].wholesale_trading_activity_details).map(function (key) { - return data['records'].wholesale_trading_activity_details[key]; - }); - if (selectedWholesale.length > 0) { - selectedWholesale.length > 0 ? _this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('export_import_cert'); - selectedWholesale.length > 0 ? _this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_mobile_wallets'); - selectedWholesale.length > 0 ? _this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_pos_machines'); - selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('no_of_pos_machines'); - selectedWholesale.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('pos_machines_details', _this.fb.array([])) : _this.businessForm.removeControl('pos_machines_details'); - selectedWholesale.forEach(function (element, index) { - _this.CheckExport(element.area_of_sale, 'WActivity', index); - wholesaleControl.push(_this.manufactureDetails()); - if (element.area_of_sale == 'Within India') { - wholesaleControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - wholesaleControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - var innercontrol = wholesaleControl.controls[index].get('india_where_sale_done'); - innercontrol.push(_this.indiaSalesDone()); - }); - wholesaleControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - var innercontrol = wholesaleControl.controls[index].get('max_sale_state_name'); - innercontrol.push(_this.maxSaleState()); - }); - } - else if (element.area_of_sale == 'Export') { - wholesaleControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = wholesaleControl.controls[index].get('countries_where_export_done'); - innercontrol.push(_this.createCountrySale()); - }); - } - else if (element.area_of_sale == 'Both') { - wholesaleControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - wholesaleControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - wholesaleControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - var innercontrol = wholesaleControl.controls[index].get('india_where_sale_done'); - innercontrol.push(_this.indiaSalesDone()); - }); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - var innercontrol = wholesaleControl.controls[index].get('max_sale_state_name'); - innercontrol.push(_this.maxSaleState()); - }); - wholesaleControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = wholesaleControl.controls[index].get('countries_where_export_done'); - innercontrol.push(_this.createCountrySale()); - }); - } - }); - businessVal.wholesale_trading_activity_details = selectedWholesale; - } - else { - businessVal.wholesale_trading_activity_details = []; - } - } - else { - businessVal.wholesale_trading_activity_details = []; - } - if (data['records'].service_provider_activity_details) { - var selectedService = Object.keys(data['records'].service_provider_activity_details).map(function (key) { - return data['records'].service_provider_activity_details[key]; - }); - if (selectedService.length > 0) { - selectedService.length > 0 ? _this.businessForm.addControl('practice_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('practice_cert'); - selectedService.length > 0 ? _this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_mobile_wallets'); - selectedService.length > 0 ? _this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('applicant_use_pos_machines'); - selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('no_of_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('')) : _this.businessForm.removeControl('no_of_pos_machines'); - selectedService.length > 0 && businessVal.applicant_use_pos_machines == 'yes' ? _this.businessForm.addControl('pos_machines_details', _this.fb.array([])) : _this.businessForm.removeControl('pos_machines_details'); - selectedService.forEach(function (element, index) { - _this.CheckExport(element.area_of_sale, 'SPActivity', index); - serviceProviderControl.push(_this.manufactureDetails()); - if (element.area_of_sale == 'Within India') { - serviceProviderControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - serviceProviderControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - var innercontrol = serviceProviderControl.controls[index].get('india_where_sale_done'); - innercontrol.push(_this.indiaSalesDone()); - }); - serviceProviderControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - var innercontrol = serviceProviderControl.controls[index].get('max_sale_state_name'); - innercontrol.push(_this.maxSaleState()); - }); - } - else if (element.area_of_sale == 'Export') { - serviceProviderControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = serviceProviderControl.controls[index].get('countries_where_export_done'); - innercontrol.push(_this.createCountrySale()); - }); - } - else if (element.area_of_sale == 'Both') { - serviceProviderControl.controls[index].addControl('india_where_sale_done', _this.fb.array([])); - serviceProviderControl.controls[index].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - serviceProviderControl.controls[index].addControl('max_sale_state_name', _this.fb.array([])); - element.india_where_sale_done.forEach(function (innerElement, innerIndex) { - var innercontrol = serviceProviderControl.controls[index].get('india_where_sale_done'); - innercontrol.push(_this.indiaSalesDone()); - }); - element.max_sale_state_name.forEach(function (innerElement, innerIndex) { - var innercontrol = serviceProviderControl.controls[index].get('max_sale_state_name'); - innercontrol.push(_this.maxSaleState()); - }); - serviceProviderControl.controls[index].addControl('countries_where_export_done', _this.fb.array([])); - element.countries_where_export_done.forEach(function (innerElement, innerIndex) { - var innercontrol = serviceProviderControl.controls[index].get('countries_where_export_done'); - innercontrol.push(_this.createCountrySale()); - }); - } - }); - businessVal.service_provider_activity_details = selectedService; - } - else { - businessVal.service_provider_activity_details = []; - } - } - else { - businessVal.service_provider_activity_details = []; - } - if (data['records'].others_activity_details) { - // update others activity details - var selectedOthers = Object.keys(data['records'].others_activity_details).map(function (key) { - return data['records'].others_activity_details[key]; - }); - if (selectedOthers.length > 0) { - selectedOthers.forEach(function (element, index) { - othersControl.push(_this.createOthersActivity()); - }); - businessVal.others_activity_details = selectedOthers; - } - else { - businessVal.others_activity_details = []; - } - } - else { - businessVal.others_activity_details = []; - } - // dynamically add form group control - if (data['dataStatus']) { - if (data['records'].seasonality.toUpperCase() == 'YES') { - _this.businessForm.addControl('peak_period_of_business', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - _this.businessForm.addControl('month_of_business_run', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - } - // this.businessForm.controls['partners'].setValue(PartnrArray); - //this.businessForm.controls['persons_with_relationships'].setValue(PartnrArray1) - // this.businessForm.controls['manufacturing_activity_details'].setValue(businessVal.manufacturing_activity_details) - if (businessVal.applicant_use_pos_machines == 'yes') { - _this.businessForm.controls.no_of_pos_machines.setValue(businessVal.no_of_pos_machines); - var posControl = _this.businessForm.controls['pos_machines_details']; - for (var i = 1; i <= businessVal.no_of_pos_machines; i++) { - posControl.push(_this.createPOSMachinesDetails(businessVal.pos_machines_details)); - } - } - _this.businessForm.setValue(businessVal); - } - else { - Partnr.push(_this.createPartners()); - control1.push(_this.createRelationShip()); - //otherDoc.push(this.createDocument()); - // find business activity type businees activity type list - var activityData = _this.activityData.map(function (item) { return ({ name: item.name, type_of_activity_id: item.type_of_activity_id, exist_status: 0 }); }); - if (activityData.length > 0) { - activityData.forEach(function (val) { - business_activity.push(_this.createBusinessActivity(val)); - }); - } - } - }); - // change business sessional - this.businessForm.controls['seasonality'].valueChanges.subscribe(function (val) { - val.toUpperCase() == 'YES' ? _this.businessForm.addControl('peak_period_of_business', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('peak_period_of_business'); - val.toUpperCase() == 'YES' ? _this.businessForm.addControl('month_of_business_run', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : _this.businessForm.removeControl('month_of_business_run'); - }); - }; - PdQuestionBusinessInfoPage.prototype.filterCity = function (datasource, filterid) { - if (filterid) { - var filter = this.stateList.filter(function (x) { return x.state_id == filterid; }); - return filter.length > 0 ? filter[0].cities : []; - } - }; - // filter max sale options - PdQuestionBusinessInfoPage.prototype.filterMaxSaleState = function (datasource, filterValues) { - this.filterCityList = filterValues; - if (filterValues) { - var getOriginalStateList_1 = datasource.map(function (dval) { return dval.state_id; }); - var getStateValues = filterValues.filter(function (val) { return val.state_name; }).map(function (mapVal) { return mapVal.state_name; }); - var setStateFilter = []; - setStateFilter = getStateValues.map(function (x) { - var findIndex = getOriginalStateList_1.indexOf(x); - return datasource[findIndex]; - }); - return setStateFilter.length > 0 ? setStateFilter : []; - } - }; - PdQuestionBusinessInfoPage.prototype.filterMaxSaleCities = function (datasource, filterValues, selectedCites) { - var existCities = selectedCites.filter(function (cfVal) { return cfVal.city_name != ''; }).map(function (mcVal) { return mcVal.city_name; }); - existCities = [].concat.apply([], existCities); - if (filterValues) { - var getOriginalStateList_2 = datasource.map(function (dval) { return dval.state_id; }); - var setCityFilter = filterValues.map(function (x) { - var findIndex = getOriginalStateList_2.indexOf(x); - findIndex = datasource[findIndex].cities; - return findIndex; - }); - var merged = [].concat.apply([], setCityFilter); - if (merged.length > 0) { - var check = merged.filter(function (fVal) { - return existCities.some(function (sVal) { - return fVal.city_id == sVal; - }); - }); - return check; - } - else { - return []; - } - } - else { - return []; - } - }; - PdQuestionBusinessInfoPage.prototype.checkTotalEmployee = function (FormData) { - this.businessForm.controls['employees_total'].setValue((+FormData.value.employees_permanent || 0) + (+FormData.value.employees_temporary || 0)); - }; - PdQuestionBusinessInfoPage.prototype.checkWithExistBusinessYear = function (e, i) { - if (e > this.generalExistBusinessYear) { - this.errorMessage[i] = "Higher than Business Vintage"; - } - else { - this.errorMessage[i] = ''; - } - }; - // businees activity type change event - PdQuestionBusinessInfoPage.prototype.changeBusinessActivity = function (event) { - if (event.value.exist_status == true && event.value.type_of_activity_id == 2) { - this.ManufacturingChecked = event.value.exist_status; - var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; - manufacturingControl.controls = []; - manufacturingControl.setValue([]); - } - else if (event.value.exist_status == false && event.value.type_of_activity_id == 2) { - this.ManufacturingChecked = event.value.exist_status; - var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; - manufacturingControl.push(this.manufactureDetails()); - } - if (event.value.exist_status == true && event.value.type_of_activity_id == 3) { - this.RetailedChecked = event.value.exist_status; - var retailControl = this.businessForm.controls['retail_trading_activity_details']; - retailControl.controls = []; - retailControl.setValue([]); - } - else if (event.value.exist_status == false && event.value.type_of_activity_id == 3) { - this.RetailedChecked = event.value.exist_status; - var retailControl = this.businessForm.controls['retail_trading_activity_details']; - retailControl.push(this.manufactureDetails()); - } - if (event.value.exist_status == true && event.value.type_of_activity_id == 4) { - this.WholeSalesChecked = event.value.exist_status; - var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; - wholesaleControl.controls = []; - wholesaleControl.setValue([]); - } - else if (event.value.exist_status == false && event.value.type_of_activity_id == 4) { - this.WholeSalesChecked = event.value.exist_status; - var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; - wholesaleControl.push(this.manufactureDetails()); - } - if (event.value.exist_status == true && event.value.type_of_activity_id == 5) { - this.ServiceChecked = event.value.exist_status; - var serviceControl = this.businessForm.controls['service_provider_activity_details']; - serviceControl.controls = []; - serviceControl.setValue([]); - } - else if (event.value.exist_status == false && event.value.type_of_activity_id == 5) { - this.ServiceChecked = event.value.exist_status; - var serviceControl = this.businessForm.controls['service_provider_activity_details']; - serviceControl.push(this.manufactureDetails()); - } - if (event.value.exist_status == true && event.value.type_of_activity_id == 1) { - var othersControl = this.businessForm.controls['others_activity_details']; - othersControl.controls = []; - othersControl.setValue([]); - } - else if (event.value.exist_status == false && event.value.type_of_activity_id == 1) { - var othersControl = this.businessForm.controls['others_activity_details']; - othersControl.push(this.createOthersActivity()); - } - // check activity type for make dosument sighted filed dynamically - this.businessForm.value.manufacturing_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('export_import_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.export_import_cert, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.businessForm.removeControl('export_import_cert'); - this.businessForm.value.manufacturing_activity_details.length > 0 ? this.businessForm.addControl('factory_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.factory_cert, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.businessForm.removeControl('factory_cert'); - this.businessForm.value.service_provider_activity_details.length > 0 ? this.businessForm.addControl('practice_cert', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.practice_cert, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : this.businessForm.removeControl('practice_cert'); - // check activity for extra question make dynamic - this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_mobile_wallets', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.applicant_use_mobile_wallets)) : this.businessForm.removeControl('applicant_use_mobile_wallets'); - this.businessForm.value.service_provider_activity_details.length > 0 || this.businessForm.value.retail_trading_activity_details.length > 0 || this.businessForm.value.wholesale_trading_activity_details.length > 0 ? this.businessForm.addControl('applicant_use_pos_machines', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */](this.businessForm.value.applicant_use_pos_machines)) : this.businessForm.removeControl('applicant_use_pos_machines'); - if (this.ManufacturingChecked || this.ManufacturingChecked == undefined && this.RetailedChecked || this.RetailedChecked == undefined && this.WholeSalesChecked || this.WholeSalesChecked == undefined && this.ServiceChecked || this.ServiceChecked == undefined) { - this.ExportFlag = false; - } - }; - PdQuestionBusinessInfoPage.prototype.changeManufacturingAreaSale = function (getDetails, getIndex) { - var control = this.businessForm.get('manufacturing_activity_details'); - if (getDetails.value.area_of_sale == "Within India") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (getDetails.value.area_of_sale == "Export") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - else if (getDetails.value.area_of_sale == "Both") { - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - }; - // change retail options - PdQuestionBusinessInfoPage.prototype.changeRetailAreaSale = function (getDetails, getIndex) { - var control = this.businessForm.get('retail_trading_activity_details'); - if (getDetails.value.area_of_sale == "Within India") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (getDetails.value.area_of_sale == "Export") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - else if (getDetails.value.area_of_sale == "Both") { - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - }; - // change whole options - PdQuestionBusinessInfoPage.prototype.changeWholesaleAreaSale = function (getDetails, getIndex) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - if (getDetails.value.area_of_sale == "Within India") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (getDetails.value.area_of_sale == "Export") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - else if (getDetails.value.area_of_sale == "Both") { - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - }; - // change service provider - PdQuestionBusinessInfoPage.prototype.changeServiceArea = function (getDetails, getIndex) { - var control = this.businessForm.get('service_provider_activity_details'); - if (getDetails.value.area_of_sale == "Within India") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (getDetails.value.area_of_sale == "Export") { - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - else if (getDetails.value.area_of_sale == "Both") { - control.controls[getIndex].removeControl('india_where_sale_done'); - control.controls[getIndex].removeControl('countries_where_export_done'); - control.controls[getIndex].removeControl('pan_india_options'); - control.controls[getIndex].removeControl('max_sale_state_name'); - control.controls[getIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[getIndex].addControl('pan_india_options', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - control.controls[getIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - control.controls[getIndex].addControl('countries_where_export_done', this.fb.array([this.createCountrySale()])); - } - }; - PdQuestionBusinessInfoPage.prototype.changePanIndiaOptions = function (type, selectedIndex, value) { - if (type == 1) { - var control = this.businessForm.get('manufacturing_activity_details'); - control.controls[selectedIndex].removeControl('india_where_sale_done'); - control.controls[selectedIndex].removeControl('max_sale_state_name'); - if (value == 'Yes') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (value == 'No') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - } - else if (type == 2) { - var control = this.businessForm.get('retail_trading_activity_details'); - control.controls[selectedIndex].removeControl('india_where_sale_done'); - control.controls[selectedIndex].removeControl('max_sale_state_name'); - if (value == 'Yes') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (value == 'No') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - } - else if (type == 3) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - control.controls[selectedIndex].removeControl('india_where_sale_done'); - control.controls[selectedIndex].removeControl('max_sale_state_name'); - if (value == 'Yes') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (value == 'No') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - } - else if (type == 4) { - var control = this.businessForm.get('service_provider_activity_details'); - control.controls[selectedIndex].removeControl('india_where_sale_done'); - control.controls[selectedIndex].removeControl('max_sale_state_name'); - if (value == 'Yes') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - else if (value == 'No') { - control.controls[selectedIndex].addControl('india_where_sale_done', this.fb.array([this.indiaSalesDone()])); - control.controls[selectedIndex].addControl('max_sale_state_name', this.fb.array([this.maxSaleState()])); - } - } - }; - // update partner group other form control - PdQuestionBusinessInfoPage.prototype.changePartnerGroup = function (value, key) { - var control = this.businessForm.get('partners'); - value == 'Others' ? control.controls[key].addControl('partner_other_name', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)) : control.controls[key].removeControl('partner_other_name'); - }; - PdQuestionBusinessInfoPage.prototype.createDesignation = function () { - return this.fb.group({ - sec_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - sec_designation: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - }); - }; - PdQuestionBusinessInfoPage.prototype.keyPress = function (event) { - var pattern = /[0-9]/; - var inputChar = String.fromCharCode(event.charCode); - if (event.keyCode != 8 && !pattern.test(inputChar)) { - event.preventDefault(); - } - }; - PdQuestionBusinessInfoPage.prototype.getWorkExperience = function (event, key) { - var current_experience = event.current_business_experiance_year == '' ? 0 : parseInt(event.current_business_experiance_year); - var total_experience = event.total_business_experiance == '' ? 0 : parseInt(event.total_business_experiance); - var control = this.businessForm.get('partners'); - if (total_experience > current_experience) { - control.controls[key].addControl('total_business_previous_experience', new __WEBPACK_IMPORTED_MODULE_5__angular_forms__["d" /* FormControl */]('', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required)); - } - else if (total_experience < current_experience) { - //control.controls[key].controls['total_business_experiance'].setValue(current_experience); - control.controls[key].removeControl('total_business_previous_experience'); - } - else { - control.controls[key].removeControl('total_business_previous_experience'); - } - // let total ; - // if(control.length > 0){ - // total = control.value.reduce((sum, val) => sum + +val.current_business_experiance_year, 0); - // this.businessForm.controls.business_years.setValidators([Validators.required, Validators.min(+total)]); - // this.businessForm.controls.business_years.updateValueAndValidity(); - // } - }; - PdQuestionBusinessInfoPage.prototype.ConvertMonthintoYear = function (itemrow, e) { - var year = itemrow.controls.current_business_experiance_year.value; - var converted_month = e % 12; - var converted_year = e / 12; - itemrow.controls.current_business_experiance_year.setValue(+year + +Math.floor(converted_year)); - itemrow.controls.current_business_experiance_month.setValue(Math.floor(converted_month)); - }; - PdQuestionBusinessInfoPage.prototype.createPartners = function () { - return this.fb.group({ - partner_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - // partner_other_name:[''], - shareholding: [''], - started_business: [''], - current_business_experiance_year: [''], - current_business_experiance_month: [''], - total_business_experiance: [''], - total_business_previous_experience: [''] - /* shareholding: ['', Validators.compose([Validators.required])], - current_business_experiance: ['', Validators.compose([Validators.required])], - total_business_experiance: ['', Validators.compose([Validators.required])],*/ - }); - }; - PdQuestionBusinessInfoPage.prototype.createRelationShip = function () { - return this.fb.group({ - family_member_salutation: [''], - family_member_name: [''], - other_family_relationship_id: [''], - relation_to_id: [''], - relationship_with_company_id: [''], - started_business: [''] - }); - }; - PdQuestionBusinessInfoPage.prototype.createBusinessActivity = function (details) { - return this.fb.group({ - type_of_activity_id: [details.type_of_activity_id, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - name: [details.name, __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - exist_status: [details.exist_status == 1 ? true : false] - }); - }; - PdQuestionBusinessInfoPage.prototype.createServiceActivity = function () { - return this.fb.group({ - main_products: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - area_of_sale: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - description: [''] - }); - }; - PdQuestionBusinessInfoPage.prototype.createOthersActivity = function () { - return this.fb.group({ - others_details: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])] - }); - }; - PdQuestionBusinessInfoPage.prototype.manufactureDetails = function () { - return this.fb.group({ - main_products: [''], - area_of_sale: [''], - description: [''] - // pan_india_options:[''], - // india_where_sale_done:this.fb.array([]), - //max_sale_state_name:this.fb.array([]), - //countries_where_export_done:this.fb.array([]) - }); - }; - PdQuestionBusinessInfoPage.prototype.indiaSalesDone = function () { - return this.fb.group({ - state_name: [''], - city_name: [''] - }); - }; - PdQuestionBusinessInfoPage.prototype.maxSaleState = function () { - return this.fb.group({ - state_name: [''], - city_name: [''] - }); - }; - PdQuestionBusinessInfoPage.prototype.createDocument = function () { - return this.fb.group({ - document: [''] - }); - }; - PdQuestionBusinessInfoPage.prototype.addDesignation = function () { - var control = this.businessForm.controls['designation']; - control.push(this.createDesignation()); - }; - PdQuestionBusinessInfoPage.prototype.deleteDesignation = function (index) { - var control = this.businessForm.controls['designation']; - if (control.length == 1) { - this.businessForm.controls['designation'].reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionBusinessInfoPage.prototype.addPartnerDetails = function (event) { - var control = this.businessForm.controls['partners']; - event.stopPropagation(); - var length = control.length; - this.step = length; - control.push(this.createPartners()); - }; - PdQuestionBusinessInfoPage.prototype.addPersonRelationship = function (event) { - event.stopPropagation(); - var control = this.businessForm.controls['persons_with_relationships']; - var length = control.length; - this.step = length; - control.push(this.createRelationShip()); - }; - PdQuestionBusinessInfoPage.prototype.deletePersonRelationship = function (index) { - var control = this.businessForm.controls['persons_with_relationships']; - control.removeAt(index); - }; - PdQuestionBusinessInfoPage.prototype.deletePartnerDetails = function (index) { - var control = this.businessForm.controls['partners']; - if (control.length == 1) { - this.businessForm.controls['partners'].reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionBusinessInfoPage.prototype.addMoreManufacturing = function () { - var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; - manufacturingControl.push(this.manufactureDetails()); - }; - PdQuestionBusinessInfoPage.prototype.removeManufacturing = function (index) { - var manufacturingControl = this.businessForm.controls['manufacturing_activity_details']; - if (manufacturingControl.length > 1) { - manufacturingControl.removeAt(index); - } - else { - manufacturingControl.reset(); - } - }; - PdQuestionBusinessInfoPage.prototype.addMoreRetail = function () { - var retailControl = this.businessForm.controls['retail_trading_activity_details']; - retailControl.push(this.manufactureDetails()); - }; - PdQuestionBusinessInfoPage.prototype.removeRetail = function (index) { - var retailControl = this.businessForm.controls['retail_trading_activity_details']; - if (retailControl.length > 1) { - retailControl.removeAt(index); - } - else { - retailControl.reset(); - } - }; - PdQuestionBusinessInfoPage.prototype.addMoreWholesale = function () { - var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; - wholesaleControl.push(this.manufactureDetails()); - }; - PdQuestionBusinessInfoPage.prototype.removeWholesale = function (index) { - var wholesaleControl = this.businessForm.controls['wholesale_trading_activity_details']; - if (wholesaleControl.length > 1) { - wholesaleControl.removeAt(index); - } - else { - wholesaleControl.reset(); - } - }; - PdQuestionBusinessInfoPage.prototype.addMoreServiceprovider = function () { - var serviceControl = this.businessForm.controls['service_provider_activity_details']; - serviceControl.push(this.manufactureDetails()); - }; - PdQuestionBusinessInfoPage.prototype.removeServiceProvider = function (index) { - var serviceControl = this.businessForm.controls['service_provider_activity_details']; - if (serviceControl.length > 1) { - serviceControl.removeAt(index); - } - else { - serviceControl.reset(); - } - }; - PdQuestionBusinessInfoPage.prototype.addMoreOthersActivity = function () { - var othersControl = this.businessForm.controls['others_activity_details']; - othersControl.push(this.createOthersActivity()); - }; - PdQuestionBusinessInfoPage.prototype.createCountrySale = function () { - return this.fb.group({ - country_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - approx_sale: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])] - }); - }; - PdQuestionBusinessInfoPage.prototype.addMoreState = function (mindex, type) { - if (type == 1) { - var control = this.businessForm.get('manufacturing_activity_details'); - control = control.controls[mindex].get('india_where_sale_done'); - control.push(this.indiaSalesDone()); - } - else if (type == 2) { - var control = this.businessForm.get('manufacturing_activity_details'); - control = control.controls[mindex].get('countries_where_export_done'); - control.push(this.createCountrySale()); - } - }; - PdQuestionBusinessInfoPage.prototype.removeState = function (mindex, sindex, type) { - if (type == 1) { - var control = this.businessForm.get('manufacturing_activity_details'); - control = control.controls[mindex].get('india_where_sale_done'); - control.removeAt(sindex); - } - else if (type == 2) { - var control = this.businessForm.get('manufacturing_activity_details'); - control = control.controls[mindex].get('countries_where_export_done'); - control.removeAt(sindex); - } - }; - PdQuestionBusinessInfoPage.prototype.addRetailMoreState = function (rindex, type) { - if (type == 1) { - var control = this.businessForm.get('retail_trading_activity_details'); - control = control.controls[rindex].get('india_where_sale_done'); - control.push(this.indiaSalesDone()); - } - else if (type == 2) { - var control = this.businessForm.get('retail_trading_activity_details'); - control = control.controls[rindex].get('countries_where_export_done'); - control.push(this.createCountrySale()); - } - }; - PdQuestionBusinessInfoPage.prototype.removeRetailState = function (mindex, sindex, type) { - if (type == 1) { - var control = this.businessForm.get('retail_trading_activity_details'); - control = control.controls[mindex].get('india_where_sale_done'); - control.removeAt(sindex); - } - else if (type == 2) { - var control = this.businessForm.get('retail_trading_activity_details'); - control = control.controls[mindex].get('countries_where_export_done'); - control.removeAt(sindex); - } - }; - // add more whole sale state - PdQuestionBusinessInfoPage.prototype.addWholesaleMoreState = function (windex, type) { - if (type == 1) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - control = control.controls[windex].get('india_where_sale_done'); - control.push(this.indiaSalesDone()); - } - else if (type == 2) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - control = control.controls[windex].get('countries_where_export_done'); - control.push(this.createCountrySale()); - } - }; - // remove for whole sale - PdQuestionBusinessInfoPage.prototype.removeWholesaleState = function (mindex, sindex, type) { - if (type == 1) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - control = control.controls[mindex].get('india_where_sale_done'); - control.removeAt(sindex); - } - else if (type == 2) { - var control = this.businessForm.get('wholesale_trading_activity_details'); - control = control.controls[mindex].get('countries_where_export_done'); - control.removeAt(sindex); - } - }; - // add more service provider - PdQuestionBusinessInfoPage.prototype.addServiceMoreState = function (sindex, type) { - if (type == 1) { - var control = this.businessForm.get('service_provider_activity_details'); - control = control.controls[sindex].get('india_where_sale_done'); - control.push(this.indiaSalesDone()); - } - else if (type == 2) { - var control = this.businessForm.get('service_provider_activity_details'); - control = control.controls[sindex].get('countries_where_export_done'); - control.push(this.createCountrySale()); - } - }; - // remove service provider - PdQuestionBusinessInfoPage.prototype.removeServiceState = function (mindex, sindex, type) { - if (type == 1) { - var control = this.businessForm.get('service_provider_activity_details'); - control = control.controls[mindex].get('india_where_sale_done'); - control.removeAt(sindex); - } - else if (type == 2) { - var control1 = this.businessForm.get('service_provider_activity_details'); - control1 = control1.controls[mindex].get('countries_where_export_done'); - control1.removeAt(sindex); - } - }; - PdQuestionBusinessInfoPage.prototype.addDocuments = function () { - var control = this.businessForm.controls['documents']; - control.push(this.createDocument()); - }; - PdQuestionBusinessInfoPage.prototype.deleteDocuments = function (index) { - var control = this.businessForm.controls['documents']; - if (control.length == 1) { - this.businessForm.controls['documents'].reset(); - } - else { - control.removeAt(index); - } - }; - PdQuestionBusinessInfoPage.prototype.relationChanged = function (event) { - var _this = this; - this.relativeNames = []; - event.value.forEach(function (option) { - _this.relativeNames.push({ member: option }); - }); - }; - PdQuestionBusinessInfoPage.prototype.createPOSMachinesDetails = function (data) { - if (data == null) { - return this.fb.group({ - pos_machines_financial_institution_name: [''], - tid_no_of_pos_machine: [''], - }); - } - else { - return this.fb.group({ - pos_machines_financial_institution_name: [data.pos_machines_financial_institution_name], - tid_no_of_pos_machine: [data.tid_no_of_pos_machine], - }); - } - }; - PdQuestionBusinessInfoPage.prototype.initBusinessForm = function () { - this.businessForm = this.fb.group({ - pdid: this.pdDetails.pd_id, - formid: this.FormId.form_id, - fk_createdby: this.users, - profession_name: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - business_years: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - industry: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - type_of_activity: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - seasonality: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - designation: this.fb.array([]), - partners: this.fb.array([]), - employees_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - employees_permanent: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - employees_temporary: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - officer_total: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - officer_permanent: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - officer_temporary: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - invested_amount: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - working_capital: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - is_service_provided: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - ownership_setup: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - ownership_others: [''], - rent_paid: [''], - shop_eat_act_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - gst_Regn_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - export_import_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - factory_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - practice_cert: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - pf_regn: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - esic_regn: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - other_documents: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - documents: this.fb.array([]), - business_remarks: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - who_started: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - main_person: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - other_main_person: [''], - family_members_involved: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - before_business: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - any_delays: ['', __WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_5__angular_forms__["m" /* Validators */].required])], - }); - }; - PdQuestionBusinessInfoPage.prototype.submitDetails = function () { - var _this = this; - if (this.EntityTypeFlag == true) { - var control = this.businessForm.controls['partners']; - var control2 = control.controls[0]; - control2.controls['shareholding'].clearValidators(); - control2.controls['shareholding'].updateValueAndValidity(); - control2.controls['shareholding'].setValue('100'); - // control.controls[0].removeControl('shareholding'); - // control.controls[0].removeControl('started_business'); - // control.controls[0].removeControl('current_business_experiance_year'); - // control.controls[0].removeControl('current_business_experiance_month'); - // control.controls[0].removeControl('total_business_experiance'); - control2.controls['started_business'].setValue(''); - control2.controls['current_business_experiance_year'].clearValidators(); - control2.controls['current_business_experiance_year'].updateValueAndValidity(); - control2.controls['current_business_experiance_year'].setValue(''); - control2.controls['current_business_experiance_month'].setValue(''); - control2.controls['total_business_experiance'].clearValidators(); - control2.controls['total_business_experiance'].updateValueAndValidity(); - control2.controls['total_business_experiance'].setValue(''); - // if(control2.controls['total_business_previous_experience'].value !=undefined){ - // control2.controls['total_business_previous_experience'].clearValidators(); - // control2.controls['total_business_previous_experience'].updateValueAndValidity(); - // control2.controls['total_business_previous_experience'].setValue('0'); - // } - } - var family = []; - var design; - //let records={'pdid':this.pdDetails.pd_id,'formid':this.FormId,'fk_createdby':this.users}; - var records; - // records.pdid = this.pdDetails.pd_id; - // records.formid = this.FormId; - // records.fk_createdby = this.users; - records = this.businessForm.value; - //if(records.persons_with_relationships=='') - if (records.other_documents == 'no') { - delete records.documents; - } - if (records.rent_paid == '') { - delete records.rent_paid; - } - if (records.ownership_others == '') { - delete records.ownership_others; - } - // records.family_members_involved = this.relativeNames; - var validationFlag = 0; - //type 1: Checking manufacturing_activity_details - if (records.manufacturing_activity_details.length > 0) { - records.manufacturing_activity_details.forEach(function (val, index) { - if (val.area_of_sale != "Within India") { - var ManufacturingArray = Object.keys(val.countries_where_export_done).map(function (key) { - return val.countries_where_export_done[key]; - }); - var total = ManufacturingArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); - if (total > 100 || total < 100) { - validationFlag++; - } - } - }); - } - //type 3 checking wholesale_trading_activity_details - if (records.wholesale_trading_activity_details.length > 0) { - records.wholesale_trading_activity_details.forEach(function (val, index) { - if (val.area_of_sale != "Within India") { - var WholesaleTradingArray = Object.keys(val.countries_where_export_done).map(function (key) { - return val.countries_where_export_done[key]; - }); - var total = WholesaleTradingArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); - if (total > 100 || total < 100) { - validationFlag++; - } - } - }); - } - //type 2 checking retail_trading_activity_details - if (records.retail_trading_activity_details.length > 0) { - records.retail_trading_activity_details.forEach(function (val, index) { - if (val.area_of_sale != "Within India") { - var RetailTradingArray = Object.keys(val.countries_where_export_done).map(function (key) { - return val.countries_where_export_done[key]; - }); - var total = RetailTradingArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); - if (total > 100 || total < 100) { - validationFlag++; - } - } - }); - } - //type 4 checking service_provider_activity_details - if (records.service_provider_activity_details.length > 0) { - records.service_provider_activity_details.forEach(function (val, index) { - if (val.area_of_sale != "Within India") { - var ServiceProviderArray = Object.keys(val.countries_where_export_done).map(function (key) { - return val.countries_where_export_done[key]; - }); - var total = ServiceProviderArray.reduce(function (sum, item) { return sum + +item.approx_sale; }, 0); - if (total > 100 || total < 100) { - validationFlag++; - } - } - }); - } - //validationFlag is greater then 0 means its display the notifer as warning - if (validationFlag > 0) { - this.toast.pdTriggerappmessage("warning!! Approximate sales doesn't add upto 100%"); - return; - } - records.select_business_activity_type = records.select_business_activity_type.filter(function (value) { return value.exist_status == 1; }); - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 3000); - } - }); - }; - PdQuestionBusinessInfoPage.prototype.getBuisnessDetails = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.FormId.form_id }; - this.qustCat.retiverForm(records).subscribe(function (data) { - var businessVal = data['records']; - var constVal; - var Desgn = _this.businessForm.controls['designation']; - var Partnr = _this.businessForm.controls['partners']; - var otherDoc = _this.businessForm.controls['documents']; - if (data['status'] == 200) { - var DocArray = void 0; - var DesgnArray = Object.keys(data['records'].designation).map(function (key) { - return data['records'].designation[key]; - }); - var PartnrArray = Object.keys(data['records'].partners).map(function (key) { - return data['records'].partners[key]; - }); - var selectedMembers = Object.keys(data['records'].family_members_involved).map(function (key) { - return data['records'].family_members_involved[key]; - }); - var enduse_1 = []; - var existRelative_1 = []; - selectedMembers.forEach(function (val) { - enduse_1.push(val.member); - existRelative_1.push(val); - }); - _this.relativeNames = existRelative_1; - if (DesgnArray.length == 0) { - Desgn.push(_this.createDesignation()); - } - else { - DesgnArray.forEach(function (datas) { - Desgn.push(_this.createDesignation()); - }); - } - if (PartnrArray.length == 0) { - Partnr.push(_this.createPartners()); - } - else { - PartnrArray.forEach(function (datas) { - Partnr.push(_this.createPartners()); - }); - } - if (data['records'].other_documents == 'yes') { - DocArray = Object.keys(data['records'].documents).map(function (key) { - return data['records'].documents[key]; - }); - DocArray.forEach(function (datas) { - otherDoc.push(_this.createDocument()); - }); - } - else { - DocArray = [{ document: '' }]; - otherDoc.push(_this.createDocument()); - } - if (data['records'].ownership_setup != 'others') { - businessVal.ownership_others = ''; - } - if (data['records'].ownership_setup != 'rented') { - businessVal.rent_paid = ''; - } - businessVal.family_members_involved = enduse_1; - businessVal.pdid = _this.pdDetails.pd_id; - businessVal.formid = _this.FormId.form_id; - businessVal.fk_createdby = _this.users; - businessVal.designation = DesgnArray; - businessVal.partners = PartnrArray; - businessVal.documents = DocArray; - _this.businessForm.setValue(businessVal); - } - else { - Desgn.push(_this.createDesignation()); - Partnr.push(_this.createPartners()); - otherDoc.push(_this.createDocument()); - } - }); - }; - PdQuestionBusinessInfoPage.prototype.setStep = function (index) { - this.step = index; - }; - PdQuestionBusinessInfoPage.prototype.inWords = function (e, flag) { - switch (flag) { - case 1: - this.appxSalaryAmtInwords = this.cons.convertNumberToWords(e.target.value); - break; - } - }; - PdQuestionBusinessInfoPage.prototype.CheckExport = function (value, stringFlag, index) { - //this.ExportFlag=false - var parentControl = this.businessForm.controls['select_business_activity_type']; - var childControl = parentControl.controls[0]; - // childControl.forEach((datas,index) => { - // // exist_status==true && event.value.type_of_activity_id - // }); - if (!this.ManufacturingChecked) { - // console.log("Manu") - if (stringFlag == 'MActivity' && value == "Both") { - this.ManufacturingCounterArray[index] = 1; - } - else if (stringFlag == 'MActivity' && value != "Both") { - this.ManufacturingCounterArray[index] = 0; - } - } - else if (this.ManufacturingChecked && stringFlag == 'MActivity') { - // console.log("manu"); - this.ManufacturingCounterArray[index] = 0; - } - if (!this.RetailedChecked) { - if (stringFlag == 'RActivity' && value == "Both") { - this.RetailCounterArray[index] = 1; - } - else if (stringFlag == 'RActivity' && value != "Both") { - this.RetailCounterArray[index] = 0; - } - } - else if (stringFlag == 'RActivity' && this.RetailedChecked) { - this.RetailCounterArray[index] = 0; - } - if (!this.WholeSalesChecked) { - if (stringFlag == 'WActivity' && value == "Both") { - this.WholeSaleCounterArray[index] = 1; - } - else if (stringFlag == 'WActivity' && value != "Both") { - this.WholeSaleCounterArray[index] = 0; - } - } - else if (stringFlag == 'WActivity' && this.WholeSalesChecked) { - this.WholeSaleCounterArray[index] = 0; - } - if (!this.ServiceChecked) { - if (stringFlag == 'SPActivity' && value == "Both") { - this.ServiceCounterArray[index] = 1; - } - else if (stringFlag == 'SPActivity' && value != "Both") { - this.ServiceCounterArray[index] = 0; - } - } - else if (stringFlag == 'SPActivity') { - this.ServiceCounterArray[index] = 0; - } - var SumOfManufacturingCounter = this.ManufacturingCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var SumOfRetailCounter = this.RetailCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var SumOfWholeSaleCounter = this.WholeSaleCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var SumOfServiceCounter = this.ServiceCounterArray.reduce(function (sum, val) { return sum + +val; }, 0); - var overallCounter = SumOfManufacturingCounter + SumOfRetailCounter + SumOfWholeSaleCounter + SumOfServiceCounter; - this.ExportFlag = overallCounter > 0 ? true : false; - // console.log(this.ExportFlag); - //console.log(overallCounter) - }; - PdQuestionBusinessInfoPage.prototype.toGetPOSMachinesDetails = function (e, flag) { - if (flag == 1) { - this.businessForm.addControl('pos_machines_details', this.fb.array([])); - } - var control = this.businessForm.controls['pos_machines_details']; - while (control.length !== 0) { - control.removeAt(0); - } - if (e > 0) { - if (flag == 1) { - for (var i = 1; i <= e; i++) { - control.push(this.createPOSMachinesDetails(null)); - } - } - else if (flag == 2) { - for (var i = 1; i <= e; i++) { - control.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine)); - } - } - } - }; - PdQuestionBusinessInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-business-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-info\pd-question-business-info.html"*/'\n\n\n\n \n\n \n\n {{formdetails.form_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
{{businessEntityTypeList.section_label }} # {{i+1}}
\n\n
\n\n \n\n \n\n \n\n {{app.applicant_name}}\n\n Others\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n

No of Years in Current Business

\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n

\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n

Add Others Family Members Involved in Business

\n\n \n\n \n\n \n\n \n\n
Family Member #{{i+1}}
\n\n
\n\n \n\n \n\n \n\n {{title.name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{member.name | titlecase}}\n\n \n\n \n\n \n\n \n\n {{member.applicant_name | titlecase}}\n\n \n\n \n\n \n\n \n\n {{comrelship.name | titlecase}}\n\n \n\n \n\n \n\n \n\n Select\n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n

\n\n \n\n Type of Business Activity\n\n \n\n
\n\n \n\n {{entityType.controls.name.value | titlecase}}\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
Manufacturing Details {{i+1}}
\n\n \n\n \n\n \n\n \n\n \n\n Within India"\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n {{CL.city_name}} \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n
Within India
\n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for {{manufacturing.value.main_products}}\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n Description of {{manufacturing.value.main_products}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
Retail Trading Details {{r+1}}
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n Within India\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{retail.value.main_products}}\n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{retail.value.main_products}}\n\n \n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n Countries Where Export Is Being Done for {{retail.value.main_products}}\n\n \n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n

Within India

\n\n \n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{retail.value.main_products}}\n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{retail.value.main_products}}\n\n \n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for {{retail.value.main_products}}\n\n \n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n Description of {{retail.value.main_products}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
Wholesale Trade Details {{w+1}}
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Within India\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{wholesale.value.main_products}}\n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n \n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n Countries Where The Export Is Being Done for {{wholesale.value.main_products}}\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n

Within India

\n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n States Where Max Sales Done for {{wholesale.value.main_products}}\n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n \n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Cities Where Max Sales Done for {{wholesale.value.main_products}}\n\n \n\n Countries Where The Export Is Being Done for {{wholesale.value.main_products}}\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n Description of {{wholesale.value.main_products}}\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n
Service Provider Details {{sp+1}}
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n Within India\n\n Export\n\n Both\n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n States Where Max Revenue From Services for {{serviceprovider.value.main_products}}\n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Revenue From Services for {{serviceprovider.value.main_products}}\n\n \n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n Countries Where The Export Is Being Done for {{serviceprovider.value.main_products}}\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n

Within India

\n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{SL.state_name}}\n\n \n\n \n\n \n\n \n\n \n\n {{CL.city_name}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n States Where Max Revenue From Services for {{serviceprovider.value.main_products}}\n\n \n\n \n\n \n\n {{MSL.state_name}}\n\n \n\n \n\n \n\n \n\n Cities Where Max Revenue From Services for {{serviceprovider.value.main_products}}\n\n \n\n \n\n \n\n {{MCL.city_name}}\n\n \n\n \n\n \n\n
\n\n
\n\n

Export

\n\n
\n\n
\n\n \n\n Countries Where The Export Is Being Done for {{serviceprovider.value.main_products}}\n\n \n\n \n\n {{CL.country_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n Description of {{serviceprovider.value.main_products}}\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n\n\n\n\n \n\n \n\n Export Sale As a % Total Sales\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Digital Payments\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n Machine Details {{i+1}}\n\n \n\n \n\n \n\n Select\n\n {{b.lender_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n Seasonality\n\n \n\n \n\n
\n\n \n\n

Is The Business Seasonal

\n\n \n\n \n\n Yes\n\n No Major Changes In Sales\n\n \n\n \n\n \n\n \n\n \n\n January\n\n February\n\n March\n\n April\n\n May\n\n June\n\n July\n\n August\n\n September\n\n October\n\n November\n\n December\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n Employees As Per Applicant \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{"₹"}} {{appxSalaryAmtInwords}} Only\n\n \n\n \n\n \n\n \n\n \n\n \n\n No of Employees Sighted By PD Officer During His Visit \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Documents Sighted \n\n \n\n \n\n \n\n \n\n

Shop and Est Act Cert

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n \n\n \n\n

GST Regn Cert

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n \n\n
\n\n

Export / Import cert

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n

Factory Cert

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n

Cert of Practice

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n

PF Regn

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n \n\n

ESIC Regn

\n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n \n\n

Do You Want to Add Other Documents?

\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-info\pd-question-business-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_6__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PdQuestionBusinessInfoPage); - return PdQuestionBusinessInfoPage; -}()); - -//# sourceMappingURL=pd-question-business-info.js.map - -/***/ }), - -/***/ 388: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessAssetsPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(22); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -/** - * Generated class for the PdQuestionBusinessAssetsPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBusinessAssetsPage = (function () { - function PdQuestionBusinessAssetsPage(navCtrl, navParams, aws, fb, qustcat, cons, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.fb = fb; - this.qustcat = qustcat; - this.cons = cons; - this.toast = toast; - this.currentYear = new Date().getFullYear(); - this.m_any_asset_loan_type = [{ 'value': "yes", 'viewValue': "Yes" }, - { 'value': "no", 'viewValue': "No" }, - { 'value': "nan", 'viewValue': "NA" }]; - this.AssetValueInwords = []; - this.appxMarketAmtInwords = []; - this.RentAmtInwords = []; - this.mergeCompanyApplicant = []; - this.existCompanyList = []; - this.yearErrorMessage = []; - this.monthErrorMessage = []; - this.addressLabel = []; - this.placeholderName = []; - this.m_address_type = []; - this.RentAmtInwordsForAddress = []; - this.appxMarketAmtInwordsForAddress = []; - this.isOtherOwnerForAddress = false; - this.isOtherOwner = false; - this.m_vehicle_type = []; - this.apiLoadFinish = false; - this.pdDetails = this.navParams.get('pdDetails'); - this.formDetails = this.navParams.get('formDetails'); - this.users = this.aws.getlocale(); - this.company_id = this.pdDetails.company_id; - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - this.generalExistBusinessYear = this.pdDetails.business_years; - this.generalExistBusinessMonth = this.pdDetails.business_month; - this.pageTitle = this.pdDetails.company_name + ' - ' + this.pageTitle; - this.main_applicant = this.pdDetails.applicant_name; - this.lender_applicant_id = this.pdDetails.lender_applicant_id; - this.subproduct_abbr = this.pdDetails.subproduct_abbr; - this.customer_segment_abbr = this.pdDetails.customer_segment_abbr; - this.getDropDown(); - } - PdQuestionBusinessAssetsPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionBusinessAssetsPage'); - this.getDetails(); - //this.getAddress() - }; - PdQuestionBusinessAssetsPage.prototype.getAddress = function () { - var _this = this; - var params = {}; - params.pd_id = this.pdDetails.pd_id; - params.pd_form_id = '5'; - this.qustcat.retiverForm(params).subscribe(function (data) { - var control = _this._businessAssetsQuesFrom.controls['business_assets_for_address']; - if (data['status'] == 200) { - if (data['records'].addresses.length > 0) { - data['records'].addresses.forEach(function (data, inx) { - _this.addressLabel[inx] = ''; - var selectedAddressType = _this.m_address_type.filter(function (element) { return element.address_type_id == data.address_type; })[0]; - var address = data.address; - var addressType = data.address_type != 1 ? selectedAddressType.address_type : data.address_type_others; - _this.placeholderName[inx] = 'Was any business activity seen at the ' + addressType + ' during PD visit?'; - var addressLabel = " : " + address + ' / ' + addressType; - var values = { - address_label: addressLabel, - business_years: '', - business_month: '', - business_address_availability: '', - business_is_pd_visited: '', - business_pd_visited_remark: '', - business_approximate_market_value: '', - business_ownership_type: '', - business_monthly_rented_amt: '', - business_name_of_the_owner: '', - business_name_of_the_other_owner: '', - business_vintage: '', - business_purchase_year: '', - business_emi: '' - }; - control.push(_this.initBusinessDetailsWithdata(values)); - }); - } - else { - control.push(_this.initBusinessDetails()); - } - } - else { - control.push(_this.initBusinessDetails()); - } - }); - }; - PdQuestionBusinessAssetsPage.prototype.getDropDown = function () { - var _this = this; - this.qustcat.getcommondrop('ADDRESSTYPE').subscribe(function (data) { - _this.m_address_type = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustcat.getcommondrop('VEHICLETYPE').subscribe(function (data) { - _this.m_vehicle_type = data['records'].filter(function (data) { return data.is_active == 1; }); - }); - this.qustcat.getcommondrop('ASSETTYPE').subscribe(function (data) { - _this.m_assets_type = data['records'].filter(function (val) { return val.isactive == 1 && val.flag == 1; }); - }); - this.qustcat.getcommondrop('PROPERTIES').subscribe(function (data) { - _this.m_propertyType = data['records'].filter(function (val) { return val.isactive == 1; }); - }); - this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function (data) { - if (data.dataStatus) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active == true; }); - } - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - var modifyApplicantList = []; - if (_this.applicants.length > 0) { - modifyApplicantList = _this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - } - }); - }; - PdQuestionBusinessAssetsPage.prototype.getDetails = function () { - var _this = this; - var params = {}; - params.pd_id = this.pdDetails.pd_id; - params.company_id = this.company_id; - params.pd_form_id = 22; - this.qustcat.retiverForm(params).subscribe(function (res) { - if (res['dataStatus'] == true) { - //this.data_all=res['records'] - /* var assestArray=Object.keys(res['records'].business_assets_details).map(function(key){ - return res['records'].business_assets_details[key] - }); - - //this.formLoadData(assestArray) - this._businessAssetsQuesFrom.controls['business_assets_form_remark'].setValue(res['records'].business_assets_form_remark); - if(assestArray.length>0){ - for(let val of assestArray){ - let formData={ - business_assets_mode: val.business_assets_mode, - business_approximate_market_value: val.business_approximate_market_value, - business_name_of_the_owner: val.business_name_of_the_owner, - business_name_of_the_other_owner: val.business_name_of_the_other_owner, - business_purchase_year: val. business_purchase_year, - business_vintage : val.business_vintage, - business_emi: val.business_emi, - }; - const control = this._businessAssetsQuesFrom.controls['business_assets_details']; - control.push(this.initBusinessDetailsWithdata(formData)); - this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length- 1) - } - }*/ - _this.formLoadData(res['records']); - } - else { - _this.formLoadData(null); - } - _this.apiLoadFinish = true; - }); - //this.formLoadData(null); - }; - PdQuestionBusinessAssetsPage.prototype.formLoadData = function (data) { - if (data == null) { - this._businessAssetsQuesFrom = this.fb.group({ - pdid: [this.pdDetails.pd_id], - /* formid: ['22'],*/ - formid: [this.formDetails.form_id], - company_id: [this.company_id], - fk_createdby: [this.users], - business_assets_for_address: this.fb.array([]), - //this.createBusinessAssetsForAddress(), - business_assets_details: this.fb.array([ - this.initBusinessDetails(), - ]), - business_assets_form_remark: [''] - }); - this.getAddress(); - this.loadDetails = true; - } - else { - var value = data; - this._businessAssetsQuesFrom = this.fb.group({ - pdid: [this.pdDetails.pd_id], - /* formid: ['22'],*/ - formid: [this.formDetails.form_id], - company_id: [this.company_id], - fk_createdby: [this.users], - // business_years:[value.business_years], - // business_month:[value.business_month], - // business_address_availability:[value.business_address_availability], - // business_is_pd_visited:[value.business_is_pd_visited], - // business_pd_visited_remark:[value.business_pd_visited_remark], - business_assets_for_address: this.fb.array([]), - business_assets_details: this.fb.array([]), - business_assets_form_remark: [value.business_assets_form_remark || ''] - }); - // if (value.business_assets_for_address.business_address_availability == 'yes') { - // this.addBusinessAssetsForAddress(value.business_assets_for_address); - // } - // else { - // const control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; - // control.push(this.createBusinessAssetsForAddress()); - // } - // this.addBusinessAssetsDetailsWithData(value.business_assets_details); - this.addBusinessAssetsForAddress(value.business_assets_for_address); - this.addBusinessAssetsDetailsWithData(value.business_assets_details); - } - this.loadDetails = true; - }; - PdQuestionBusinessAssetsPage.prototype.initBusinessDetails = function () { - return this.fb.group({ - address_label: [''], - business_assets_mode: [''], - business_details: this.fb.array([]), - business_years: [''], - business_month: [''], - business_address_availability: [''], - business_is_pd_visited: [''], - business_pd_visited_remark: [''], - business_approximate_market_value: [''], - business_ownership_type: [''], - business_monthly_rented_amt: [''], - business_name_of_the_owner: [], - business_name_of_the_other_owner: [], - business_vintage: [''], - business_purchase_year: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], - business_emi: [''], - }); - }; - PdQuestionBusinessAssetsPage.prototype.loadProperty = function () { - return this.fb.group({ - property_type: [''], - other_property_type: [''], - address_of_the_property: [''] - }); - }; - PdQuestionBusinessAssetsPage.prototype.load_Four_Weeler = function () { - return this.fb.group({ - manufacturer_model_vehicle: [''], - vehicle_type: [''], - other_vehicle_type: [''] - }); - }; - PdQuestionBusinessAssetsPage.prototype.loadEquipmentManufacturingDescription = function () { - return this.fb.group({ - equipment_manufacturing_description: [''] - }); - }; - PdQuestionBusinessAssetsPage.prototype.otherBusinessAssetsDescription = function () { - return this.fb.group({ - any_other_assets: [''], - any_other_asset_value: [''], - any_other_asset_loan: [''], - }); - }; - /** Add More Asset using Flag Both "Other Asset" And "Business Asset" */ - PdQuestionBusinessAssetsPage.prototype.addAssetDetails = function (e) { - var control = this._businessAssetsQuesFrom.controls['business_assets_details']; - control.push(this.initBusinessDetails()); - }; - /** To remove The Added Asset using Flag Both "Other Asset" And "Business Asset" */ - PdQuestionBusinessAssetsPage.prototype.removeAssetsDetails = function (i) { - var control = this._businessAssetsQuesFrom.controls['business_assets_details']; - control.removeAt(i); - }; - PdQuestionBusinessAssetsPage.prototype.createBusinessAssetsForAddress = function () { - return this.fb.group({ - address_label: [''], - business_years: [''], - business_month: [''], - business_address_availability: [''], - business_is_pd_visited: [''], - business_pd_visited_remark: [''], - business_approximate_market_value: [''], - business_ownership_type: [''], - business_monthly_rented_amt: [''], - business_name_of_the_owner: [''], - business_name_of_the_other_owner: [''], - business_vintage: [''], - business_purchase_year: ['', __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], - business_emi: [''] - }); - }; - PdQuestionBusinessAssetsPage.prototype.selectedAssetsType = function (e, i) { - var val = i; - var arr = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - arr.controls.splice(0); - switch (e.value) { - case '1': { - var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control.push(this.otherBusinessAssetsDescription()); - break; - } - case '2': { - var val_1 = i; - var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val_1).get('business_details'); - control.push(this.loadProperty()); - break; - } - case '3': { - var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control.push(this.load_Four_Weeler()); - break; - } - case '4': { - var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control.push(this.loadEquipmentManufacturingDescription()); - break; - } - default: { - break; - } - } - }; - PdQuestionBusinessAssetsPage.prototype.loadPropertyWithData = function (data) { - return this.fb.group({ - property_type: [data.property_type], - other_property_type: [data.other_property_type], - address_of_the_property: [data.address_of_the_property], - }); - }; - PdQuestionBusinessAssetsPage.prototype.load_Four_WeelerWithData = function (data) { - return this.fb.group({ - manufacturer_model_vehicle: [data.manufacturer_model_vehicle], - vehicle_type: [data.vehicle_type], - other_vehicle_type: [data.other_vehicle_type] - }); - }; - PdQuestionBusinessAssetsPage.prototype.loadEquipmentManufacturingDescriptionWithData = function (data) { - return this.fb.group({ - equipment_manufacturing_description: [data.equipment_manufacturing_description] - }); - }; - PdQuestionBusinessAssetsPage.prototype.otherBusinessAssetsDescriptionWithData = function (data) { - return this.fb.group({ - any_other_assets: [data.any_other_assets], - any_other_asset_loan: [data.any_other_asset_loan], - }); - }; - PdQuestionBusinessAssetsPage.prototype.addBusinessAssetsForAddress = function (data) { - var _this = this; - var result = Object.keys(data).map(function (key) { - return data[key]; - }); - if (result.length > 0) { - result.forEach(function (datas, index) { - _this.RentAmtInwordsForAddress[index] = _this.cons.convertNumberToWords(datas.business_monthly_rented_amt); - _this.appxMarketAmtInwordsForAddress[index] = _this.cons.convertNumberToWords(datas.business_approximate_market_value); - var Avaliablity = 1; - if (datas.business_name_of_the_owner.length > 0) { - datas.business_name_of_the_owner.forEach(function (option) { - if (option.id == 0 && option.group_id == 2) { - Avaliablity = option.id; - } - }); - } - _this.isOtherOwnerForAddress = Avaliablity == 0 ? true : false; - }); - for (var _i = 0, result_1 = result; _i < result_1.length; _i++) { - var val = result_1[_i]; - var vals = { - address_label: val.address_label, - business_years: val.business_years, - business_month: val.business_month, - business_address_availability: val.business_address_availability, - business_is_pd_visited: val.business_is_pd_visited, - business_pd_visited_remark: val.business_pd_visited_remark, - business_approximate_market_value: val.business_approximate_market_value, - business_ownership_type: val.business_ownership_type, - business_monthly_rented_amt: val.business_monthly_rented_amt, - business_name_of_the_owner: val.business_name_of_the_owner, - business_name_of_the_other_owner: val.business_name_of_the_other_owner, - business_vintage: val.business_vintage, - business_purchase_year: val.business_purchase_year, - business_emi: val.business_emi - }; - var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; - control.push(this.createBusinessAssetsForAddressWithData(vals)); - } - } - else { - var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; - control.push(this.createBusinessAssetsForAddress()); - } - }; - PdQuestionBusinessAssetsPage.prototype.addBusinessAssetsDetailsWithData = function (supp_data) { - var _this = this; - var result = Object.keys(supp_data).map(function (key) { - return supp_data[key]; - }); - if (result.length > 0) { - result.forEach(function (datas, index) { - _this.appxMarketAmtInwords[index] = _this.cons.convertNumberToWords(+datas.business_approximate_market_value); - _this.RentAmtInwords[index] = _this.cons.convertNumberToWords(+datas.business_monthly_rented_amt); - }); - for (var _i = 0, result_2 = result; _i < result_2.length; _i++) { - var val = result_2[_i]; - var formData = { - address_label: val.address_label, - business_assets_mode: val.business_assets_mode, - business_years: val.business_year, - business_month: val.business_month, - business_address_availability: val.business_address_availability, - business_is_pd_visited: val.business_is_pd_visited, - business_pd_visited_remark: val.business_pd_visited_remark, - business_approximate_market_value: val.business_approximate_market_value, - business_ownership_type: val.business_ownership_type, - business_monthly_rented_amt: val.business_monthly_rented_amt, - business_name_of_the_owner: val.business_name_of_the_owner, - business_name_of_the_other_owner: val.business_name_of_the_other_owner, - business_purchase_year: val.business_purchase_year, - business_vintage: val.business_vintage, - business_emi: val.business_emi, - }; - var control = this._businessAssetsQuesFrom.controls['business_assets_details']; - control.push(this.initBusinessDetailsWithdata(formData)); - this.setBusinessAssetsDetailsWithData(formData.business_assets_mode, val.business_details, control.length - 1); - } - } - this.loadDetails = true; - }; - PdQuestionBusinessAssetsPage.prototype.createBusinessAssetsForAddressWithData = function (data) { - return this.fb.group({ - address_label: [data.address_label], - business_years: [data.business_years], - business_month: [data.business_month], - business_address_availability: [data.business_address_availability], - business_is_pd_visited: [data.business_is_pd_visited], - business_pd_visited_remark: [data.business_pd_visited_remark], - business_approximate_market_value: [data.business_approximate_market_value], - business_ownership_type: [data.business_ownership_type], - business_monthly_rented_amt: [data.business_monthly_rented_amt], - business_name_of_the_owner: [data.business_name_of_the_owner], - business_name_of_the_other_owner: [data.business_name_of_the_other_owner], - business_vintage: [data.business_vintage], - business_purchase_year: [data.business_purchase_year, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], - business_emi: [data.business_emi] - }); - }; - PdQuestionBusinessAssetsPage.prototype.initBusinessDetailsWithdata = function (data) { - var formGroup = this.fb.group({ - address_label: [data.address_label], - business_assets_mode: [data.business_assets_mode], - business_years: [data.business_year], - business_month: [data.business_month], - business_address_availability: [data.business_address_availability], - business_is_pd_visited: [data.business_is_pd_visited], - business_pd_visited_remark: [data.business_pd_visited_remark], - business_details: this.fb.array([]), - business_approximate_market_value: [data.business_approximate_market_value], - business_ownership_type: [data.business_ownership_type], - business_monthly_rented_amt: [data.business_monthly_rented_amt], - business_name_of_the_owner: [data.business_name_of_the_owner], - business_name_of_the_other_owner: [data.business_name_of_the_other_owner || ''], - // relation: [data.relation || ''], - business_vintage: [data.business_vintage], - business_purchase_year: [data.business_purchase_year, __WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].compose([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].pattern("[1-9]{1}[0-9]{3}")])], - // purchase_month: [data.purchase_month], - business_emi: [data.business_emi || ''], - }); - return formGroup; - }; - PdQuestionBusinessAssetsPage.prototype.setBusinessAssetsDetailsWithData = function (assets_details_mode, datas, i) { - var _this = this; - var val = i; - var data = datas; - var control = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control.controls.splice(0); - switch (assets_details_mode) { - case '2': { - var business_property_datas_1; - data.forEach(function (datas, i) { - business_property_datas_1 = { 'property_type': datas.property_type, 'other_property_type': datas.other_property_type, 'address_of_the_property': datas.address_of_the_property }; - }); - var control_1 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control_1.push(this.loadPropertyWithData(business_property_datas_1)); - break; - } - case '3': { - var business_Four_Weeler_datas_1; - data.forEach(function (datas, i) { - business_Four_Weeler_datas_1 = { 'manufacturer_model_vehicle': datas.manufacturer_model_vehicle, 'vehicle_type': datas.vehicle_type, 'other_vehicle_type': datas.other_vehicle_type }; - }); - var control_2 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control_2.push(this.load_Four_WeelerWithData(business_Four_Weeler_datas_1)); - break; - } - case '4': { - var equipment_manufacturing_description_datas_1; - data.forEach(function (datas, i) { - equipment_manufacturing_description_datas_1 = { 'equipment_manufacturing_description': datas.equipment_manufacturing_description }; - }); - var control_3 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control_3.push(this.loadEquipmentManufacturingDescriptionWithData(equipment_manufacturing_description_datas_1)); - break; - } - case '1': { - var array_datas_1; - data.forEach(function (datas, i) { - _this.AssetValueInwords[i] = _this.cons.convertNumberToWords(+datas.any_other_asset_value); - array_datas_1 = { - 'any_other_assets': datas.any_other_assets, - // 'any_other_asset_value': datas.any_other_asset_value, - 'any_other_asset_loan': datas.any_other_asset_loan, - }; - }); - var control_4 = this._businessAssetsQuesFrom.controls['business_assets_details'].at(val).get('business_details'); - control_4.push(this.otherBusinessAssetsDescriptionWithData(array_datas_1)); - break; - } - default: { - break; - } - } - }; - PdQuestionBusinessAssetsPage.prototype.selectedPM = function (e) { - this.paymentModeTextBox = e.value; - // this.f.supplier_details.controls.get('payment_mode_value'); - }; - PdQuestionBusinessAssetsPage.prototype.selectedFreqPurchase = function (e) { - this.freqPurchaseTextBox = e.value; - }; - PdQuestionBusinessAssetsPage.prototype.onSubmit = function () { - var _this = this; - var answerData = this._businessAssetsQuesFrom.value; - //To Remove The "Null" With Key also - Object.keys(answerData).forEach(function (key) { return (answerData[key] == null) && delete answerData[key]; }); - this.qustcat.saveForm(answerData).subscribe(function (result) { - if (result['dataStatus'] == true) { - _this.toast.pdTriggerappmessage("Record Saved Successfully"); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage("Sorry!! something went Wrong "); - } - }); - }; - // calculate vintage and purchase {} - PdQuestionBusinessAssetsPage.prototype.calculateVintagePurchase = function (value, controlKey, type) { - if (type == 1) { - var control = this._businessAssetsQuesFrom.controls['business_assets_details']; - control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : ''); - } - else if (type == 2) { - var control = this._businessAssetsQuesFrom.controls['business_assets_details']; - value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue(''); - value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue(''); - } - if (type == 3) { - var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; - control.controls[controlKey].controls['business_purchase_year'].setValue(value != '' ? parseInt(this.currentYear) - parseInt(value) : ''); - } - else if (type == 4) { - var control = this._businessAssetsQuesFrom.controls['business_assets_for_address']; - value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_purchase_year'].setValue(value) : control.controls[controlKey].controls['business_purchase_year'].setValue(''); - value != '' && value <= this.currentYear ? control.controls[controlKey].controls['business_vintage'].setValue(parseInt(this.currentYear) - parseInt(value)) : control.controls[controlKey].controls['business_vintage'].setValue(''); - } - }; - PdQuestionBusinessAssetsPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - // // check others - PdQuestionBusinessAssetsPage.prototype.checkOthers = function (values) { - if (values != null) { - return values.id == 0 ? true : false; - } - else { - return false; - } - }; - PdQuestionBusinessAssetsPage.prototype.setRequiredValidation = function (value, item, flag, i) { - if (flag == 1) { - if (value == 'yes') { - console.log("bu", this._businessAssetsQuesFrom.controls); - // this._businessAssetsQuesFrom.controls.business_assets_for_address.value[i].business_years.setValidators([Validators.required]); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ; - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - // this._businessAssetsQuesFrom.controls.business_activity.setValidators([Validators.required]) ; - } - else { - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.clearValidators(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.clearValidators(); - // this._businessAssetsQuesFrom.controls.business_activity.clearValidators(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.clearValidators(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.clearValidators(); - // this._businessAssetsQuesFrom.controls.business_activity.clearValidators(); - } - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_years.updateValueAndValidity(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_address_availability.updateValueAndValidity(); - // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_is_pd_visited.updateValueAndValidity(); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][i].controls.business_pd_visited_remark.updateValueAndValidity(); - // this._businessAssetsQuesFrom.controls.business_activity.updateValueAndValidity(); - } - // if(flag == 2){ - // value==1 - // ? item.controls.premises_type_others.setValidators([Validators.required]) - // : item.controls.premises_type_others.clearValidators(); - // item.controls.premises_type_others.updateValueAndValidity(); - // } - if (flag == 3) { - if (value == 'owned') { - item.controls.business_monthly_rented_amt.clearValidators(); - item.controls.business_name_of_the_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - } - else { - item.controls.business_monthly_rented_amt.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - item.controls.business_name_of_the_owner.clearValidators(); - } - item.controls.business_monthly_rented_amt.updateValueAndValidity(); - item.controls.business_name_of_the_owner.updateValueAndValidity(); - } - if (flag == 4) { - var Avaliablity_1 = 1; - value.forEach(function (option) { - if (option.id == 0 && option.group_id == 2) { - Avaliablity_1 = option.id; - } - }); - if (Avaliablity_1 == 0) { - item.controls.business_name_of_the_other_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - this.isOtherOwner = true; - } - else { - item.controls.business_name_of_the_other_owner.setValue(''); - item.controls.business_name_of_the_other_owner.clearValidators(); - this.isOtherOwner = false; - } - item.controls.business_name_of_the_other_owner.updateValueAndValidity(); - // value == 0 - // ? item.controls.business_name_of_the_other_owner.setValidators([Validators.required]) - // : item.controls.business_name_of_the_other_owner.clearValidators(); - // item.controls.business_name_of_the_other_owner.updateValueAndValidity(); - } - if (flag == 5) { - value == 1 - ? item.controls.other_vehicle_type.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]) - : item.controls.other_vehicle_type.clearValidators(); - item.controls.other_vehicle_type.updateValueAndValidity(); - } - if (flag == 6) { - value == 1 - ? item.controls.other_property_type.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]) - : item.controls.other_property_type.clearValidators(); - item.controls.other_property_type.updateValueAndValidity(); - value != '' - ? item.controls.address_of_the_property.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]) - : item.controls.address_of_the_property.clearValidators(); - item.controls.address_of_the_property.updateValueAndValidity(); - } - if (flag == 7) { - if (value == 'owned') { - item.controls.business_monthly_rented_amt.clearValidators(); - item.controls.business_name_of_the_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - } - else { - item.controls.business_monthly_rented_amt.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - item.controls.business_name_of_the_owner.clearValidators(); - } - item.controls.business_monthly_rented_amt.updateValueAndValidity(); - item.controls.business_name_of_the_owner.updateValueAndValidity(); - } - if (flag == 8) { - var Avaliablity_2 = 1; - value.forEach(function (option) { - if (option.id == 0 && option.group_id == 2) { - Avaliablity_2 = option.id; - } - }); - // isOtherOwner: boolean = false; - if (Avaliablity_2 == 0) { - item.controls.business_name_of_the_other_owner.setValidators([__WEBPACK_IMPORTED_MODULE_3__angular_forms__["m" /* Validators */].required]); - this.isOtherOwnerForAddress = true; - } - else { - item.controls.business_name_of_the_other_owner.setValue(''); - item.controls.business_name_of_the_other_owner.clearValidators(); - this.isOtherOwnerForAddress = false; - } - item.controls.business_name_of_the_other_owner.updateValueAndValidity(); - } - }; - /** To Convert Month into Year */ - PdQuestionBusinessAssetsPage.prototype.ConvertMonthintoYear = function (e, ind) { - console.log(this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years); - var business_year = this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.value; - var converted_month = e % 12; - var converted_year = e / 12; - var Year = +business_year + +Math.floor(converted_year); - if (Year > this.generalExistBusinessYear) { - this.yearErrorMessage[ind] = "Higher than Business Vintage"; - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(''); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(''); - } - else { - if (Year == this.generalExistBusinessYear && +converted_month > this.generalExistBusinessMonth) { - this.monthErrorMessage[ind] = "Higher than Business Vintage"; - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(''); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(''); - } - else { - this.monthErrorMessage[ind] = ''; - this.yearErrorMessage[ind] = ''; - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(+business_year + +Math.floor(converted_year)); - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_month.setValue(Math.floor(converted_month)); - } - } - }; - PdQuestionBusinessAssetsPage.prototype.checkWithExistBusinessYear = function (e, ind) { - if (+e > this.generalExistBusinessYear) { - this.yearErrorMessage[ind] = "Higher than Business Vintage"; - this._businessAssetsQuesFrom.controls['business_assets_for_address']['controls'][ind].controls.business_years.setValue(''); - } - else { - this.yearErrorMessage[ind] = ''; - } - }; - PdQuestionBusinessAssetsPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.AssetValueInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 2: - this.appxMarketAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 3: - this.RentAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 9: - this.RentAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 10: - this.appxMarketAmtInwordsForAddress[i] = this.cons.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - PdQuestionBusinessAssetsPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-business-assets',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-assets\pd-question-business-assets.html"*/'\n\n\n\n\n\n \n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
Address Details {{ itemrow.get(\'address_label\').value | titlecase}}\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n

How long has business been operated from this premise?

\n\n \n\n \n\n {{yearErrorMessage[i]}}\n\n\n\n \n\n \n\n \n\n {{monthErrorMessage[i]}}\n\n\n\n \n\n\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n \n\n Owned\n\n Rented\n\n \n\n \n\n\n\n \n\n \n\n {{"₹"}}\n\n {{RentAmtInwordsForAddress[i]}} Only\n\n Monthly Rent Amount Required\n\n \n\n\n\n\n\n
\n\n \n\n\n\n \n\n \n\n \n\n {{"₹"}}\n\n {{appxMarketAmtInwordsForAddress[i]}} Only\n\n \n\n\n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n Asset Owned by Required\n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n Approx Vintage\n\n \n\n \n\n \n\n\n\n \n\n Purchase Year\n\n \n\n \n\n \n\n
\n\n \n\n\n\n \n\n
\n\n

Is There a Loan Existing Against This Asset?

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n
\n\n\n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n
\n\n \n\n \n\n
Other Assets Used in Business # {{i+1}}
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n {{asset.name | titlecase}}\n\n \n\n \n\n \n\n\n\n
\n\n\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{prop.address_type | titlecase}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n {{vehicle.vehicle_type_name }}\n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{data.viewValue | titlecase}}\n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n \n\n \n\n \n\n Owned\n\n Rented\n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n {{"₹"}} {{RentAmtInwords[i]}} Only\n\n Monthly Rent Amount Required\n\n \n\n\n\n
\n\n \n\n \n\n \n\n {{"₹"}}\n\n {{appxMarketAmtInwords[i]}} Only\n\n Approximate Market Value Required\n\n \n\n \n\n \n\n \n\n \n\n \n\n {{val.name}}\n\n \n\n \n\n \n\n \n\n\n\n \n\n \n\n \n\n\n\n \n\n
\n\n \n\n Approx Vintage\n\n \n\n \n\n \n\n Purchase Year\n\n \n\n \n\n
\n\n
\n\n\n\n \n\n \n\n\n\n

Is There a Loan Existing Against This Asset?

\n\n \n\n Yes\n\n No\n\n \n\n
\n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n

\n\n\n\n \n\n\n\n \n\n\n\n
\n\n \n\n \n\n Remarks\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-assets\pd-question-business-assets.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdQuestionBusinessAssetsPage); - return PdQuestionBusinessAssetsPage; -}()); - -//# sourceMappingURL=pd-question-business-assets.js.map - -/***/ }), - -/***/ 389: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessBankingPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(22); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - -// import { QueryState } from '@angular/core/src/render3/interfaces'; - - -/** - * Generated class for the PdQuestionBusinessBankingPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBusinessBankingPage = (function () { - function PdQuestionBusinessBankingPage(navCtrl, navParams, aws, fb, qustCat, cons, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.fb = fb; - this.qustCat = qustCat; - this.cons = cons; - this.toast = toast; - this.existCompanyList = []; - this.mergeCompanyApplicant = []; - this.amtInwords = []; - this.emiAmtInwords = []; - this.limitCaseFlag = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.pd_cus_segment = this.pdDetails.customer_segment_abbr.toUpperCase(); - this.pd_cus_segment = this.pd_cus_segment.substring(0, 3); - this.pdid = this.pdDetails.pd_id; - this.formDetails = this.navParams.get('formDetails'); - this.form_id = this.formDetails.form_id; - this.company_id = this.pdDetails.company_id; - this.applicants = this.pdDetails.applicat_details; - this.applicants = this.applicants.filter(function (appt) { return appt.applicant_type != 2; }); - this.applicants.push({ 'pd_co_applicant_id': '0', 'applicant_name': 'Others' }); - this.users = this.aws.getlocale(); - this.step = 0; - this.bankingForm = this.fb.group({ - itemRows: this.fb.array([]), - banking_form_remark: [''], - }); - this.salaryField = this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? false : true; - this.getdropdown(); - this.retiveBankDetails(); - } - PdQuestionBusinessBankingPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionBusinessBankingPage'); - }; - PdQuestionBusinessBankingPage.prototype.getdropdown = function () { - var _this = this; - this.qustCat.getcommondrop('ACCOUNTTYPE').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.accountType = res['records']; - } - }); - this.qustCat.getcommondrop('BTLENDERLIST').subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.m_btLenderList = data['records'].filter(function (data) { return data.isactive == 1; }); - } - }); - this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.existCompanyList = data['records'].filter(function (val) { return val.is_active === true && val.is_company_applicant === true; }); - } - var modifyCompanyList = []; - if (_this.existCompanyList.length > 0) { - modifyCompanyList = _this.existCompanyList.map(function (element) { - return { id: element.company_order_id.toString(), name: element.company_name, group_id: 1 }; - }); - _this.mergeCompanyApplicant.push({ groupName: 'COMPANIES', groupValues: modifyCompanyList }); - } - }); - var modifyApplicantList = []; - if (this.applicants.length > 0) { - modifyApplicantList = this.applicants.map(function (element) { - return { id: element.pd_co_applicant_id, name: element.applicant_name, group_id: 2 }; - }); - this.mergeCompanyApplicant.push({ groupName: 'APPLICANTS', groupValues: modifyApplicantList }); - // this.listOfLanguagues.splice(this.listOfLanguagues.indexOf(languague), 1); - } - }; - PdQuestionBusinessBankingPage.prototype.compareObjects = function (o1, o2) { - if (o1.id == o2.id && o1.group_id == o2.group_id) - return true; - else - return false; - }; - PdQuestionBusinessBankingPage.prototype.checkOthers = function (values) { - if (values != null) { - return values.id == 0 ? true : false; - } - else { - return false; - } - }; - PdQuestionBusinessBankingPage.prototype.selectedAccTypeChanges = function (event, i) { - if (event == 2 || event == 1) { - this.limitCaseFlag[i] = false; - // const control = this.bankingForm.controls['itemRows']; - // control.controls[0].get('limit').clearValidators(); - // control.controls[0].get('limit').updateValueAndValidity(); - } - else { - this.limitCaseFlag[i] = true; - } - }; - /** To Convert Month into Year */ - PdQuestionBusinessBankingPage.prototype.ConvertMonthintoYear = function (itemrow, e) { - var year = itemrow.controls.vintage_year.value; - var converted_month = e % 12; - var converted_year = e / 12; - itemrow.controls.vintage_year.setValue(+year + +Math.floor(converted_year)); - itemrow.controls.vintage_month.setValue(Math.floor(converted_month)); - }; - /** Amount InWords */ - PdQuestionBusinessBankingPage.prototype.inWords = function (e, i, flag) { - switch (flag) { - case 1: - this.amtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - case 2: - this.emiAmtInwords[i] = this.cons.convertNumberToWords(e.target.value); - break; - default: - break; - } - }; - PdQuestionBusinessBankingPage.prototype.setRequiredValidation = function (value, item, flag) { - if (flag == 1) { - value == 0 - ? item.controls.other_applicant.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]) - : item.controls.other_applicant.clearValidators(); - item.controls.other_applicant.updateValueAndValidity(); - } - if (flag == 2) { - value == 1 - ? item.controls.other_bank.setValidators([__WEBPACK_IMPORTED_MODULE_2__angular_forms__["m" /* Validators */].required]) - : item.controls.other_bank.clearValidators(); - item.controls.other_bank.updateValueAndValidity(); - } - }; - PdQuestionBusinessBankingPage.prototype.createBankItem = function (name) { - return this.fb.group({ - applicant_name: [''], - bank_name: [''], - account_type: [''], - salary: this.pdDetails.customer_segment_abbr.substring(0, 2) == 'SE' ? [''] : [''], - limit: [''], - other_bank: [''], - other_applicant: [''], - is_main: [''], - vintage_year: [''], - vintage_month: [''], - }); - }; - PdQuestionBusinessBankingPage.prototype.addBankDetails = function (index, event) { - // if(this.pd.valid){ - // if(this.items.length !=0) - // { - // this.neighbourAccess = true; - // } - event.stopPropagation(); - var control = this.bankingForm.controls['itemRows']; - var length = control.length; - this.step = length; - control.push(this.createBankItem('')); - }; - PdQuestionBusinessBankingPage.prototype.addmoreBankDetils = function () { - this.itemRows = this.bankingForm.get('itemRows'); - this.itemRows.push(this.createBankItem('')); - }; - PdQuestionBusinessBankingPage.prototype.removebank = function (i) { - var control = this.bankingForm.controls['itemRows']; - if (control.length == 1) { - control.reset(); - } - else - control.removeAt(i); - }; - PdQuestionBusinessBankingPage.prototype.setStep = function (index) { - this.step = index; - }; - PdQuestionBusinessBankingPage.prototype.retiveBankDetails = function () { - var _this = this; - var records = { 'pd_id': this.pdDetails.pd_id, 'pd_form_id': this.form_id, 'company_id': this.company_id }; - var control = this.bankingForm.controls['itemRows']; - this.qustCat.retiverForm(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - var result = Object.keys(res['records'].banking_details).map(function (key) { - return res['records'].banking_details[key]; - }); - _this.bankingForm.controls.banking_form_remark.setValue(res['records'].banking_form_remark); - if (result.length == 0) { - control.push(_this.createBankItem('')); - } - else { - result.forEach(function (datas, index) { - _this.selectedAccTypeChanges(datas.account_type, index); - if (datas.limit != '') { - _this.amtInwords[index] = _this.cons.convertNumberToWords(+datas.limit); - } - _this.selectedAccTypeChanges(datas.account_type, index); - control.push(_this.createBankItem('')); - }); - _this.bankingForm.controls['itemRows'].setValue(result); - } - } - else { - control.push(_this.createBankItem('')); - } - }); - }; - PdQuestionBusinessBankingPage.prototype.savepdBank = function (answerData) { - var _this = this; - var records = {}; - records.pdid = this.pdDetails.pd_id; - records.formid = this.form_id; - records.fk_createdby = this.users; - records.company_id = this.company_id; - records.banking_details = answerData.itemRows; - records.banking_form_remark = answerData.banking_form_remark; - this.qustCat.saveForm(records).subscribe(function (data) { - if (data['dataStatus'] == true) { - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - setTimeout(function () { - _this.navCtrl.pop(); - }, 2000); - } - else { - _this.toast.pdTriggerappmessage("Sorry!! Something Went Wrong"); - } - }); - }; - PdQuestionBusinessBankingPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-business-banking',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-banking\pd-question-business-banking.html"*/'\n\n\n\n\n\n \n\n {{formDetails.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
Banking details {{i+1}}
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n {{val.name}} \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{ btLen.lender_name }}\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n {{bankacc.name}}\n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n Yes\n\n No\n\n \n\n \n\n
\n\n \n\n \n\n \n\n Yes\n\n No\n\n NA\n\n \n\n \n\n \n\n
\n\n \n\n
\n\n Limit In case of OD / CC account, What is the Limit \n\n \n\n \n\n {{"₹"}} {{amtInwords[i]}} Only\n\n \n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business-group\pd-question-business-banking\pd-question-business-banking.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdQuestionBusinessBankingPage); - return PdQuestionBusinessBankingPage; -}()); - -//# sourceMappingURL=pd-question-business-banking.js.map - -/***/ }), - -/***/ 391: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdGeneralImagesPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_common_provider_camera__ = __webpack_require__(199); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - -/** - * Generated class for the PdGeneralImagesPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdGeneralImagesPage = (function () { - function PdGeneralImagesPage(navCtrl, navParams, camera, qustCat, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.camera = camera; - this.qustCat = qustCat; - this.toast = toast; - this.cameraArr = []; - this.count = 0; - this.saveAccess = false; - this.FormId = ''; - this.applicatentDetails = this.navParams.get('pdDetails'); - this.FormId = this.navParams.get('FormId'); - } - PdGeneralImagesPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdGeneralImagesPage'); - }; - PdGeneralImagesPage.prototype.takePicture = function () { - var _this = this; - this.camera.getpicture().then(function (image) { - _this.count = _this.count + 1; - _this.cameraArr.push({ 'image': image, 'name': '' }); - }); - }; - PdGeneralImagesPage.prototype.removeimage = function (i) { - this.count = this.count - 1; - this.cameraArr.splice(i, 1); - }; - PdGeneralImagesPage.prototype.docnames = function (doc, i, img) { - this.cameraArr[i] = { 'image': img, 'Name': doc }; - // console.log(JSON.stringify(this.pddocdata)); - }; - PdGeneralImagesPage.prototype.savePDImages = function () { - var _this = this; - this.saveAccess = true; - var records = { 'pd_id': this.applicatentDetails.pd_id, 'formid': '' }; - records.images = this.cameraArr; - this.qustCat.savePDImages(records).subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.saveAccess = false; - _this.navCtrl.pop(); - _this.toast.pdTriggerappmessage('Record Saved Successfully.!'); - } - }); - }; - PdGeneralImagesPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-general-images',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-general-images\pd-general-images.html"*/'\n\n \n\n \n\n {{applicatentDetails.lender_full_name}} - {{applicatentDetails.lender_applicant_id}}\n\n \n\n \n\n\n\n\n\n\n\n \n\n \n\n \n\n\n\n \n\n General Images\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n \n\n
\n\n \n\n \n\n
\n\n
\n\n {{img.Name}}\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-general-images\pd-general-images.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], PdGeneralImagesPage); - return PdGeneralImagesPage; -}()); - -//# sourceMappingURL=pd-general-images.js.map - -/***/ }), - -/***/ 392: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return BouncedRejectPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pd_list_pd_list__ = __webpack_require__(76); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__ = __webpack_require__(9); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - -/** - * Generated class for the BouncedRejectPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var BouncedRejectPage = (function () { - function BouncedRejectPage(navCtrl, navParams, viewCtrl, aws, pdservice, qustCat, fb, toast) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.viewCtrl = viewCtrl; - this.aws = aws; - this.pdservice = pdservice; - this.qustCat = qustCat; - this.fb = fb; - this.toast = toast; - this.bounce_reason_others = ''; - // this.pdDetails = this.navParams.get('appdetails'); - // this.status = this.navParams.get('status'); - this.pdDetails = this.navParams.get('details'); - // console.log(this.pdDetails) - this.users = this.aws.getlocale(); - this.getDropdown(); - } - BouncedRejectPage.prototype.getDropdown = function () { - var _this = this; - this.qustCat.getcommondrop('BOUNCEMASTER').subscribe(function (res) { - if (res['dataStatus'] == true) { - _this.bounseMaster = res['records'].filter(function (bouns) { return bouns.isactive == 1; }); - console.log(_this.bounseMaster); - } - }); - }; - BouncedRejectPage.prototype.updatePDStatus = function () { - var _this = this; - if (this.bounce_reason != null && this.bounce_reason != 1) { - var data = { 'pd_id': this.pdDetails.pd_id, 'pd_status': this.pdDetails.pd_status, 'fk_updatedby': this.users, 'bounce_reason': this.bounce_reason, 'bounce_reason_others': this.bounce_reason_others }; - // console.log(this.bounce_reason) - // console.log(this.bounce_reason_others); - console.log(data); - this.toast.pdTriggerappmessage("Thank You"); - this.pdservice.updatepdStatus(data).subscribe(function (res) { - // this.updateStatus = res; - if (res['dataStatus'] == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_6__pd_list_pd_list__["a" /* PdListPage */]); - } - }); - } - else if (this.bounce_reason == 1 && this.bounce_reason_others != '' && this.bounce_reason_others != null) { - var data = { 'pd_id': this.pdDetails.pd_id, 'pd_status': this.pdDetails.pd_status, 'fk_updatedby': this.users, 'bounce_reason': this.bounce_reason, 'bounce_reason_others': this.bounce_reason_others }; - // console.log(this.bounce_reason) - // console.log(this.bounce_reason_others); - console.log(data); - this.toast.pdTriggerappmessage("Thank You"); - this.pdservice.updatepdStatus(data).subscribe(function (res) { - // this.updateStatus = res; - if (res['dataStatus'] == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_6__pd_list_pd_list__["a" /* PdListPage */]); - } - }); - } - else { - this.toast.pdTriggerappmessage("Please Choose the Reason to Reject"); - } - }; - BouncedRejectPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-bounced-reject',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\input\bounced-reject\bounced-reject.html"*/'\n\n \n\n \n\n Bounced Reject Reason\n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n Reason to Reject\n\n \n\n \n\n {{bouns.bounce_reason_name}}\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\input\bounced-reject\bounced-reject.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["y" /* ViewController */], - __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], - __WEBPACK_IMPORTED_MODULE_4__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_5__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_7__providers_common_provider_toast__["a" /* ToastProvider */]]) - ], BouncedRejectPage); - return BouncedRejectPage; -}()); - -//# sourceMappingURL=bounced-reject.js.map - -/***/ }), - -/***/ 393: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DatabaseProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_sqlite__ = __webpack_require__(394); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the DatabaseProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var DatabaseProvider = (function () { - function DatabaseProvider(http, sql) { - this.http = http; - this.sql = sql; - console.log('Hello DatabaseProvider Provider'); - this.createnewdb(); - } - DatabaseProvider.prototype.createnewdb = function () { - var _this = this; - // alert('function in'); - this.sql.create({ - name: 'sinnedge', - location: 'defalut', - }).then(function (db) { - db.executeSql('CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)').then(function (res) { - // alert('db create'); - _this.getuserDetails(); - }) - .catch(function (e) { return console.log(e); }); - }); - }; - DatabaseProvider.prototype.getuserDetails = function () { - // alert('getusers'); - this.sql.create({ - name: 'sineedge', - location: 'default', - }).then(function (db) { - db.executeSql('select * from expense ORDER BY rowid DESC').then(function (res) { - console.log(res); - }); - }); - }; - DatabaseProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_sqlite__["a" /* SQLite */]]) - ], DatabaseProvider); - return DatabaseProvider; -}()); - -//# sourceMappingURL=database.js.map - -/***/ }), - -/***/ 395: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PasswordPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__ = __webpack_require__(76); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - -/** - * Generated class for the PasswordPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PasswordPage = (function () { - function PasswordPage(navCtrl, navParams, aws, toast, commonconstant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.toast = toast; - this.commonconstant = commonconstant; - this.commonImage = this.commonconstant.commonimage; - this.Username = this.navParams.get('Username'); - this.Password = this.navParams.get('Password'); - } - PasswordPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PasswordPage'); - }; - PasswordPage.prototype.setNewPassword = function (newpass) { - var _this = this; - if (newpass != '' && newpass != null && newpass !== undefined) { - var auth = { 'Username': this.Username, 'Password': this.Password, 'newpassword': newpass }; - console.log(auth); - this.aws.dologin(auth).subscribe(function (res) { - console.log(res); - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); - // this.router.navigate(['/home']); - }, function (err) { - _this.toast.pdTriggerappmessage(err.message); - // alert(err.message); - }); - } - else { - this.toast.pdTriggerappmessage('Enter the new Password'); - } - }; - PasswordPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-password',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\password\password.html"*/'\n\n\n\n\n\n \n\n password\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

New Password

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\password\password.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], PasswordPage); - return PasswordPage; -}()); - -//# sourceMappingURL=password.js.map - -/***/ }), - -/***/ 396: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__ = __webpack_require__(76); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__ = __webpack_require__(69); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__ionic_native_fingerprint_aio__ = __webpack_require__(397); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__ = __webpack_require__(398); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__providers_constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - -/** - * Generated class for the AuthPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var AuthPage = (function () { - function AuthPage(navCtrl, navParams, Menu, fb, shared, toast, faio, aws, loadingCtrl, commonconstant) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.Menu = Menu; - this.fb = fb; - this.shared = shared; - this.toast = toast; - this.faio = faio; - this.aws = aws; - this.loadingCtrl = loadingCtrl; - this.commonconstant = commonconstant; - this.mpinaccess = false; - this.commonImage = this.commonconstant.commonimage; - this.shared.refresh(); - this.getuserDetails(); - } - AuthPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad AuthPage'); - }; - AuthPage.prototype.ionViewDidEnter = function () { - this.Menu.enable(false); - }; - AuthPage.prototype.ionViewWillLeave = function () { - this.Menu.enable(true); - }; - AuthPage.prototype.getuserDetails = function () { - var _this = this; - this.loadingCtrl.pdloader('loading...'); - var userid = this.aws.getlocale(); - this.aws.getuserprofile(userid).subscribe(function (res) { - _this.userDetails = res; - if (_this.userDetails.dataStatus == true) { - _this.loadingCtrl.loading.dismiss(); - _this.userDetails = _this.userDetails.records; - if (_this.userDetails[0].role_name == "PD Executive" || _this.userDetails[0].role_name == "PD Officer") { - //localStorage.setItem('userDetails',JSON.stringify(this.userDetails[0])); - if (_this.userDetails[0].mpin == null) { - _this.mpinaccess = true; - } - else { - _this.mpinaccess = false; - } - } - else { - _this.toast.pdTriggerappmessage('This App only for PD Officers'); - localStorage.clear(); - } - } - else { - _this.toast.pdTriggerappmessage(''); - } - //console.log(this.mpinaccess); - }); - }; - AuthPage.prototype.setnewpin = function (newpin) { - var _this = this; - console.log("set Pin"); - this.aws.userpinupdate(newpin).subscribe(function (res) { - _this.newpindetails = res; - if (_this.newpindetails.dataStatus == true) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); - } - }); - }; - /**Finger print */ - AuthPage.prototype.checkpin = function (pin) { - console.log("Check pin", pin); - if (pin != '' && pin != null) { - if (this.userDetails[0].mpin == pin) { - console.log("Entering List page"); - this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); - } - else { - this.toast.pdTriggerappmessage('Enter The Correct PIN'); - } - } - else { - this.toast.pdTriggerappmessage('Enter The PIN'); - } - }; - AuthPage.prototype.checkfingerprint = function () { - var _this = this; - console.log("Check Finger"); - this.faio.show({ - clientId: 'Fingerprint-Demo', - clientSecret: 'password', - localizedFallbackTitle: 'Use Pin', - localizedReason: 'Please authenticate', - disableBackup: true, - }) - .then(function (result) { - _this.navCtrl.setRoot(__WEBPACK_IMPORTED_MODULE_3__pd_list_pd_list__["a" /* PdListPage */]); - }) - .catch(function (error) { - _this.toast.pdTriggerappmessage('err: ' + error); - }); - }; - AuthPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-auth',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\auth\auth.html"*/'\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

PIN

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n\n\n \n\n \n\n \n\n \n\n \n\n Circle Image\n\n \n\n \n\n \n\n \n\n \n\n

PIN

\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\auth\auth.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["o" /* MenuController */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */], __WEBPACK_IMPORTED_MODULE_4__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_common_provider_toast__["a" /* ToastProvider */], __WEBPACK_IMPORTED_MODULE_6__ionic_native_fingerprint_aio__["a" /* FingerprintAIO */], __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_9__providers_constants_constants__["a" /* ConstantsProvider */]]) - ], AuthPage); - return AuthPage; -}()); - -//# sourceMappingURL=auth.js.map - -/***/ }), - -/***/ 398: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return LoadingProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(5); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the LoadingProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var LoadingProvider = (function () { - function LoadingProvider(http, loadingCtrl) { - this.http = http; - this.loadingCtrl = loadingCtrl; - console.log('Hello LoadingProvider Provider'); - } - LoadingProvider.prototype.pdloader = function (content) { - this.loading = this.loadingCtrl.create({ - content: content - }); - this.loading.present(); - }; - LoadingProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["n" /* LoadingController */]]) - ], LoadingProvider); - return LoadingProvider; -}()); - -//# sourceMappingURL=loading.js.map - -/***/ }), - -/***/ 401: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(402); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(531); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_core__ = __webpack_require__(0); - - - -Object(__WEBPACK_IMPORTED_MODULE_2__angular_core__["_15" /* enableProdMode */])(); -Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]); -//# sourceMappingURL=main.js.map - -/***/ }), - -/***/ 531: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__(45); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__(570); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(187); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__ = __webpack_require__(332); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__angular_platform_browser_animations__ = __webpack_require__(671); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ionic_native_sqlite__ = __webpack_require__(394); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_database_database__ = __webpack_require__(393); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__ = __webpack_require__(124); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__angular_material__ = __webpack_require__(349); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__angular_common_http__ = __webpack_require__(47); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__providers_guard_auth_guard__ = __webpack_require__(673); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__providers_guard_token_interceptor__ = __webpack_require__(674); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__providers_aws_service_cognito_service__ = __webpack_require__(69); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__providers_constants_constants__ = __webpack_require__(22); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__pages_auth_auth__ = __webpack_require__(396); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__pages_login_login__ = __webpack_require__(333); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__pages_pd_list_pd_list__ = __webpack_require__(76); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__pages_pd_question_category_pd_question_category__ = __webpack_require__(123); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__pages_pd_question_pd_question__ = __webpack_require__(360); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__pages_googleplaytab_googleplaytab__ = __webpack_require__(675); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__pages_password_password__ = __webpack_require__(395); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__pages_pd_allocation_pd_allocation__ = __webpack_require__(676); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__pages_input_input__ = __webpack_require__(358); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__providers_common_provider_toast__ = __webpack_require__(9); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__ionic_native_fingerprint_aio__ = __webpack_require__(397); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__ionic_native_launch_navigator__ = __webpack_require__(359); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__pages_otp_otp__ = __webpack_require__(198); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__angular_forms__ = __webpack_require__(4); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33_ionic_img_viewer__ = __webpack_require__(677); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__providers_common_provider_camera__ = __webpack_require__(199); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__providers_common_provider_loading__ = __webpack_require__(398); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__ionic_native_camera__ = __webpack_require__(361); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__pages_pd_question_pd_question_address_pd_question_address__ = __webpack_require__(362); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__pages_pd_question_pd_question_assests_pd_question_assests__ = __webpack_require__(368); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_banking_pd_question_banking__ = __webpack_require__(366); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_current_loans_pd_question_current_loans__ = __webpack_require__(364); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_emp_info_pd_question_emp_info__ = __webpack_require__(363); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_family_pd_question_family__ = __webpack_require__(367); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_loans_pd_question_loans__ = __webpack_require__(365); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__ = __webpack_require__(202); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_other_income_pd_question_other_income__ = __webpack_require__(369); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__ = __webpack_require__(200); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__ionic_native_geolocation__ = __webpack_require__(204); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48__pages_pd_question_pd_question_personal_info_pd_question_personal_info__ = __webpack_require__(370); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__ = __webpack_require__(201); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__ = __webpack_require__(203); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__ = __webpack_require__(387); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_rental_info_pd_question_rental_info__ = __webpack_require__(371); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__ = __webpack_require__(373); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__ = __webpack_require__(375); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__ = __webpack_require__(374); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__ = __webpack_require__(378); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__ = __webpack_require__(376); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__ = __webpack_require__(372); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_59__pages_input_bounced_reject_bounced_reject__ = __webpack_require__(392); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_60__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__ = __webpack_require__(377); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_61__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__ = __webpack_require__(380); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_general_info_pd_question_general_info__ = __webpack_require__(381); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__ = __webpack_require__(382); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__ = __webpack_require__(384); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_final_remark_pd_question_final_remark__ = __webpack_require__(385); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_business_pd_question_business__ = __webpack_require__(684); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_business_group_pd_question_business_group__ = __webpack_require__(386); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__ = __webpack_require__(388); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__ = __webpack_require__(389); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_70__pipes_pd_pd__ = __webpack_require__(383); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_71__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__ = __webpack_require__(379); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_72__pages_pd_general_images_pd_general_images__ = __webpack_require__(391); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_73__pages_pd_question_pd_question_salary_info_pd_question_salary_info__ = __webpack_require__(685); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_74__ionic_native_location_accuracy__ = __webpack_require__(390); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// import { DatePicker } from '@ionic-native/date-picker'; - - - - - - - - - - - - - - - - - - - - - - - - -var AppModule = (function () { - function AppModule() { - } - AppModule = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["J" /* NgModule */])({ - declarations: [ - __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], - __WEBPACK_IMPORTED_MODULE_17__pages_auth_auth__["a" /* AuthPage */], - __WEBPACK_IMPORTED_MODULE_18__pages_login_login__["a" /* LoginPage */], - __WEBPACK_IMPORTED_MODULE_19__pages_pd_list_pd_list__["a" /* PdListPage */], - __WEBPACK_IMPORTED_MODULE_20__pages_pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], - __WEBPACK_IMPORTED_MODULE_21__pages_pd_question_pd_question__["a" /* PdQuestionPage */], - __WEBPACK_IMPORTED_MODULE_22__pages_googleplaytab_googleplaytab__["a" /* GoogleplaytabPage */], - __WEBPACK_IMPORTED_MODULE_23__pages_password_password__["a" /* PasswordPage */], - __WEBPACK_IMPORTED_MODULE_24__pages_pd_allocation_pd_allocation__["a" /* PdAllocationPage */], - __WEBPACK_IMPORTED_MODULE_25__pages_input_input__["a" /* InputPage */], - __WEBPACK_IMPORTED_MODULE_30__pages_otp_otp__["a" /* OtpPage */], - __WEBPACK_IMPORTED_MODULE_37__pages_pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], - __WEBPACK_IMPORTED_MODULE_38__pages_pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], - __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], - __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], - __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], - __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], - __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], - __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], - __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], - __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], - __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], - __WEBPACK_IMPORTED_MODULE_48__pages_pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], - __WEBPACK_IMPORTED_MODULE_49__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], - __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], - __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_rental_info_pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], - __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], - __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], - __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], - __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], - __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], - __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], - __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], - __WEBPACK_IMPORTED_MODULE_59__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], - __WEBPACK_IMPORTED_MODULE_60__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], - __WEBPACK_IMPORTED_MODULE_61__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], - __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], - __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */], - __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], - __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], - __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_business_pd_question_business__["a" /* PdQuestionBusinessPage */], - __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], - __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], - __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], - __WEBPACK_IMPORTED_MODULE_71__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], - __WEBPACK_IMPORTED_MODULE_72__pages_pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], - __WEBPACK_IMPORTED_MODULE_73__pages_pd_question_pd_question_salary_info_pd_question_salary_info__["a" /* PdQuestionSalaryInfoPage */], - ], - imports: [ - __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */], __WEBPACK_IMPORTED_MODULE_32__angular_forms__["l" /* ReactiveFormsModule */], __WEBPACK_IMPORTED_MODULE_32__angular_forms__["g" /* FormsModule */], - __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["m" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], {}, { - links: [] - }), - __WEBPACK_IMPORTED_MODULE_6__angular_platform_browser_animations__["a" /* BrowserAnimationsModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["a" /* MatAutocompleteModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["b" /* MatButtonModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["c" /* MatButtonToggleModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["d" /* MatCardModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["e" /* MatCheckboxModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["f" /* MatChipsModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["g" /* MatDatepickerModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["i" /* MatDialogModule */], __WEBPACK_IMPORTED_MODULE_10__angular_material__["n" /* MatListModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["j" /* MatExpansionModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["k" /* MatGridListModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["l" /* MatIconModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["m" /* MatInputModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["n" /* MatListModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["o" /* MatMenuModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["p" /* MatNativeDateModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["q" /* MatPaginatorModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["r" /* MatProgressBarModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["s" /* MatProgressSpinnerModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["t" /* MatRadioModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["u" /* MatRippleModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["v" /* MatSelectModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["w" /* MatSidenavModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["y" /* MatSliderModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["x" /* MatSlideToggleModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["z" /* MatSnackBarModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["A" /* MatSortModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["C" /* MatTableModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["D" /* MatTabsModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["E" /* MatToolbarModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["F" /* MatTooltipModule */], - __WEBPACK_IMPORTED_MODULE_10__angular_material__["B" /* MatStepperModule */], __WEBPACK_IMPORTED_MODULE_12__angular_common_http__["c" /* HttpClientModule */], __WEBPACK_IMPORTED_MODULE_33_ionic_img_viewer__["a" /* IonicImageViewerModule */] - ], - bootstrap: [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["k" /* IonicApp */]], - entryComponents: [ - __WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* MyApp */], - __WEBPACK_IMPORTED_MODULE_17__pages_auth_auth__["a" /* AuthPage */], - __WEBPACK_IMPORTED_MODULE_18__pages_login_login__["a" /* LoginPage */], - __WEBPACK_IMPORTED_MODULE_19__pages_pd_list_pd_list__["a" /* PdListPage */], - __WEBPACK_IMPORTED_MODULE_20__pages_pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], - __WEBPACK_IMPORTED_MODULE_21__pages_pd_question_pd_question__["a" /* PdQuestionPage */], - __WEBPACK_IMPORTED_MODULE_22__pages_googleplaytab_googleplaytab__["a" /* GoogleplaytabPage */], - __WEBPACK_IMPORTED_MODULE_23__pages_password_password__["a" /* PasswordPage */], - __WEBPACK_IMPORTED_MODULE_24__pages_pd_allocation_pd_allocation__["a" /* PdAllocationPage */], - __WEBPACK_IMPORTED_MODULE_25__pages_input_input__["a" /* InputPage */], - __WEBPACK_IMPORTED_MODULE_30__pages_otp_otp__["a" /* OtpPage */], - __WEBPACK_IMPORTED_MODULE_37__pages_pd_question_pd_question_address_pd_question_address__["a" /* PdQuestionAddressPage */], - __WEBPACK_IMPORTED_MODULE_38__pages_pd_question_pd_question_assests_pd_question_assests__["a" /* PdQuestionAssestsPage */], - __WEBPACK_IMPORTED_MODULE_39__pages_pd_question_pd_question_banking_pd_question_banking__["a" /* PdQuestionBankingPage */], - __WEBPACK_IMPORTED_MODULE_40__pages_pd_question_pd_question_current_loans_pd_question_current_loans__["a" /* PdQuestionCurrentLoansPage */], - __WEBPACK_IMPORTED_MODULE_41__pages_pd_question_pd_question_emp_info_pd_question_emp_info__["a" /* PdQuestionEmpInfoPage */], - __WEBPACK_IMPORTED_MODULE_42__pages_pd_question_pd_question_family_pd_question_family__["a" /* PdQuestionFamilyPage */], - __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], - __WEBPACK_IMPORTED_MODULE_43__pages_pd_question_pd_question_loans_pd_question_loans__["a" /* PdQuestionLoansPage */], - __WEBPACK_IMPORTED_MODULE_44__pages_pd_question_pd_question_business_group_pd_question_financial_info_pd_question_financial_info__["a" /* PdQuestionFinancialInfoPage */], - __WEBPACK_IMPORTED_MODULE_45__pages_pd_question_pd_question_other_income_pd_question_other_income__["a" /* PdQuestionOtherIncomePage */], - __WEBPACK_IMPORTED_MODULE_46__pages_pd_question_pd_question_business_group_pd_question_supplier_info_pd_question_supplier_info__["a" /* PdQuestionSupplierInfoPage */], - __WEBPACK_IMPORTED_MODULE_48__pages_pd_question_pd_question_personal_info_pd_question_personal_info__["a" /* PdQuestionPersonalInfoPage */], - __WEBPACK_IMPORTED_MODULE_49__pages_pd_question_pd_question_business_group_pd_question_stock_info_pd_question_stock_info__["a" /* PdQuestionStockInfoPage */], - __WEBPACK_IMPORTED_MODULE_50__pages_pd_question_pd_question_business_group_pd_question_client_info_pd_question_client_info__["a" /* PdQuestionClientInfoPage */], - __WEBPACK_IMPORTED_MODULE_52__pages_pd_question_pd_question_rental_info_pd_question_rental_info__["a" /* PdQuestionRentalInfoPage */], - __WEBPACK_IMPORTED_MODULE_53__pages_pd_question_pd_question_assessed_info_pd_question_assessed_info__["a" /* PdQuestionAssessedInfoPage */], - __WEBPACK_IMPORTED_MODULE_54__pages_pd_question_pd_question_assessed_daily_sales_pd_question_assessed_daily_sales__["a" /* PdQuestionAssessedDailySalesPage */], - __WEBPACK_IMPORTED_MODULE_55__pages_pd_question_pd_question_assessed_sales_pd_question_assessed_sales__["a" /* PdQuestionAssessedSalesPage */], - __WEBPACK_IMPORTED_MODULE_51__pages_pd_question_pd_question_business_group_pd_question_business_info_pd_question_business_info__["a" /* PdQuestionBusinessInfoPage */], - __WEBPACK_IMPORTED_MODULE_56__pages_pd_question_pd_question_assessed_household_pd_question_assessed_household__["a" /* PdQuestionAssessedHouseholdPage */], - __WEBPACK_IMPORTED_MODULE_57__pages_pd_question_pd_question_assessed_purchase_pd_question_assessed_purchase__["a" /* PdQuestionAssessedPurchasePage */], - __WEBPACK_IMPORTED_MODULE_58__pages_pd_question_pd_question_assessed_dash_pd_question_assessed_dash__["a" /* PdQuestionAssessedDashPage */], - __WEBPACK_IMPORTED_MODULE_59__pages_input_bounced_reject_bounced_reject__["a" /* BouncedRejectPage */], - __WEBPACK_IMPORTED_MODULE_60__pages_pd_question_pd_question_assessed_business_pd_question_assessed_business__["a" /* PdQuestionAssessedBusinessPage */], - __WEBPACK_IMPORTED_MODULE_61__pages_pd_question_pd_question_lender_representative_pd_question_lender_representative__["a" /* PdQuestionLenderRepresentativePage */], - __WEBPACK_IMPORTED_MODULE_62__pages_pd_question_pd_question_general_info_pd_question_general_info__["a" /* PdQuestionGeneralInfoPage */], - __WEBPACK_IMPORTED_MODULE_63__pages_pd_question_pd_question_general_info_pd_question_general_other_applicant_pd_question_general_other_applicant__["a" /* PdQuestionGeneralOtherApplicantPage */], - __WEBPACK_IMPORTED_MODULE_64__pages_pd_question_pd_question_neighbour_hood_pd_question_neighbour_hood__["a" /* PdQuestionNeighbourHoodPage */], - __WEBPACK_IMPORTED_MODULE_65__pages_pd_question_pd_question_final_remark_pd_question_final_remark__["a" /* PdQuestionFinalRemarkPage */], - __WEBPACK_IMPORTED_MODULE_66__pages_pd_question_pd_question_business_pd_question_business__["a" /* PdQuestionBusinessPage */], - __WEBPACK_IMPORTED_MODULE_67__pages_pd_question_pd_question_business_group_pd_question_business_group__["a" /* PdQuestionBusinessGroupPage */], - __WEBPACK_IMPORTED_MODULE_68__pages_pd_question_pd_question_business_group_pd_question_business_assets_pd_question_business_assets__["a" /* PdQuestionBusinessAssetsPage */], - __WEBPACK_IMPORTED_MODULE_69__pages_pd_question_pd_question_business_group_pd_question_business_banking_pd_question_business_banking__["a" /* PdQuestionBusinessBankingPage */], - __WEBPACK_IMPORTED_MODULE_71__pages_pd_question_pd_question_assessed_business_income_pd_question_assessed_business_income__["a" /* PdQuestionAssessedBusinessIncomePage */], - __WEBPACK_IMPORTED_MODULE_72__pages_pd_general_images_pd_general_images__["a" /* PdGeneralImagesPage */], - __WEBPACK_IMPORTED_MODULE_73__pages_pd_question_pd_question_salary_info_pd_question_salary_info__["a" /* PdQuestionSalaryInfoPage */], - ], - providers: [ - __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_11__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_13__providers_guard_auth_guard__["a" /* AuthGuard */], __WEBPACK_IMPORTED_MODULE_14__providers_guard_token_interceptor__["a" /* TokenInterceptor */], __WEBPACK_IMPORTED_MODULE_26__providers_common_provider_toast__["a" /* ToastProvider */], - __WEBPACK_IMPORTED_MODULE_16__providers_constants_constants__["a" /* ConstantsProvider */], __WEBPACK_IMPORTED_MODULE_15__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__["a" /* SplashScreen */], __WEBPACK_IMPORTED_MODULE_27__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_28__ionic_native_fingerprint_aio__["a" /* FingerprintAIO */], __WEBPACK_IMPORTED_MODULE_7__ionic_native_sqlite__["a" /* SQLite */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__["a" /* AndroidPermissions */], - { - provide: __WEBPACK_IMPORTED_MODULE_12__angular_common_http__["a" /* HTTP_INTERCEPTORS */], - useClass: __WEBPACK_IMPORTED_MODULE_14__providers_guard_token_interceptor__["a" /* TokenInterceptor */], - multi: true - }, - { - provide: __WEBPACK_IMPORTED_MODULE_1__angular_core__["v" /* ErrorHandler */], - useClass: __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["l" /* IonicErrorHandler */] - }, __WEBPACK_IMPORTED_MODULE_29__ionic_native_launch_navigator__["a" /* LaunchNavigator */], - __WEBPACK_IMPORTED_MODULE_11__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_31__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], - __WEBPACK_IMPORTED_MODULE_34__providers_common_provider_camera__["a" /* CameraProvider */], __WEBPACK_IMPORTED_MODULE_36__ionic_native_camera__["a" /* Camera */], - __WEBPACK_IMPORTED_MODULE_70__pipes_pd_pd__["a" /* PdPipe */], __WEBPACK_IMPORTED_MODULE_74__ionic_native_location_accuracy__["a" /* LocationAccuracy */], - __WEBPACK_IMPORTED_MODULE_35__providers_common_provider_loading__["a" /* LoadingProvider */], __WEBPACK_IMPORTED_MODULE_47__ionic_native_geolocation__["a" /* Geolocation */], - __WEBPACK_IMPORTED_MODULE_8__providers_database_database__["a" /* DatabaseProvider */] - ] - }) - ], AppModule); - return AppModule; -}()); - -//# sourceMappingURL=app.module.js.map - -/***/ }), - -/***/ 570: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__ = __webpack_require__(187); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__ = __webpack_require__(332); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__pages_login_login__ = __webpack_require__(333); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__pages_pd_list_pd_list__ = __webpack_require__(76); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_cognito_service__ = __webpack_require__(69); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pages_auth_auth__ = __webpack_require__(396); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - -// import { AndroidPermissions } from '@ionic-native/android-permissions'; -var MyApp = (function () { - function MyApp(platform, statusBar, splashScreen, aws, shared, AWS, alertCtrl) { - var _this = this; - this.platform = platform; - this.statusBar = statusBar; - this.splashScreen = splashScreen; - this.aws = aws; - this.shared = shared; - this.AWS = AWS; - this.alertCtrl = alertCtrl; - this.userAccess = false; - this.rootPage = __WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]; - this.initializeApp(); - // used for an example of ngFor and navigation - this.pages = [ - // { title: 'Home', component: HomePage, icon: 'home' }, - { title: 'Home', icon: 'home', method: function () { return _this.menulist(1); } }, - { title: 'Logout', icon: 'md-exit', method: function () { return _this.menulist(2); } } - ]; - } - MyApp.prototype.initializeApp = function () { - var _this = this; - this.platform.ready().then(function () { - // Okay, so the platform is ready and our plugins are available. - // Here you can do any higher level native things you might need. - _this.statusBar.styleDefault(); - if (_this.platform.is('android')) { - _this.statusBar.overlaysWebView(false); - _this.statusBar.backgroundColorByHexString('#db4437'); - } - _this.splashScreen.hide(); - _this.shared.getAccessToken().then(function () { - _this.getuserDetails(); - _this.rootPage = __WEBPACK_IMPORTED_MODULE_8__pages_auth_auth__["a" /* AuthPage */]; - }).catch(function () { - setTimeout(function () { - _this.rootPage = __WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]; - }, 1000); - }); - }); - this.platform.registerBackButtonAction(function () { - if (!_this.nav.canGoBack) { - _this.presentConfirm(); - } - else { - _this.nav.pop(); - } - }); - }; - MyApp.prototype.presentConfirm = function () { - var _this = this; - var alert = this.alertCtrl.create({ - title: 'Confirm Exit', - message: 'Do You Want Exit ?', - buttons: [ - { - text: 'Cancel', - role: 'cancel', - handler: function () { - console.log("Cancel clicked"); - // this.alertShown=false - alert.dismiss; - } - }, - { - text: 'Yes', - handler: function () { - console.log("Exit"); - _this.platform.exitApp(); - } - } - ] - }); - alert.present(); - // this.alertShown=true; - }; - MyApp.prototype.getuserDetails = function () { - var _this = this; - var userid = this.aws.getlocale(); - this.aws.getuserprofile(userid).subscribe(function (res) { - _this.userDetails = res; - if (_this.userDetails.dataStatus == true) { - _this.userAccess = true; - _this.userDetails = _this.userDetails.records[0]; - } - }); - }; - MyApp.prototype.menulist = function (id) { - var _this = this; - //alert(); - switch (id) { - case 1: - this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_5__pages_pd_list_pd_list__["a" /* PdListPage */]); - break; - case 2: - this.AWS.logout().subscribe(function () { - _this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]); - }); - break; - case 3: - break; - case 4: - break; - } - }; - MyApp.prototype.logout = function () { - // this.aws.logout(); - this.nav.setRoot(__WEBPACK_IMPORTED_MODULE_4__pages_login_login__["a" /* LoginPage */]); - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])(__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["q" /* Nav */]), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["q" /* Nav */]) - ], MyApp.prototype, "nav", void 0); - MyApp = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({template:/*ion-inline-start:"S:\pd_office\pd_officer\src\app\app.html"*/'\n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n '/*ion-inline-end:"S:\pd_office\pd_officer\src\app\app.html"*/ - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["u" /* Platform */], __WEBPACK_IMPORTED_MODULE_2__ionic_native_status_bar__["a" /* StatusBar */], __WEBPACK_IMPORTED_MODULE_3__ionic_native_splash_screen__["a" /* SplashScreen */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_7__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], - __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["a" /* AlertController */]]) - ], MyApp); - return MyApp; -}()); - -//# sourceMappingURL=app.component.js.map - -/***/ }), - -/***/ 673: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AuthGuard; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - -var AuthGuard = (function () { - function AuthGuard() { - } - // canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) { - // // if (this.shared.getToken()) { - // alert("if"); - // // this.router.navigate(['']); - // return true - // } else { - // alert("else"); - // this.router.navigate(['/login']); - // return false; - // } - // } - AuthGuard.prototype.getlogin = function () { - // if (this.shared.getToken()) { - // // alert("if"); - // //alert(); - // return true; - // } else { - // // alert("else"); - // //this.myGlobalServiceNav.setRoot(LoginPage); - // this.shared.isloggin = false; - // return false; - // } - }; - AuthGuard = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", []) - ], AuthGuard); - return AuthGuard; -}()); - -//# sourceMappingURL=auth.guard.js.map - -/***/ }), - -/***/ 674: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return TokenInterceptor; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_common_http__ = __webpack_require__(47); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs__ = __webpack_require__(26); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_operators__ = __webpack_require__(23); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__aws_service_cognito_service__ = __webpack_require__(69); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - -// import { AuthGuard } from './auth.guard'; - -// import { Router } from '@angular/router'; - - - -var TokenInterceptor = (function () { - function TokenInterceptor(shared) { - this.shared = shared; - } - TokenInterceptor.prototype.intercept = function (request, next) { - // request = request.clone({ - // setHeaders: { - // Authorization: `${this.auth.getToken()}` - // } - // }); - var token; - this.shared.refresh(); - token = this.shared.getToken() || null; - token = token.getIdToken().getJwtToken(); - //console.log(token); - var requests = request.clone({ - headers: new __WEBPACK_IMPORTED_MODULE_1__angular_common_http__["e" /* HttpHeaders */]({ - 'Authorization': 'sparqvenba2018', - 'Token': token, - 'From': '1', - }) - }); - return next.handle(requests).pipe(Object(__WEBPACK_IMPORTED_MODULE_3_rxjs_operators__["catchError"])(this.handleError('role', []))); - }; - TokenInterceptor.prototype.handleError = function (operation, result) { - if (operation === void 0) { operation = 'operation'; } - return function (error) { - if (error instanceof __WEBPACK_IMPORTED_MODULE_1__angular_common_http__["d" /* HttpErrorResponse */]) { - console.error("Error: " + error.status); - if (error.status == 401) { - localStorage.clear(); - // this.router.navigate(['/authentication/login']); - } - return Object(__WEBPACK_IMPORTED_MODULE_2_rxjs__["of"])(result); - } - }; - }; - TokenInterceptor = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_4__aws_service_cognito_service__["a" /* CognitoServiceProvider */]]) - ], TokenInterceptor); - return TokenInterceptor; -}()); - -//# sourceMappingURL=token.interceptor.js.map - -/***/ }), - -/***/ 675: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return GoogleplaytabPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - -/** - * Generated class for the GoogleplaytabPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var GoogleplaytabPage = (function () { - function GoogleplaytabPage(navCtrl, navParams, platform) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.SwipedTabsIndicator = null; - this.tabTitleWidthArray = []; - this.tabElementWidth_px = 50; - this.screenWidth_px = 0; - this.isRight = true; - this.isLeft = true; - this.tabs = []; - this.tabs = ["1", "2", "3", "4", "5", "6", "7", "9", "10", "11"]; - console.log('Width: ' + platform.width()); - this.screenWidth_px = platform.width(); - } - GoogleplaytabPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad GoogleplaytabPage'); - }; - GoogleplaytabPage.prototype.ionViewDidEnter = function () { - this.SwipedTabsIndicator = document.getElementById("indicator"); - for (var i in this.tabs) - this.tabTitleWidthArray.push(document.getElementById("tabTitle" + i).offsetWidth); - this.selectTab(0); - }; - GoogleplaytabPage.prototype.scrollIndicatiorTab = function () { - this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - this.screenWidth_px / 2, 0); - }; - GoogleplaytabPage.prototype.selectTab = function (index) { - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; - this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; - this.SwipedTabsSlider.slideTo(index); - }; - GoogleplaytabPage.prototype.calculateDistanceToSpnd = function (index) { - var result = 0; - for (var _i = 0; _i < index; _i++) { - result = result + this.tabTitleWidthArray[_i]; - } - return result; - }; - GoogleplaytabPage.prototype.updateIndicatorPosition = function () { - var index = this.SwipedTabsSlider.getActiveIndex(); - if (this.SwipedTabsSlider.length() == index) - index = index - 1; - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[index] + "px"; - this.SwipedTabsIndicator.style.webkitTransform = 'translate3d(' + (this.calculateDistanceToSpnd(index)) + 'px,0,0)'; - }; - GoogleplaytabPage.prototype.updateIndicatorPositionOnTouchEnd = function () { - var _this = this; - setTimeout(function () { _this.updateIndicatorPosition(); }, 200); - }; - GoogleplaytabPage.prototype.animateIndicator = function ($event) { - this.isLeft = false; - this.isRight = false; - var currentSliderCenterProgress = (1 / (this.SwipedTabsSlider.length() - 1)) * this.SwipedTabsSlider.getActiveIndex(); - if ($event.progress < currentSliderCenterProgress) { - this.isLeft = true; - this.isRight = false; - } - if ($event.progress > currentSliderCenterProgress) { - this.isLeft = false; - this.isRight = true; - } - if (this.SwipedTabsSlider.isEnd()) - this.isRight = false; - if (this.SwipedTabsSlider.isBeginning()) - this.isLeft = false; - if (this.isRight) - this.SwipedTabsIndicator.style.webkitTransform = - 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() + 1]) - + 'px,0,0)'; - if (this.isLeft) - this.SwipedTabsIndicator.style.webkitTransform = - 'translate3d(' + (this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex()) - + ($event.progress - currentSliderCenterProgress) * (this.SwipedTabsSlider.length() - 1) * this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex() - 1]) - + 'px,0,0)'; - if (!this.isRight && !this.isLeft) - this.SwipedTabsIndicator.style.width = this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()] + "px"; - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('SwipedTabsSlider'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["v" /* Slides */]) - ], GoogleplaytabPage.prototype, "SwipedTabsSlider", void 0); - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('MultiItemsScrollingTabs'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* Content */]) - ], GoogleplaytabPage.prototype, "ItemsTitles", void 0); - GoogleplaytabPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-googleplaytab',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\googleplaytab\googleplaytab.html"*/'\n\n\n\n\n\n \n\n \n\n PD Listing\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{tab}}\n\n \n\n \n\n \n\n
\n\n
\n\n
\n\n\n\n
\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n \n\n

What should come in place of question mark (?) in the following given question?
56+12*0.45-3=?

\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n

1. 28.5

\n\n
\n\n \n\n

2. 47.6

\n\n
\n\n \n\n

3. 86.6

\n\n
\n\n \n\n

4. 58.4

\n\n
\n\n
\n\n
\n\n
\n\n\n\n\n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\googleplaytab\googleplaytab.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["u" /* Platform */]]) - ], GoogleplaytabPage); - return GoogleplaytabPage; -}()); - -//# sourceMappingURL=googleplaytab.js.map - -/***/ }), - -/***/ 676: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdAllocationPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - -/** - * Generated class for the PdAllocationPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdAllocationPage = (function () { - function PdAllocationPage(navCtrl, navParams) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.pdFullDetails = []; - this.pdFullDetails = this.navParams.get('pdDetails'); - console.log(this.pdFullDetails); - } - PdAllocationPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdAllocationPage'); - }; - PdAllocationPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-allocation',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-allocation\pd-allocation.html"*/'\n\n \n\n \n\n PD Listing\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n

{{pdFullDetails.lender_full_name}}

\n\n
\n\n \n\n \n\n {{pdFullDetails.city_name}} / -{{pdFullDetails.pincode}}\n\n \n\n
\n\n
\n\n
\n\n \n\n

Product

\n\n

{{pdFullDetails.product_name}} / {{pdFullDetails.subproduct_name}}.

\n\n

{{pdFullDetails.pd_type_name}}

\n\n

{{pdFullDetails.pd_allocated_to}}

\n\n
{{pdFullDetails.pd_date_of_initiation}}
\n\n
\n\n

\n\n \n\n \n\n

{{pdFullDetails.pd_status_name}}

\n\n
\n\n \n\n

{{pdFullDetails.loan_amount}}

\n\n
\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n
\n\n \n\n

Applicants

\n\n
\n\n
\n\n
\n\n
\n\n \n\n \n\n \n\n   {{Mainapplicatent.applicant_name}} (Main)\n\n \n\n \n\n  {{Mainapplicatent.mobile_no}} \n\n \n\n \n\n \n\n \n\n   {{Mainapplicatent.applicant_name}}\n\n \n\n \n\n  {{Mainapplicatent.mobile_no}} \n\n \n\n \n\n \n\n
\n\n \n\n\n\n
\n\n\n\n \n\n\n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-allocation\pd-allocation.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */]]) - ], PdAllocationPage); - return PdAllocationPage; -}()); - -//# sourceMappingURL=pd-allocation.js.map - -/***/ }), - -/***/ 684: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionBusinessPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__ = __webpack_require__(10); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - -/** - * Generated class for the PdQuestionBusinessPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionBusinessPage = (function () { - function PdQuestionBusinessPage(navCtrl, navParams, qustcat, aws) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.qustcat = qustcat; - this.aws = aws; - this.existCompanyList = []; - this.pdDetails = this.navParams.get('pdDetails'); - this.pdid = this.pdDetails.pd_id; - this.FormId = this.navParams.get('FormId'); - this.users = this.aws.getlocale; - this.getDropDown(); - } - PdQuestionBusinessPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionBusinessPage'); - }; - PdQuestionBusinessPage.prototype.getDropDown = function () { - var _this = this; - this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(function (res) { - _this.existCompanyList = res['records'].filter(function (data) { return data.is_active == true && data.is_company_applicant == true; }); - console.log(_this.existCompanyList); - }); - }; - PdQuestionBusinessPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-business',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business\pd-question-business.html"*/'\n\n\n\n\n\n \n\n {{FormId.form_name}}\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-business\pd-question-business.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__providers_question_category_question_category__["a" /* QuestionCategoryProvider */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */]]) - ], PdQuestionBusinessPage); - return PdQuestionBusinessPage; -}()); - -//# sourceMappingURL=pd-question-business.js.map - -/***/ }), - -/***/ 685: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdQuestionSalaryInfoPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_forms__ = __webpack_require__(4); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/** - * Generated class for the PdQuestionSalaryInfoPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdQuestionSalaryInfoPage = (function () { - function PdQuestionSalaryInfoPage(navCtrl, navParams, fb) { - this.navCtrl = navCtrl; - this.navParams = navParams; - this.fb = fb; - this.salaryDetails = this.fb.group({ - gross: [null], - netTakeHome: [null], - bounsIncentive: [null], - salaryDate: [null], - anydelays: [null], - }); - } - PdQuestionSalaryInfoPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdQuestionSalaryInfoPage'); - }; - PdQuestionSalaryInfoPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-question-salary-info',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-salary-info\pd-question-salary-info.html"*/'\n\n\n\n \n\n \n\n Salary Category\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n

Salary info

\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n
\n\n
\n\n \n\n \n\n \n\n \n\n \n\n
\n\n
\n\n'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-question\pd-question-salary-info\pd-question-salary-info.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_2__angular_forms__["c" /* FormBuilder */]]) - ], PdQuestionSalaryInfoPage); - return PdQuestionSalaryInfoPage; -}()); - -//# sourceMappingURL=pd-question-salary-info.js.map - -/***/ }), - -/***/ 69: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CognitoServiceProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__ = __webpack_require__(334); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs__ = __webpack_require__(26); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - -// import { CanActivateChild, Router } from '@angular/router'; - -// import { IonicPage, NavController, NavParams, MenuController } from 'ionic-angular'; -// import { environment } from '../../environments/environment'; - -var sineedge_poolData = { - UserPoolId: "ap-south-1_y7dt3iEaX", - ClientId: "291qt4smn5pql6o8cc2hi201lj" // ClientName: SINEEDGE_DEV_WEB -}; -var sineedgedev_poolData = { - UserPoolId: "ap-south-1_qQ85yQZJO", - ClientId: "2o5c3cs9k3als16nqhp3irh8rs" // ClientName: SINEEDGE_DEV_WEB -}; -var lender_poolData = { - UserPoolId: "ap-south-1_hFiGyr1Gw", - ClientId: "38v9rpp1495v60e1gd14mj6rjr" // ClientName:LENDER_DEV_WEB -}; -var vendor_poolData = { - UserPoolId: "", - ClientId: "" -}; -var sineedgeUserPool = new __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__["c" /* CognitoUserPool */](sineedge_poolData); -var lenderUserPool = new __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__["c" /* CognitoUserPool */](lender_poolData); -var sineedgedevUserpool = new __WEBPACK_IMPORTED_MODULE_1_amazon_cognito_identity_js__["c" /* CognitoUserPool */](sineedgedev_poolData); -/** -* Identity PoolID -*/ -var sineedgeIdentity = "ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; //"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; -var lenderIdentity = "ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907"; -var vendorIdenttiy = ""; -// serviceProvider -var apiurl = "http://ssa.sineedge.com/sparqapi/api/"; -// const apiurl = "http://localhost/sparqapi/api/"; -var CognitoServiceProvider = (function () { - function CognitoServiceProvider() { - this.loggedIn = false; - // public static _REGION = environment.region; - // public static _IDENTITY_POOL_ID = environment.identityPoolId; - // public static _USER_POOL_ID = environment.UserPoolId; - // public static _CLIENT_ID = environment.ClientId; - // public static _POOL_DATA: any = { - // UserPoolId: CognitoService._USER_POOL_ID, - // ClientId: CognitoService._CLIENT_ID - // }; - // public cognitoCreds: AWS.CognitoIdentityCredentials; - this.isloggin = false; - } - CognitoServiceProvider.prototype.getCurrentUser = function () { - return sineedgedevUserpool.getCurrentUser(); - }; - Object.defineProperty(CognitoServiceProvider.prototype, "isLoggedIn", { - get: function () { - if (sineedgedevUserpool.getCurrentUser() != null) { - this.loggedIn = true; - } - else { - this.loggedIn = false; - } - return this.loggedIn; // {2} - }, - enumerable: true, - configurable: true - }); - CognitoServiceProvider.prototype.refresh = function () { - var tokenexp; - if (this.getCurrentUser() != null) { - this.getCurrentUser().getSession(function (err, session) { - if (err) { - console.log("CognitoUtil: Can't set the credentials:" + err); - } - else { - if (session.isValid()) { - tokenexp = session.isValid(); - Object(__WEBPACK_IMPORTED_MODULE_2_rxjs__["of"])(tokenexp); - console.log("CognitoUtil: refreshed successfully"); - } - else { - tokenexp = session.isValid(); - console.log("CognitoUtil: refreshed but session is still not valid"); - } - } - return tokenexp; - }); - } - else { - this.loggedIn = false; - } - }; - CognitoServiceProvider.prototype.getAccessToken = function () { - var _this = this; - this.refresh(); - return new Promise(function (resolve, reject) { - var jwttoken = ''; - if (_this.getCurrentUser() != null) { - //console.log(JSON.stringify(this.getCurrentUser())); - // console.log('76 if'); - _this.getCurrentUser().getSession(function (err, session) { - if (err) { - console.log("CognitoUtil: Can't set the credentials:" + err); - jwttoken = ''; - // console.log('81 if') - reject(err); - } - else { - if (session.isValid()) { - // console.log('85 else if'); - jwttoken = session; - resolve(); - } - else { - } - } - }); - } - else { - //console.log("else"); - reject(); - } - }); - }; - CognitoServiceProvider.prototype.getToken = function () { - var isloggin = false; - var jwttoken = ''; - if (this.getCurrentUser() != null) { - this.getCurrentUser().getSession(function (err, session) { - if (err) { - // console.log("CognitoUtil: Can't set the credentials:" + err); - isloggin = false; - //console.log('81 if') - } - else { - //alert('function else'); - if (session.isValid()) { - // console.log('85 else if'); - jwttoken = session; - isloggin = true; - } - else { - isloggin = false; - } - } - }); - } - else { - // console.log("else"); - isloggin = false; - } - return jwttoken; - }; - CognitoServiceProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", []) - ], CognitoServiceProvider); - return CognitoServiceProvider; -}()); - -//# sourceMappingURL=cognito.service.js.map - -/***/ }), - -/***/ 7: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AwsServiceProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__ = __webpack_require__(334); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__ = __webpack_require__(48); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_map__ = __webpack_require__(614); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_rxjs_add_operator_map__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__cognito_service__ = __webpack_require__(69); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - -var sineedgedev_poolData = { - UserPoolId: "ap-south-1_qQ85yQZJO", - ClientId: "2o5c3cs9k3als16nqhp3irh8rs" // ClientName: SINEEDGE_DEV_WEB -}; -var lender_poolData = { - UserPoolId: "ap-south-1_hFiGyr1Gw", - ClientId: "38v9rpp1495v60e1gd14mj6rjr" // ClientName:LENDER_DEV_WEB -}; -var vendor_poolData = { - UserPoolId: "ap-south-1_K57yPaWxV", - ClientId: "" -}; -// const sineedgeUserPool = new CognitoUserPool(sineedge_poolData); -var lenderUserPool = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["c" /* CognitoUserPool */](lender_poolData); -var sineedgedevUserpool = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["c" /* CognitoUserPool */](sineedgedev_poolData); -/** -* Identity PoolID -*/ -var sineedgeIdentity = "ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; //"ap-south-1:9a551eab-97cf-4991-b677-2f9bcd058961"; -var lenderIdentity = "ap-south-1:ca22dabc-db59-4af5-9bb8-265f7ec95907"; -var vendorIdenttiy = "ap-south-1:5ad3ce43-4260-4273-87b2-e6a377b8e874"; -var currentDate = new Date().toJSON().slice(0, 19).replace('T', ' '); -var AwsServiceProvider = (function () { - function AwsServiceProvider(http, shared, con) { - this.http = http; - this.shared = shared; - this.con = con; - this.apiurl = con.apiurl(); - } - AwsServiceProvider.prototype.dologin = function (authenticationData) { - // alert(); - //(authenticationData); - var authenticationDetails = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["a" /* AuthenticationDetails */](authenticationData); - var Newpassword = authenticationData.newpassword; - var attributesData = []; - var userData = { - Username: authenticationData.Username, - Pool: sineedgedevUserpool // user Pool ID - }; - var cognitoUser = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["b" /* CognitoUser */](userData); - return __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__["Observable"].create(function (observer) { - cognitoUser.authenticateUser(authenticationDetails, { - newPasswordRequired: function (userAttributes, requiredAttributes) { - cognitoUser.completeNewPasswordChallenge(Newpassword, attributesData, { - onSuccess: function (result) { - observer.next(result); - observer.complete(); - }, - onFailure: function (err) { - //(err); - observer.error(err); - //LoginComponent.prototype.open(); - } - }); - }, - onSuccess: function (result) { - // let accessToken = result.getAccessToken().getJwtToken(); - ////(result); - //window.localStorage.setItem('Currentuser', '1'); - observer.next(result); - observer.complete(); - this.shared.isloggin = true; - }, - onFailure: function (err) { - //alert(err.message); - observer.error(err); - } - }); - }); - }; - AwsServiceProvider.prototype.userforgotpass = function (auth) { - ////(auth); - var userData = { - Username: auth.Username, - Pool: sineedgedevUserpool - }; - var cognitoUser = new __WEBPACK_IMPORTED_MODULE_2_amazon_cognito_identity_js__["b" /* CognitoUser */](userData); - return __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__["Observable"].create(function (observe) { - cognitoUser.forgotPassword({ - onSuccess: function (data) { - // successfully initiated reset password request - //('CodeDeliveryData from forgotPassword: ' + data); - observe.next(data); - }, - onFailure: function (err) { - alert(err.message || JSON.stringify(err)); - }, - //Optional automatic callback - inputVerificationCode: function (data) { - //('Code sent to: ' + data); - var verificationCode = prompt('Please input verification code ', ''); - var newPassword = prompt('Enter new password ', ''); - cognitoUser.confirmPassword(verificationCode, newPassword, { - onSuccess: function () { - //('Password confirmed!'); - }, - onFailure: function (err) { - //('Password not confirmed!'); - } - }); - } - }); - }); - }; - /** - * End of the function - */ - /** - * Logout function - */ - AwsServiceProvider.prototype.logout = function () { - var _this = this; - return __WEBPACK_IMPORTED_MODULE_3_rxjs_Observable__["Observable"].create(function (observe) { - _this.shared.getCurrentUser().signOut(); - observe.next(); - observe.complete(); - }); - }; - /** - * Config function - */ - // getconfig() { - // let session:any = this.shared.getAccessToken() || ""; - // let config = ""; - // config += AWS.config.region = "ap-south-1"; - // config += AWS.config.credentials = new AWS.CognitoIdentityCredentials({ - // IdentityPoolId: sineedgeIdentity, // for sineedge_DEV - // Logins: { - // "cognito-idp.ap-south-1.amazonaws.com/ap-south-1_qQ85yQZJO": session - // .getIdToken() - // .getJwtToken() - // } - // // NOTE: getSession must be called to authenticate user before calling getUserAttributes - // }); - // return config; - // } - AwsServiceProvider.prototype.getlocale = function () { - var session = this.shared.getToken() || null; - var userid = session.idToken.payload.locale; - return userid; - }; - AwsServiceProvider.prototype.getuserprofile = function (userid) { - // alert(); - //console.log(cogusers.idToken.payload.locale); - var roles = { 'userid': userid }; - // let request = new RequestOptions({headers:headers}); - return this.http.post(this.apiurl + 'getUsersDetails', roles); - }; - AwsServiceProvider.prototype.userpinupdate = function (pin) { - var userid = this.getlocale(); - var records = { 'mpin': pin, 'updatedon': currentDate, 'fk_updatedby': userid, 'userid': userid }; - var formdata = new FormData(); - formdata.append('records', JSON.stringify(records)); - return this.http.post(this.apiurl + 'updateExistUser', formdata); - }; - AwsServiceProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_5__cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_6__constants_constants__["a" /* ConstantsProvider */]]) - ], AwsServiceProvider); - return AwsServiceProvider; -}()); - -//# sourceMappingURL=aws-service.js.map - -/***/ }), - -/***/ 76: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdListPage; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(5); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__input_input__ = __webpack_require__(358); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__ = __webpack_require__(7); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__providers_pdtrigger_pdtrigger__ = __webpack_require__(85); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_cognito_service__ = __webpack_require__(69); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__otp_otp__ = __webpack_require__(198); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__pd_question_category_pd_question_category__ = __webpack_require__(123); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__providers_database_database__ = __webpack_require__(393); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__ = __webpack_require__(124); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - - - - - - - - -/** - * Generated class for the PdListPage page. - * - * See https://ionicframework.com/docs/components/#navigation for more info on - * Ionic pages and navigation. - */ -var PdListPage = (function () { - function PdListPage(navCtrl, navParams, aws, pdofficer, shared, db, androidPermissions) { - //this.getlenderpddetails(); - // this.getpdTriggerdetails(); - this.navCtrl = navCtrl; - this.navParams = navParams; - this.aws = aws; - this.pdofficer = pdofficer; - this.shared = shared; - this.db = db; - this.androidPermissions = androidPermissions; - this.bgColorPast = []; - this.bgColor = []; - this.pdinprogress = []; - this.pdlistdetails = []; - this.pdlist = "0"; - this.pdlistaccess = null; - } - PdListPage.prototype.selectedTab = function (ind) { - this.slider.slideTo(ind); - }; - PdListPage.prototype.moveButton = function (event) { - this.pdlist = event._snapIndex.toString(); - }; - PdListPage.prototype.ionViewDidLoad = function () { - console.log('ionViewDidLoad PdListPage'); - this.db.getuserDetails(); - this.setpermission(); - }; - PdListPage.prototype.ionViewCanEnter = function () { - console.log("Pd list ionViewCanEnter"); - this.getpdTriggerdetails(); - }; - PdListPage.prototype.filter = function (view) { - if (!view) { - this.viewchange = true; - } - else { - this.viewchange = false; - this.pdinprogress = this.pdinprogress; - this.pdschduleDetails = this.pdschduleDetails; - } - //alert(this.viewchange); - }; - PdListPage.prototype.pdlistsearch = function (searchbar) { - this.pdinprogress = this.searchinprogress; - this.pdschduleDetails = this.searchpast; - // reset countries list with initial call - //this.pdinprogress = this.countriesInitial; - // set q to the value of the searchbar - var q = searchbar.target.value; - // if the value is an empty string don't filter the items - if (this.pdlist == "inpro") { - if (q.trim() == '') { - return; - } - else { - this.pdinprogress = this.searchinprogress.filter(function (v) { - if (v.applicat_details !== undefined && v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.pd_status.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.city_name != null && v.city_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase()) > -1) { - return true; - } - return false; - }); - } - } - else { - if (q.trim() == '') { - return; - } - else { - this.pdschduleDetails = this.searchpast.filter(function (v) { - if (v.applicat_details[0].applicant_name.toLowerCase().indexOf(q.toLowerCase()) > -1 - || v.pd_status.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.city_name.toLowerCase().indexOf(q.toLowerCase()) > -1 || v.lender_applicant_id.toLowerCase().indexOf(q.toLowerCase()) > -1) { - return true; - } - return false; - }); - } - } - }; - PdListPage.prototype.newpage = function () { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__input_input__["a" /* InputPage */]); - }; - PdListPage.prototype.getpdTriggerdetails = function () { - var _this = this; - var userid = this.aws.getlocale(); - //.log("User",userid) - this.pdofficer.getpddetails(userid).subscribe(function (res) { - _this.pdlistdetails = res; - if (_this.pdlistdetails.dataStatus == true) { - _this.pdlistaccess = true; - _this.pdschduleDetails = _this.pdlistdetails.records.filter(function (sch) { return sch.pd_status == "ACCEPTED" || sch.pd_status == "SCHEDULED" || sch.pd_status == "INITIATED" || sch.pd_status == "STARTED" || sch.pd_status == "INPROGRESS" && sch.applicat_details; }); - _this.searchpast = _this.pdschduleDetails; - _this.pdinprogress = _this.pdlistdetails.records.filter(function (allocate) { return allocate.pd_status == "ALLOCATED"; }); - _this.searchinprogress = _this.pdinprogress; - _this.random_bg_color(); - _this.random_ng_past(); - } - else { - _this.pdlistaccess = false; - _this.pdlistdetails = "No Records Found"; - } - }); - }; - PdListPage.prototype.random_bg_color = function () { - for (var _i = 0, _a = this.pdinprogress; _i < _a.length; _i++) { - var id = _a[_i]; - var x = Math.floor(Math.random() * 256); - var y = Math.floor(Math.random() * 256); - var z = Math.floor(Math.random() * 256); - this.bgColor.push("rgb(" + x + "," + y + "," + z + ")"); - } - return this.bgColor; - }; - PdListPage.prototype.random_ng_past = function () { - for (var _i = 0, _a = this.pdschduleDetails; _i < _a.length; _i++) { - var id = _a[_i]; - var x = Math.floor(Math.random() * 256); - var y = Math.floor(Math.random() * 256); - var z = Math.floor(Math.random() * 256); - this.bgColorPast.push("rgb(" + x + "," + y + "," + z + ")"); - } - }; - PdListPage.prototype.doRefresh = function (refresher) { - this.bgColor = []; - this.pdschduleDetails = []; - this.pdinprogress = []; - this.shared.refresh(); - this.getpdTriggerdetails(); - setTimeout(function () { - refresher.complete(); - }, 2000); - }; - PdListPage.prototype.PdAllocation = function (pddetails) { - if (pddetails.pd_status == 'STARTED') { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_6__otp_otp__["a" /* OtpPage */], { 'pdDetails': pddetails }); - } - else if (pddetails.pd_status == 'INPROGRESS') { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_7__pd_question_category_pd_question_category__["a" /* PdQuestionCategoryPage */], { 'pdDetails': pddetails }); - } - else { - this.navCtrl.push(__WEBPACK_IMPORTED_MODULE_2__input_input__["a" /* InputPage */], { 'pdDetails': pddetails }); - } - }; - PdListPage.prototype.setpermission = function () { - // let permission = this.androidPermissions.PERMISSION; - // let premission_list = [ - // permission.ACCESS_LOCATION_EXTRA_COMMANDS, - // permission.CAMERA, - var _this = this; - // ]; - this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS).then(function (result) { return console.log('Has permission?', result.hasPermission); }, function (err) { return _this.androidPermissions.requestPermission(_this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS); }); - this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS, this.androidPermissions.PERMISSION.GET_ACCOUNTS]); - }; - __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_9" /* ViewChild */])('slider'), - __metadata("design:type", __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["v" /* Slides */]) - ], PdListPage.prototype, "slider", void 0); - PdListPage = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({ - selector: 'page-pd-list',template:/*ion-inline-start:"S:\pd_office\pd_officer\src\pages\pd-list\pd-list.html"*/'\n\n \n\n \n\n PD Cases\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n Allocated\n\n \n\n \n\n Scheduled\n\n \n\n \n\n \n\n\n\n\n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n\n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{progess.applicat_details[0].applicant_name | slice : 0 :1 | uppercase}}\n\n \n\n \n\n

{{progess.applicat_details[0].applicant_name | titlecase}}

\n\n \n\n
\n\n \n\n
\n\n
{{progess.pd_date_of_initiation}}
\n\n
{{progess.city_name}}
\n\n
\n\n
\n\n
\n\n \n\n \n\n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n\n
\n\n \n\n
{{progess.pd_status}}
\n\n
\n\n
\n\n
\n\n \n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n {{progess.applicat_details[0].applicant_name | slice : 0 :1 | uppercase}}\n\n \n\n \n\n

{{progess.applicat_details[0].applicant_name | titlecase}}

\n\n \n\n
\n\n
\n\n \n\n \n\n
{{progess.lender_short_name}}, {{progess.lender_applicant_id}}
\n\n
\n\n \n\n
{{progess.city_name}}
\n\n
\n\n
\n\n \n\n \n\n
{{progess.pd_status}}
\n\n
\n\n \n\n
\n\n
{{progess.pd_date_of_initiation}}
\n\n
{{progess.scheduled_on}}
\n\n
\n\n
\n\n
\n\n \n\n
\n\n\n\n
\n\n
\n\n
\n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n
\n\n \n\n \n\n \n\n
\n\n \n\n \n\n
'/*ion-inline-end:"S:\pd_office\pd_officer\src\pages\pd-list\pd-list.html"*/, - }), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["r" /* NavController */], __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["s" /* NavParams */], __WEBPACK_IMPORTED_MODULE_3__providers_aws_service_aws_service__["a" /* AwsServiceProvider */], __WEBPACK_IMPORTED_MODULE_4__providers_pdtrigger_pdtrigger__["a" /* PdtriggerProvider */], __WEBPACK_IMPORTED_MODULE_5__providers_aws_service_cognito_service__["a" /* CognitoServiceProvider */], __WEBPACK_IMPORTED_MODULE_8__providers_database_database__["a" /* DatabaseProvider */], __WEBPACK_IMPORTED_MODULE_9__ionic_native_android_permissions__["a" /* AndroidPermissions */]]) - ], PdListPage); - return PdListPage; -}()); - -//# sourceMappingURL=pd-list.js.map - -/***/ }), - -/***/ 85: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return PdtriggerProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__constants_constants__ = __webpack_require__(22); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the PdtriggerProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -// const apiurl = 'http://ssa.sineedge.com/sparqapi/api/' -var PdtriggerProvider = (function () { - function PdtriggerProvider(http, constants) { - this.http = http; - this.constants = constants; - this.apiurl = constants.apiurl(); - console.log('Hello PdtriggerProvider Provider'); - } - /**get dropdonw list */ - /**Get list of PD Trigger */ - PdtriggerProvider.prototype.getpddetails = function (userid) { - console.log(userid); - return this.http.get(this.apiurl + 'listLessPDDetails/get?pdofficerid=' + userid); - }; - PdtriggerProvider.prototype.getFullPDdetails = function (pdid) { - return this.http.post(this.apiurl + 'getFullPDDetails', pdid); - }; - PdtriggerProvider.prototype.updatepdStatus = function (dataStatus) { - var records = { 'records': dataStatus }; - return this.http.post(this.apiurl + 'updatePDMaster', records); - }; - PdtriggerProvider.prototype.saveCurrentLocation = function (data) { - var records = { 'records': data }; - return this.http.post(this.apiurl + 'savePDOfficerCurrentLocation', data); - }; - PdtriggerProvider.prototype.checkotp = function (otpDetails) { - var records = { 'records': otpDetails }; - return this.http.post(this.apiurl + 'checkOTP', records); - }; - PdtriggerProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2__constants_constants__["a" /* ConstantsProvider */]]) - ], PdtriggerProvider); - return PdtriggerProvider; -}()); - -//# sourceMappingURL=pdtrigger.js.map - -/***/ }), - -/***/ 9: -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ToastProvider; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_common_http__ = __webpack_require__(47); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(5); -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; - - - -/* - Generated class for the ToastProvider provider. - - See https://angular.io/guide/dependency-injection for more info on providers - and Angular DI. -*/ -var ToastProvider = (function () { - function ToastProvider(http, toast) { - this.http = http; - this.toast = toast; - console.log('Hello ToastProvider Provider'); - } - ToastProvider.prototype.pdTriggerappmessage = function (mess) { - var valalert = this.toast.create({ - message: mess, - duration: 3000, - position: 'bottom', - dismissOnPageChange: true, - }); - valalert.present(); - }; - ToastProvider = __decorate([ - Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */])(), - __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_0__angular_common_http__["b" /* HttpClient */], __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["w" /* ToastController */]]) - ], ToastProvider); - return ToastProvider; -}()); - -//# sourceMappingURL=toast.js.map - -/***/ }) - -},[401]); -//# sourceMappingURL=main.js.map \ No newline at end of file +webpackJsonp([0],{285:function(l,n){function e(l){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+l+"'.")})}e.keys=function(){return[]},e.resolve=e,l.exports=e,e.id=285},311:function(l,n){function e(l){return Promise.resolve().then(function(){throw new Error("Cannot find module '"+l+"'.")})}e.keys=function(){return[]},e.resolve=e,l.exports=e,e.id=311},363:function(l,n,e){"use strict";function u(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"div",[["class","menu-header"],["style","text-align:center !important;"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,0,"img",[["class","user-avatar round"],["onerror","this.src='assets/img/avatar/girl-avatar.png'"],["style","height:111px;max-width:111px;"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,1,"p",[["class","name"]],null,null,null,null,null)),(l()(),Df._39(6,null,[""," ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(9,null,["(",")"])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,e.userDetails.profilepic||e.placeholder);l(n,6,0,e.userDetails.user_first_name,e.userDetails.user_last_name);l(n,9,0,e.userDetails.role_name)})}function t(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[["class","menu-header"],["style","text-align:center !important;"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,0,"img",[["class","user-avatar round"],["onerror","this.src='assets/img/avatar/girl-avatar.png'"],["style","height:111px;max-width:111px;"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,1,"p",[["class","name"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["Sineedge PD Officer"])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,e.chosenPicture||e.placeholder)})}function a(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"button",[["class","item item-block"],["detail-none",""],["ion-item",""],["menuClose","left"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,6).close()&&u}if("click"===n){u=!1!==l.context.$implicit.method()&&u}return u},Vv.b,Vv.a)),Df._17(1,1097728,null,3,jv.a,[Nv.a,Wv.a,Df.p,Df.O,[2,Ev.a]],null,null),Df._37(335544320,4,{contentLabel:0}),Df._37(603979776,5,{_buttons:1}),Df._37(603979776,6,{_icons:1}),Df._17(5,16384,null,0,Rv.a,[],null,null),Df._17(6,16384,null,0,Uv.a,[$v.a],{menuClose:[0,"menuClose"]},null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(8,0,null,0,1,"ion-icon",[["item-left",""],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(9,147456,[[6,4]],0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(10,2,["\n ","\n "]))],function(l,n){l(n,6,0,"left");l(n,9,0,n.context.$implicit.icon)},function(l,n){l(n,8,0,Df._32(n,9)._hidden);l(n,10,0,n.context.$implicit.title)})}function i(l){return Df._41(0,[Df._37(402653184,1,{nav:0}),(l()(),Df._18(1,0,null,null,24,"ion-menu",[["id","menu-material"],["role","navigation"]],null,null,null,Mv.b,Mv.a)),Df._36(6144,null,Kv.a,null,[Hv.a]),Df._17(3,245760,null,2,Hv.a,[$v.a,Df.p,Wv.a,Gv.a,Df.O,Yv.a,zv.l,Qv.a,Jv.a],{content:[0,"content"],id:[1,"id"]},null),Df._37(335544320,2,{menuContent:0}),Df._37(335544320,3,{menuNav:0}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(7,0,null,0,17,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(8,4374528,[[2,4]],0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,u)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,t)),Df._17(14,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(16,0,null,1,0,"div",[["class","hr"]],null,null,null,null,null)),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(18,0,null,1,5,"ion-list",[["no-lines",""]],null,null,null,null,null)),Df._17(19,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,a)),Df._17(22,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(28,0,null,null,2,"ion-nav",[["swipeBackEnabled","false"]],null,null,null,uy.b,uy.a)),Df._36(6144,null,Kv.a,null,[ty.a]),Df._17(30,4374528,[[1,4],["content",4]],0,ty.a,[[2,ly.a],[2,ny.a],Jv.a,Wv.a,Gv.a,Df.p,Df.H,Df.O,Df.l,zv.l,ay.a,[2,iy.a],Qv.a,Df.r],{swipeBackEnabled:[0,"swipeBackEnabled"],root:[1,"root"]},null)],function(l,n){var e=n.component;l(n,3,0,Df._32(n,30),"menu-material");l(n,11,0,e.userAccess);l(n,14,0,!e.userAccess);l(n,22,0,e.pages);l(n,30,0,"false",e.rootPage)},function(l,n){l(n,7,0,Df._32(n,8).statusbarPadding,Df._32(n,8)._hasRefresher)})}function o(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,84,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(4,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(8,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(11,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(17,0,null,0,53,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(18,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(21,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(24,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["PIN"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,38,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(32,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,34,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(35,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,1,{_control:0}),Df._37(335544320,2,{_placeholderChild:0}),Df._37(335544320,3,{_labelChild:0}),Df._37(603979776,4,{_errorChildren:1}),Df._37(603979776,5,{_hintChildren:1}),Df._37(603979776,6,{_prefixChildren:1}),Df._37(603979776,7,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,[["newpassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","4"],["pattern","[0-9]{4}"],["placeholder","New PIN"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==Df._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,48)._onInput()&&u}return u},null,null)),Df._17(48,933888,null,0,gy.b,[Df.p,Xf.a,[8,null],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[1,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(52,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(54,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(55,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,8,{_control:0}),Df._37(335544320,9,{_placeholderChild:0}),Df._37(335544320,10,{_labelChild:0}),Df._37(603979776,11,{_errorChildren:1}),Df._37(603979776,12,{_hintChildren:1}),Df._37(603979776,13,{_prefixChildren:1}),Df._37(603979776,14,{_suffixChildren:1}),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._18(64,0,[["confirmPassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","4"],["pattern","[0-9]{4}"],["placeholder","Confirm PIN"],["required",""],["style","width: 100%;"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==Df._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,65)._onInput()&&u}return u},null,null)),Df._17(65,933888,null,0,gy.b,[Df.p,Xf.a,[8,null],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[8,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(72,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),Df._17(73,16384,null,0,sy.d,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(75,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(76,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(78,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.setnewpin(Df._32(l,47).value)&&u}return u},by.b,by.a)),Df._17(79,180224,null,0,vy.b,[Df.p,Xf.a,yy.j],{color:[0,"color"]},null),Df._17(80,16384,null,0,vy.f,[],null,null),(l()(),Df._39(-1,0,["UNLOCK"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,48,0,"New PIN","","password");l(n,65,0,"Confirm PIN","");l(n,79,0,"primary")},function(l,n){l(n,13,0,n.component.commonImage||"../../assets/img/misc/avatar.jpg");l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,0,Df._32(n,48)._isServer,Df._32(n,48).id,Df._32(n,48).placeholder,Df._32(n,48).disabled,Df._32(n,48).required,Df._32(n,48).readonly,Df._32(n,48)._ariaDescribedby||null,Df._32(n,48).errorState,Df._32(n,48).required.toString());l(n,54,1,[Df._32(n,55)._control.errorState,Df._32(n,55)._control.errorState,Df._32(n,55)._canLabelFloat,Df._32(n,55)._shouldLabelFloat(),Df._32(n,55)._hideControlPlaceholder(),Df._32(n,55)._control.disabled,Df._32(n,55)._control.focused,"primary"==Df._32(n,55).color,"accent"==Df._32(n,55).color,"warn"==Df._32(n,55).color,Df._32(n,55)._shouldForward("untouched"),Df._32(n,55)._shouldForward("touched"),Df._32(n,55)._shouldForward("pristine"),Df._32(n,55)._shouldForward("dirty"),Df._32(n,55)._shouldForward("valid"),Df._32(n,55)._shouldForward("invalid"),Df._32(n,55)._shouldForward("pending")]);l(n,64,0,Df._32(n,65)._isServer,Df._32(n,65).id,Df._32(n,65).placeholder,Df._32(n,65).disabled,Df._32(n,65).required,Df._32(n,65).readonly,Df._32(n,65)._ariaDescribedby||null,Df._32(n,65).errorState,Df._32(n,65).required.toString());l(n,75,0,"end"===Df._32(n,76).align);l(n,78,0,Df._32(n,79).disabled||null)})}function r(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,74,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(4,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(8,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(11,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(17,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(18,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(21,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(24,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["PIN"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,21,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(32,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,17,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(35,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,15,{_control:0}),Df._37(335544320,16,{_placeholderChild:0}),Df._37(335544320,17,{_labelChild:0}),Df._37(603979776,18,{_errorChildren:1}),Df._37(603979776,19,{_hintChildren:1}),Df._37(603979776,20,{_prefixChildren:1}),Df._37(603979776,21,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,[["pin",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","4"],["pattern","[0-9]{4}"],["placeholder","PIN"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==Df._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,48)._onInput()&&u}return u},null,null)),Df._17(48,933888,null,0,gy.b,[Df.p,Xf.a,[8,null],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[15,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(55,0,null,1,18,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),Df._17(56,16384,null,0,sy.d,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(58,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(59,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(61,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.checkpin(Df._32(l,47).value)&&u}return u},by.b,by.a)),Df._17(62,180224,null,0,vy.b,[Df.p,Xf.a,yy.j],{color:[0,"color"]},null),Df._17(63,16384,null,0,vy.f,[],null,null),(l()(),Df._39(-1,0,["UNLOCK"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(67,0,null,null,5,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.checkfingerprint()&&u}return u},null,null)),Df._17(68,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,1,"ion-icon",[["name","finger-print"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(71,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,48,0,"PIN","","password");l(n,62,0,"primary");l(n,71,0,"finger-print")},function(l,n){l(n,13,0,n.component.commonImage||"../../assets/img/misc/avatar.jpg");l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,0,Df._32(n,48)._isServer,Df._32(n,48).id,Df._32(n,48).placeholder,Df._32(n,48).disabled,Df._32(n,48).required,Df._32(n,48).readonly,Df._32(n,48)._ariaDescribedby||null,Df._32(n,48).errorState,Df._32(n,48).required.toString());l(n,58,0,"end"===Df._32(n,59).align);l(n,61,0,Df._32(n,62).disabled||null);l(n,67,0,"end"===Df._32(n,68).align);l(n,70,0,Df._32(n,71)._hidden)})}function _(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n\n\n\n"])),(l()(),Df._18(1,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(2,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,o)),Df._17(5,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._13(16777216,null,1,1,null,r)),Df._17(8,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,e.mpinaccess);l(n,8,0,!e.mpinaccess)},function(l,n){l(n,1,0,Df._32(n,2).statusbarPadding,Df._32(n,2)._hasRefresher)})}function d(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"a",[["class","mat-text-warn mb-0"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.forgotpassword()&&u}return u},null,null)),(l()(),Df._39(-1,null,["Forgot password?"]))],null,null)}function s(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(2,0,null,null,97,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(3,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(5,0,null,1,93,"div",[["class","relative"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,90,"div",[["class","form-bg"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,87,"div",[["class","pt-2"],["fxLayout","row"],["fxLayoutAlign","center start"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,84,"div",[["fxFlex.lg","40"],["fxFlex.md","50"],["fxFlex.sm","80"],["fxFlex.xl","40"],["fxFlex.xs","90"],["fxLayout","column"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,81,"div",[["class","login-session"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(15,0,null,null,3,"div",[["class","col-lg"],["style","text-align: center;"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,0,"img",[["alt","SineEdge"],["style","width: auto;height: auto;"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(20,0,null,null,73,"form",[["class","form"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0,t=l.component;if("submit"===n){u=!1!==Df._32(l,22).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,22).onReset()&&u}if("ngSubmit"===n){u=!1!==t.login()&&u}return u},null,null)),Df._17(21,16384,null,0,Jf.B,[],null,null),Df._17(22,4210688,[["form",4]],0,Jf.u,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Df._36(2048,null,Jf.c,null,[Jf.u]),Df._17(24,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,66,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(28,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(29,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,1,{_control:0}),Df._37(335544320,2,{_placeholderChild:0}),Df._37(335544320,3,{_labelChild:0}),Df._37(603979776,4,{_errorChildren:1}),Df._37(603979776,5,{_hintChildren:1}),Df._37(603979776,6,{_prefixChildren:1}),Df._37(603979776,7,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(38,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","email"],["placeholder","E-Mail"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,39)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,46)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.email=e)&&u}return u},null,null)),Df._17(39,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(40,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(43,671744,null,0,Jf.v,[[2,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Df._36(2048,null,Jf.r,null,[Jf.v]),Df._17(45,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(46,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[1,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(50,0,null,null,21,"mat-form-field",[["class","mb-1 mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(51,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,8,{_control:0}),Df._37(335544320,9,{_placeholderChild:0}),Df._37(335544320,10,{_labelChild:0}),Df._37(603979776,11,{_errorChildren:1}),Df._37(603979776,12,{_hintChildren:1}),Df._37(603979776,13,{_prefixChildren:1}),Df._37(603979776,14,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(60,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["minlength","8"],["name","password"],["placeholder","Password"],["required",""],["type","password"]],[[1,"required",0],[1,"minlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,69)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.password=e)&&u}return u},null,null)),Df._17(61,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(62,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._17(63,540672,null,0,Jf.o,[],{minlength:[0,"minlength"]},null),Df._36(1024,null,Jf.p,function(l,n){return[l,n]},[Jf.x,Jf.o]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(66,671744,null,0,Jf.v,[[2,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Df._36(2048,null,Jf.r,null,[Jf.v]),Df._17(68,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(69,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[8,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(73,0,null,null,13,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(74,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(76,0,null,null,9,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(77,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(79,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],null,null,by.b,by.a)),Df._17(80,180224,null,0,vy.b,[Df.p,Xf.a,yy.j],{color:[0,"color"]},null),Df._17(81,16384,null,0,vy.f,[],null,null),(l()(),Df._39(-1,0,["SIGN IN"])),(l()(),Df._18(83,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(85,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,d)),Df._17(90,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,40,0,"");l(n,43,0,"email",e.email);l(n,46,0,"E-Mail","","text");l(n,62,0,"");l(n,63,0,"8");l(n,66,0,"password",e.password);l(n,69,0,"Password","","password");l(n,80,0,"primary");l(n,90,0,e.email)},function(l,n){l(n,2,0,Df._32(n,3).statusbarPadding,Df._32(n,3)._hasRefresher);l(n,17,0,"http://ssa.sineedge.com/sparqapi/logo/sineedge_red.png");l(n,20,0,Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending);l(n,28,1,[Df._32(n,29)._control.errorState,Df._32(n,29)._control.errorState,Df._32(n,29)._canLabelFloat,Df._32(n,29)._shouldLabelFloat(),Df._32(n,29)._hideControlPlaceholder(),Df._32(n,29)._control.disabled,Df._32(n,29)._control.focused,"primary"==Df._32(n,29).color,"accent"==Df._32(n,29).color,"warn"==Df._32(n,29).color,Df._32(n,29)._shouldForward("untouched"),Df._32(n,29)._shouldForward("touched"),Df._32(n,29)._shouldForward("pristine"),Df._32(n,29)._shouldForward("dirty"),Df._32(n,29)._shouldForward("valid"),Df._32(n,29)._shouldForward("invalid"),Df._32(n,29)._shouldForward("pending")]);l(n,38,1,[Df._32(n,40).required?"":null,Df._32(n,45).ngClassUntouched,Df._32(n,45).ngClassTouched,Df._32(n,45).ngClassPristine,Df._32(n,45).ngClassDirty,Df._32(n,45).ngClassValid,Df._32(n,45).ngClassInvalid,Df._32(n,45).ngClassPending,Df._32(n,46)._isServer,Df._32(n,46).id,Df._32(n,46).placeholder,Df._32(n,46).disabled,Df._32(n,46).required,Df._32(n,46).readonly,Df._32(n,46)._ariaDescribedby||null,Df._32(n,46).errorState,Df._32(n,46).required.toString()]);l(n,50,1,[Df._32(n,51)._control.errorState,Df._32(n,51)._control.errorState,Df._32(n,51)._canLabelFloat,Df._32(n,51)._shouldLabelFloat(),Df._32(n,51)._hideControlPlaceholder(),Df._32(n,51)._control.disabled,Df._32(n,51)._control.focused,"primary"==Df._32(n,51).color,"accent"==Df._32(n,51).color,"warn"==Df._32(n,51).color,Df._32(n,51)._shouldForward("untouched"),Df._32(n,51)._shouldForward("touched"),Df._32(n,51)._shouldForward("pristine"),Df._32(n,51)._shouldForward("dirty"),Df._32(n,51)._shouldForward("valid"),Df._32(n,51)._shouldForward("invalid"),Df._32(n,51)._shouldForward("pending")]);l(n,60,1,[Df._32(n,62).required?"":null,Df._32(n,63).minlength?Df._32(n,63).minlength:null,Df._32(n,68).ngClassUntouched,Df._32(n,68).ngClassTouched,Df._32(n,68).ngClassPristine,Df._32(n,68).ngClassDirty,Df._32(n,68).ngClassValid,Df._32(n,68).ngClassInvalid,Df._32(n,68).ngClassPending,Df._32(n,69)._isServer,Df._32(n,69).id,Df._32(n,69).placeholder,Df._32(n,69).disabled,Df._32(n,69).required,Df._32(n,69).readonly,Df._32(n,69)._ariaDescribedby||null,Df._32(n,69).errorState,Df._32(n,69).required.toString()]);l(n,79,0,Df._32(n,80).disabled||null)})}function c(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["PD Cases"]))],null,null)}function m(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,8,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,[" "])),(l()(),Df._18(3,0,null,0,5,"ion-searchbar",[["style","margin-top:-1px"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ngModelChange"],[null,"input"],[null,"ionCancel"],[null,"ionclose"]],function(l,n,e){var u=!0,t=l.component;if("ngModelChange"===n){u=!1!==(t.searchitem=e)&&u}if("input"===n){u=!1!==t.pdlistsearch(e)&&u}if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}if("ionclose"===n){u=!1!==t.pdlistsearch(e)&&u}return u},Ty.b,Ty.a)),Df._17(4,671744,null,0,Jf.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Df._36(2048,null,Jf.r,null,[Jf.v]),Df._17(6,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(7,1294336,null,0,Oy.a,[Wv.a,Gv.a,Df.p,Df.O,[2,Jf.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.searchitem);l(n,7,0,!0,!0)},function(l,n){l(n,3,1,[Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending,Df._32(n,7)._animated,Df._32(n,7)._value,Df._32(n,7)._isActive,Df._32(n,7)._showCancelButton,Df._32(n,7)._shouldAlignLeft,Df._32(n,7)._isFocus])})}function p(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function f(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function h(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,2,"h1",[],null,null,null,null,null)),(l()(),Df._39(4,null,["",""])),Df._35(5,1),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){l(n,4,0,Df._40(n,4,0,l(n,5,0,Df._32(n.parent.parent,1),n.parent.context.$implicit.applicat_details[0].applicant_name)))})}function g(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,60,"mat-card",[["class","md-box mat-card"],["reorder","true"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(3,0,null,0,54,"ion-list",[],null,null,null,null,null)),Df._17(4,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(6,0,null,null,50,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdAllocation(l.context.$implicit)&&u}return u},Vv.b,Vv.a)),Df._17(7,1097728,null,3,jv.a,[Nv.a,Wv.a,Df.p,Df.O,[2,Ev.a]],null,null),Df._37(335544320,5,{contentLabel:0}),Df._37(603979776,6,{_buttons:1}),Df._37(603979776,7,{_icons:1}),Df._17(11,16384,null,0,Rv.a,[],null,null),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._18(13,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),Df._17(14,147456,[[7,4]],0,Bv.a,[Wv.a,Df.p,Df.O],null,null),(l()(),Df._39(15,null,["",""])),Df._33(0,rg.s,[]),Df._35(17,1),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(19,0,null,2,18,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(20,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,h)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(25,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),Df._17(26,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(28,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(31,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(33,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(34,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._18(39,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(40,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(42,0,null,null,5,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),Df._17(43,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(45,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(46,null,["",", ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(49,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),Df._17(50,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(52,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(53,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._39(-1,null,[" \n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(59,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,23,0,0!=n.context.$implicit.applicat_details.length&&1==n.context.$implicit.applicat_details[0].applicant_type)},function(l,n){l(n,13,0,n.component.bgColor[n.context.index],Df._32(n,14)._hidden);l(n,15,0,Df._40(n,15,0,l(n,17,0,Df._32(n.parent,0),Df._40(n,15,0,Df._32(n,16).transform(n.context.$implicit.applicat_details[0].applicant_name,0,1)))));l(n,31,0,n.context.$implicit.pd_date_of_initiation);l(n,34,0,n.context.$implicit.city_name);l(n,46,0,n.context.$implicit.lender_short_name,n.context.$implicit.lender_applicant_id);l(n,53,0,n.context.$implicit.pd_status)})}function b(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,2,"h1",[],null,null,null,null,null)),(l()(),Df._39(4,null,["",""])),Df._35(5,1),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){l(n,4,0,Df._40(n,4,0,l(n,5,0,Df._32(n.parent.parent,1),n.parent.context.$implicit.applicat_details[0].applicant_name)))})}function v(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.pd_date_of_initiation)})}function y(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.scheduled_on)})}function C(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,71,"mat-card",[["class","md-box mat-card"],["reorder","true"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,65,"ion-list",[],null,null,null,null,null)),Df._17(4,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,61,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.PdAllocation(l.context.$implicit)&&u}return u},Vv.b,Vv.a)),Df._17(7,1097728,null,3,jv.a,[Nv.a,Wv.a,Df.p,Df.O,[2,Ev.a]],null,null),Df._37(335544320,8,{contentLabel:0}),Df._37(603979776,9,{_buttons:1}),Df._37(603979776,10,{_icons:1}),Df._17(11,16384,null,0,Rv.a,[],null,null),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._18(13,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),Df._17(14,147456,[[10,4]],0,Bv.a,[Wv.a,Df.p,Df.O],null,null),(l()(),Df._39(15,null,["",""])),Df._33(0,rg.s,[]),Df._35(17,1),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(19,0,null,2,5,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(20,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,b)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._18(26,0,null,2,16,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(27,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,5,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),Df._17(30,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(33,null,["",", ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(36,0,null,null,5,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),Df._17(37,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(40,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._18(44,0,null,2,22,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(45,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(47,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(48,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(51,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(54,0,null,null,11,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),Df._17(55,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(57,0,null,null,7,"div",[["style","font-size: 13px;"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,v)),Df._17(60,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,y)),Df._17(63,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n \n "])),(l()(),Df._39(-1,null,[" \n\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(70,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,23,0,0!=n.context.$implicit.applicat_details.length&&1==n.context.$implicit.applicat_details[0].applicant_type);l(n,60,0,null==n.context.$implicit.scheduled_on);l(n,63,0,null!=n.context.$implicit.scheduled_on)},function(l,n){l(n,13,0,n.component.bgColorPast[n.context.index],Df._32(n,14)._hidden);l(n,15,0,Df._40(n,15,0,l(n,17,0,Df._32(n.parent,0),Df._40(n,15,0,Df._32(n,16).transform(n.context.$implicit.applicat_details[0].applicant_name,0,1)))));l(n,33,0,n.context.$implicit.lender_short_name,n.context.$implicit.lender_applicant_id);l(n,40,0,n.context.$implicit.city_name);l(n,51,0,n.context.$implicit.pd_status)})}function w(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"div",[["text-center",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function F(l){return Df._41(0,[Df._33(0,rg.u,[]),Df._33(0,rg.t,[]),Df._37(402653184,1,{slider:0}),(l()(),Df._18(3,0,null,null,50,"ion-header",[],null,null,null,null,null)),Df._17(4,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(7,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,11).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(10,1097728,[[2,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(11,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(12,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,2,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(16,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,c)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n "])),(l()(),Df._13(16777216,null,3,1,null,m)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(26,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,3,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,p)),Df._17(30,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,f)),Df._17(33,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(38,0,null,null,14,"ion-segment",[["color","optblue"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"segment-disabled",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.pdlist=e)&&u}return u},null,null)),Df._17(39,671744,null,0,Jf.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Df._36(2048,null,Jf.r,null,[Jf.v]),Df._17(41,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(42,1196032,null,1,Ey.a,[Wv.a,Df.p,Df.O,[2,Jf.r]],{color:[0,"color"]},null),Df._37(603979776,4,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(45,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","0"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==Df._32(l,46).onClick()&&u}if("click"===n){t.selectedTab(0);u=!1!=(t.showButton=!t.showButton)&&u}return u},Ry.b,Ry.a)),Df._17(46,114688,[[4,4]],0,Uy.a,[],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["\n Allocated\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(49,0,null,null,2,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","1"]],[[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==Df._32(l,50).onClick()&&u}if("click"===n){u=!1!==t.selectedTab(1)&&u}return u},Ry.b,Ry.a)),Df._17(50,114688,[[4,4]],0,Uy.a,[],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["\n Scheduled\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(55,0,null,null,57,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(56,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(58,0,null,2,6,"ion-refresher",[],[[2,"refresher-active",null],[4,"top",null]],[[null,"ionRefresh"]],function(l,n,e){var u=!0;if("ionRefresh"===n){u=!1!==l.component.doRefresh(e)&&u}return u},null,null)),Df._17(59,212992,null,0,$y.a,[Gv.a,Zv.a,Df.H,zv.l],null,{ionRefresh:"ionRefresh"}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(61,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,By.b,By.a)),Df._17(62,114688,null,0,My.a,[$y.a,Wv.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n\n\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(68,0,null,1,2,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(69,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(72,0,null,1,35,"ion-slides",[],null,[[null,"ionSlideWillChange"]],function(l,n,e){var u=!0;if("ionSlideWillChange"===n){u=!1!==l.component.moveButton(e)&&u}return u},Ky.b,Ky.a)),Df._17(73,1228800,[[1,4],["slider",4]],0,Hy.a,[Wv.a,Gv.a,Df.H,[2,ly.a],Df.p,Df.O],null,{ionSlideWillChange:"ionSlideWillChange"}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(79,0,null,0,11,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(80,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(83,0,null,0,5,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),Df._17(84,16384,null,0,zy.a,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,g)),Df._17(87,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._39(-1,0,["\n \n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(94,0,null,0,11,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(95,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(98,0,null,0,5,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),Df._17(99,16384,null,0,zy.a,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,C)),Df._17(102,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,w)),Df._17(111,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n \n \n"]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,20,0,!e.viewchange);l(n,23,0,e.viewchange);l(n,30,0,!e.viewchange);l(n,33,0,e.viewchange);l(n,39,0,e.pdlist);l(n,42,0,"optblue");l(n,46,0,"0");l(n,50,0,"1"),l(n,59,0);l(n,62,0,"refresh","Pull to refresh","crescent","Refreshing...");l(n,87,0,e.pdinprogress);l(n,102,0,e.pdschduleDetails);l(n,111,0,!e.pdlistaccess&&null!=e.pdlistaccess)},function(l,n){l(n,6,0,Df._32(n,7)._hidden,Df._32(n,7)._sbPadding);l(n,9,0,Df._32(n,11).isHidden);l(n,15,0,Df._32(n,16)._hidden);l(n,38,0,Df._32(n,41).ngClassUntouched,Df._32(n,41).ngClassTouched,Df._32(n,41).ngClassPristine,Df._32(n,41).ngClassDirty,Df._32(n,41).ngClassValid,Df._32(n,41).ngClassInvalid,Df._32(n,41).ngClassPending,Df._32(n,42)._disabled);l(n,45,0,Df._32(n,46)._disabled,Df._32(n,46).isActive,Df._32(n,46).isActive);l(n,49,0,Df._32(n,50)._disabled,Df._32(n,50).isActive,Df._32(n,50).isActive);l(n,55,0,Df._32(n,56).statusbarPadding,Df._32(n,56)._hasRefresher);l(n,58,0,"inactive"!==Df._32(n,59).state,Df._32(n,59)._top);l(n,61,0,Df._32(n,62).r.state)})}function x(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""])),Df._35(3,1)],null,function(l,n){var e=n.component;l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent,0),e.pddetails.applicant_name)))})}function S(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,8,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,[" "])),(l()(),Df._18(3,0,null,0,5,"ion-searchbar",[["style","margin-top:-1px"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ngModelChange"],[null,"input"],[null,"ionCancel"]],function(l,n,e){var u=!0,t=l.component;if("ngModelChange"===n){u=!1!==(t.searchitem=e)&&u}if("input"===n){u=!1!==t.pdlistsearch(e)&&u}if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},Ty.b,Ty.a)),Df._17(4,671744,null,0,Jf.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Df._36(2048,null,Jf.r,null,[Jf.v]),Df._17(6,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(7,1294336,null,0,Oy.a,[Wv.a,Gv.a,Df.p,Df.O,[2,Jf.r]],{showCancelButton:[0,"showCancelButton"]},{ionCancel:"ionCancel"}),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.searchitem);l(n,7,0,!0)},function(l,n){l(n,3,1,[Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending,Df._32(n,7)._animated,Df._32(n,7)._value,Df._32(n,7)._isActive,Df._32(n,7)._showCancelButton,Df._32(n,7)._shouldAlignLeft,Df._32(n,7)._isFocus])})}function I(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function q(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function k(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,37,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(4,0,null,0,30,"ion-list",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.questionsTag(l.context.$implicit.fk_question_category_id)&&u}return u},null,null)),Df._17(5,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,26,"ion-item",[["class","item item-block"]],null,null,null,Vv.b,Vv.a)),Df._17(8,1097728,null,3,jv.a,[Nv.a,Wv.a,Df.p,Df.O,[2,Ev.a]],null,null),Df._37(335544320,3,{contentLabel:0}),Df._37(603979776,4,{_buttons:1}),Df._37(603979776,5,{_icons:1}),Df._17(12,16384,null,0,Rv.a,[],null,null),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._18(14,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),Df._17(15,147456,[[5,4]],0,Bv.a,[Wv.a,Df.p,Df.O],null,null),(l()(),Df._39(16,null,["",""])),Df._33(0,rg.s,[]),Df._35(18,1),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(20,0,null,2,12,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(21,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,8,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),Df._17(24,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),Df._39(27,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(30,null,[""," / "," Questions"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(36,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,[" \n \n "]))],null,function(l,n){l(n,14,0,n.component.bgColorqustCat[n.context.index],Df._32(n,15)._hidden);l(n,16,0,Df._40(n,16,0,l(n,18,0,Df._32(n.parent.parent,1),Df._40(n,16,0,Df._32(n,17).transform(n.context.$implicit.category_name[0],0,1)))));l(n,27,0,n.context.$implicit.category_name);l(n,30,0,n.context.$implicit.answerd_count,n.context.$implicit.questions_count)})}function P(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,k)),Df._17(3,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.component.questionCate.question_answers)},null)}function D(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"ion-icon",[["name","md-checkmark-circle"],["role","img"],["style","color:green;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(1,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"md-checkmark-circle")},function(l,n){l(n,0,0,Df._32(n,1)._hidden)})}function T(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"ion-icon",[["name","md-close-circle"],["role","img"],["style","color:red;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(1,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"md-close-circle")},function(l,n){l(n,0,0,Df._32(n,1)._hidden)})}function O(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,43,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,37,"ion-list",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.tempQustionTag(l.context.$implicit.form_id)&&u}return u},null,null)),Df._17(4,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,33,"ion-item",[["class","item item-block"]],null,null,null,Vv.b,Vv.a)),Df._17(7,1097728,null,3,jv.a,[Nv.a,Wv.a,Df.p,Df.O,[2,Ev.a]],null,null),Df._37(335544320,6,{contentLabel:0}),Df._37(603979776,7,{_buttons:1}),Df._37(603979776,8,{_icons:1}),Df._17(11,16384,null,0,Rv.a,[],null,null),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._18(13,0,null,0,4,"ion-icon",[["class","lettericon"],["item-start",""],["role","img"]],[[4,"background",null],[2,"hide",null]],null,null,null,null)),Df._17(14,147456,[[8,4]],0,Bv.a,[Wv.a,Df.p,Df.O],null,null),(l()(),Df._39(15,null,["",""])),Df._33(0,rg.s,[]),Df._35(17,1),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(19,0,null,2,19,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(20,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,6,"ion-col",[["class","col"],["col-5",""]],null,null,null,null,null)),Df._17(23,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(25,0,null,null,1,"h2",[["style","font-size:20px;"]],null,null,null,null,null)),(l()(),Df._39(26,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(30,0,null,null,7,"ion-col",[["class","col"],["col-1",""],["offset-5",""]],null,null,null,null,null)),Df._17(31,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,D)),Df._17(34,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(0,[["notAnswer",2]],null,0,null,T)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(42,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,34,0,n.context.$implicit.isAnswered,Df._32(n,36))},function(l,n){l(n,13,0,n.component.bgColortempForm[n.context.index],Df._32(n,14)._hidden);l(n,15,0,Df._40(n,15,0,l(n,17,0,Df._32(n.parent.parent,1),Df._40(n,15,0,Df._32(n,16).transform(n.context.$implicit.form_name[0],0,1)))));l(n,26,0,n.context.$implicit.form_name)})}function L(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,O)),Df._17(3,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,[" \n "]))],function(l,n){l(n,3,0,n.component.dis_forms)},null)}function A(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"div",[["text-center",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(3,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),Df._39(4,null,["",""])),(l()(),Df._39(-1,null,[" \n "]))],null,function(l,n){l(n,4,0,n.component.questionCate)})}function V(l){return Df._41(0,[Df._33(0,rg.t,[]),Df._33(0,rg.u,[]),(l()(),Df._18(2,0,null,null,34,"ion-header",[],null,null,null,null,null)),Df._17(3,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,30,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(6,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,10).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(9,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(10,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(11,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(15,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,x)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n "])),(l()(),Df._13(16777216,null,3,1,null,S)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(26,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,2,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,I)),Df._17(30,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,q)),Df._17(33,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(38,0,null,null,29,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(39,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(41,0,null,2,6,"ion-refresher",[],[[2,"refresher-active",null],[4,"top",null]],[[null,"ionRefresh"]],function(l,n,e){var u=!0;if("ionRefresh"===n){u=!1!==l.component.doRefresh(e)&&u}return u},null,null)),Df._17(42,212992,null,0,$y.a,[Gv.a,Zv.a,Df.H,zv.l],null,{ionRefresh:"ionRefresh"}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(44,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,By.b,By.a)),Df._17(45,114688,null,0,My.a,[$y.a,Wv.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(50,0,null,1,13,"ion-list",[],null,null,null,null,null)),Df._17(51,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(53,0,null,null,9,"ion-grid",[["class","grid"]],null,null,null,null,null)),Df._17(54,16384,null,0,zy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,P)),Df._17(58,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,L)),Df._17(61,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n\n \n \n "])),(l()(),Df._13(16777216,null,1,1,null,A)),Df._17(66,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(69,0,null,null,10,"ion-footer",[],null,null,null,null,null)),Df._17(70,16384,null,0,Xy.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(72,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(73,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(75,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green !important;"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.completed()&&u}return u},Vy.b,Vy.a)),Df._17(76,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["\n Completed "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,20,0,!e.viewchange);l(n,23,0,e.viewchange);l(n,30,0,!e.viewchange);l(n,33,0,e.viewchange),l(n,42,0);l(n,45,0,"refresh","Pull to refresh","crescent","Refreshing...");l(n,58,0,e.questionCateAccess);l(n,61,0,e.templateAccess);l(n,66,0,null!=e.questionCateAccess&&!e.questionCateAccess);l(n,76,0,"primary","")},function(l,n){var e=n.component;l(n,5,0,Df._32(n,6)._hidden,Df._32(n,6)._sbPadding);l(n,8,0,Df._32(n,10).isHidden);l(n,14,0,Df._32(n,15)._hidden);l(n,38,0,Df._32(n,39).statusbarPadding,Df._32(n,39)._hasRefresher);l(n,41,0,"inactive"!==Df._32(n,42).state,Df._32(n,42)._top);l(n,44,0,Df._32(n,45).r.state);l(n,75,0,!e.overallqustioncountAccess)})}function j(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,[""," Category"]))],null,function(l,n){l(n,2,0,n.component.questionDetails.category_name)})}function N(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,6,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,2,"ion-searchbar",[["style","margin-top:-1px"]],[[24,"@itemState",0],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ionCancel"]],function(l,n,e){var u=!0,t=l.component;if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},Ty.b,Ty.a)),Df._17(4,1294336,null,0,Oy.a,[Wv.a,Gv.a,Df.p,Df.O,[2,Jf.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,n.component.click,Df._32(n,4)._animated,Df._32(n,4)._value,Df._32(n,4)._isActive,Df._32(n,4)._showCancelButton,Df._32(n,4)._shouldAlignLeft,Df._32(n,4)._isFocus)})}function W(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function E(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function R(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","IngoreMe"]],[[8,"id",0],[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==Df._32(l,3).onClick()&&u}if("click"===n){u=!1!==t.selectTab(l.context.index)&&u}return u},Ry.b,Ry.a)),Df._17(1,278528,null,0,rg.h,[Df.B,Df.C,Df.p,Df.P],{ngClass:[0,"ngClass"]},null),Df._34(2,{"SwipedTabs-activeTab":0}),Df._17(3,114688,[[5,4]],0,Uy.a,[],{value:[0,"value"]},null),(l()(),Df._39(4,0,["\n ","\n "]))],function(l,n){var e=n.component;l(n,1,0,l(n,2,0,Df._32(n.parent,61)&&(Df._32(n.parent,61).getActiveIndex()===n.context.index||e.tabs.length-1===n.context.index&&Df._32(n.parent,61).isEnd())));l(n,3,0,"IngoreMe")},function(l,n){l(n,0,0,Df._21(1,"tabTitle",n.context.index,""),Df._32(n,3)._disabled,Df._32(n,3).isActive,Df._32(n,3).isActive);l(n,4,0,n.context.$implicit)})}function U(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,8,"mat-list-item",[["class","mat-list-item"]],null,[[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,1)._handleFocus()&&u}if("blur"===n){u=!1!==Df._32(l,1)._handleBlur()&&u}return u},nC.c,nC.b)),Df._17(1,1097728,null,2,eC.b,[Df.p,[2,eC.e]],null,null),Df._37(603979776,9,{_lines:1}),Df._37(335544320,10,{_hasAvatar:0}),(l()(),Df._39(-1,2,["\n\n "])),(l()(),Df._18(5,0,null,2,2,"mat-radio-button",[["class","mat-radio-button"],["name","answerDetails"],["radioGroup","rGroup"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,6)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(6,4440064,[[8,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{name:[0,"name"],checked:[1,"checked"],value:[2,"value"]},null),(l()(),Df._39(7,0,["",""])),(l()(),Df._39(-1,2,["\n\n\n "]))],function(l,n){l(n,6,0,"answerDetails",null!=n.context.$implicit.isactive||null!=n.context.$implicit.pd_detail_answer_id,n.context.$implicit)},function(l,n){l(n,5,0,Df._32(n,6).checked,Df._32(n,6).disabled,Df._32(n,6).id);l(n,7,0,n.context.$implicit.answer)})}function $(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","docName"],["placeholder","File Name"],["required",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0,t=l.component;if("blur"===n){u=!1!==Df._32(l,4)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,4)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,4)._onInput()&&u}if("blur"===n){u=!1!==t.docnames(e.target.value,l.parent.parent.context.index,l.parent.parent.context.$implicit.pd_document_name,l.parent.parent.context.$implicit.questionId)&&u}return u},null,null)),Df._36(6144,null,fy.c,null,[gy.b]),Df._17(4,933888,null,0,gy.b,[Df.p,Xf.a,[8,null],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"File Name","","text")},function(l,n){l(n,2,0,Df._32(n,4)._isServer,Df._32(n,4).id,Df._32(n,4).placeholder,Df._32(n,4).disabled,Df._32(n,4).required,Df._32(n,4).readonly,Df._32(n,4)._ariaDescribedby||null,Df._32(n,4).errorState,Df._32(n,4).required.toString())})}function B(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),Df._39(1,null,["\n ","\n "]))],null,function(l,n){l(n,1,0,n.parent.parent.context.$implicit.pd_document_title)})}function M(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,15,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeimage(l.parent.context.index)&&u}return u},null,null)),Df._17(4,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,1,"img",[["class","img-responsive"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).onClick(e)&&u}return u},null,null)),Df._17(8,16384,null,0,iC.a,[Df.p,oC.a],{src:[0,"src"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,$)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,B)),Df._17(14,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"trash");l(n,8,0,"");l(n,11,0,""==n.parent.context.$implicit.pd_document_title);l(n,14,0,""!=n.parent.context.$implicit.pd_document_title)},function(l,n){l(n,3,0,Df._32(n,4)._hidden);l(n,7,0,Df._21(1,"",n.parent.context.$implicit.pd_document_name,""))})}function K(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,M)),Df._17(4,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,n.context.$implicit.questionId==n.parent.parent.context.$implicit.fk_question_id)},null)}function H(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,26,"mat-list",[["class","mat-list"]],null,null,null,nC.d,nC.a)),Df._17(7,49152,null,0,eC.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(9,0,null,0,22,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(10,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,[["rGroup",1]],0,10,"mat-radio-group",[["class","mat-radio-group"],["formControlName","answerDetails"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(13,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,8,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,U)),Df._17(21,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(25,0,null,0,5,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(26,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,K)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"answerDetails");l(n,21,0,n.parent.context.$implicit.answers);l(n,29,0,e.docArray)},function(l,n){l(n,12,0,Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending)})}function G(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"mat-list-item",[["class","mat-list-item"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,1).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,1).onReset()&&u}if("focus"===n){u=!1!==Df._32(l,4)._handleFocus()&&u}if("blur"===n){u=!1!==Df._32(l,4)._handleBlur()&&u}return u},nC.c,nC.b)),Df._17(1,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(4,1097728,null,2,eC.b,[Df.p,[2,eC.e]],null,null),Df._37(603979776,11,{_lines:1}),Df._37(335544320,12,{_hasAvatar:0}),(l()(),Df._39(-1,2,["\n\n "])),(l()(),Df._18(8,0,null,2,10,"small",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,6,"mat-checkbox",[["class","example-margin mat-checkbox"],["formControlName","checkbox"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,rC.b,rC.a)),Df._17(12,4374528,null,0,_C.b,[Df.p,Df.i,yy.j,[8,null],[2,_C.a]],{id:[0,"id"]},null),Df._36(1024,null,Jf.q,function(l){return[l]},[_C.b]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(17,0,["\n ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n\n "]))],function(l,n){l(n,1,0,n.context.$implicit);l(n,12,0,Df._21(1,"",n.context.$implicit.controls.pd_answer_id.value,""));l(n,14,0,"checkbox")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,11,1,[Df._32(n,12).id,Df._32(n,12).indeterminate,Df._32(n,12).checked,Df._32(n,12).disabled,"before"==Df._32(n,12).labelPosition,Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending]);l(n,17,0,n.context.$implicit.controls.pd_answer.value)})}function Y(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,39,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,35,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,31,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(7,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(9,0,null,0,27,"mat-list",[["class","mat-list"]],null,null,null,nC.d,nC.a)),Df._17(10,49152,null,0,eC.a,[],null,null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(12,0,null,0,23,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,14).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,14).onReset()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.B,[],null,null),Df._17(14,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(16,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(18,0,null,null,16,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(19,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(22,0,null,null,11,"div",[["class","text-xs-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(24,0,null,null,8,"mat-list",[["class","mat-list"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,nC.d,nC.a)),Df._17(25,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(27,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(28,49152,null,0,eC.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,G)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,e.questionAnswer);l(n,25,0,"items");l(n,31,0,e.questionAnswer.controls.items.controls)},function(l,n){l(n,12,0,Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending);l(n,24,0,Df._32(n,27).ngClassUntouched,Df._32(n,27).ngClassTouched,Df._32(n,27).ngClassPristine,Df._32(n,27).ngClassDirty,Df._32(n,27).ngClassValid,Df._32(n,27).ngClassInvalid,Df._32(n,27).ngClassPending)})}function z(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,37,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,33,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,29,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(7,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(9,0,null,0,25,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,11).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,11).onReset()&&u}return u},null,null)),Df._17(10,16384,null,0,Jf.B,[],null,null),Df._17(11,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(13,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(15,0,null,null,18,"mat-form-field",[["class","example-full-width mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(16,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,13,{_control:0}),Df._37(335544320,14,{_placeholderChild:0}),Df._37(335544320,15,{_labelChild:0}),Df._37(603979776,16,{_errorChildren:1}),Df._37(603979776,17,{_hintChildren:1}),Df._37(603979776,18,{_prefixChildren:1}),Df._37(603979776,19,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","answerDetails"],["matInput",""],["name","answerDetails"],["placeholder","Leave a comment"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,31)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,31)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,31)._onInput()&&u}return u},null,null)),Df._17(26,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(28,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(30,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(31,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[13,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,11,0,n.component.questionAnswer);l(n,28,0,"answerDetails");l(n,31,0,"Leave a comment")},function(l,n){l(n,9,0,Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending);l(n,15,1,[Df._32(n,16)._control.errorState,Df._32(n,16)._control.errorState,Df._32(n,16)._canLabelFloat,Df._32(n,16)._shouldLabelFloat(),Df._32(n,16)._hideControlPlaceholder(),Df._32(n,16)._control.disabled,Df._32(n,16)._control.focused,"primary"==Df._32(n,16).color,"accent"==Df._32(n,16).color,"warn"==Df._32(n,16).color,Df._32(n,16)._shouldForward("untouched"),Df._32(n,16)._shouldForward("touched"),Df._32(n,16)._shouldForward("pristine"),Df._32(n,16)._shouldForward("dirty"),Df._32(n,16)._shouldForward("valid"),Df._32(n,16)._shouldForward("invalid"),Df._32(n,16)._shouldForward("pending")]);l(n,25,1,[Df._32(n,30).ngClassUntouched,Df._32(n,30).ngClassTouched,Df._32(n,30).ngClassPristine,Df._32(n,30).ngClassDirty,Df._32(n,30).ngClassValid,Df._32(n,30).ngClassInvalid,Df._32(n,30).ngClassPending,Df._32(n,31)._isServer,Df._32(n,31).id,Df._32(n,31).placeholder,Df._32(n,31).disabled,Df._32(n,31).required,Df._32(n,31).readonly,Df._32(n,31)._ariaDescribedby||null,Df._32(n,31).errorState,Df._32(n,31).required.toString()])})}function Q(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,110,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(1,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,11,"ion-fab",[["middle",""],["right",""]],null,null,null,dC.b,dC.a)),Df._17(4,1228800,null,2,sC.a,[Gv.a],null,null),Df._37(335544320,6,{_mainButton:0}),Df._37(603979776,7,{_fabLists:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,5,"button",[["color","primary"],["ion-fab",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getDocUpload(l.context.$implicit.fk_question_id)&&u}return u},cC.b,cC.a)),Df._17(9,49152,[[6,4]],0,mC.a,[Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(11,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(12,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(16,0,null,0,93,"ion-scroll",[["scrollY","true"]],[[2,"scroll-x",null],[2,"scroll-y",null]],null,null,pC.b,pC.a)),Df._17(17,49152,null,0,fC.a,[],{scrollY:[0,"scrollY"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(19,0,null,0,13,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(20,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,9,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),Df._17(23,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(25,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(26,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(28,0,null,0,1,"h2",[],null,null,null,null,null)),(l()(),Df._39(29,null,["",""])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(34,0,null,0,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,36).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,36).onReset()&&u}return u},null,null)),Df._17(35,16384,null,0,Jf.B,[],null,null),Df._17(36,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(38,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,H)),Df._17(41,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Y)),Df._17(44,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,z)),Df._17(47,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(49,0,null,null,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,57)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.questionId=e)&&u}return u},null,null)),Df._36(6144,null,fy.c,null,[gy.b]),Df._17(51,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(53,671744,null,0,Jf.v,[[2,Jf.c],[8,null],[8,null],[2,Jf.q]],{model:[0,"model"],options:[1,"options"]},{update:"ngModelChange"}),Df._34(54,{standalone:0}),Df._36(2048,null,Jf.r,null,[Jf.v]),Df._17(56,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(57,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{type:[0,"type"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(60,0,null,0,48,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(61,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(63,0,null,null,44,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(64,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(66,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(67,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(72,0,null,0,33,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(73,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(75,0,null,null,29,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(76,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(78,0,null,null,25,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,80).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,80).onReset()&&u}return u},null,null)),Df._17(79,16384,null,0,Jf.B,[],null,null),Df._17(80,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(82,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(84,0,null,null,18,"mat-form-field",[["class","example-full-width mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(85,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,20,{_control:0}),Df._37(335544320,21,{_placeholderChild:0}),Df._37(335544320,22,{_labelChild:0}),Df._37(603979776,23,{_errorChildren:1}),Df._37(603979776,24,{_hintChildren:1}),Df._37(603979776,25,{_prefixChildren:1}),Df._37(603979776,26,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(94,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","questionRemarks"],["matInput",""],["name","questionRemarks"],["placeholder","Leave a comment"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,95)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,95).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,95)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,95)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,100)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,100)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,100)._onInput()&&u}return u},null,null)),Df._17(95,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(97,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(99,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(100,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[20,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"primary");l(n,12,0,"md-camera");l(n,17,0,"true");l(n,36,0,e.questionAnswer);l(n,41,0,"1"==n.context.$implicit.fk_question_answertype);l(n,44,0,"3"==n.context.$implicit.fk_question_answertype);l(n,47,0,"2"==n.context.$implicit.fk_question_answertype);l(n,53,0,e.questionId,l(n,54,0,!0));l(n,57,0,"text");l(n,80,0,e.questionanotherData);l(n,97,0,"questionRemarks");l(n,100,0,"Leave a comment")},function(l,n){l(n,11,0,Df._32(n,12)._hidden);l(n,16,0,Df._32(n,17).scrollX,Df._32(n,17).scrollY);l(n,29,0,n.context.$implicit.question);l(n,34,0,Df._32(n,38).ngClassUntouched,Df._32(n,38).ngClassTouched,Df._32(n,38).ngClassPristine,Df._32(n,38).ngClassDirty,Df._32(n,38).ngClassValid,Df._32(n,38).ngClassInvalid,Df._32(n,38).ngClassPending);l(n,49,1,[Df._32(n,56).ngClassUntouched,Df._32(n,56).ngClassTouched,Df._32(n,56).ngClassPristine,Df._32(n,56).ngClassDirty,Df._32(n,56).ngClassValid,Df._32(n,56).ngClassInvalid,Df._32(n,56).ngClassPending,Df._32(n,57)._isServer,Df._32(n,57).id,Df._32(n,57).placeholder,Df._32(n,57).disabled,Df._32(n,57).required,Df._32(n,57).readonly,Df._32(n,57)._ariaDescribedby||null,Df._32(n,57).errorState,Df._32(n,57).required.toString()]);l(n,78,0,Df._32(n,82).ngClassUntouched,Df._32(n,82).ngClassTouched,Df._32(n,82).ngClassPristine,Df._32(n,82).ngClassDirty,Df._32(n,82).ngClassValid,Df._32(n,82).ngClassInvalid,Df._32(n,82).ngClassPending);l(n,84,1,[Df._32(n,85)._control.errorState,Df._32(n,85)._control.errorState,Df._32(n,85)._canLabelFloat,Df._32(n,85)._shouldLabelFloat(),Df._32(n,85)._hideControlPlaceholder(),Df._32(n,85)._control.disabled,Df._32(n,85)._control.focused,"primary"==Df._32(n,85).color,"accent"==Df._32(n,85).color,"warn"==Df._32(n,85).color,Df._32(n,85)._shouldForward("untouched"),Df._32(n,85)._shouldForward("touched"),Df._32(n,85)._shouldForward("pristine"),Df._32(n,85)._shouldForward("dirty"),Df._32(n,85)._shouldForward("valid"),Df._32(n,85)._shouldForward("invalid"),Df._32(n,85)._shouldForward("pending")]);l(n,94,1,[Df._32(n,99).ngClassUntouched,Df._32(n,99).ngClassTouched,Df._32(n,99).ngClassPristine,Df._32(n,99).ngClassDirty,Df._32(n,99).ngClassValid,Df._32(n,99).ngClassInvalid,Df._32(n,99).ngClassPending,Df._32(n,100)._isServer,Df._32(n,100).id,Df._32(n,100).placeholder,Df._32(n,100).disabled,Df._32(n,100).required,Df._32(n,100).readonly,Df._32(n,100)._ariaDescribedby||null,Df._32(n,100).errorState,Df._32(n,100).required.toString()])})}function J(l){return Df._41(0,[Df._37(402653184,1,{SwipedTabsSlider:0}),Df._37(402653184,2,{ItemsTitles:0}),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(3,0,null,null,52,"ion-header",[],null,null,null,null,null)),Df._17(4,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(6,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(7,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,11).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(10,1097728,[[3,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(11,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(12,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,3,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(16,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,j)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n "])),(l()(),Df._13(16777216,null,3,1,null,N)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(26,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,4,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,W)),Df._17(30,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,E)),Df._17(33,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,17,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,hC.b,hC.a)),Df._17(38,49152,null,0,Py.a,[Wv.a,Df.p,Df.O],null,null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(40,0,null,3,13,"ion-content",[["class","tabsContent"]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(41,4374528,[[2,4],["MultiItemsScrollingTabs",4]],0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,6,"ion-segment",[["class","SwipedTabs-tabs"]],[[2,"segment-disabled",null]],null,null,null,null)),Df._17(44,1196032,null,1,Ey.a,[Wv.a,Df.p,Df.O,[2,Jf.r]],null,null),Df._37(603979776,5,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,R)),Df._17(48,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(52,0,null,1,0,"div",[["class","SwipedTabs-indicatorSegment"],["id","indicator"]],null,null,null,null,null)),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(57,0,null,null,9,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(58,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._18(60,0,null,1,5,"ion-slides",[],null,[[null,"ionSlideDrag"],[null,"ionSlideDidChange"],[null,"ionSlideWillChange"],[null,"panend"]],function(l,n,e){var u=!0,t=l.component;if("ionSlideDrag"===n){u=!1!==t.animateIndicator(e)&&u}if("ionSlideDidChange"===n){u=!1!==t.updateIndicatorPosition()&&u}if("ionSlideWillChange"===n){u=!1!==t.scrollIndicatiorTab()&&u}if("panend"===n){u=!1!==t.updateIndicatorPositionOnTouchEnd()&&u}return u},Ky.b,Ky.a)),Df._17(61,1228800,[[1,4],["SwipedTabsSlider",4]],0,Hy.a,[Wv.a,Gv.a,Df.H,[2,ly.a],Df.p,Df.O],{pager:[0,"pager"]},{ionSlideWillChange:"ionSlideWillChange",ionSlideDidChange:"ionSlideDidChange",ionSlideDrag:"ionSlideDrag"}),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._13(16777216,null,0,1,null,Q)),Df._17(64,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,1,["\n\n\n"])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(68,0,null,null,30,"ion-footer",[],null,null,null,null,null)),Df._17(69,16384,null,0,Xy.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(71,0,null,null,26,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(72,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(74,0,null,null,10,"ion-col",[["class","col"],["col-6",""],["style","padding: 0px !important;"]],null,null,null,null,null)),Df._17(75,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(78,0,null,null,5,"button",[["color","danger"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.prev(t.questionAnswer.value,t.questionanotherData.value,t.questionDetails)&&u}return u},Vy.b,Vy.a)),Df._17(79,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(81,0,null,0,1,"ion-icon",[["name","md-arrow-back"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(82,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,[" SAVE & PREVIOUS\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(86,0,null,null,10,"ion-col",[["class","col"],["col-6",""],["style","padding: 0px !important;"]],null,null,null,null,null)),Df._17(87,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(90,0,null,null,5,"button",[["color","secondary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveQuestionDetails(t.questionAnswer.value,t.questionanotherData.value,t.questionDetails)&&u}return u},Vy.b,Vy.a)),Df._17(91,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["Save & Next\n "])),(l()(),Df._18(93,0,null,0,1,"ion-icon",[["name","md-arrow-forward"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(94,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,20,0,!e.viewchange);l(n,23,0,e.viewchange);l(n,30,0,!e.viewchange);l(n,33,0,e.viewchange);l(n,48,0,e.tabs);l(n,61,0,!1);l(n,64,0,e.questionDetails.questions);l(n,79,0,"danger","");l(n,82,0,"md-arrow-back");l(n,91,0,"secondary","");l(n,94,0,"md-arrow-forward")},function(l,n){l(n,6,0,Df._32(n,7)._hidden,Df._32(n,7)._sbPadding);l(n,9,0,Df._32(n,11).isHidden);l(n,15,0,Df._32(n,16)._hidden);l(n,37,0,Df._32(n,38)._sbPadding);l(n,40,0,Df._32(n,41).statusbarPadding,Df._32(n,41)._hasRefresher);l(n,43,0,Df._32(n,44)._disabled);l(n,57,0,Df._32(n,58).statusbarPadding,Df._32(n,58)._hasRefresher);l(n,81,0,Df._32(n,82)._hidden);l(n,93,0,Df._32(n,94)._hidden)})}function X(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["PD Listing"]))],null,null)}function Z(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,[" "])),(l()(),Df._18(3,0,null,0,2,"ion-searchbar",[["style","margin-top:-1px"]],[[24,"@itemState",0],[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ionCancel"]],function(l,n,e){var u=!0,t=l.component;if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},Ty.b,Ty.a)),Df._17(4,1294336,null,0,Oy.a,[Wv.a,Gv.a,Df.p,Df.O,[2,Jf.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,n.component.click,Df._32(n,4)._animated,Df._32(n,4)._value,Df._32(n,4)._isActive,Df._32(n,4)._showCancelButton,Df._32(n,4)._shouldAlignLeft,Df._32(n,4)._isFocus)})}function ll(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function nl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function el(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"ion-segment-button",[["class","segment-button"],["role","button"],["tappable",""],["value","IngoreMe"]],[[8,"id",0],[2,"segment-button-disabled",null],[2,"segment-activated",null],[1,"aria-pressed",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==Df._32(l,3).onClick()&&u}if("click"===n){u=!1!==t.selectTab(l.context.index)&&u}return u},Ry.b,Ry.a)),Df._17(1,278528,null,0,rg.h,[Df.B,Df.C,Df.p,Df.P],{ngClass:[0,"ngClass"]},null),Df._34(2,{"SwipedTabs-activeTab":0}),Df._17(3,114688,[[5,4]],0,Uy.a,[],{value:[0,"value"]},null),(l()(),Df._39(4,0,["\n ","\n "]))],function(l,n){var e=n.component;l(n,1,0,l(n,2,0,Df._32(n.parent,61)&&(Df._32(n.parent,61).getActiveIndex()===n.context.index||e.tabs.length-1===n.context.index&&Df._32(n.parent,61).isEnd())));l(n,3,0,"IngoreMe")},function(l,n){l(n,0,0,Df._21(1,"tabTitle",n.context.index,""),Df._32(n,3)._disabled,Df._32(n,3).isActive,Df._32(n,3).isActive);l(n,4,0,n.context.$implicit)})}function ul(l){return Df._41(0,[Df._37(402653184,1,{SwipedTabsSlider:0}),Df._37(402653184,2,{ItemsTitles:0}),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(3,0,null,null,52,"ion-header",[],null,null,null,null,null)),Df._17(4,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(6,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(7,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,11).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(10,1097728,[[3,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(11,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(12,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,3,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(16,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,X)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n "])),(l()(),Df._13(16777216,null,3,1,null,Z)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(25,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(26,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,4,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ll)),Df._17(30,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,nl)),Df._17(33,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,17,"ion-toolbar",[["class","toolbar"]],[[2,"statusbar-padding",null]],null,null,hC.b,hC.a)),Df._17(38,49152,null,0,Py.a,[Wv.a,Df.p,Df.O],null,null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(40,0,null,3,13,"ion-content",[["class","tabsContent"]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(41,4374528,[[2,4],["MultiItemsScrollingTabs",4]],0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,6,"ion-segment",[["class","SwipedTabs-tabs"]],[[2,"segment-disabled",null]],null,null,null,null)),Df._17(44,1196032,null,1,Ey.a,[Wv.a,Df.p,Df.O,[2,Jf.r]],null,null),Df._37(603979776,5,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,el)),Df._17(48,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(52,0,null,1,0,"div",[["class","SwipedTabs-indicatorSegment"],["id","indicator"]],null,null,null,null,null)),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(57,0,null,null,576,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(58,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._18(60,0,null,1,572,"ion-slides",[],null,[[null,"ionSlideDrag"],[null,"ionSlideDidChange"],[null,"ionSlideWillChange"],[null,"panend"]],function(l,n,e){var u=!0,t=l.component;if("ionSlideDrag"===n){u=!1!==t.animateIndicator(e)&&u}if("ionSlideDidChange"===n){u=!1!==t.updateIndicatorPosition()&&u}if("ionSlideWillChange"===n){u=!1!==t.scrollIndicatiorTab()&&u}if("panend"===n){u=!1!==t.updateIndicatorPositionOnTouchEnd()&&u}return u},Ky.b,Ky.a)),Df._17(61,1228800,[[1,4],["SwipedTabsSlider",4]],0,Hy.a,[Wv.a,Gv.a,Df.H,[2,ly.a],Df.p,Df.O],{pager:[0,"pager"]},{ionSlideWillChange:"ionSlideWillChange",ionSlideDidChange:"ionSlideDidChange",ionSlideDrag:"ionSlideDrag"}),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(63,0,null,0,55,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(64,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._18(66,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(67,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(69,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(70,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(72,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(73,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(75,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),Df._18(77,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["56+12*0.45-3=?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(83,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(84,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(86,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(87,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(89,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(90,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(92,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["1. 28.5"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(96,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(97,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(99,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["2. 47.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(103,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(104,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(106,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["3. 86.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(110,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(111,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(113,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["4. 58.4"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(120,0,null,0,55,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(121,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(123,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(124,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(126,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(127,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(129,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(130,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(132,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),Df._18(134,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["56+12*0.45-3=?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(140,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(141,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(143,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(144,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(146,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(147,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(149,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["1. 28.5"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(153,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(154,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(156,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["2. 47.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(160,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(161,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(163,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["3. 86.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(167,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(168,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(170,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["4. 58.4"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(177,0,null,0,55,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(178,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(180,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(181,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(183,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(184,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(186,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(187,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(189,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),Df._18(191,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["56+12*0.45-3=?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(197,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(198,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(200,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(201,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(203,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(204,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(206,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["1. 28.5"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(210,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(211,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(213,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["2. 47.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(217,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(218,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(220,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["3. 86.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(224,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(225,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(227,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["4. 58.4"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(234,0,null,0,55,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(235,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(237,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(238,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(240,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(241,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(243,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(244,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(246,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),Df._18(248,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["56+12*0.45-3=?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(254,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(255,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(257,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(258,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(260,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(261,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(263,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["1. 28.5"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(267,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(268,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(270,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["2. 47.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(274,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(275,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(277,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["3. 86.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(281,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(282,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(284,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["4. 58.4"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(291,0,null,0,55,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(292,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(294,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(295,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(297,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(298,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(300,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(301,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(303,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),Df._18(305,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["56+12*0.45-3=?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(311,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(312,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(314,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(315,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(317,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(318,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(320,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["1. 28.5"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(324,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(325,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(327,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["2. 47.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(331,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(332,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(334,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["3. 86.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(338,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(339,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(341,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["4. 58.4"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(348,0,null,0,55,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(349,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(351,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(352,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(354,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(355,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(357,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(358,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(360,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),Df._18(362,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["56+12*0.45-3=?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(368,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(369,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(371,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(372,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(374,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(375,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(377,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["1. 28.5"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(381,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(382,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(384,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["2. 47.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(388,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(389,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(391,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["3. 86.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(395,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(396,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(398,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["4. 58.4"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(405,0,null,0,55,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(406,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(408,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(409,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(411,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(412,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(414,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(415,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(417,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),Df._18(419,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["56+12*0.45-3=?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(425,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(426,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(428,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(429,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(431,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(432,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(434,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["1. 28.5"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(438,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(439,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(441,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["2. 47.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(445,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(446,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(448,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["3. 86.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(452,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(453,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(455,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["4. 58.4"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(462,0,null,0,55,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(463,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(465,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(466,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(468,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(469,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(471,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(472,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(474,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),Df._18(476,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["56+12*0.45-3=?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(482,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(483,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(485,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(486,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(488,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(489,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(491,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["1. 28.5"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(495,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(496,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(498,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["2. 47.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(502,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(503,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(505,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["3. 86.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(509,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(510,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(512,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["4. 58.4"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(519,0,null,0,55,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(520,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(522,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(523,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(525,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(526,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(528,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(529,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(531,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),Df._18(533,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["56+12*0.45-3=?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(539,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(540,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(542,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(543,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(545,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(546,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(548,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["1. 28.5"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(552,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(553,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(555,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["2. 47.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(559,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(560,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(562,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["3. 86.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(566,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(567,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(569,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["4. 58.4"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(576,0,null,0,55,"ion-slide",[],null,null,null,Gy.b,Gy.a)),Df._17(577,180224,null,0,Yy.a,[Df.p,Df.O,Hy.a],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(579,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(580,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(582,0,null,null,11,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(583,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(585,0,null,null,7,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(586,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(588,0,null,0,3,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["What should come in place of question mark (?) in the following given question?"])),(l()(),Df._18(590,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["56+12*0.45-3=?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(596,0,null,0,34,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(597,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(599,0,null,null,30,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(600,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(602,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(603,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(605,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["1. 28.5"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(609,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(610,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(612,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["2. 47.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(616,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(617,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(619,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["3. 86.6"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(623,0,null,null,5,"mat-card",[["class","mat-card1 mat-card"]],null,null,null,dy.d,dy.a)),Df._17(624,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(626,0,null,0,1,"h2",[["text-left",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["4. 58.4"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,0,["\n\n\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,20,0,!e.viewchange);l(n,23,0,e.viewchange);l(n,30,0,!e.viewchange);l(n,33,0,e.viewchange);l(n,48,0,e.tabs);l(n,61,0,!1)},function(l,n){l(n,6,0,Df._32(n,7)._hidden,Df._32(n,7)._sbPadding);l(n,9,0,Df._32(n,11).isHidden);l(n,15,0,Df._32(n,16)._hidden);l(n,37,0,Df._32(n,38)._sbPadding);l(n,40,0,Df._32(n,41).statusbarPadding,Df._32(n,41)._hasRefresher);l(n,43,0,Df._32(n,44)._disabled);l(n,57,0,Df._32(n,58).statusbarPadding,Df._32(n,58)._hasRefresher)})}function tl(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(7,0,null,3,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(8,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["password"])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(13,0,null,null,88,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(14,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._18(16,0,null,1,84,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(17,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(19,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(20,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(23,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(24,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(27,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(33,0,null,0,53,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(34,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(36,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(37,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(40,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(42,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["New Password"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(47,0,null,null,38,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(48,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,34,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(51,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(53,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(54,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,1,{_control:0}),Df._37(335544320,2,{_placeholderChild:0}),Df._37(335544320,3,{_labelChild:0}),Df._37(603979776,4,{_errorChildren:1}),Df._37(603979776,5,{_hintChildren:1}),Df._37(603979776,6,{_prefixChildren:1}),Df._37(603979776,7,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(63,0,[["newpassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","New Password"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==Df._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,64)._onInput()&&u}return u},null,null)),Df._17(64,933888,null,0,gy.b,[Df.p,Xf.a,[8,null],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[1,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(68,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(71,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,8,{_control:0}),Df._37(335544320,9,{_placeholderChild:0}),Df._37(335544320,10,{_labelChild:0}),Df._37(603979776,11,{_errorChildren:1}),Df._37(603979776,12,{_hintChildren:1}),Df._37(603979776,13,{_prefixChildren:1}),Df._37(603979776,14,{_suffixChildren:1}),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._18(80,0,[["confirmPassword",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Confirm Password"],["required",""],["style","width: 100%;"],["type","password"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==Df._32(l,81)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,81)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,81)._onInput()&&u}return u},null,null)),Df._17(81,933888,null,0,gy.b,[Df.p,Xf.a,[8,null],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[8,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(88,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),Df._17(89,16384,null,0,sy.d,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(91,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(92,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(94,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.setNewPassword(Df._32(l,63).value)&&u}return u},by.b,by.a)),Df._17(95,180224,null,0,vy.b,[Df.p,Xf.a,yy.j],{color:[0,"color"]},null),Df._17(96,16384,null,0,vy.f,[],null,null),(l()(),Df._39(-1,0,["Set Password"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n\n\n"]))],function(l,n){l(n,5,0,"optblue");l(n,64,0,"New Password","","password");l(n,81,0,"Confirm Password","","password");l(n,95,0,"primary")},function(l,n){var e=n.component;l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,13,0,Df._32(n,14).statusbarPadding,Df._32(n,14)._hasRefresher);l(n,29,0,e.commonImage||"../../assets/img/misc/avatar.jpg");l(n,53,1,[Df._32(n,54)._control.errorState,Df._32(n,54)._control.errorState,Df._32(n,54)._canLabelFloat,Df._32(n,54)._shouldLabelFloat(),Df._32(n,54)._hideControlPlaceholder(),Df._32(n,54)._control.disabled,Df._32(n,54)._control.focused,"primary"==Df._32(n,54).color,"accent"==Df._32(n,54).color,"warn"==Df._32(n,54).color,Df._32(n,54)._shouldForward("untouched"),Df._32(n,54)._shouldForward("touched"),Df._32(n,54)._shouldForward("pristine"),Df._32(n,54)._shouldForward("dirty"),Df._32(n,54)._shouldForward("valid"),Df._32(n,54)._shouldForward("invalid"),Df._32(n,54)._shouldForward("pending")]);l(n,63,0,Df._32(n,64)._isServer,Df._32(n,64).id,Df._32(n,64).placeholder,Df._32(n,64).disabled,Df._32(n,64).required,Df._32(n,64).readonly,Df._32(n,64)._ariaDescribedby||null,Df._32(n,64).errorState,Df._32(n,64).required.toString());l(n,70,1,[Df._32(n,71)._control.errorState,Df._32(n,71)._control.errorState,Df._32(n,71)._canLabelFloat,Df._32(n,71)._shouldLabelFloat(),Df._32(n,71)._hideControlPlaceholder(),Df._32(n,71)._control.disabled,Df._32(n,71)._control.focused,"primary"==Df._32(n,71).color,"accent"==Df._32(n,71).color,"warn"==Df._32(n,71).color,Df._32(n,71)._shouldForward("untouched"),Df._32(n,71)._shouldForward("touched"),Df._32(n,71)._shouldForward("pristine"),Df._32(n,71)._shouldForward("dirty"),Df._32(n,71)._shouldForward("valid"),Df._32(n,71)._shouldForward("invalid"),Df._32(n,71)._shouldForward("pending")]);l(n,80,0,Df._32(n,81)._isServer,Df._32(n,81).id,Df._32(n,81).placeholder,Df._32(n,81).disabled,Df._32(n,81).required,Df._32(n,81).readonly,Df._32(n,81)._ariaDescribedby||null,Df._32(n,81).errorState,Df._32(n,81).required.toString());l(n,91,0,"end"===Df._32(n,92).align);l(n,94,0,Df._32(n,95).disabled||null)})}function al(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["PD Listing"]))],null,null)}function il(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,[" "])),(l()(),Df._18(3,0,null,0,2,"ion-searchbar",[["style","margin-top:-1px"]],[[2,"searchbar-animated",null],[2,"searchbar-has-value",null],[2,"searchbar-active",null],[2,"searchbar-show-cancel",null],[2,"searchbar-left-aligned",null],[2,"searchbar-has-focus",null]],[[null,"ionCancel"]],function(l,n,e){var u=!0,t=l.component;if("ionCancel"===n){u=!1!==t.filter(t.viewchange)&&u}return u},Ty.b,Ty.a)),Df._17(4,1294336,null,0,Oy.a,[Wv.a,Gv.a,Df.p,Df.O,[2,Jf.r]],{showCancelButton:[0,"showCancelButton"],animated:[1,"animated"]},{ionCancel:"ionCancel"}),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,!0,!0)},function(l,n){l(n,3,0,Df._32(n,4)._animated,Df._32(n,4)._value,Df._32(n,4)._isActive,Df._32(n,4)._showCancelButton,Df._32(n,4)._shouldAlignLeft,Df._32(n,4)._isFocus)})}function ol(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["name","search"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"search")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function rl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.filter(t.viewchange)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["name","close"],["role","img"],["style","color:white;font-size:25px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"close")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function _l(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),Df._18(7,0,null,null,0,"i",[["class","fa-1x fa fa-user-o"]],null,null,null,null,null)),(l()(),Df._39(8,null,["  "," (Main)"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),Df._17(12,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),Df._18(15,0,null,null,0,"i",[["class","fa-1x fa fa-phone"]],null,null,null,null,null)),(l()(),Df._39(16,null,[" "," "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.parent.context.$implicit.applicant_name);l(n,16,0,n.parent.context.$implicit.mobile_no)})}function dl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),Df._18(7,0,null,null,0,"i",[["class","fa-1x fa fa-user-o"]],null,null,null,null,null)),(l()(),Df._39(8,null,["  ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,6,"ion-col",[["class","col"],["text-left",""]],null,null,null,null,null)),Df._17(12,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),Df._18(15,0,null,null,0,"i",[["class","fa-1x fa fa-phone"]],null,null,null,null,null)),(l()(),Df._39(16,null,[" "," "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.parent.context.$implicit.applicant_name);l(n,16,0,n.parent.context.$implicit.mobile_no)})}function sl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,8,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(1,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,_l)),Df._17(4,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,dl)),Df._17(7,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"1"==n.context.$implicit.applicant_type);l(n,7,0,"0"==n.context.$implicit.applicant_type)},null)}function cl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,33,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,29,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,al)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n "])),(l()(),Df._13(16777216,null,3,1,null,il)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(22,0,null,2,9,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(23,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,2,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ol)),Df._17(27,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,rl)),Df._17(30,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(35,0,null,null,113,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(36,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(38,0,null,2,6,"ion-refresher",[],[[2,"refresher-active",null],[4,"top",null]],[[null,"ionRefresh"]],function(l,n,e){var u=!0;if("ionRefresh"===n){u=!1!==l.component.doRefresh(e)&&u}return u},null,null)),Df._17(39,212992,null,0,$y.a,[Gv.a,Zv.a,Df.H,zv.l],null,{ionRefresh:"ionRefresh"}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(41,0,null,null,2,"ion-refresher-content",[["pullingIcon","refresh"],["pullingText","Pull to refresh"],["refreshingSpinner","crescent"],["refreshingText","Refreshing..."]],[[1,"state",0]],null,null,By.b,By.a)),Df._17(42,114688,null,0,My.a,[$y.a,Wv.a],{pullingIcon:[0,"pullingIcon"],pullingText:[1,"pullingText"],refreshingSpinner:[2,"refreshingSpinner"],refreshingText:[3,"refreshingText"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(46,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(48,0,null,1,99,"ion-grid",[["class","fadeIn grid"]],null,null,null,null,null)),Df._17(49,16384,null,0,zy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(51,0,null,null,69,"mat-card",[["class","box mat-card"],["reorder","true"]],null,null,null,dy.d,dy.a)),Df._17(52,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(54,0,null,0,21,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(55,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(57,0,null,2,17,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(59,0,null,null,5,"mat-card-title",[["class","mat-card-title mat-card-title"]],null,null,null,null,null)),Df._17(60,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(62,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),Df._39(63,null,["",""])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(66,0,null,null,7,"mat-card-subtitle",[["class","mat-card-subtitle mat-card-subtitle"]],null,null,null,null,null)),Df._17(67,16384,null,0,sy.g,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(69,0,null,null,0,"i",[["class","fa-1x fa fa-map-marker"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(71,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(72,null,[""," / -",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(77,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(79,0,null,0,40,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(80,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(82,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Product"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(85,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(86,null,[""," / ","."])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(88,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),Df._39(89,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(91,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(92,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(94,0,null,null,1,"div",[["style","text-align:right;"]],null,null,null,null,null)),(l()(),Df._39(95,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(97,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(99,0,null,null,0,"h2",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(101,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(102,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(104,0,null,null,5,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(105,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(107,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),Df._39(108,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(111,0,null,null,6,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),Df._17(112,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(114,0,null,null,2,"h2",[],null,null,null,null,null)),(l()(),Df._18(115,0,null,null,0,"i",[["class","fa-1x fa fa-rupee"]],null,null,null,null,null)),(l()(),Df._39(116,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(122,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(124,0,null,null,21,"mat-card",[["class","box mat-card"],["reorder","true"]],null,null,null,dy.d,dy.a)),Df._17(125,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(127,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(128,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(130,0,null,2,8,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(132,0,null,null,5,"mat-card-title",[["class","mat-card-title mat-card-title"]],null,null,null,null,null)),Df._17(133,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(135,0,null,null,1,"h1",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Applicants"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(141,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,sl)),Df._17(144,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,1,["\n\n \n\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,20,0,e.viewchange);l(n,27,0,!e.viewchange);l(n,30,0,e.viewchange),l(n,39,0);l(n,42,0,"refresh","Pull to refresh","crescent","Refreshing...");l(n,144,0,e.pdFullDetails.applicat_details)},function(l,n){var e=n.component;l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,35,0,Df._32(n,36).statusbarPadding,Df._32(n,36)._hasRefresher);l(n,38,0,"inactive"!==Df._32(n,39).state,Df._32(n,39)._top);l(n,41,0,Df._32(n,42).r.state);l(n,63,0,e.pdFullDetails.lender_full_name);l(n,72,0,e.pdFullDetails.city_name,e.pdFullDetails.pincode);l(n,86,0,e.pdFullDetails.product_name,e.pdFullDetails.subproduct_name);l(n,89,0,e.pdFullDetails.pd_type_name);l(n,92,0,e.pdFullDetails.pd_allocated_to);l(n,95,0,e.pdFullDetails.pd_date_of_initiation);l(n,108,0,e.pdFullDetails.pd_status_name);l(n,116,0,e.pdFullDetails.loan_amount)})}function ml(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"span",[["class","cardinfo"]],null,null,null,null,null)),(l()(),Df._39(1,null,["-",""]))],null,function(l,n){l(n,1,0,n.component.applicatentDetails.pincode)})}function pl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"span",[["class","cardinfo"]],null,null,null,null,null)),(l()(),Df._39(1,null,["-",""]))],null,function(l,n){l(n,1,0,n.component.applicatentDetails.other_pincode)})}function fl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"span",[["class","cardinfo"]],null,null,null,null,null)),(l()(),Df._39(1,null,["/ ",""]))],null,function(l,n){l(n,1,0,n.component.applicatentDetails.subproduct_name)})}function hl(l){return Df._41(0,[(l()(),Df._18(0,0,[[2,0],["scroll",1]],null,22,"ion-row",[["class","schdul row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,18,"ion-item",[["class","item item-block"]],null,null,null,Vv.b,Vv.a)),Df._17(4,1097728,null,3,jv.a,[Nv.a,Wv.a,Df.p,Df.O,[2,Ev.a]],null,null),Df._37(335544320,4,{contentLabel:0}),Df._37(603979776,5,{_buttons:1}),Df._37(603979776,6,{_icons:1}),Df._17(8,16384,null,0,Rv.a,[],null,null),(l()(),Df._39(-1,2,[" "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(11,0,null,1,2,"ion-label",[["color","primary"],["floating",""]],null,null,null,null,null)),Df._17(12,16384,[[4,4]],0,SC.a,[Wv.a,Df.p,Df.O,[8,""],[8,null],[8,null],[8,null]],{color:[0,"color"]},null),(l()(),Df._39(-1,null,["Schedule Date"])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(15,0,null,3,4,"ion-input",[["placeholder","Text Input"],["type","datetime-local"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"ngModelChange"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=t.datetime-(t.local=e.target.value)!==!1&&u}if("ngModelChange"===n){u=!1!==(t.scheduleDate=e)&&u}return u},IC.b,IC.a)),Df._17(16,671744,null,0,Jf.v,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Df._36(2048,null,Jf.r,null,[Jf.v]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,5423104,[[1,4],["focusinp",4]],0,qC.a,[Wv.a,Gv.a,Nv.a,Jv.a,Df.p,Df.O,[2,Zv.a],[2,jv.a],[2,Jf.r],Qv.a],{type:[0,"type"],placeholder:[1,"placeholder"],min:[2,"min"]},{input:"input"}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"primary");l(n,16,0,e.scheduleDate);l(n,19,0,"datetime-local","Text Input",e.maxdate)},function(l,n){l(n,15,0,Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending)})}function gl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(4,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(7,16384,null,0,my.a,[],null,null),(l()(),Df._18(8,0,null,null,1,"ion-icon",[["name","md-calendar"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(9,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),Df._17(12,16384,null,0,my.a,[],null,null),(l()(),Df._39(13,null,["  ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"md-calendar")},function(l,n){var e=n.component;l(n,8,0,Df._32(n,9)._hidden);l(n,13,0,e.applicatentDetails.scheduled_on)})}function bl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,47,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(1,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(4,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(6,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(7,16384,null,0,sy.h,[],null,null),(l()(),Df._18(8,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(9,null,["Applicant # ",""])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,13,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(13,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(15,0,null,null,9,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(16,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(18,0,null,null,5,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),Df._17(19,16384,null,0,my.a,[],null,null),(l()(),Df._18(20,0,null,null,1,"ion-icon",[["name","contact"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(21,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(22,null,["  ",""])),Df._35(23,1),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(28,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(31,16384,null,0,my.a,[],null,null),(l()(),Df._18(32,0,null,null,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(33,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),Df._17(36,16384,null,0,my.a,[],null,null),(l()(),Df._39(37,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,6,"ion-col",[["class","col"],["col-2",""]],null,null,null,null,null)),Df._17(40,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(42,0,null,null,3,"a",[["style","text-decoration: none;"]],[[8,"href",4]],null,null,null,null)),(l()(),Df._18(43,0,null,null,1,"ion-icon",[["color","optblue"],["name","call"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(44,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,21,0,"contact");l(n,33,0,"call");l(n,44,0,"optblue","call")},function(l,n){l(n,9,0,n.context.index+1);l(n,20,0,Df._32(n,21)._hidden);l(n,22,0,Df._40(n,22,0,l(n,23,0,Df._32(n.parent,0),n.context.$implicit.applicant_name)));l(n,32,0,Df._32(n,33)._hidden);l(n,37,0,n.context.$implicit.mobile_no);l(n,42,0,Df._21(1,"tel:?",n.context.$implicit.mobile_no,""));l(n,43,0,Df._32(n,44)._hidden)})}function vl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(3,0,null,null,6,"ion-col",[["class","col"],["col-12",""],["style","padding:0px !important;"]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.pdschedule(t.scheduleDate,t.applicatentDetails)&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["Schedule"])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","")},null)}function yl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(3,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"],["text-center",""]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.pdStatus("BOUNCED",t.applicatentDetails)&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["Reject"])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px;"],["text-center",""]],null,null,null,null,null)),Df._17(12,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green!important;"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.pdStatus("ACCEPTED",t.applicatentDetails)&&u}return u},Vy.b,Vy.a)),Df._17(15,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["Accept"])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","");l(n,15,0,"primary","")},null)}function Cl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(3,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green!important;"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.pdinitiated(t.applicatentDetails)&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["INITIATE"])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,6,"ion-col",[["class","col"],["col-6",""],["style","padding:0px !important;"]],null,null,null,null,null)),Df._17(13,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(15,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.pdreschedule()&&u}return u},Vy.b,Vy.a)),Df._17(16,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["Re Schedule"])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,7,0,"primary","");l(n,16,0,"primary","")},function(l,n){l(n,6,0,n.component.enableStartPD)})}function wl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(3,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green !important;"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.startPdDiscussion(t.applicatentDetails)&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["\n Start"])),(l()(),Df._39(-1,null,["\n \n \n "]))],function(l,n){l(n,4,0,"primary","")},null)}function Fl(l){return Df._41(0,[Df._33(0,rg.t,[]),Df._37(671088640,1,{input_focus:0}),Df._37(671088640,2,{scrolltop:0}),(l()(),Df._18(3,0,null,null,20,"ion-header",[],null,null,null,null,null)),Df._17(4,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(7,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(9,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,11).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(10,1097728,[[3,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(11,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(12,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,3,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(15,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(16,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(19,0,null,3,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(20,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(21,0,[""," - ",""])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(25,0,null,null,173,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(26,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(30,0,null,1,101,"mat-card",[["class","mat-card"],["style"," border-radius: 10px;"]],null,null,null,dy.d,dy.a)),Df._17(31,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(33,0,null,0,9,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(34,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(36,0,null,null,5,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),Df._17(37,16384,null,0,my.a,[],null,null),(l()(),Df._18(38,0,null,null,1,"ion-icon",[["name","contact"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(39,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(40,null,["  ",""])),Df._35(41,1),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(44,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(46,0,null,0,11,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(47,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(49,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(50,16384,null,0,my.a,[],null,null),(l()(),Df._18(51,0,null,null,1,"ion-icon",[["name","md-people"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(52,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(54,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),Df._17(55,16384,null,0,my.a,[],null,null),(l()(),Df._39(56,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(59,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(61,0,null,0,21,"a",[["style","text-decoration: none;"]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.locationnavicate(t.applicatentDetails.addressline1)&&u}return u},null,null)),(l()(),Df._18(62,0,null,null,20,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(63,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(65,0,null,null,3,"ion-col",[["class","col"],["col-1",""],["top",""]],null,null,null,null,null)),Df._17(66,16384,null,0,my.a,[],null,null),(l()(),Df._18(67,0,null,null,1,"ion-icon",[["name","pin"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(68,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,11,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),Df._17(71,16384,null,0,my.a,[],null,null),(l()(),Df._39(72,null,["",""])),(l()(),Df._18(73,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(74,null,["\n ",""])),(l()(),Df._18(75,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(76,null,["\n ","\n "])),(l()(),Df._13(16777216,null,null,1,null,ml)),Df._17(78,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,pl)),Df._17(81,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(84,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(86,0,null,0,18,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(87,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(89,0,null,null,3,"ion-col",[["class"," col"],["col-1",""]],null,null,null,null,null)),Df._17(90,16384,null,0,my.a,[],null,null),(l()(),Df._18(91,0,null,null,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(92,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(94,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),Df._17(95,16384,null,0,my.a,[],null,null),(l()(),Df._39(96,null,[""," "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(98,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["color","optblue"]],null,null,null,null,null)),Df._17(99,16384,null,0,my.a,[],null,null),(l()(),Df._18(100,0,null,null,3,"a",[["style","text-decoration: none;"]],[[8,"href",4]],null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(102,0,null,null,1,"ion-icon",[["color","optblue"],["name","call"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(103,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(106,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(108,0,null,0,13,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(109,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(111,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(112,16384,null,0,my.a,[],null,null),(l()(),Df._18(113,0,null,null,1,"ion-icon",[["name","md-briefcase"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(114,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(116,0,null,null,4,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),Df._17(117,16384,null,0,my.a,[],null,null),(l()(),Df._39(118,null,["","\n "])),(l()(),Df._13(16777216,null,null,1,null,fl)),Df._17(120,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(123,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._13(16777216,null,0,1,null,hl)),Df._17(126,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,gl)),Df._17(129,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,[" \n \n \n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(133,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(135,0,null,1,7,"mat-card",[["class","mat-card"],["style","border-radius:10px"]],null,null,null,dy.d,dy.a)),Df._17(136,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(138,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,bl)),Df._17(141,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(143,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(145,0,null,1,52,"mat-card",[["class","mat-card"],["style","border-radius:10px"]],null,null,null,dy.d,dy.a)),Df._17(146,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(148,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(150,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(151,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(153,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(154,16384,null,0,sy.h,[],null,null),(l()(),Df._18(155,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Lender Contact Details"])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(159,0,null,0,37,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(160,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(162,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(163,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(165,0,null,null,8,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(166,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(168,0,null,null,4,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),Df._17(169,16384,null,0,my.a,[],null,null),(l()(),Df._18(170,0,null,null,1,"ion-icon",[["name","contact"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(171,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(172,null,["  ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(176,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(177,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(179,0,null,null,3,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(180,16384,null,0,my.a,[],null,null),(l()(),Df._18(181,0,null,null,1,"ion-icon",[["name","call"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(182,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(184,0,null,null,2,"ion-col",[["class","cardinfo col"]],null,null,null,null,null)),Df._17(185,16384,null,0,my.a,[],null,null),(l()(),Df._39(186,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(188,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["color","optblue"]],null,null,null,null,null)),Df._17(189,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(191,0,null,null,3,"a",[["style","text-decoration: none;"]],[[8,"href",4]],null,null,null,null)),(l()(),Df._18(192,0,null,null,1,"ion-icon",[["color","optblue"],["name","call"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(193,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(200,0,null,null,18,"ion-footer",[],null,null,null,null,null)),Df._17(201,16384,null,0,Xy.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(203,0,null,null,14,"mat-card",[["class","mat-card"],["style","padding:0px !important;"]],null,null,null,dy.d,dy.a)),Df._17(204,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,vl)),Df._17(207,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._13(16777216,null,0,1,null,yl)),Df._17(210,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n \n \n \n "])),(l()(),Df._13(16777216,null,0,1,null,Cl)),Df._17(213,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._13(16777216,null,0,1,null,wl)),Df._17(216,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,7,0,"optblue");l(n,11,0,"");l(n,16,0,"menu");l(n,39,0,"contact");l(n,52,0,"md-people");l(n,68,0,"pin");l(n,78,0,""!=e.applicatentDetails.pincode&&null!=e.applicatentDetails.pincode&&"Others"!=e.applicatentDetails.pincode);l(n,81,0,""!=e.applicatentDetails.pincode&&null!=e.applicatentDetails.pincode&&"Others"==e.applicatentDetails.pincode);l(n,92,0,"call");l(n,103,0,"optblue","call");l(n,114,0,"md-briefcase");l(n,120,0,"Not Applicable"!=e.applicatentDetails.subproduct_name&&null!=e.applicatentDetails.subproduct_name);l(n,126,0,e.scheduleAccess);l(n,129,0,e.initiatedAccess||e.startedAccess);l(n,141,0,e.other_applicant);l(n,171,0,"contact");l(n,182,0,"call");l(n,193,0,"optblue","call");l(n,207,0,e.scheduleAccess);l(n,210,0,e.acceptedAccess);l(n,213,0,e.initiatedAccess);l(n,216,0,e.startedAccess)},function(l,n){var e=n.component;l(n,6,0,Df._32(n,7)._hidden,Df._32(n,7)._sbPadding);l(n,9,0,Df._32(n,11).isHidden);l(n,15,0,Df._32(n,16)._hidden);l(n,21,0,e.applicatentDetails.lender_full_name,e.applicatentDetails.lender_applicant_id);l(n,25,0,Df._32(n,26).statusbarPadding,Df._32(n,26)._hasRefresher);l(n,38,0,Df._32(n,39)._hidden);l(n,40,0,Df._40(n,40,0,l(n,41,0,Df._32(n,0),e.applicatentDetails.applicat_details[0].applicant_name)));l(n,51,0,Df._32(n,52)._hidden);l(n,56,0,e.applicatentDetails.customer_segment_name);l(n,67,0,Df._32(n,68)._hidden);l(n,72,0,e.applicatentDetails.addressline1);l(n,74,0,e.applicatentDetails.city_name);l(n,76,0,e.applicatentDetails.state_name);l(n,91,0,Df._32(n,92)._hidden);l(n,96,0,e.applicatentDetails.applicat_details[0].mobile_no);l(n,100,0,Df._21(1,"tel:?",e.applicatentDetails.applicat_details[0].mobile_no,""));l(n,102,0,Df._32(n,103)._hidden);l(n,113,0,Df._32(n,114)._hidden);l(n,118,0,e.applicatentDetails.product_name);l(n,170,0,Df._32(n,171)._hidden);l(n,172,0,e.applicatentDetails.pd_contact_person);l(n,181,0,Df._32(n,182)._hidden);l(n,186,0,e.applicatentDetails.pd_contact_mobileno);l(n,191,0,Df._21(1,"tel:?",e.applicatentDetails.pd_contact_mobileno,""));l(n,192,0,Df._32(n,193)._hidden)})}function xl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["OTP Page"]))],null,null)}function Sl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Reason Page"]))],null,null)}function Il(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(7,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){l(n,7,0,n.component.balance_time)})}function ql(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,70,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(4,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(7,0,null,0,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(8,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,4,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(11,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,0,"img",[["alt","Circle Image"],["class","rounded-circle img-fluid"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(17,0,null,0,36,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(18,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(20,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(21,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(24,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["OTP"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,21,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(32,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,17,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(35,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,13,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,[["pin",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","OTP"],["required",""],["style","width: 100%;"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0;if("blur"===n){u=!1!==Df._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,48)._onInput()&&u}return u},null,null)),Df._17(48,933888,null,0,gy.b,[Df.p,Xf.a,[8,null],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(55,0,null,1,14,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),Df._17(56,16384,null,0,sy.d,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(58,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(59,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(61,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.checkotp(Df._32(l,47).value)&&u}return u},by.b,by.a)),Df._17(62,180224,null,0,vy.b,[Df.p,Xf.a,yy.j],{color:[0,"color"]},null),Df._17(63,16384,null,0,vy.f,[],null,null),(l()(),Df._39(-1,0,["OTP Verify"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Il)),Df._17(68,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,48,0,"OTP","");l(n,62,0,"primary");l(n,68,0,e.timerOn)},function(l,n){l(n,13,0,n.component.commonImage||"../../assets/img/misc/avatar.jpg");l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,0,Df._32(n,48)._isServer,Df._32(n,48).id,Df._32(n,48).placeholder,Df._32(n,48).disabled,Df._32(n,48).required,Df._32(n,48).readonly,Df._32(n,48)._ariaDescribedby||null,Df._32(n,48).errorState,Df._32(n,48).required.toString());l(n,58,0,"end"===Df._32(n,59).align);l(n,61,0,Df._32(n,62).disabled||null)})}function kl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[16,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.otp_rejection_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.rejection_reason)})}function Pl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_reason"],["matInput",""],["name","others_reason"],["placeholder","Other Reason"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[19,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_reason");l(n,16,0,"Other Reason","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Dl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,84,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(4,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(7,0,null,0,3,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(8,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,58,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(13,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(15,0,null,null,9,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(16,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(18,0,null,null,5,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(19,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(21,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["With out OTP Reason"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,43,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(27,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,39,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,31).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,31).onReset()&&u}return u},null,null)),Df._17(30,16384,null,0,Jf.B,[],null,null),Df._17(31,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(33,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(36,0,null,null,31,"ion-col",[["class","col"],["text-center",""]],null,null,null,null,null)),Df._17(37,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(39,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(40,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(49,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","reason"],["placeholder","Rejection Reason OTP"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,54)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,54)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,54)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(51,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(53,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(54,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,16,{options:1}),Df._37(603979776,17,{optionGroups:1}),Df._37(335544320,18,{customTrigger:0}),Df._36(2048,[[9,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,kl)),Df._17(61,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(64,null,["\n ","\n "])),(l()(),Df._13(16777216,null,null,1,null,Pl)),Df._17(66,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(72,0,null,1,11,"mat-card-footer",[["class","mat-card-footer"]],null,null,null,null,null)),Df._17(73,16384,null,0,sy.d,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(75,0,null,null,7,"mat-card-actions",[["class","mat-card-actions"],["text-center",""]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(76,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(78,0,null,null,3,"button",[["class","mat-raised-button"],["color","primary"],["mat-raised-button",""]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.saveotpreasno()&&u}return u},by.b,by.a)),Df._17(79,180224,null,0,vy.b,[Df.p,Xf.a,yy.j],{color:[0,"color"]},null),Df._17(80,16384,null,0,vy.f,[],null,null),(l()(),Df._39(-1,0,["Process"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,31,0,e.reasonForm);l(n,51,0,"reason");l(n,54,0,"Rejection Reason OTP");l(n,61,0,e.reason_otp);l(n,66,0,1==e.reasonForm.get("reason").value);l(n,79,0,"primary")},function(l,n){var e=n.component;l(n,29,0,Df._32(n,33).ngClassUntouched,Df._32(n,33).ngClassTouched,Df._32(n,33).ngClassPristine,Df._32(n,33).ngClassDirty,Df._32(n,33).ngClassValid,Df._32(n,33).ngClassInvalid,Df._32(n,33).ngClassPending);l(n,39,1,[Df._32(n,40)._control.errorState,Df._32(n,40)._control.errorState,Df._32(n,40)._canLabelFloat,Df._32(n,40)._shouldLabelFloat(),Df._32(n,40)._hideControlPlaceholder(),Df._32(n,40)._control.disabled,Df._32(n,40)._control.focused,"primary"==Df._32(n,40).color,"accent"==Df._32(n,40).color,"warn"==Df._32(n,40).color,Df._32(n,40)._shouldForward("untouched"),Df._32(n,40)._shouldForward("touched"),Df._32(n,40)._shouldForward("pristine"),Df._32(n,40)._shouldForward("dirty"),Df._32(n,40)._shouldForward("valid"),Df._32(n,40)._shouldForward("invalid"),Df._32(n,40)._shouldForward("pending")]);l(n,49,1,[Df._32(n,53).ngClassUntouched,Df._32(n,53).ngClassTouched,Df._32(n,53).ngClassPristine,Df._32(n,53).ngClassDirty,Df._32(n,53).ngClassValid,Df._32(n,53).ngClassInvalid,Df._32(n,53).ngClassPending,Df._32(n,54).id,Df._32(n,54).tabIndex,Df._32(n,54)._ariaLabel,Df._32(n,54).ariaLabelledby,Df._32(n,54).required.toString(),Df._32(n,54).disabled.toString(),Df._32(n,54).errorState,Df._32(n,54).panelOpen?Df._32(n,54)._optionIds:null,Df._32(n,54).multiple,Df._32(n,54)._ariaDescribedby||null,Df._32(n,54)._getAriaActiveDescendant(),Df._32(n,54).disabled,Df._32(n,54).errorState,Df._32(n,54).required]);l(n,64,0,e.reason);l(n,75,0,"end"===Df._32(n,76).align);l(n,78,0,Df._32(n,79).disabled||null)})}function Tl(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._18(1,0,null,null,22,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,18,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,9).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(8,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(9,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(10,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(14,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,xl)),Df._17(18,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Sl)),Df._17(21,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._18(25,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(26,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ql)),Df._17(29,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Dl)),Df._17(32,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,e.otpStatusAccess);l(n,21,0,!e.otpStatusAccess);l(n,29,0,e.otpStatusAccess);l(n,32,0,!e.otpStatusAccess)},function(l,n){l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,7,0,Df._32(n,9).isHidden);l(n,13,0,Df._32(n,14)._hidden);l(n,25,0,Df._32(n,26).statusbarPadding,Df._32(n,26)._hasRefresher)})}function Ol(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Ll(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[16,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Al(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Vl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[36,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pincode_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.pincode)})}function jl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,39,{_control:0}),Df._37(335544320,40,{_placeholderChild:0}),Df._37(335544320,41,{_labelChild:0}),Df._37(603979776,42,{_errorChildren:1}),Df._37(603979776,43,{_hintChildren:1}),Df._37(603979776,44,{_prefixChildren:1}),Df._37(603979776,45,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","pincode_others"],["matInput",""],["placeholder","Specify Pincode "],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[39,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,14,0,"pincode_others");l(n,17,0,"Specify Pincode ","number")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()])})}function Nl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[53,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,[" "," "]))],function(l,n){l(n,1,0,n.context.$implicit.address_type_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.address_type)})}function Wl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,56,{_control:0}),Df._37(335544320,57,{_placeholderChild:0}),Df._37(335544320,58,{_labelChild:0}),Df._37(603979776,59,{_errorChildren:1}),Df._37(603979776,60,{_hintChildren:1}),Df._37(603979776,61,{_prefixChildren:1}),Df._37(603979776,62,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_type_others"],["matInput",""],["name","address_type_others"],["placeholder","Specify Address Type"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,18)._onInput()&&u}if("change"===n){u=!1!==t.selectedAddressType(e.target.value)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(18,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[56,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"address_type_others");l(n,18,0,"Specify Address Type","text")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending,Df._32(n,18)._isServer,Df._32(n,18).id,Df._32(n,18).placeholder,Df._32(n,18).disabled,Df._32(n,18).required,Df._32(n,18).readonly,Df._32(n,18)._ariaDescribedby||null,Df._32(n,18).errorState,Df._32(n,18).required.toString()])})}function El(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[70,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["","\n "]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.locality_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.locality_name)})}function Rl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,73,{_control:0}),Df._37(335544320,74,{_placeholderChild:0}),Df._37(335544320,75,{_labelChild:0}),Df._37(603979776,76,{_errorChildren:1}),Df._37(603979776,77,{_hintChildren:1}),Df._37(603979776,78,{_prefixChildren:1}),Df._37(603979776,79,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","locality_others"],["matInput",""],["name","locality_others"],["placeholder","Specify Locality"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[73,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"locality_others");l(n,16,0,"Specify Locality")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Ul(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,80,{_control:0}),Df._37(335544320,81,{_placeholderChild:0}),Df._37(335544320,82,{_labelChild:0}),Df._37(603979776,83,{_errorChildren:1}),Df._37(603979776,84,{_hintChildren:1}),Df._37(603979776,85,{_prefixChildren:1}),Df._37(603979776,86,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","locality_mixuse"],["matInput",""],["placeholder","Specify the MixUse *"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[80,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"locality_mixuse");l(n,16,0,"Specify the MixUse *")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function $l(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[94,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["","\n "]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.pd_location_approach_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.description)})}function Bl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[104,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["","\n "]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.comments_on_locality_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.rating)})}function Ml(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,107,{_control:0}),Df._37(335544320,108,{_placeholderChild:0}),Df._37(335544320,109,{_labelChild:0}),Df._37(603979776,110,{_errorChildren:1}),Df._37(603979776,111,{_hintChildren:1}),Df._37(603979776,112,{_prefixChildren:1}),Df._37(603979776,113,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_comment_locality"],["matInput",""],["name","other_comment_locality"],["placeholder","Specify Comment on Locality"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,18)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(18,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[107,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"other_comment_locality");l(n,18,0,"Specify Comment on Locality")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending,Df._32(n,18)._isServer,Df._32(n,18).id,Df._32(n,18).placeholder,Df._32(n,18).disabled,Df._32(n,18).required,Df._32(n,18).readonly,Df._32(n,18)._ariaDescribedby||null,Df._32(n,18).errorState,Df._32(n,18).required.toString()])})}function Kl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[128,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Hl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,131,{_control:0}),Df._37(335544320,132,{_placeholderChild:0}),Df._37(335544320,133,{_labelChild:0}),Df._37(603979776,134,{_errorChildren:1}),Df._37(603979776,135,{_hintChildren:1}),Df._37(603979776,136,{_prefixChildren:1}),Df._37(603979776,137,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","uom_others"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[131,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"uom_others");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Gl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,324,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(6,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(8,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(9,16384,null,0,sy.h,[],null,null),(l()(),Df._18(10,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(11,null,["Address Details # ",""])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,22,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(16,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(17,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(26,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address"],["matInput",""],["name","address"],["placeholder","Address"],["style","text-transform: uppercase"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,27)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,27).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,27)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,27)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,32)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,32)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,32)._onInput()&&u}return u},null,null)),Df._17(27,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(29,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(31,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(32,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(40,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(49,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state"],["placeholder","State"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,54)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,54)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,54)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getCityAndPincodeDetails(e.value,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(51,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(53,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(54,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,16,{options:1}),Df._37(603979776,17,{optionGroups:1}),Df._37(335544320,18,{customTrigger:0}),Df._36(2048,[[9,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ll)),Df._17(61,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(65,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(66,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(75,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city"],["placeholder","City"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,80)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,80)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,80)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(77,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(79,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(80,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,26,{options:1}),Df._37(603979776,27,{optionGroups:1}),Df._37(335544320,28,{customTrigger:0}),Df._36(2048,[[19,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Al)),Df._17(87,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(91,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(92,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,29,{_control:0}),Df._37(335544320,30,{_placeholderChild:0}),Df._37(335544320,31,{_labelChild:0}),Df._37(603979776,32,{_errorChildren:1}),Df._37(603979776,33,{_hintChildren:1}),Df._37(603979776,34,{_prefixChildren:1}),Df._37(603979776,35,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(101,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","pincode"],["placeholder","Pincode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,105)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,105)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,105)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(102,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(104,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(105,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,36,{options:1}),Df._37(603979776,37,{optionGroups:1}),Df._37(335544320,38,{customTrigger:0}),Df._36(2048,[[29,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(112,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,113)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,113)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(113,8437760,[[36,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Vl)),Df._17(117,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,jl)),Df._17(122,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(124,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(126,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(127,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,46,{_control:0}),Df._37(335544320,47,{_placeholderChild:0}),Df._37(335544320,48,{_labelChild:0}),Df._37(603979776,49,{_errorChildren:1}),Df._37(603979776,50,{_hintChildren:1}),Df._37(603979776,51,{_prefixChildren:1}),Df._37(603979776,52,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(136,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","address_type"],["name","address_type"],["placeholder","Address Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,140)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,140)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,140)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAddressType(e.source.triggerValue,l.context.index)&&u}return u},TC.b,TC.a)),Df._17(137,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(139,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(140,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,53,{options:1}),Df._37(603979776,54,{optionGroups:1}),Df._37(335544320,55,{customTrigger:0}),Df._36(2048,[[46,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(147,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,148)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,148)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(148,8437760,[[53,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["--"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Nl)),Df._17(152,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Wl)),Df._17(158,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n \n "])),(l()(),Df._18(160,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(162,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(163,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,63,{_control:0}),Df._37(335544320,64,{_placeholderChild:0}),Df._37(335544320,65,{_labelChild:0}),Df._37(603979776,66,{_errorChildren:1}),Df._37(603979776,67,{_hintChildren:1}),Df._37(603979776,68,{_prefixChildren:1}),Df._37(603979776,69,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(172,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","locality"],["matInput",""],["name","locality"],["placeholder","Locality"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,176)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,176)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,176)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(173,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(175,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(176,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,70,{options:1}),Df._37(603979776,71,{optionGroups:1}),Df._37(335544320,72,{customTrigger:0}),Df._36(2048,[[63,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(183,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,184)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,184)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(184,8437760,[[70,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["--"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,El)),Df._17(188,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Rl)),Df._17(194,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ul)),Df._17(197,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n\n "])),(l()(),Df._18(199,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(201,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(202,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,87,{_control:0}),Df._37(335544320,88,{_placeholderChild:0}),Df._37(335544320,89,{_labelChild:0}),Df._37(603979776,90,{_errorChildren:1}),Df._37(603979776,91,{_hintChildren:1}),Df._37(603979776,92,{_prefixChildren:1}),Df._37(603979776,93,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(211,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","pd_location"],["name","pd_location"],["placeholder","Approach to PD Location"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,215)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,215)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,215)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(212,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(214,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(215,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,94,{options:1}),Df._37(603979776,95,{optionGroups:1}),Df._37(335544320,96,{customTrigger:0}),Df._36(2048,[[87,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(222,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,223)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,223)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(223,8437760,[[94,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["--"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,$l)),Df._17(227,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(232,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(234,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(235,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,97,{_control:0}),Df._37(335544320,98,{_placeholderChild:0}),Df._37(335544320,99,{_labelChild:0}),Df._37(603979776,100,{_errorChildren:1}),Df._37(603979776,101,{_hintChildren:1}),Df._37(603979776,102,{_prefixChildren:1}),Df._37(603979776,103,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(244,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","comment_locality"],["name","comment_locality"],["placeholder","Comment on Locality"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,248)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,248)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,248)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(245,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(247,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(248,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,104,{options:1}),Df._37(603979776,105,{optionGroups:1}),Df._37(335544320,106,{customTrigger:0}),Df._36(2048,[[97,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(255,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,256)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,256)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(256,8437760,[[104,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["--"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Bl)),Df._17(260,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Ml)),Df._17(266,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(268,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(269,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,114,{_control:0}),Df._37(335544320,115,{_placeholderChild:0}),Df._37(335544320,116,{_labelChild:0}),Df._37(603979776,117,{_errorChildren:1}),Df._37(603979776,118,{_hintChildren:1}),Df._37(603979776,119,{_prefixChildren:1}),Df._37(603979776,120,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(278,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimated_area"],["matInput",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,279)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,279).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,279)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,279)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,280).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,280).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,280).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,285)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,285)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,285)._onInput()&&u}return u},null,null)),Df._17(279,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(280,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(282,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(284,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(285,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[114,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(289,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(290,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,121,{_control:0}),Df._37(335544320,122,{_placeholderChild:0}),Df._37(335544320,123,{_labelChild:0}),Df._37(603979776,124,{_errorChildren:1}),Df._37(603979776,125,{_hintChildren:1}),Df._37(603979776,126,{_prefixChildren:1}),Df._37(603979776,127,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(299,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","uom"],["placeholder","Unit of Measurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,303)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,303)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,303)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(300,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(302,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(303,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,128,{options:1}),Df._37(603979776,129,{optionGroups:1}),Df._37(335544320,130,{customTrigger:0}),Df._36(2048,[[121,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(310,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,311)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,311)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(311,8437760,[[128,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Kl)),Df._17(315,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Hl)),Df._17(320,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n\n\n"])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,29,0,"address");l(n,32,0,"Address","text");l(n,51,0,"state");l(n,54,0,"State");l(n,61,0,e.stateData);l(n,77,0,"city");l(n,80,0,"City");l(n,87,0,e.cityData[n.context.index]);l(n,102,0,"pincode");l(n,105,0,"Pincode");l(n,117,0,e.pincodeData[n.context.index]);l(n,122,0,1==n.context.$implicit.get("pincode").value);l(n,137,0,"address_type");l(n,140,0,"Address Type");l(n,152,0,e.addressTypes);l(n,158,0,1==n.context.$implicit.get("address_type").value);l(n,173,0,"locality");l(n,176,0,"Locality");l(n,188,0,e.locality);l(n,194,0,1==n.context.$implicit.get("locality").value);l(n,197,0,5==n.context.$implicit.get("locality").value);l(n,212,0,"pd_location");l(n,215,0,"Approach to PD Location");l(n,227,0,e.pdlocation);l(n,245,0,"comment_locality");l(n,248,0,"Comment on Locality");l(n,260,0,e.cmtlocality);l(n,266,0,1==n.context.$implicit.get("comment_locality").value);l(n,282,0,"estimated_area");l(n,285,0,e.placeholderName[n.context.index]?e.placeholderName[n.context.index]:"Estimated area of the (Address Type)","number");l(n,300,0,"uom");l(n,303,0,"Unit of Measurement");l(n,315,0,e.uomData);l(n,320,0,1==n.context.$implicit.get("uom").value)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,11,0,n.context.index+1);l(n,16,1,[Df._32(n,17)._control.errorState,Df._32(n,17)._control.errorState,Df._32(n,17)._canLabelFloat,Df._32(n,17)._shouldLabelFloat(),Df._32(n,17)._hideControlPlaceholder(),Df._32(n,17)._control.disabled,Df._32(n,17)._control.focused,"primary"==Df._32(n,17).color,"accent"==Df._32(n,17).color,"warn"==Df._32(n,17).color,Df._32(n,17)._shouldForward("untouched"),Df._32(n,17)._shouldForward("touched"),Df._32(n,17)._shouldForward("pristine"),Df._32(n,17)._shouldForward("dirty"),Df._32(n,17)._shouldForward("valid"),Df._32(n,17)._shouldForward("invalid"),Df._32(n,17)._shouldForward("pending")]);l(n,26,1,[Df._32(n,31).ngClassUntouched,Df._32(n,31).ngClassTouched,Df._32(n,31).ngClassPristine,Df._32(n,31).ngClassDirty,Df._32(n,31).ngClassValid,Df._32(n,31).ngClassInvalid,Df._32(n,31).ngClassPending,Df._32(n,32)._isServer,Df._32(n,32).id,Df._32(n,32).placeholder,Df._32(n,32).disabled,Df._32(n,32).required,Df._32(n,32).readonly,Df._32(n,32)._ariaDescribedby||null,Df._32(n,32).errorState,Df._32(n,32).required.toString()]);l(n,39,1,[Df._32(n,40)._control.errorState,Df._32(n,40)._control.errorState,Df._32(n,40)._canLabelFloat,Df._32(n,40)._shouldLabelFloat(),Df._32(n,40)._hideControlPlaceholder(),Df._32(n,40)._control.disabled,Df._32(n,40)._control.focused,"primary"==Df._32(n,40).color,"accent"==Df._32(n,40).color,"warn"==Df._32(n,40).color,Df._32(n,40)._shouldForward("untouched"),Df._32(n,40)._shouldForward("touched"),Df._32(n,40)._shouldForward("pristine"),Df._32(n,40)._shouldForward("dirty"),Df._32(n,40)._shouldForward("valid"),Df._32(n,40)._shouldForward("invalid"),Df._32(n,40)._shouldForward("pending")]);l(n,49,1,[Df._32(n,53).ngClassUntouched,Df._32(n,53).ngClassTouched,Df._32(n,53).ngClassPristine,Df._32(n,53).ngClassDirty,Df._32(n,53).ngClassValid,Df._32(n,53).ngClassInvalid,Df._32(n,53).ngClassPending,Df._32(n,54).id,Df._32(n,54).tabIndex,Df._32(n,54)._ariaLabel,Df._32(n,54).ariaLabelledby,Df._32(n,54).required.toString(),Df._32(n,54).disabled.toString(),Df._32(n,54).errorState,Df._32(n,54).panelOpen?Df._32(n,54)._optionIds:null,Df._32(n,54).multiple,Df._32(n,54)._ariaDescribedby||null,Df._32(n,54)._getAriaActiveDescendant(),Df._32(n,54).disabled,Df._32(n,54).errorState,Df._32(n,54).required]);l(n,65,1,[Df._32(n,66)._control.errorState,Df._32(n,66)._control.errorState,Df._32(n,66)._canLabelFloat,Df._32(n,66)._shouldLabelFloat(),Df._32(n,66)._hideControlPlaceholder(),Df._32(n,66)._control.disabled,Df._32(n,66)._control.focused,"primary"==Df._32(n,66).color,"accent"==Df._32(n,66).color,"warn"==Df._32(n,66).color,Df._32(n,66)._shouldForward("untouched"),Df._32(n,66)._shouldForward("touched"),Df._32(n,66)._shouldForward("pristine"),Df._32(n,66)._shouldForward("dirty"),Df._32(n,66)._shouldForward("valid"),Df._32(n,66)._shouldForward("invalid"),Df._32(n,66)._shouldForward("pending")]);l(n,75,1,[Df._32(n,79).ngClassUntouched,Df._32(n,79).ngClassTouched,Df._32(n,79).ngClassPristine,Df._32(n,79).ngClassDirty,Df._32(n,79).ngClassValid,Df._32(n,79).ngClassInvalid,Df._32(n,79).ngClassPending,Df._32(n,80).id,Df._32(n,80).tabIndex,Df._32(n,80)._ariaLabel,Df._32(n,80).ariaLabelledby,Df._32(n,80).required.toString(),Df._32(n,80).disabled.toString(),Df._32(n,80).errorState,Df._32(n,80).panelOpen?Df._32(n,80)._optionIds:null,Df._32(n,80).multiple,Df._32(n,80)._ariaDescribedby||null,Df._32(n,80)._getAriaActiveDescendant(),Df._32(n,80).disabled,Df._32(n,80).errorState,Df._32(n,80).required]);l(n,91,1,[Df._32(n,92)._control.errorState,Df._32(n,92)._control.errorState,Df._32(n,92)._canLabelFloat,Df._32(n,92)._shouldLabelFloat(),Df._32(n,92)._hideControlPlaceholder(),Df._32(n,92)._control.disabled,Df._32(n,92)._control.focused,"primary"==Df._32(n,92).color,"accent"==Df._32(n,92).color,"warn"==Df._32(n,92).color,Df._32(n,92)._shouldForward("untouched"),Df._32(n,92)._shouldForward("touched"),Df._32(n,92)._shouldForward("pristine"),Df._32(n,92)._shouldForward("dirty"),Df._32(n,92)._shouldForward("valid"),Df._32(n,92)._shouldForward("invalid"),Df._32(n,92)._shouldForward("pending")]);l(n,101,1,[Df._32(n,104).ngClassUntouched,Df._32(n,104).ngClassTouched,Df._32(n,104).ngClassPristine,Df._32(n,104).ngClassDirty,Df._32(n,104).ngClassValid,Df._32(n,104).ngClassInvalid,Df._32(n,104).ngClassPending,Df._32(n,105).id,Df._32(n,105).tabIndex,Df._32(n,105)._ariaLabel,Df._32(n,105).ariaLabelledby,Df._32(n,105).required.toString(),Df._32(n,105).disabled.toString(),Df._32(n,105).errorState,Df._32(n,105).panelOpen?Df._32(n,105)._optionIds:null,Df._32(n,105).multiple,Df._32(n,105)._ariaDescribedby||null,Df._32(n,105)._getAriaActiveDescendant(),Df._32(n,105).disabled,Df._32(n,105).errorState,Df._32(n,105).required]);l(n,112,0,Df._32(n,113)._getTabIndex(),Df._32(n,113).selected,Df._32(n,113).multiple,Df._32(n,113).active,Df._32(n,113).id,Df._32(n,113).selected.toString(),Df._32(n,113).disabled.toString(),Df._32(n,113).disabled);l(n,126,1,[Df._32(n,127)._control.errorState,Df._32(n,127)._control.errorState,Df._32(n,127)._canLabelFloat,Df._32(n,127)._shouldLabelFloat(),Df._32(n,127)._hideControlPlaceholder(),Df._32(n,127)._control.disabled,Df._32(n,127)._control.focused,"primary"==Df._32(n,127).color,"accent"==Df._32(n,127).color,"warn"==Df._32(n,127).color,Df._32(n,127)._shouldForward("untouched"),Df._32(n,127)._shouldForward("touched"),Df._32(n,127)._shouldForward("pristine"),Df._32(n,127)._shouldForward("dirty"),Df._32(n,127)._shouldForward("valid"),Df._32(n,127)._shouldForward("invalid"),Df._32(n,127)._shouldForward("pending")]);l(n,136,1,[Df._32(n,139).ngClassUntouched,Df._32(n,139).ngClassTouched,Df._32(n,139).ngClassPristine,Df._32(n,139).ngClassDirty,Df._32(n,139).ngClassValid,Df._32(n,139).ngClassInvalid,Df._32(n,139).ngClassPending,Df._32(n,140).id,Df._32(n,140).tabIndex,Df._32(n,140)._ariaLabel,Df._32(n,140).ariaLabelledby,Df._32(n,140).required.toString(),Df._32(n,140).disabled.toString(),Df._32(n,140).errorState,Df._32(n,140).panelOpen?Df._32(n,140)._optionIds:null,Df._32(n,140).multiple,Df._32(n,140)._ariaDescribedby||null,Df._32(n,140)._getAriaActiveDescendant(),Df._32(n,140).disabled,Df._32(n,140).errorState,Df._32(n,140).required]);l(n,147,0,Df._32(n,148)._getTabIndex(),Df._32(n,148).selected,Df._32(n,148).multiple,Df._32(n,148).active,Df._32(n,148).id,Df._32(n,148).selected.toString(),Df._32(n,148).disabled.toString(),Df._32(n,148).disabled);l(n,162,1,[Df._32(n,163)._control.errorState,Df._32(n,163)._control.errorState,Df._32(n,163)._canLabelFloat,Df._32(n,163)._shouldLabelFloat(),Df._32(n,163)._hideControlPlaceholder(),Df._32(n,163)._control.disabled,Df._32(n,163)._control.focused,"primary"==Df._32(n,163).color,"accent"==Df._32(n,163).color,"warn"==Df._32(n,163).color,Df._32(n,163)._shouldForward("untouched"),Df._32(n,163)._shouldForward("touched"),Df._32(n,163)._shouldForward("pristine"),Df._32(n,163)._shouldForward("dirty"),Df._32(n,163)._shouldForward("valid"),Df._32(n,163)._shouldForward("invalid"),Df._32(n,163)._shouldForward("pending")]);l(n,172,1,[Df._32(n,175).ngClassUntouched,Df._32(n,175).ngClassTouched,Df._32(n,175).ngClassPristine,Df._32(n,175).ngClassDirty,Df._32(n,175).ngClassValid,Df._32(n,175).ngClassInvalid,Df._32(n,175).ngClassPending,Df._32(n,176).id,Df._32(n,176).tabIndex,Df._32(n,176)._ariaLabel,Df._32(n,176).ariaLabelledby,Df._32(n,176).required.toString(),Df._32(n,176).disabled.toString(),Df._32(n,176).errorState,Df._32(n,176).panelOpen?Df._32(n,176)._optionIds:null,Df._32(n,176).multiple,Df._32(n,176)._ariaDescribedby||null,Df._32(n,176)._getAriaActiveDescendant(),Df._32(n,176).disabled,Df._32(n,176).errorState,Df._32(n,176).required]);l(n,183,0,Df._32(n,184)._getTabIndex(),Df._32(n,184).selected,Df._32(n,184).multiple,Df._32(n,184).active,Df._32(n,184).id,Df._32(n,184).selected.toString(),Df._32(n,184).disabled.toString(),Df._32(n,184).disabled);l(n,201,1,[Df._32(n,202)._control.errorState,Df._32(n,202)._control.errorState,Df._32(n,202)._canLabelFloat,Df._32(n,202)._shouldLabelFloat(),Df._32(n,202)._hideControlPlaceholder(),Df._32(n,202)._control.disabled,Df._32(n,202)._control.focused,"primary"==Df._32(n,202).color,"accent"==Df._32(n,202).color,"warn"==Df._32(n,202).color,Df._32(n,202)._shouldForward("untouched"),Df._32(n,202)._shouldForward("touched"),Df._32(n,202)._shouldForward("pristine"),Df._32(n,202)._shouldForward("dirty"),Df._32(n,202)._shouldForward("valid"),Df._32(n,202)._shouldForward("invalid"),Df._32(n,202)._shouldForward("pending")]);l(n,211,1,[Df._32(n,214).ngClassUntouched,Df._32(n,214).ngClassTouched,Df._32(n,214).ngClassPristine,Df._32(n,214).ngClassDirty,Df._32(n,214).ngClassValid,Df._32(n,214).ngClassInvalid,Df._32(n,214).ngClassPending,Df._32(n,215).id,Df._32(n,215).tabIndex,Df._32(n,215)._ariaLabel,Df._32(n,215).ariaLabelledby,Df._32(n,215).required.toString(),Df._32(n,215).disabled.toString(),Df._32(n,215).errorState,Df._32(n,215).panelOpen?Df._32(n,215)._optionIds:null,Df._32(n,215).multiple,Df._32(n,215)._ariaDescribedby||null,Df._32(n,215)._getAriaActiveDescendant(),Df._32(n,215).disabled,Df._32(n,215).errorState,Df._32(n,215).required]);l(n,222,0,Df._32(n,223)._getTabIndex(),Df._32(n,223).selected,Df._32(n,223).multiple,Df._32(n,223).active,Df._32(n,223).id,Df._32(n,223).selected.toString(),Df._32(n,223).disabled.toString(),Df._32(n,223).disabled);l(n,234,1,[Df._32(n,235)._control.errorState,Df._32(n,235)._control.errorState,Df._32(n,235)._canLabelFloat,Df._32(n,235)._shouldLabelFloat(),Df._32(n,235)._hideControlPlaceholder(),Df._32(n,235)._control.disabled,Df._32(n,235)._control.focused,"primary"==Df._32(n,235).color,"accent"==Df._32(n,235).color,"warn"==Df._32(n,235).color,Df._32(n,235)._shouldForward("untouched"),Df._32(n,235)._shouldForward("touched"),Df._32(n,235)._shouldForward("pristine"),Df._32(n,235)._shouldForward("dirty"),Df._32(n,235)._shouldForward("valid"),Df._32(n,235)._shouldForward("invalid"),Df._32(n,235)._shouldForward("pending")]);l(n,244,1,[Df._32(n,247).ngClassUntouched,Df._32(n,247).ngClassTouched,Df._32(n,247).ngClassPristine,Df._32(n,247).ngClassDirty,Df._32(n,247).ngClassValid,Df._32(n,247).ngClassInvalid,Df._32(n,247).ngClassPending,Df._32(n,248).id,Df._32(n,248).tabIndex,Df._32(n,248)._ariaLabel,Df._32(n,248).ariaLabelledby,Df._32(n,248).required.toString(),Df._32(n,248).disabled.toString(),Df._32(n,248).errorState,Df._32(n,248).panelOpen?Df._32(n,248)._optionIds:null,Df._32(n,248).multiple,Df._32(n,248)._ariaDescribedby||null,Df._32(n,248)._getAriaActiveDescendant(),Df._32(n,248).disabled,Df._32(n,248).errorState,Df._32(n,248).required]);l(n,255,0,Df._32(n,256)._getTabIndex(),Df._32(n,256).selected,Df._32(n,256).multiple,Df._32(n,256).active,Df._32(n,256).id,Df._32(n,256).selected.toString(),Df._32(n,256).disabled.toString(),Df._32(n,256).disabled);l(n,268,1,[Df._32(n,269)._control.errorState,Df._32(n,269)._control.errorState,Df._32(n,269)._canLabelFloat,Df._32(n,269)._shouldLabelFloat(),Df._32(n,269)._hideControlPlaceholder(),Df._32(n,269)._control.disabled,Df._32(n,269)._control.focused,"primary"==Df._32(n,269).color,"accent"==Df._32(n,269).color,"warn"==Df._32(n,269).color,Df._32(n,269)._shouldForward("untouched"),Df._32(n,269)._shouldForward("touched"),Df._32(n,269)._shouldForward("pristine"),Df._32(n,269)._shouldForward("dirty"),Df._32(n,269)._shouldForward("valid"),Df._32(n,269)._shouldForward("invalid"),Df._32(n,269)._shouldForward("pending")]);l(n,278,1,[Df._32(n,284).ngClassUntouched,Df._32(n,284).ngClassTouched,Df._32(n,284).ngClassPristine,Df._32(n,284).ngClassDirty,Df._32(n,284).ngClassValid,Df._32(n,284).ngClassInvalid,Df._32(n,284).ngClassPending,Df._32(n,285)._isServer,Df._32(n,285).id,Df._32(n,285).placeholder,Df._32(n,285).disabled,Df._32(n,285).required,Df._32(n,285).readonly,Df._32(n,285)._ariaDescribedby||null,Df._32(n,285).errorState,Df._32(n,285).required.toString()]);l(n,289,1,[Df._32(n,290)._control.errorState,Df._32(n,290)._control.errorState,Df._32(n,290)._canLabelFloat,Df._32(n,290)._shouldLabelFloat(),Df._32(n,290)._hideControlPlaceholder(),Df._32(n,290)._control.disabled,Df._32(n,290)._control.focused,"primary"==Df._32(n,290).color,"accent"==Df._32(n,290).color,"warn"==Df._32(n,290).color,Df._32(n,290)._shouldForward("untouched"),Df._32(n,290)._shouldForward("touched"),Df._32(n,290)._shouldForward("pristine"),Df._32(n,290)._shouldForward("dirty"),Df._32(n,290)._shouldForward("valid"),Df._32(n,290)._shouldForward("invalid"),Df._32(n,290)._shouldForward("pending")]);l(n,299,1,[Df._32(n,302).ngClassUntouched,Df._32(n,302).ngClassTouched,Df._32(n,302).ngClassPristine,Df._32(n,302).ngClassDirty,Df._32(n,302).ngClassValid,Df._32(n,302).ngClassInvalid,Df._32(n,302).ngClassPending,Df._32(n,303).id,Df._32(n,303).tabIndex,Df._32(n,303)._ariaLabel,Df._32(n,303).ariaLabelledby,Df._32(n,303).required.toString(),Df._32(n,303).disabled.toString(),Df._32(n,303).errorState,Df._32(n,303).panelOpen?Df._32(n,303)._optionIds:null,Df._32(n,303).multiple,Df._32(n,303)._ariaDescribedby||null,Df._32(n,303)._getAriaActiveDescendant(),Df._32(n,303).disabled,Df._32(n,303).errorState,Df._32(n,303).required]);l(n,310,0,Df._32(n,311)._getTabIndex(),Df._32(n,311).selected,Df._32(n,311).multiple,Df._32(n,311).active,Df._32(n,311).id,Df._32(n,311).selected.toString(),Df._32(n,311).disabled.toString(),Df._32(n,311).disabled)})}function Yl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Ol)),Df._17(18,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._18(22,0,null,null,57,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(25,0,null,1,52,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,27).onReset()&&u}return u},null,null)),Df._17(26,16384,null,0,Jf.B,[],null,null),Df._17(27,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(29,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,11,"mat-card",[["class","box mat-card"]],null,null,null,dy.d,dy.a)),Df._17(32,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n"])),(l()(),Df._18(34,0,null,0,7,"div",[["formArrayName","addresses"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(35,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(37,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Gl)),Df._17(40,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,[" \n\n "])),(l()(),Df._18(44,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(45,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(47,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(48,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,138,{_control:0}),Df._37(335544320,139,{_placeholderChild:0}),Df._37(335544320,140,{_labelChild:0}),Df._37(603979776,141,{_errorChildren:1}),Df._37(603979776,142,{_hintChildren:1}),Df._37(603979776,143,{_prefixChildren:1}),Df._37(603979776,144,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(57,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,58)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,58).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,58)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,58)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,63)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,63)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,63)._onInput()&&u}return u},null,null)),Df._17(58,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(60,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(62,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(63,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[138,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(68,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(69,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(72,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdQuestion(t.pdQuestionAddress.value)&&u}return u},Vy.b,Vy.a)),Df._17(73,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,1,["\n\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.pdQuestionAddress);l(n,35,0,"addresses");l(n,40,0,e.pdQuestionAddress.controls.addresses.controls);l(n,60,0,"address_form_remark");l(n,63,0,"Remarks");l(n,73,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher);l(n,25,0,Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending);l(n,34,0,Df._32(n,37).ngClassUntouched,Df._32(n,37).ngClassTouched,Df._32(n,37).ngClassPristine,Df._32(n,37).ngClassDirty,Df._32(n,37).ngClassValid,Df._32(n,37).ngClassInvalid,Df._32(n,37).ngClassPending);l(n,47,1,[Df._32(n,48)._control.errorState,Df._32(n,48)._control.errorState,Df._32(n,48)._canLabelFloat,Df._32(n,48)._shouldLabelFloat(),Df._32(n,48)._hideControlPlaceholder(),Df._32(n,48)._control.disabled,Df._32(n,48)._control.focused,"primary"==Df._32(n,48).color,"accent"==Df._32(n,48).color,"warn"==Df._32(n,48).color,Df._32(n,48)._shouldForward("untouched"),Df._32(n,48)._shouldForward("touched"),Df._32(n,48)._shouldForward("pristine"),Df._32(n,48)._shouldForward("dirty"),Df._32(n,48)._shouldForward("valid"),Df._32(n,48)._shouldForward("invalid"),Df._32(n,48)._shouldForward("pending")]);l(n,57,1,[Df._32(n,62).ngClassUntouched,Df._32(n,62).ngClassTouched,Df._32(n,62).ngClassPristine,Df._32(n,62).ngClassDirty,Df._32(n,62).ngClassValid,Df._32(n,62).ngClassInvalid,Df._32(n,62).ngClassPending,Df._32(n,63)._isServer,Df._32(n,63).id,Df._32(n,63).placeholder,Df._32(n,63).disabled,Df._32(n,63).required,Df._32(n,63).readonly,Df._32(n,63)._ariaDescribedby||null,Df._32(n,63).errorState,Df._32(n,63).required.toString()])})}function zl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Ql(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Jl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,27,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(10,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","any_other_assets"],["matInput",""],["placeholder","Description of the Assets"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,25)._onInput()&&u}return u},null,null)),Df._17(20,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[12,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,22,0,"any_other_assets");l(n,25,0,"Description of the Assets")},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,9,1,[Df._32(n,10)._control.errorState,Df._32(n,10)._control.errorState,Df._32(n,10)._canLabelFloat,Df._32(n,10)._shouldLabelFloat(),Df._32(n,10)._hideControlPlaceholder(),Df._32(n,10)._control.disabled,Df._32(n,10)._control.focused,"primary"==Df._32(n,10).color,"accent"==Df._32(n,10).color,"warn"==Df._32(n,10).color,Df._32(n,10)._shouldForward("untouched"),Df._32(n,10)._shouldForward("touched"),Df._32(n,10)._shouldForward("pristine"),Df._32(n,10)._shouldForward("dirty"),Df._32(n,10)._shouldForward("valid"),Df._32(n,10)._shouldForward("invalid"),Df._32(n,10)._shouldForward("pending")]);l(n,19,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25)._isServer,Df._32(n,25).id,Df._32(n,25).placeholder,Df._32(n,25).disabled,Df._32(n,25).required,Df._32(n,25).readonly,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25).errorState,Df._32(n,25).required.toString()])})}function Xl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Jl)),Df._17(3,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.details.controls)},null)}function Zl(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ln(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,29,{_control:0}),Df._37(335544320,30,{_placeholderChild:0}),Df._37(335544320,31,{_labelChild:0}),Df._37(603979776,32,{_errorChildren:1}),Df._37(603979776,33,{_hintChildren:1}),Df._37(603979776,34,{_prefixChildren:1}),Df._37(603979776,35,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_property_type"],["matInput",""],["placeholder","Other Property Type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[29,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_property_type");l(n,16,0,"Other Property Type")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function nn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_of_the_property"],["matInput",""],["placeholder","Address of the Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[36,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"address_of_the_property");l(n,16,0,"Address of the Property")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function en(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,43,{_control:0}),Df._37(335544320,44,{_placeholderChild:0}),Df._37(335544320,45,{_labelChild:0}),Df._37(603979776,46,{_errorChildren:1}),Df._37(603979776,47,{_hintChildren:1}),Df._37(603979776,48,{_prefixChildren:1}),Df._37(603979776,49,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","describe_of_the_property_asset"],["matInput",""],["placeholder","Description of the Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[43,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"describe_of_the_property_asset");l(n,16,0,"Description of the Property")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function un(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[64,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function tn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,67,{_control:0}),Df._37(335544320,68,{_placeholderChild:0}),Df._37(335544320,69,{_labelChild:0}),Df._37(603979776,70,{_errorChildren:1}),Df._37(603979776,71,{_hintChildren:1}),Df._37(603979776,72,{_prefixChildren:1}),Df._37(603979776,73,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_uom"],["matInput",""],["placeholder","Specify Unit of Measurement"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[67,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_uom");l(n,16,0,"Specify Unit of Measurement")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function an(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,98,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,95,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,89,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(10,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","property_type"],["placeholder","Property Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,26,{options:1}),Df._37(603979776,27,{optionGroups:1}),Df._37(335544320,28,{customTrigger:0}),Df._36(2048,[[19,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Zl)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,ln)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,nn)),Df._17(39,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,en)),Df._17(42,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(44,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(45,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,50,{_control:0}),Df._37(335544320,51,{_placeholderChild:0}),Df._37(335544320,52,{_labelChild:0}),Df._37(603979776,53,{_errorChildren:1}),Df._37(603979776,54,{_hintChildren:1}),Df._37(603979776,55,{_prefixChildren:1}),Df._37(603979776,56,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(54,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","area_covered_by_this_property"],["matInput",""],["placeholder","Area Covered"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,55)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,60)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,60)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,60)._onInput()&&u}return u},null,null)),Df._17(55,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(57,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(59,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(60,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[50,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(64,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(65,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,57,{_control:0}),Df._37(335544320,58,{_placeholderChild:0}),Df._37(335544320,59,{_labelChild:0}),Df._37(603979776,60,{_errorChildren:1}),Df._37(603979776,61,{_hintChildren:1}),Df._37(603979776,62,{_prefixChildren:1}),Df._37(603979776,63,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(74,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","uom_of_the_property"],["placeholder","Unit of Measurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,78)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,78)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,78)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.context.$implicit,6)&&u}return u},TC.b,TC.a)),Df._17(75,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(77,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(78,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,64,{options:1}),Df._37(603979776,65,{optionGroups:1}),Df._37(335544320,66,{customTrigger:0}),Df._36(2048,[[57,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(85,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,86)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,86)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(86,8437760,[[64,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,un)),Df._17(90,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,tn)),Df._17(95,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,21,0,"property_type");l(n,24,0,"Property Type");l(n,31,0,e.m_propertyType);l(n,36,0,1==n.context.$implicit.get("property_type").value);l(n,39,0,""!=n.context.$implicit.get("property_type").value);l(n,42,0,""!=n.context.$implicit.get("property_type").value);l(n,57,0,"area_covered_by_this_property");l(n,60,0,"Area Covered");l(n,75,0,"uom_of_the_property");l(n,78,0,"Unit of Measurement");l(n,90,0,e.m_uom_type);l(n,95,0,1==n.context.$implicit.get("uom_of_the_property").value)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,9,1,[Df._32(n,10)._control.errorState,Df._32(n,10)._control.errorState,Df._32(n,10)._canLabelFloat,Df._32(n,10)._shouldLabelFloat(),Df._32(n,10)._hideControlPlaceholder(),Df._32(n,10)._control.disabled,Df._32(n,10)._control.focused,"primary"==Df._32(n,10).color,"accent"==Df._32(n,10).color,"warn"==Df._32(n,10).color,Df._32(n,10)._shouldForward("untouched"),Df._32(n,10)._shouldForward("touched"),Df._32(n,10)._shouldForward("pristine"),Df._32(n,10)._shouldForward("dirty"),Df._32(n,10)._shouldForward("valid"),Df._32(n,10)._shouldForward("invalid"),Df._32(n,10)._shouldForward("pending")]);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required]);l(n,44,1,[Df._32(n,45)._control.errorState,Df._32(n,45)._control.errorState,Df._32(n,45)._canLabelFloat,Df._32(n,45)._shouldLabelFloat(),Df._32(n,45)._hideControlPlaceholder(),Df._32(n,45)._control.disabled,Df._32(n,45)._control.focused,"primary"==Df._32(n,45).color,"accent"==Df._32(n,45).color,"warn"==Df._32(n,45).color,Df._32(n,45)._shouldForward("untouched"),Df._32(n,45)._shouldForward("touched"),Df._32(n,45)._shouldForward("pristine"),Df._32(n,45)._shouldForward("dirty"),Df._32(n,45)._shouldForward("valid"),Df._32(n,45)._shouldForward("invalid"),Df._32(n,45)._shouldForward("pending")]);l(n,54,1,[Df._32(n,59).ngClassUntouched,Df._32(n,59).ngClassTouched,Df._32(n,59).ngClassPristine,Df._32(n,59).ngClassDirty,Df._32(n,59).ngClassValid,Df._32(n,59).ngClassInvalid,Df._32(n,59).ngClassPending,Df._32(n,60)._isServer,Df._32(n,60).id,Df._32(n,60).placeholder,Df._32(n,60).disabled,Df._32(n,60).required,Df._32(n,60).readonly,Df._32(n,60)._ariaDescribedby||null,Df._32(n,60).errorState,Df._32(n,60).required.toString()]);l(n,64,1,[Df._32(n,65)._control.errorState,Df._32(n,65)._control.errorState,Df._32(n,65)._canLabelFloat,Df._32(n,65)._shouldLabelFloat(),Df._32(n,65)._hideControlPlaceholder(),Df._32(n,65)._control.disabled,Df._32(n,65)._control.focused,"primary"==Df._32(n,65).color,"accent"==Df._32(n,65).color,"warn"==Df._32(n,65).color,Df._32(n,65)._shouldForward("untouched"),Df._32(n,65)._shouldForward("touched"),Df._32(n,65)._shouldForward("pristine"),Df._32(n,65)._shouldForward("dirty"),Df._32(n,65)._shouldForward("valid"),Df._32(n,65)._shouldForward("invalid"),Df._32(n,65)._shouldForward("pending")]);l(n,74,1,[Df._32(n,77).ngClassUntouched,Df._32(n,77).ngClassTouched,Df._32(n,77).ngClassPristine,Df._32(n,77).ngClassDirty,Df._32(n,77).ngClassValid,Df._32(n,77).ngClassInvalid,Df._32(n,77).ngClassPending,Df._32(n,78).id,Df._32(n,78).tabIndex,Df._32(n,78)._ariaLabel,Df._32(n,78).ariaLabelledby,Df._32(n,78).required.toString(),Df._32(n,78).disabled.toString(),Df._32(n,78).errorState,Df._32(n,78).panelOpen?Df._32(n,78)._optionIds:null,Df._32(n,78).multiple,Df._32(n,78)._ariaDescribedby||null,Df._32(n,78)._getAriaActiveDescendant(),Df._32(n,78).disabled,Df._32(n,78).errorState,Df._32(n,78).required]);l(n,85,0,Df._32(n,86)._getTabIndex(),Df._32(n,86).selected,Df._32(n,86).multiple,Df._32(n,86).active,Df._32(n,86).id,Df._32(n,86).selected.toString(),Df._32(n,86).disabled.toString(),Df._32(n,86).disabled)})}function on(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,an)),Df._17(5,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function rn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[81,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.vehicle_type_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.vehicle_type_name)})}function _n(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,84,{_control:0}),Df._37(335544320,85,{_placeholderChild:0}),Df._37(335544320,86,{_labelChild:0}),Df._37(603979776,87,{_errorChildren:1}),Df._37(603979776,88,{_hintChildren:1}),Df._37(603979776,89,{_prefixChildren:1}),Df._37(603979776,90,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_vehicle_type"],["matInput",""],["placeholder"," Specify Vehicle"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[84,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_vehicle_type");l(n,16,0," Specify Vehicle")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function dn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,64,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,61,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,55,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(10,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,74,{_control:0}),Df._37(335544320,75,{_placeholderChild:0}),Df._37(335544320,76,{_labelChild:0}),Df._37(603979776,77,{_errorChildren:1}),Df._37(603979776,78,{_hintChildren:1}),Df._37(603979776,79,{_prefixChildren:1}),Df._37(603979776,80,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","vehicle_type"],["placeholder","Type of Vehicle"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,23)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,81,{options:1}),Df._37(603979776,82,{optionGroups:1}),Df._37(335544320,83,{customTrigger:0}),Df._36(2048,[[74,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,32)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(32,8437760,[[81,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,rn)),Df._17(36,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,_n)),Df._17(41,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(44,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,91,{_control:0}),Df._37(335544320,92,{_placeholderChild:0}),Df._37(335544320,93,{_labelChild:0}),Df._37(603979776,94,{_errorChildren:1}),Df._37(603979776,95,{_hintChildren:1}),Df._37(603979776,96,{_prefixChildren:1}),Df._37(603979776,97,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(53,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturer_model_vehicle"],["matInput",""],["placeholder","Description of Vehicle (example -Toyota Altis)"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,54)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,54).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,54)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,54)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,59)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,59)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,59)._onInput()&&u}return u},null,null)),Df._17(54,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(56,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(58,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(59,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[91,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,20,0,"vehicle_type");l(n,23,0,"Type of Vehicle");l(n,36,0,e.m_vehicle_type);l(n,41,0,1==n.context.$implicit.get("vehicle_type").value);l(n,56,0,"manufacturer_model_vehicle");l(n,59,0,"Description of Vehicle (example -Toyota Altis)")},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,9,1,[Df._32(n,10)._control.errorState,Df._32(n,10)._control.errorState,Df._32(n,10)._canLabelFloat,Df._32(n,10)._shouldLabelFloat(),Df._32(n,10)._hideControlPlaceholder(),Df._32(n,10)._control.disabled,Df._32(n,10)._control.focused,"primary"==Df._32(n,10).color,"accent"==Df._32(n,10).color,"warn"==Df._32(n,10).color,Df._32(n,10)._shouldForward("untouched"),Df._32(n,10)._shouldForward("touched"),Df._32(n,10)._shouldForward("pristine"),Df._32(n,10)._shouldForward("dirty"),Df._32(n,10)._shouldForward("valid"),Df._32(n,10)._shouldForward("invalid"),Df._32(n,10)._shouldForward("pending")]);l(n,19,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23).id,Df._32(n,23).tabIndex,Df._32(n,23)._ariaLabel,Df._32(n,23).ariaLabelledby,Df._32(n,23).required.toString(),Df._32(n,23).disabled.toString(),Df._32(n,23).errorState,Df._32(n,23).panelOpen?Df._32(n,23)._optionIds:null,Df._32(n,23).multiple,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23)._getAriaActiveDescendant(),Df._32(n,23).disabled,Df._32(n,23).errorState,Df._32(n,23).required]);l(n,31,0,Df._32(n,32)._getTabIndex(),Df._32(n,32).selected,Df._32(n,32).multiple,Df._32(n,32).active,Df._32(n,32).id,Df._32(n,32).selected.toString(),Df._32(n,32).disabled.toString(),Df._32(n,32).disabled);l(n,43,1,[Df._32(n,44)._control.errorState,Df._32(n,44)._control.errorState,Df._32(n,44)._canLabelFloat,Df._32(n,44)._shouldLabelFloat(),Df._32(n,44)._hideControlPlaceholder(),Df._32(n,44)._control.disabled,Df._32(n,44)._control.focused,"primary"==Df._32(n,44).color,"accent"==Df._32(n,44).color,"warn"==Df._32(n,44).color,Df._32(n,44)._shouldForward("untouched"),Df._32(n,44)._shouldForward("touched"),Df._32(n,44)._shouldForward("pristine"),Df._32(n,44)._shouldForward("dirty"),Df._32(n,44)._shouldForward("valid"),Df._32(n,44)._shouldForward("invalid"),Df._32(n,44)._shouldForward("pending")]);l(n,53,1,[Df._32(n,58).ngClassUntouched,Df._32(n,58).ngClassTouched,Df._32(n,58).ngClassPristine,Df._32(n,58).ngClassDirty,Df._32(n,58).ngClassValid,Df._32(n,58).ngClassInvalid,Df._32(n,58).ngClassPending,Df._32(n,59)._isServer,Df._32(n,59).id,Df._32(n,59).placeholder,Df._32(n,59).disabled,Df._32(n,59).required,Df._32(n,59).readonly,Df._32(n,59)._ariaDescribedby||null,Df._32(n,59).errorState,Df._32(n,59).required.toString()])})}function sn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,dn)),Df._17(5,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function cn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,27,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,21,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(10,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,98,{_control:0}),Df._37(335544320,99,{_placeholderChild:0}),Df._37(335544320,100,{_labelChild:0}),Df._37(603979776,101,{_errorChildren:1}),Df._37(603979776,102,{_hintChildren:1}),Df._37(603979776,103,{_prefixChildren:1}),Df._37(603979776,104,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","equipment_manufacturing_description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,25)._onInput()&&u}return u},null,null)),Df._17(20,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[98,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,22,0,"equipment_manufacturing_description");l(n,25,0,"Description")},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,9,1,[Df._32(n,10)._control.errorState,Df._32(n,10)._control.errorState,Df._32(n,10)._canLabelFloat,Df._32(n,10)._shouldLabelFloat(),Df._32(n,10)._hideControlPlaceholder(),Df._32(n,10)._control.disabled,Df._32(n,10)._control.focused,"primary"==Df._32(n,10).color,"accent"==Df._32(n,10).color,"warn"==Df._32(n,10).color,Df._32(n,10)._shouldForward("untouched"),Df._32(n,10)._shouldForward("touched"),Df._32(n,10)._shouldForward("pristine"),Df._32(n,10)._shouldForward("dirty"),Df._32(n,10)._shouldForward("valid"),Df._32(n,10)._shouldForward("invalid"),Df._32(n,10)._shouldForward("pending")]);l(n,19,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25)._isServer,Df._32(n,25).id,Df._32(n,25).placeholder,Df._32(n,25).disabled,Df._32(n,25).required,Df._32(n,25).readonly,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25).errorState,Df._32(n,25).required.toString()])})}function mn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,cn)),Df._17(3,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.details.controls)},null)}function pn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[109,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.PremiumPaidInwords[n.parent.context.index])})}function fn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[119,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function hn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,122,{_control:0}),Df._37(335544320,123,{_placeholderChild:0}),Df._37(335544320,124,{_labelChild:0}),Df._37(603979776,125,{_errorChildren:1}),Df._37(603979776,126,{_hintChildren:1}),Df._37(603979776,127,{_prefixChildren:1}),Df._37(603979776,128,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_frequency_mode"],["matInput",""],["placeholder","Specify Frequency"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[122,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_frequency_mode");l(n,16,0,"Specify Frequency")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function gn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[133,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.SumAssuredInwords[n.parent.context.index])})}function bn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,123,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,120,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,62,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(9,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(12,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,105,{_control:0}),Df._37(335544320,106,{_placeholderChild:0}),Df._37(335544320,107,{_labelChild:0}),Df._37(603979776,108,{_errorChildren:1}),Df._37(603979776,109,{_hintChildren:1}),Df._37(603979776,110,{_prefixChildren:1}),Df._37(603979776,111,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","premium_paid"],["matInput",""],["placeholder","Premium Paid"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,22)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,22).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,22)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,22)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,27)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),Df._17(22,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(24,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(26,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(27,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[105,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,pn)),Df._17(31,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,27,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,112,{_control:0}),Df._37(335544320,113,{_placeholderChild:0}),Df._37(335544320,114,{_labelChild:0}),Df._37(603979776,115,{_errorChildren:1}),Df._37(603979776,116,{_hintChildren:1}),Df._37(603979776,117,{_prefixChildren:1}),Df._37(603979776,118,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","frequency_mode"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,52)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,52)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,52)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(49,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(51,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(52,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,119,{options:1}),Df._37(603979776,120,{optionGroups:1}),Df._37(335544320,121,{customTrigger:0}),Df._36(2048,[[112,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,fn)),Df._17(59,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(64,0,null,null,4,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,hn)),Df._17(67,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(71,0,null,null,50,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(73,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(75,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(76,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,129,{_control:0}),Df._37(335544320,130,{_placeholderChild:0}),Df._37(335544320,131,{_labelChild:0}),Df._37(603979776,132,{_errorChildren:1}),Df._37(603979776,133,{_hintChildren:1}),Df._37(603979776,134,{_prefixChildren:1}),Df._37(603979776,135,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(85,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sum_assured"],["matInput",""],["placeholder","Sum Assured"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,86)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,86).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,86)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,86)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,91)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,91)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,91)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,2)&&u}return u},null,null)),Df._17(86,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(88,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(90,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(91,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[129,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,gn)),Df._17(95,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(99,0,null,null,21,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(101,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(102,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,136,{_control:0}),Df._37(335544320,137,{_placeholderChild:0}),Df._37(335544320,138,{_labelChild:0}),Df._37(603979776,139,{_errorChildren:1}),Df._37(603979776,140,{_hintChildren:1}),Df._37(603979776,141,{_prefixChildren:1}),Df._37(603979776,142,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(111,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","members_coverd"],["matInput",""],["placeholder","Members Covered"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,112)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,112).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,112)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,112)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,117)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,117)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,117)._onInput()&&u}return u},null,null)),Df._17(112,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(114,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(116,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(117,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[136,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,24,0,"premium_paid");l(n,27,0,"Premium Paid");l(n,31,0,""!=n.context.$implicit.get("premium_paid").value);l(n,49,0,"frequency_mode");l(n,52,0,"Frequency");l(n,59,0,e.m_freqOfPurchase);l(n,67,0,1==n.context.$implicit.get("frequency_mode").value);l(n,88,0,"sum_assured");l(n,91,0,"Sum Assured");l(n,95,0,""!=n.context.$implicit.get("sum_assured").value);l(n,114,0,"members_coverd");l(n,117,0,"Members Covered")},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,11,1,[Df._32(n,12)._control.errorState,Df._32(n,12)._control.errorState,Df._32(n,12)._canLabelFloat,Df._32(n,12)._shouldLabelFloat(),Df._32(n,12)._hideControlPlaceholder(),Df._32(n,12)._control.disabled,Df._32(n,12)._control.focused,"primary"==Df._32(n,12).color,"accent"==Df._32(n,12).color,"warn"==Df._32(n,12).color,Df._32(n,12)._shouldForward("untouched"),Df._32(n,12)._shouldForward("touched"),Df._32(n,12)._shouldForward("pristine"),Df._32(n,12)._shouldForward("dirty"),Df._32(n,12)._shouldForward("valid"),Df._32(n,12)._shouldForward("invalid"),Df._32(n,12)._shouldForward("pending")]);l(n,21,1,[Df._32(n,26).ngClassUntouched,Df._32(n,26).ngClassTouched,Df._32(n,26).ngClassPristine,Df._32(n,26).ngClassDirty,Df._32(n,26).ngClassValid,Df._32(n,26).ngClassInvalid,Df._32(n,26).ngClassPending,Df._32(n,27)._isServer,Df._32(n,27).id,Df._32(n,27).placeholder,Df._32(n,27).disabled,Df._32(n,27).required,Df._32(n,27).readonly,Df._32(n,27)._ariaDescribedby||null,Df._32(n,27).errorState,Df._32(n,27).required.toString()]);l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,1,[Df._32(n,51).ngClassUntouched,Df._32(n,51).ngClassTouched,Df._32(n,51).ngClassPristine,Df._32(n,51).ngClassDirty,Df._32(n,51).ngClassValid,Df._32(n,51).ngClassInvalid,Df._32(n,51).ngClassPending,Df._32(n,52).id,Df._32(n,52).tabIndex,Df._32(n,52)._ariaLabel,Df._32(n,52).ariaLabelledby,Df._32(n,52).required.toString(),Df._32(n,52).disabled.toString(),Df._32(n,52).errorState,Df._32(n,52).panelOpen?Df._32(n,52)._optionIds:null,Df._32(n,52).multiple,Df._32(n,52)._ariaDescribedby||null,Df._32(n,52)._getAriaActiveDescendant(),Df._32(n,52).disabled,Df._32(n,52).errorState,Df._32(n,52).required]);l(n,75,1,[Df._32(n,76)._control.errorState,Df._32(n,76)._control.errorState,Df._32(n,76)._canLabelFloat,Df._32(n,76)._shouldLabelFloat(),Df._32(n,76)._hideControlPlaceholder(),Df._32(n,76)._control.disabled,Df._32(n,76)._control.focused,"primary"==Df._32(n,76).color,"accent"==Df._32(n,76).color,"warn"==Df._32(n,76).color,Df._32(n,76)._shouldForward("untouched"),Df._32(n,76)._shouldForward("touched"),Df._32(n,76)._shouldForward("pristine"),Df._32(n,76)._shouldForward("dirty"),Df._32(n,76)._shouldForward("valid"),Df._32(n,76)._shouldForward("invalid"),Df._32(n,76)._shouldForward("pending")]);l(n,85,1,[Df._32(n,90).ngClassUntouched,Df._32(n,90).ngClassTouched,Df._32(n,90).ngClassPristine,Df._32(n,90).ngClassDirty,Df._32(n,90).ngClassValid,Df._32(n,90).ngClassInvalid,Df._32(n,90).ngClassPending,Df._32(n,91)._isServer,Df._32(n,91).id,Df._32(n,91).placeholder,Df._32(n,91).disabled,Df._32(n,91).required,Df._32(n,91).readonly,Df._32(n,91)._ariaDescribedby||null,Df._32(n,91).errorState,Df._32(n,91).required.toString()]);l(n,101,1,[Df._32(n,102)._control.errorState,Df._32(n,102)._control.errorState,Df._32(n,102)._canLabelFloat,Df._32(n,102)._shouldLabelFloat(),Df._32(n,102)._hideControlPlaceholder(),Df._32(n,102)._control.disabled,Df._32(n,102)._control.focused,"primary"==Df._32(n,102).color,"accent"==Df._32(n,102).color,"warn"==Df._32(n,102).color,Df._32(n,102)._shouldForward("untouched"),Df._32(n,102)._shouldForward("touched"),Df._32(n,102)._shouldForward("pristine"),Df._32(n,102)._shouldForward("dirty"),Df._32(n,102)._shouldForward("valid"),Df._32(n,102)._shouldForward("invalid"),Df._32(n,102)._shouldForward("pending")]);l(n,111,1,[Df._32(n,116).ngClassUntouched,Df._32(n,116).ngClassTouched,Df._32(n,116).ngClassPristine,Df._32(n,116).ngClassDirty,Df._32(n,116).ngClassValid,Df._32(n,116).ngClassInvalid,Df._32(n,116).ngClassPending,Df._32(n,117)._isServer,Df._32(n,117).id,Df._32(n,117).placeholder,Df._32(n,117).disabled,Df._32(n,117).required,Df._32(n,117).readonly,Df._32(n,117)._ariaDescribedby||null,Df._32(n,117).errorState,Df._32(n,117).required.toString()])})}function vn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,4,"div",[["fxFill",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,bn)),Df._17(5,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function yn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[150,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Cn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,153,{_control:0}),Df._37(335544320,154,{_placeholderChild:0}),Df._37(335544320,155,{_labelChild:0}),Df._37(603979776,156,{_errorChildren:1}),Df._37(603979776,157,{_hintChildren:1}),Df._37(603979776,158,{_prefixChildren:1}),Df._37(603979776,159,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_investments_type"],["matInput",""],["placeholder","Specify Type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[153,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_investments_type");l(n,16,0,"Specify Type")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function wn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,160,{_control:0}),Df._37(335544320,161,{_placeholderChild:0}),Df._37(335544320,162,{_labelChild:0}),Df._37(603979776,163,{_errorChildren:1}),Df._37(603979776,164,{_hintChildren:1}),Df._37(603979776,165,{_prefixChildren:1}),Df._37(603979776,166,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","in_which_organisation"],["matInput",""],["placeholder","Name of organisation in which investment done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[160,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"in_which_organisation");l(n,16,0,"Name of organisation in which investment done")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Fn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[171,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AmtInvestInwords[n.parent.context.index])})}function xn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,174,{_control:0}),Df._37(335544320,175,{_placeholderChild:0}),Df._37(335544320,176,{_labelChild:0}),Df._37(603979776,177,{_errorChildren:1}),Df._37(603979776,178,{_hintChildren:1}),Df._37(603979776,179,{_prefixChildren:1}),Df._37(603979776,180,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bank_name"],["matInput",""],["placeholder","Bank Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[174,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"bank_name");l(n,16,0,"Bank Name")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Sn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,77,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,74,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,68,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,30,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(12,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,143,{_control:0}),Df._37(335544320,144,{_placeholderChild:0}),Df._37(335544320,145,{_labelChild:0}),Df._37(603979776,146,{_errorChildren:1}),Df._37(603979776,147,{_hintChildren:1}),Df._37(603979776,148,{_prefixChildren:1}),Df._37(603979776,149,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","investments_type"],["placeholder","Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,26)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(23,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(25,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(26,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,150,{options:1}),Df._37(603979776,151,{optionGroups:1}),Df._37(335544320,152,{customTrigger:0}),Df._36(2048,[[143,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,yn)),Df._17(33,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Cn)),Df._17(38,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,wn)),Df._17(42,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(44,0,null,null,24,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(46,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(47,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,167,{_control:0}),Df._37(335544320,168,{_placeholderChild:0}),Df._37(335544320,169,{_labelChild:0}),Df._37(603979776,170,{_errorChildren:1}),Df._37(603979776,171,{_hintChildren:1}),Df._37(603979776,172,{_prefixChildren:1}),Df._37(603979776,173,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(56,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_of_invest"],["matInput",""],["placeholder","Current Market Value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,57)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,57).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,57)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,57)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,62)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,62)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,62)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,3)&&u}return u},null,null)),Df._17(57,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(59,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(61,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(62,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[167,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Fn)),Df._17(66,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,4,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,xn)),Df._17(73,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,23,0,"investments_type");l(n,26,0,"Type");l(n,33,0,e.m_investmentType);l(n,38,0,1==n.context.$implicit.get("investments_type").value);l(n,42,0,6==n.context.$implicit.get("investments_type").value||5==n.context.$implicit.get("investments_type").value||4==n.context.$implicit.get("investments_type").value);l(n,59,0,"amount_of_invest");l(n,62,0,"Current Market Value");l(n,66,0,""!=n.context.$implicit.get("amount_of_invest").value);l(n,73,0,1==n.context.$implicit.get("investments_type").value||2==n.context.$implicit.get("investments_type").value||3==n.context.$implicit.get("investments_type").value)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,11,1,[Df._32(n,12)._control.errorState,Df._32(n,12)._control.errorState,Df._32(n,12)._canLabelFloat,Df._32(n,12)._shouldLabelFloat(),Df._32(n,12)._hideControlPlaceholder(),Df._32(n,12)._control.disabled,Df._32(n,12)._control.focused,"primary"==Df._32(n,12).color,"accent"==Df._32(n,12).color,"warn"==Df._32(n,12).color,Df._32(n,12)._shouldForward("untouched"),Df._32(n,12)._shouldForward("touched"),Df._32(n,12)._shouldForward("pristine"),Df._32(n,12)._shouldForward("dirty"),Df._32(n,12)._shouldForward("valid"),Df._32(n,12)._shouldForward("invalid"),Df._32(n,12)._shouldForward("pending")]);l(n,21,1,[Df._32(n,25).ngClassUntouched,Df._32(n,25).ngClassTouched,Df._32(n,25).ngClassPristine,Df._32(n,25).ngClassDirty,Df._32(n,25).ngClassValid,Df._32(n,25).ngClassInvalid,Df._32(n,25).ngClassPending,Df._32(n,26).id,Df._32(n,26).tabIndex,Df._32(n,26)._ariaLabel,Df._32(n,26).ariaLabelledby,Df._32(n,26).required.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).errorState,Df._32(n,26).panelOpen?Df._32(n,26)._optionIds:null,Df._32(n,26).multiple,Df._32(n,26)._ariaDescribedby||null,Df._32(n,26)._getAriaActiveDescendant(),Df._32(n,26).disabled,Df._32(n,26).errorState,Df._32(n,26).required]);l(n,46,1,[Df._32(n,47)._control.errorState,Df._32(n,47)._control.errorState,Df._32(n,47)._canLabelFloat,Df._32(n,47)._shouldLabelFloat(),Df._32(n,47)._hideControlPlaceholder(),Df._32(n,47)._control.disabled,Df._32(n,47)._control.focused,"primary"==Df._32(n,47).color,"accent"==Df._32(n,47).color,"warn"==Df._32(n,47).color,Df._32(n,47)._shouldForward("untouched"),Df._32(n,47)._shouldForward("touched"),Df._32(n,47)._shouldForward("pristine"),Df._32(n,47)._shouldForward("dirty"),Df._32(n,47)._shouldForward("valid"),Df._32(n,47)._shouldForward("invalid"),Df._32(n,47)._shouldForward("pending")]);l(n,56,1,[Df._32(n,61).ngClassUntouched,Df._32(n,61).ngClassTouched,Df._32(n,61).ngClassPristine,Df._32(n,61).ngClassDirty,Df._32(n,61).ngClassValid,Df._32(n,61).ngClassInvalid,Df._32(n,61).ngClassPending,Df._32(n,62)._isServer,Df._32(n,62).id,Df._32(n,62).placeholder,Df._32(n,62).disabled,Df._32(n,62).required,Df._32(n,62).readonly,Df._32(n,62)._ariaDescribedby||null,Df._32(n,62).errorState,Df._32(n,62).required.toString()])})}function In(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Sn)),Df._17(5,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,5,0,n.parent.context.$implicit.controls.details.controls)},null)}function qn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[185,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.ApproxInwords[n.parent.parent.context.index])})}function kn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,28,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,25,"div",[["fxFlex","33"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(5,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,181,{_control:0}),Df._37(335544320,182,{_placeholderChild:0}),Df._37(335544320,183,{_labelChild:0}),Df._37(603979776,184,{_errorChildren:1}),Df._37(603979776,185,{_hintChildren:1}),Df._37(603979776,186,{_prefixChildren:1}),Df._37(603979776,187,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(14,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approximate_market_value"],["matInput",""],["placeholder","Approximate Market Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,4)&&u}return u},null,null)),Df._17(15,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(16,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(18,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(20,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(21,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[181,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,qn)),Df._17(25,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,18,0,"approximate_market_value");l(n,21,0,"Approximate Market Value","number");l(n,25,0,""!=n.parent.context.$implicit.get("approximate_market_value").value)},function(l,n){l(n,4,1,[Df._32(n,5)._control.errorState,Df._32(n,5)._control.errorState,Df._32(n,5)._canLabelFloat,Df._32(n,5)._shouldLabelFloat(),Df._32(n,5)._hideControlPlaceholder(),Df._32(n,5)._control.disabled,Df._32(n,5)._control.focused,"primary"==Df._32(n,5).color,"accent"==Df._32(n,5).color,"warn"==Df._32(n,5).color,Df._32(n,5)._shouldForward("untouched"),Df._32(n,5)._shouldForward("touched"),Df._32(n,5)._shouldForward("pristine"),Df._32(n,5)._shouldForward("dirty"),Df._32(n,5)._shouldForward("valid"),Df._32(n,5)._shouldForward("invalid"),Df._32(n,5)._shouldForward("pending")]);l(n,14,1,[Df._32(n,20).ngClassUntouched,Df._32(n,20).ngClassTouched,Df._32(n,20).ngClassPristine,Df._32(n,20).ngClassDirty,Df._32(n,20).ngClassValid,Df._32(n,20).ngClassInvalid,Df._32(n,20).ngClassPending,Df._32(n,21)._isServer,Df._32(n,21).id,Df._32(n,21).placeholder,Df._32(n,21).disabled,Df._32(n,21).required,Df._32(n,21).readonly,Df._32(n,21)._ariaDescribedby||null,Df._32(n,21).errorState,Df._32(n,21).required.toString()])})}function Pn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[195,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Dn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,DC.d,DC.a)),Df._17(1,49152,[[196,4]],0,hy.s,[],{label:[0,"label"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Pn)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,Df._32(n,1).disabled,Df._32(n,1).disabled.toString(),Df._32(n,1)._labelId)})}function Tn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,188,{_control:0}),Df._37(335544320,189,{_placeholderChild:0}),Df._37(335544320,190,{_labelChild:0}),Df._37(603979776,191,{_errorChildren:1}),Df._37(603979776,192,{_hintChildren:1}),Df._37(603979776,193,{_prefixChildren:1}),Df._37(603979776,194,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","name_of_the_owner"],["multiple",""],["placeholder","Name of the Owner"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,15)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.context.index,"",4)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(12,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(14,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(15,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),Df._37(603979776,195,{options:1}),Df._37(603979776,196,{optionGroups:1}),Df._37(335544320,197,{customTrigger:0}),Df._36(2048,[[188,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Dn)),Df._17(22,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"name_of_the_owner");l(n,15,0,"Name of the Owner","",e.compareObjects);l(n,22,0,e.mergeCompanyApplicant)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,14).ngClassUntouched,Df._32(n,14).ngClassTouched,Df._32(n,14).ngClassPristine,Df._32(n,14).ngClassDirty,Df._32(n,14).ngClassValid,Df._32(n,14).ngClassInvalid,Df._32(n,14).ngClassPending,Df._32(n,15).id,Df._32(n,15).tabIndex,Df._32(n,15)._ariaLabel,Df._32(n,15).ariaLabelledby,Df._32(n,15).required.toString(),Df._32(n,15).disabled.toString(),Df._32(n,15).errorState,Df._32(n,15).panelOpen?Df._32(n,15)._optionIds:null,Df._32(n,15).multiple,Df._32(n,15)._ariaDescribedby||null,Df._32(n,15)._getAriaActiveDescendant(),Df._32(n,15).disabled,Df._32(n,15).errorState,Df._32(n,15).required])})}function On(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,198,{_control:0}),Df._37(335544320,199,{_placeholderChild:0}),Df._37(335544320,200,{_labelChild:0}),Df._37(603979776,201,{_errorChildren:1}),Df._37(603979776,202,{_hintChildren:1}),Df._37(603979776,203,{_prefixChildren:1}),Df._37(603979776,204,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_owner"],["matInput",""],["placeholder","Specify Owner Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[198,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_owner");l(n,16,0,"Specify Owner Name")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Ln(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,58,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,205,{_control:0}),Df._37(335544320,206,{_placeholderChild:0}),Df._37(335544320,207,{_labelChild:0}),Df._37(603979776,208,{_errorChildren:1}),Df._37(603979776,209,{_hintChildren:1}),Df._37(603979776,210,{_prefixChildren:1}),Df._37(603979776,211,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(13,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(14,16384,[[207,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Age of Asset in Years"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(17,0,null,1,11,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_personal"],["matInput",""],["maxlength","3"],["minlength","1"],["placeholder","eg.999"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,18)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,19).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,19).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,19).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,27)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.context.index,3)&&u}return u},null,null)),Df._17(18,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(19,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(20,540672,null,0,Jf.o,[],{minlength:[0,"minlength"]},null),Df._17(21,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l,n){return[l,n]},[Jf.o,Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(24,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(26,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(27,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[205,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(32,0,null,null,25,"div",[["fxLayout","row"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(35,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,212,{_control:0}),Df._37(335544320,213,{_placeholderChild:0}),Df._37(335544320,214,{_labelChild:0}),Df._37(603979776,215,{_errorChildren:1}),Df._37(603979776,216,{_hintChildren:1}),Df._37(603979776,217,{_prefixChildren:1}),Df._37(603979776,218,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(44,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(45,16384,[[214,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Purchase Year"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(48,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_year"],["matInput",""],["placeholder","YYYY eg.2018"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,49)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,49).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,49)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,49)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,54)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,54)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,54)._onInput()&&u}return u},null,null)),Df._17(49,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(51,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(53,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(54,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[212,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"1");l(n,21,0,"3");l(n,24,0,"vintage_personal");l(n,27,0,"eg.999","number");l(n,51,0,"purchase_year");l(n,54,0,"YYYY eg.2018")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,17,1,[Df._32(n,20).minlength?Df._32(n,20).minlength:null,Df._32(n,21).maxlength?Df._32(n,21).maxlength:null,Df._32(n,26).ngClassUntouched,Df._32(n,26).ngClassTouched,Df._32(n,26).ngClassPristine,Df._32(n,26).ngClassDirty,Df._32(n,26).ngClassValid,Df._32(n,26).ngClassInvalid,Df._32(n,26).ngClassPending,Df._32(n,27)._isServer,Df._32(n,27).id,Df._32(n,27).placeholder,Df._32(n,27).disabled,Df._32(n,27).required,Df._32(n,27).readonly,Df._32(n,27)._ariaDescribedby||null,Df._32(n,27).errorState,Df._32(n,27).required.toString()]);l(n,34,1,[Df._32(n,35)._control.errorState,Df._32(n,35)._control.errorState,Df._32(n,35)._canLabelFloat,Df._32(n,35)._shouldLabelFloat(),Df._32(n,35)._hideControlPlaceholder(),Df._32(n,35)._control.disabled,Df._32(n,35)._control.focused,"primary"==Df._32(n,35).color,"accent"==Df._32(n,35).color,"warn"==Df._32(n,35).color,Df._32(n,35)._shouldForward("untouched"),Df._32(n,35)._shouldForward("touched"),Df._32(n,35)._shouldForward("pristine"),Df._32(n,35)._shouldForward("dirty"),Df._32(n,35)._shouldForward("valid"),Df._32(n,35)._shouldForward("invalid"),Df._32(n,35)._shouldForward("pending")]);l(n,48,1,[Df._32(n,53).ngClassUntouched,Df._32(n,53).ngClassTouched,Df._32(n,53).ngClassPristine,Df._32(n,53).ngClassDirty,Df._32(n,53).ngClassValid,Df._32(n,53).ngClassInvalid,Df._32(n,53).ngClassPending,Df._32(n,54)._isServer,Df._32(n,54).id,Df._32(n,54).placeholder,Df._32(n,54).disabled,Df._32(n,54).required,Df._32(n,54).readonly,Df._32(n,54)._ariaDescribedby||null,Df._32(n,54).errorState,Df._32(n,54).required.toString()])})}function An(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addAsset(1)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Vn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,149,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,146,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(3,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(5,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(6,null,["Asset Details # ",""])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,139,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(9,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,135,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(12,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(14,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(16,0,null,null,27,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","5px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(18,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(19,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(28,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","assets_mode"],["placeholder","Assets Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,33)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,33)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,33)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAssetsType(e,l.context.index,1)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(30,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(32,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(33,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ql)),Df._17(40,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(46,0,null,null,28,"div",[["formArrayName","details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(47,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(49,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Xl)),Df._17(53,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,on)),Df._17(57,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,sn)),Df._17(61,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,mn)),Df._17(65,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,vn)),Df._17(69,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,In)),Df._17(73,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n \n "])),(l()(),Df._18(77,0,null,null,4,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,kn)),Df._17(80,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(83,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Tn)),Df._17(86,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,On)),Df._17(89,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Ln)),Df._17(95,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n \n "])),(l()(),Df._39(-1,null,[" \n \n \n "])),(l()(),Df._18(98,0,null,null,22,"mat-list",[["class","mat-list"]],null,null,null,nC.d,nC.a)),Df._17(99,49152,null,0,eC.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(101,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Is there a loan?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(104,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","emi"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(105,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,219,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(108,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(110,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(112,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,113)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(113,4440064,[[219,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["YES"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(116,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,117)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(117,4440064,[[219,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NO"])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(122,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(125,0,null,null,20,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(126,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,220,{_buttons:1}),(l()(),Df._39(-1,null,[" \n \n "])),(l()(),Df._18(129,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(130,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(132,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteAsset(l.context.index,1)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(134,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(135,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(139,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(140,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,An)),Df._17(143,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,n.context.index);l(n,30,0,"assets_mode");l(n,33,0,"Assets Type");l(n,40,0,e.m_assets_type);l(n,47,0,"details");l(n,53,0,1==n.context.$implicit.get("assets_mode").value);l(n,57,0,2==n.context.$implicit.get("assets_mode").value);l(n,61,0,3==n.context.$implicit.get("assets_mode").value);l(n,65,0,4==n.context.$implicit.get("assets_mode").value);l(n,69,0,6==n.context.$implicit.get("assets_mode").value);l(n,73,0,7==n.context.$implicit.get("assets_mode").value);l(n,80,0,2==n.context.$implicit.get("assets_mode").value||5==n.context.$implicit.get("assets_mode").value);l(n,86,0,""!=n.context.$implicit.get("assets_mode").value);l(n,89,0,e.isOtherOwner[n.context.index]);l(n,95,0,1==n.context.$implicit.get("assets_mode").value||2==n.context.$implicit.get("assets_mode").value||3==n.context.$implicit.get("assets_mode").value);l(n,108,0,"emi");l(n,113,0,"yes");l(n,117,0,"no");l(n,135,0,"optblue","md-trash");l(n,143,0,n.context.last)},function(l,n){l(n,6,0,n.context.index+1);l(n,11,0,Df._32(n,14).ngClassUntouched,Df._32(n,14).ngClassTouched,Df._32(n,14).ngClassPristine,Df._32(n,14).ngClassDirty,Df._32(n,14).ngClassValid,Df._32(n,14).ngClassInvalid,Df._32(n,14).ngClassPending);l(n,18,1,[Df._32(n,19)._control.errorState,Df._32(n,19)._control.errorState,Df._32(n,19)._canLabelFloat,Df._32(n,19)._shouldLabelFloat(),Df._32(n,19)._hideControlPlaceholder(),Df._32(n,19)._control.disabled,Df._32(n,19)._control.focused,"primary"==Df._32(n,19).color,"accent"==Df._32(n,19).color,"warn"==Df._32(n,19).color,Df._32(n,19)._shouldForward("untouched"),Df._32(n,19)._shouldForward("touched"),Df._32(n,19)._shouldForward("pristine"),Df._32(n,19)._shouldForward("dirty"),Df._32(n,19)._shouldForward("valid"),Df._32(n,19)._shouldForward("invalid"),Df._32(n,19)._shouldForward("pending")]);l(n,28,1,[Df._32(n,32).ngClassUntouched,Df._32(n,32).ngClassTouched,Df._32(n,32).ngClassPristine,Df._32(n,32).ngClassDirty,Df._32(n,32).ngClassValid,Df._32(n,32).ngClassInvalid,Df._32(n,32).ngClassPending,Df._32(n,33).id,Df._32(n,33).tabIndex,Df._32(n,33)._ariaLabel,Df._32(n,33).ariaLabelledby,Df._32(n,33).required.toString(),Df._32(n,33).disabled.toString(),Df._32(n,33).errorState,Df._32(n,33).panelOpen?Df._32(n,33)._optionIds:null,Df._32(n,33).multiple,Df._32(n,33)._ariaDescribedby||null,Df._32(n,33)._getAriaActiveDescendant(),Df._32(n,33).disabled,Df._32(n,33).errorState,Df._32(n,33).required]);l(n,46,0,Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending);l(n,104,0,Df._32(n,110).ngClassUntouched,Df._32(n,110).ngClassTouched,Df._32(n,110).ngClassPristine,Df._32(n,110).ngClassDirty,Df._32(n,110).ngClassValid,Df._32(n,110).ngClassInvalid,Df._32(n,110).ngClassPending);l(n,112,0,Df._32(n,113).checked,Df._32(n,113).disabled,Df._32(n,113).id);l(n,116,0,Df._32(n,117).checked,Df._32(n,117).disabled,Df._32(n,117).id);l(n,134,0,Df._32(n,135)._hidden)})}function jn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,zl)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(21,0,null,null,60,"ion-content",[],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(24,0,null,1,56,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,10,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(33,0,null,null,7,"div",[["formArrayName","assets_details"],["fxFill",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(34,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(36,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Vn)),Df._17(39,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(44,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(46,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(47,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,221,{_control:0}),Df._37(335544320,222,{_placeholderChild:0}),Df._37(335544320,223,{_labelChild:0}),Df._37(603979776,224,{_errorChildren:1}),Df._37(603979776,225,{_hintChildren:1}),Df._37(603979776,226,{_prefixChildren:1}),Df._37(603979776,227,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(56,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(57,16384,[[223,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(60,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","assets_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,66)._onInput()&&u}return u},null,null)),Df._17(61,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(63,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(65,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(66,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[221,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(71,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(72,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n\n\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(75,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveAssetDetails(t.AssetsDetailsForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(76,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.AssetsDetailsForm);l(n,34,0,"assets_details");l(n,39,0,e.AssetsDetailsForm.controls.assets_details.controls);l(n,63,0,"assets_form_remark");l(n,66,0,"Remarks");l(n,76,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,33,0,Df._32(n,36).ngClassUntouched,Df._32(n,36).ngClassTouched,Df._32(n,36).ngClassPristine,Df._32(n,36).ngClassDirty,Df._32(n,36).ngClassValid,Df._32(n,36).ngClassInvalid,Df._32(n,36).ngClassPending);l(n,46,1,[Df._32(n,47)._control.errorState,Df._32(n,47)._control.errorState,Df._32(n,47)._canLabelFloat,Df._32(n,47)._shouldLabelFloat(),Df._32(n,47)._hideControlPlaceholder(),Df._32(n,47)._control.disabled,Df._32(n,47)._control.focused,"primary"==Df._32(n,47).color,"accent"==Df._32(n,47).color,"warn"==Df._32(n,47).color,Df._32(n,47)._shouldForward("untouched"),Df._32(n,47)._shouldForward("touched"),Df._32(n,47)._shouldForward("pristine"),Df._32(n,47)._shouldForward("dirty"),Df._32(n,47)._shouldForward("valid"),Df._32(n,47)._shouldForward("invalid"),Df._32(n,47)._shouldForward("pending")]);l(n,60,1,[Df._32(n,65).ngClassUntouched,Df._32(n,65).ngClassTouched,Df._32(n,65).ngClassPristine,Df._32(n,65).ngClassDirty,Df._32(n,65).ngClassValid,Df._32(n,65).ngClassInvalid,Df._32(n,65).ngClassPending,Df._32(n,66)._isServer,Df._32(n,66).id,Df._32(n,66).placeholder,Df._32(n,66).disabled,Df._32(n,66).required,Df._32(n,66).readonly,Df._32(n,66)._ariaDescribedby||null,Df._32(n,66).errorState,Df._32(n,66).required.toString()])})}function Nn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Wn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,[""," "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function En(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,DC.d,DC.a)),Df._17(1,49152,[[10,4]],0,hy.s,[],{label:[0,"label"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Wn)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,Df._32(n,1).disabled,Df._32(n,1).disabled.toString(),Df._32(n,1)._labelId)})}function Rn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_applicant"],["matInput",""],["name","other_applicant"],["placeholder","Specify Account Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[12,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_applicant");l(n,16,0,"Specify Account Name","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Un(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function $n(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,29,{_control:0}),Df._37(335544320,30,{_placeholderChild:0}),Df._37(335544320,31,{_labelChild:0}),Df._37(603979776,32,{_errorChildren:1}),Df._37(603979776,33,{_hintChildren:1}),Df._37(603979776,34,{_prefixChildren:1}),Df._37(603979776,35,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_bank"],["matInput",""],["placeholder","Specify Other Bank Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[29,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_bank");l(n,16,0,"Specify Other Bank Name")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Bn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[43,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Mn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,46,{_control:0}),Df._37(335544320,47,{_placeholderChild:0}),Df._37(335544320,48,{_labelChild:0}),Df._37(603979776,49,{_errorChildren:1}),Df._37(603979776,50,{_hintChildren:1}),Df._37(603979776,51,{_prefixChildren:1}),Df._37(603979776,52,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._18(10,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","salary"],["placeholder","Salary Credited in this account"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,14)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(11,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(13,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(14,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,53,{options:1}),Df._37(603979776,54,{optionGroups:1}),Df._37(335544320,55,{customTrigger:0}),Df._36(2048,[[46,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(22,8437760,[[53,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(26,8437760,[[53,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","NA"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,30)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(30,8437760,[[53,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NA"])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"salary");l(n,14,0,"Salary Credited in this account");l(n,22,0,"Yes");l(n,26,0,"No");l(n,30,0,"NA")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending,Df._32(n,14).id,Df._32(n,14).tabIndex,Df._32(n,14)._ariaLabel,Df._32(n,14).ariaLabelledby,Df._32(n,14).required.toString(),Df._32(n,14).disabled.toString(),Df._32(n,14).errorState,Df._32(n,14).panelOpen?Df._32(n,14)._optionIds:null,Df._32(n,14).multiple,Df._32(n,14)._ariaDescribedby||null,Df._32(n,14)._getAriaActiveDescendant(),Df._32(n,14).disabled,Df._32(n,14).errorState,Df._32(n,14).required]);l(n,21,0,Df._32(n,22)._getTabIndex(),Df._32(n,22).selected,Df._32(n,22).multiple,Df._32(n,22).active,Df._32(n,22).id,Df._32(n,22).selected.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).disabled);l(n,25,0,Df._32(n,26)._getTabIndex(),Df._32(n,26).selected,Df._32(n,26).multiple,Df._32(n,26).active,Df._32(n,26).id,Df._32(n,26).selected.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).disabled);l(n,29,0,Df._32(n,30)._getTabIndex(),Df._32(n,30).selected,Df._32(n,30).multiple,Df._32(n,30).active,Df._32(n,30).id,Df._32(n,30).selected.toString(),Df._32(n,30).disabled.toString(),Df._32(n,30).disabled)})}function Kn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[60,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.parent.context.index])})}function Hn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,30,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,[" "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,2,"mat-label",[],null,null,null,null,null)),Df._17(4,16384,null,0,fy.f,[],null,null),(l()(),Df._39(-1,null,["In case of OD / CC account, What is the Limit"])),(l()(),Df._39(-1,null,[" "])),(l()(),Df._18(7,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(8,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,56,{_control:0}),Df._37(335544320,57,{_placeholderChild:0}),Df._37(335544320,58,{_labelChild:0}),Df._37(603979776,59,{_errorChildren:1}),Df._37(603979776,60,{_hintChildren:1}),Df._37(603979776,61,{_prefixChildren:1}),Df._37(603979776,62,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(17,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","limit"],["matInput",""],["name","limit"],["placeholder",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,18)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,19).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,19).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,19).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,24)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,1)&&u}return u},null,null)),Df._17(18,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(19,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[56,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Kn)),Df._17(28,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,21,0,"limit");l(n,24,0,"","number");l(n,28,0,""!=n.parent.context.$implicit.get("limit").value)},function(l,n){l(n,7,1,[Df._32(n,8)._control.errorState,Df._32(n,8)._control.errorState,Df._32(n,8)._canLabelFloat,Df._32(n,8)._shouldLabelFloat(),Df._32(n,8)._hideControlPlaceholder(),Df._32(n,8)._control.disabled,Df._32(n,8)._control.focused,"primary"==Df._32(n,8).color,"accent"==Df._32(n,8).color,"warn"==Df._32(n,8).color,Df._32(n,8)._shouldForward("untouched"),Df._32(n,8)._shouldForward("touched"),Df._32(n,8)._shouldForward("pristine"),Df._32(n,8)._shouldForward("dirty"),Df._32(n,8)._shouldForward("valid"),Df._32(n,8)._shouldForward("invalid"),Df._32(n,8)._shouldForward("pending")]);l(n,17,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24)._isServer,Df._32(n,24).id,Df._32(n,24).placeholder,Df._32(n,24).disabled,Df._32(n,24).required,Df._32(n,24).readonly,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24).errorState,Df._32(n,24).required.toString()])})}function Gn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addmoreBankDetils()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Yn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,209,"div",[["formArrayName","bankitems"],["fxLayout","row"],["fxLayoutWrap","wrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,203,"div",[["class","column"],["fxFlex.lg","100"],["fxFlex.md","100"],["fxFlex.sm","100"],["fxFlex.xl","100"],["fxFlex.xs","100"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(7,0,null,null,200,"mat-card",[["class","box mat-card"]],null,null,null,dy.d,dy.a)),Df._17(8,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(10,0,null,0,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(11,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(14,null,["Banking details ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(16,0,null,null,3,"ion-col",[["class","col"],["col-3",""],["offset-1",""]],null,null,null,null,null)),Df._17(17,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(22,0,null,0,184,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(23,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(25,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(30,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(39,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Account Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,44)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,44)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,44)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(41,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(43,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(44,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,En)),Df._17(51,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Rn)),Df._17(57,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(59,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(61,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(62,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(71,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","bank_name"],["placeholder","Bank Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,76)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,76)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,76)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(73,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(75,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(76,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,26,{options:1}),Df._37(603979776,27,{optionGroups:1}),Df._37(335544320,28,{customTrigger:0}),Df._36(2048,[[19,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Un)),Df._17(83,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,$n)),Df._17(89,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(91,0,null,null,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(93,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(94,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._18(103,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","account_type"],["matInput",""],["name","account_type"],["placeholder","Account Type "],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,108)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,108)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,108)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAccTypeChanges(e.value,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(105,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(107,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(108,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,43,{options:1}),Df._37(603979776,44,{optionGroups:1}),Df._37(335544320,45,{customTrigger:0}),Df._36(2048,[[36,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Bn)),Df._17(115,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n\n \n\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(120,0,null,null,4,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Mn)),Df._17(123,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Hn)),Df._17(127,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(138,0,null,null,46,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(140,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Approximate vintage of the account (No of years)"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(143,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(144,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,63,{_control:0}),Df._37(335544320,64,{_placeholderChild:0}),Df._37(335544320,65,{_labelChild:0}),Df._37(603979776,66,{_errorChildren:1}),Df._37(603979776,67,{_hintChildren:1}),Df._37(603979776,68,{_prefixChildren:1}),Df._37(603979776,69,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(153,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_year"],["matInput",""],["name","vintage"],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,154)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,154).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,154)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,154)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,155).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,155).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,155).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,160)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,160)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,160)._onInput()&&u}return u},null,null)),Df._17(154,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(155,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(157,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(159,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(160,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[63,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(164,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(165,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,70,{_control:0}),Df._37(335544320,71,{_placeholderChild:0}),Df._37(335544320,72,{_labelChild:0}),Df._37(603979776,73,{_errorChildren:1}),Df._37(603979776,74,{_hintChildren:1}),Df._37(603979776,75,{_prefixChildren:1}),Df._37(603979776,76,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(174,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_month"],["matInput",""],["name","vintage"],["placeholder","month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,175)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,175).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,175)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,175)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,176).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,176).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,176).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,181)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,181)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,181)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value)&&u}return u},null,null)),Df._17(175,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(176,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(178,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(180,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(181,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[70,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(186,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(187,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,77,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(190,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(191,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(193,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removebank(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(195,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(196,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(199,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(200,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Gn)),Df._17(203,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,"bankitems");l(n,23,0,n.context.index);l(n,41,0,"applicant_name");l(n,44,0,"Account Name",e.compareObjects);l(n,51,0,e.mergeCompanyApplicant);l(n,57,0,1==e.checkOthers(n.context.$implicit.get("applicant_name").value));l(n,73,0,"bank_name");l(n,76,0,"Bank Name");l(n,83,0,e.m_btLenderList);l(n,89,0,1==n.context.$implicit.get("bank_name").value);l(n,105,0,"account_type");l(n,108,0,"Account Type ");l(n,115,0,e.accountType);l(n,123,0,e.salaryField);l(n,127,0,e.limitCaseFlag[n.context.index]);l(n,157,0,"vintage_year");l(n,160,0,"Year","number");l(n,178,0,"vintage_month");l(n,181,0,"month","number");l(n,196,0,"optblue","md-trash");l(n,203,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,14,0,n.context.index+1);l(n,22,0,Df._32(n,25).ngClassUntouched,Df._32(n,25).ngClassTouched,Df._32(n,25).ngClassPristine,Df._32(n,25).ngClassDirty,Df._32(n,25).ngClassValid,Df._32(n,25).ngClassInvalid,Df._32(n,25).ngClassPending);l(n,29,1,[Df._32(n,30)._control.errorState,Df._32(n,30)._control.errorState,Df._32(n,30)._canLabelFloat,Df._32(n,30)._shouldLabelFloat(),Df._32(n,30)._hideControlPlaceholder(),Df._32(n,30)._control.disabled,Df._32(n,30)._control.focused,"primary"==Df._32(n,30).color,"accent"==Df._32(n,30).color,"warn"==Df._32(n,30).color,Df._32(n,30)._shouldForward("untouched"),Df._32(n,30)._shouldForward("touched"),Df._32(n,30)._shouldForward("pristine"),Df._32(n,30)._shouldForward("dirty"),Df._32(n,30)._shouldForward("valid"),Df._32(n,30)._shouldForward("invalid"),Df._32(n,30)._shouldForward("pending")]);l(n,39,1,[Df._32(n,43).ngClassUntouched,Df._32(n,43).ngClassTouched,Df._32(n,43).ngClassPristine,Df._32(n,43).ngClassDirty,Df._32(n,43).ngClassValid,Df._32(n,43).ngClassInvalid,Df._32(n,43).ngClassPending,Df._32(n,44).id,Df._32(n,44).tabIndex,Df._32(n,44)._ariaLabel,Df._32(n,44).ariaLabelledby,Df._32(n,44).required.toString(),Df._32(n,44).disabled.toString(),Df._32(n,44).errorState,Df._32(n,44).panelOpen?Df._32(n,44)._optionIds:null,Df._32(n,44).multiple,Df._32(n,44)._ariaDescribedby||null,Df._32(n,44)._getAriaActiveDescendant(),Df._32(n,44).disabled,Df._32(n,44).errorState,Df._32(n,44).required]);l(n,61,1,[Df._32(n,62)._control.errorState,Df._32(n,62)._control.errorState,Df._32(n,62)._canLabelFloat,Df._32(n,62)._shouldLabelFloat(),Df._32(n,62)._hideControlPlaceholder(),Df._32(n,62)._control.disabled,Df._32(n,62)._control.focused,"primary"==Df._32(n,62).color,"accent"==Df._32(n,62).color,"warn"==Df._32(n,62).color,Df._32(n,62)._shouldForward("untouched"),Df._32(n,62)._shouldForward("touched"),Df._32(n,62)._shouldForward("pristine"),Df._32(n,62)._shouldForward("dirty"),Df._32(n,62)._shouldForward("valid"),Df._32(n,62)._shouldForward("invalid"),Df._32(n,62)._shouldForward("pending")]);l(n,71,1,[Df._32(n,75).ngClassUntouched,Df._32(n,75).ngClassTouched,Df._32(n,75).ngClassPristine,Df._32(n,75).ngClassDirty,Df._32(n,75).ngClassValid,Df._32(n,75).ngClassInvalid,Df._32(n,75).ngClassPending,Df._32(n,76).id,Df._32(n,76).tabIndex,Df._32(n,76)._ariaLabel,Df._32(n,76).ariaLabelledby,Df._32(n,76).required.toString(),Df._32(n,76).disabled.toString(),Df._32(n,76).errorState,Df._32(n,76).panelOpen?Df._32(n,76)._optionIds:null,Df._32(n,76).multiple,Df._32(n,76)._ariaDescribedby||null,Df._32(n,76)._getAriaActiveDescendant(),Df._32(n,76).disabled,Df._32(n,76).errorState,Df._32(n,76).required]);l(n,93,1,[Df._32(n,94)._control.errorState,Df._32(n,94)._control.errorState,Df._32(n,94)._canLabelFloat,Df._32(n,94)._shouldLabelFloat(),Df._32(n,94)._hideControlPlaceholder(),Df._32(n,94)._control.disabled,Df._32(n,94)._control.focused,"primary"==Df._32(n,94).color,"accent"==Df._32(n,94).color,"warn"==Df._32(n,94).color,Df._32(n,94)._shouldForward("untouched"),Df._32(n,94)._shouldForward("touched"),Df._32(n,94)._shouldForward("pristine"),Df._32(n,94)._shouldForward("dirty"),Df._32(n,94)._shouldForward("valid"),Df._32(n,94)._shouldForward("invalid"),Df._32(n,94)._shouldForward("pending")]);l(n,103,1,[Df._32(n,107).ngClassUntouched,Df._32(n,107).ngClassTouched,Df._32(n,107).ngClassPristine,Df._32(n,107).ngClassDirty,Df._32(n,107).ngClassValid,Df._32(n,107).ngClassInvalid,Df._32(n,107).ngClassPending,Df._32(n,108).id,Df._32(n,108).tabIndex,Df._32(n,108)._ariaLabel,Df._32(n,108).ariaLabelledby,Df._32(n,108).required.toString(),Df._32(n,108).disabled.toString(),Df._32(n,108).errorState,Df._32(n,108).panelOpen?Df._32(n,108)._optionIds:null,Df._32(n,108).multiple,Df._32(n,108)._ariaDescribedby||null,Df._32(n,108)._getAriaActiveDescendant(),Df._32(n,108).disabled,Df._32(n,108).errorState,Df._32(n,108).required]);l(n,143,1,[Df._32(n,144)._control.errorState,Df._32(n,144)._control.errorState,Df._32(n,144)._canLabelFloat,Df._32(n,144)._shouldLabelFloat(),Df._32(n,144)._hideControlPlaceholder(),Df._32(n,144)._control.disabled,Df._32(n,144)._control.focused,"primary"==Df._32(n,144).color,"accent"==Df._32(n,144).color,"warn"==Df._32(n,144).color,Df._32(n,144)._shouldForward("untouched"),Df._32(n,144)._shouldForward("touched"),Df._32(n,144)._shouldForward("pristine"),Df._32(n,144)._shouldForward("dirty"),Df._32(n,144)._shouldForward("valid"),Df._32(n,144)._shouldForward("invalid"),Df._32(n,144)._shouldForward("pending")]);l(n,153,1,[Df._32(n,159).ngClassUntouched,Df._32(n,159).ngClassTouched,Df._32(n,159).ngClassPristine,Df._32(n,159).ngClassDirty,Df._32(n,159).ngClassValid,Df._32(n,159).ngClassInvalid,Df._32(n,159).ngClassPending,Df._32(n,160)._isServer,Df._32(n,160).id,Df._32(n,160).placeholder,Df._32(n,160).disabled,Df._32(n,160).required,Df._32(n,160).readonly,Df._32(n,160)._ariaDescribedby||null,Df._32(n,160).errorState,Df._32(n,160).required.toString()]);l(n,164,1,[Df._32(n,165)._control.errorState,Df._32(n,165)._control.errorState,Df._32(n,165)._canLabelFloat,Df._32(n,165)._shouldLabelFloat(),Df._32(n,165)._hideControlPlaceholder(),Df._32(n,165)._control.disabled,Df._32(n,165)._control.focused,"primary"==Df._32(n,165).color,"accent"==Df._32(n,165).color,"warn"==Df._32(n,165).color,Df._32(n,165)._shouldForward("untouched"),Df._32(n,165)._shouldForward("touched"),Df._32(n,165)._shouldForward("pristine"),Df._32(n,165)._shouldForward("dirty"),Df._32(n,165)._shouldForward("valid"),Df._32(n,165)._shouldForward("invalid"),Df._32(n,165)._shouldForward("pending")]);l(n,174,1,[Df._32(n,180).ngClassUntouched,Df._32(n,180).ngClassTouched,Df._32(n,180).ngClassPristine,Df._32(n,180).ngClassDirty,Df._32(n,180).ngClassValid,Df._32(n,180).ngClassInvalid,Df._32(n,180).ngClassPending,Df._32(n,181)._isServer,Df._32(n,181).id,Df._32(n,181).placeholder,Df._32(n,181).disabled,Df._32(n,181).required,Df._32(n,181).readonly,Df._32(n,181)._ariaDescribedby||null,Df._32(n,181).errorState,Df._32(n,181).required.toString()]);l(n,195,0,Df._32(n,196)._hidden)})}function zn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Nn)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(21,0,null,null,47,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,42,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,27).onReset()&&u}return u},null,null)),Df._17(26,16384,null,0,Jf.B,[],null,null),Df._17(27,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(29,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Yn)),Df._17(32,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(35,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(37,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,78,{_control:0}),Df._37(335544320,79,{_placeholderChild:0}),Df._37(335544320,80,{_labelChild:0}),Df._37(603979776,81,{_errorChildren:1}),Df._37(603979776,82,{_hintChildren:1}),Df._37(603979776,83,{_prefixChildren:1}),Df._37(603979776,84,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","banking_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,48)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,53)._onInput()&&u}return u},null,null)),Df._17(48,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(50,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(52,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(53,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[78,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(58,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(59,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(62,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdBank(t.bankDetails.value)&&u}return u},Vy.b,Vy.a)),Df._17(63,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,27,0,e.bankDetails);l(n,32,0,e.bankDetails.get("bankitems").controls);l(n,50,0,"banking_form_remark");l(n,53,0,"Remarks");l(n,63,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,25,0,Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending);l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,1,[Df._32(n,52).ngClassUntouched,Df._32(n,52).ngClassTouched,Df._32(n,52).ngClassPristine,Df._32(n,52).ngClassDirty,Df._32(n,52).ngClassValid,Df._32(n,52).ngClassInvalid,Df._32(n,52).ngClassPending,Df._32(n,53)._isServer,Df._32(n,53).id,Df._32(n,53).placeholder,Df._32(n,53).disabled,Df._32(n,53).required,Df._32(n,53).readonly,Df._32(n,53)._ariaDescribedby||null,Df._32(n,53).errorState,Df._32(n,53).required.toString()])})}function Qn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[19,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.existing_loan_type_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.loan_type_name)})}function Jn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,22,{_control:0}),Df._37(335544320,23,{_placeholderChild:0}),Df._37(335544320,24,{_labelChild:0}),Df._37(603979776,25,{_errorChildren:1}),Df._37(603979776,26,{_hintChildren:1}),Df._37(603979776,27,{_prefixChildren:1}),Df._37(603979776,28,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_loan_type"],["matInput",""],["placeholder","Specify Other Loan Type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[22,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_loan_type");l(n,16,0,"Specify Other Loan Type")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Xn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[33,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["","","only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.context.index])})}function Zn(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[43,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function le(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,46,{_control:0}),Df._37(335544320,47,{_placeholderChild:0}),Df._37(335544320,48,{_labelChild:0}),Df._37(603979776,49,{_errorChildren:1}),Df._37(603979776,50,{_hintChildren:1}),Df._37(603979776,51,{_prefixChildren:1}),Df._37(603979776,52,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_lender"],["matInput",""],["placeholder","Specify Lender"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[46,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_lender");l(n,16,0,"Specify Lender")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function ne(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[60,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ee(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,DC.d,DC.a)),Df._17(1,49152,[[61,4]],0,hy.s,[],{label:[0,"label"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,0,1,null,ne)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,Df._32(n,1).disabled,Df._32(n,1).disabled.toString(),Df._32(n,1)._labelId)})}function ue(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,63,{_control:0}),Df._37(335544320,64,{_placeholderChild:0}),Df._37(335544320,65,{_labelChild:0}),Df._37(603979776,66,{_errorChildren:1}),Df._37(603979776,67,{_hintChildren:1}),Df._37(603979776,68,{_prefixChildren:1}),Df._37(603979776,69,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_loan_taken"],["matInput",""],["placeholder","Specify Borrower"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[63,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_loan_taken");l(n,16,0,"Specify Borrower")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function te(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[77,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.frequency_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function ae(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,80,{_control:0}),Df._37(335544320,81,{_placeholderChild:0}),Df._37(335544320,82,{_labelChild:0}),Df._37(603979776,83,{_errorChildren:1}),Df._37(603979776,84,{_hintChildren:1}),Df._37(603979776,85,{_prefixChildren:1}),Df._37(603979776,86,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_frequency"],["matInput",""],["placeholder","Specify Frequency"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[80,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_frequency");l(n,16,0,"Specify Frequency")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function ie(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[91,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["","","only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.emiAmtInwords[n.parent.parent.context.index])})}function oe(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,87,{_control:0}),Df._37(335544320,88,{_placeholderChild:0}),Df._37(335544320,89,{_labelChild:0}),Df._37(603979776,90,{_errorChildren:1}),Df._37(603979776,91,{_hintChildren:1}),Df._37(603979776,92,{_prefixChildren:1}),Df._37(603979776,93,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","emi"],["matInput",""],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,2)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(13,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[87,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,ie)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,16,0,"emi");l(n,19,0,""!=e.placeholderName[n.parent.context.index]?e.placeholderName[n.parent.context.index]:"Instalment Amount","","number");l(n,23,0,""!=n.parent.context.$implicit.get("emi").value)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,13).required?"":null,Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()])})}function re(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addLoanDetails()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function _e(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,241,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(6,null,["Loan Details #"," ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,232,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),Df._17(9,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(12,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","loan_type"],["placeholder","Loan Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,26)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(23,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(25,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(26,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,19,{options:1}),Df._37(603979776,20,{optionGroups:1}),Df._37(335544320,21,{customTrigger:0}),Df._36(2048,[[12,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Qn)),Df._17(33,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Jn)),Df._17(38,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(40,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(41,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,29,{_control:0}),Df._37(335544320,30,{_placeholderChild:0}),Df._37(335544320,31,{_labelChild:0}),Df._37(603979776,32,{_errorChildren:1}),Df._37(603979776,33,{_hintChildren:1}),Df._37(603979776,34,{_prefixChildren:1}),Df._37(603979776,35,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(50,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loan_amount"],["matInput",""],["placeholder","Loan Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,51)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,52).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,52).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,52).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,57)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,1)&&u}return u},null,null)),Df._17(51,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(52,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(54,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(56,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(57,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[29,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Xn)),Df._17(61,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(64,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(65,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(74,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","lender"],["placeholder","Lender"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,79)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,79)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,79)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(76,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(78,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(79,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,43,{options:1}),Df._37(603979776,44,{optionGroups:1}),Df._37(335544320,45,{customTrigger:0}),Df._36(2048,[[36,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Zn)),Df._17(86,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,le)),Df._17(91,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(93,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(94,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,53,{_control:0}),Df._37(335544320,54,{_placeholderChild:0}),Df._37(335544320,55,{_labelChild:0}),Df._37(603979776,56,{_errorChildren:1}),Df._37(603979776,57,{_hintChildren:1}),Df._37(603979776,58,{_prefixChildren:1}),Df._37(603979776,59,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(103,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","loan_taken_by"],["placeholder","Loan Taken By"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,108)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,108)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,108)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(105,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(107,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(108,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),Df._37(603979776,60,{options:1}),Df._37(603979776,61,{optionGroups:1}),Df._37(335544320,62,{customTrigger:0}),Df._36(2048,[[53,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ee)),Df._17(115,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,ue)),Df._17(120,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(122,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(123,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,70,{_control:0}),Df._37(335544320,71,{_placeholderChild:0}),Df._37(335544320,72,{_labelChild:0}),Df._37(603979776,73,{_errorChildren:1}),Df._37(603979776,74,{_hintChildren:1}),Df._37(603979776,75,{_prefixChildren:1}),Df._37(603979776,76,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(132,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","frequency"],["placeholder","Frequency"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,139)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,139)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,139)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedfrequency(e.value,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(134,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(136,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(138,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(139,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,77,{options:1}),Df._37(603979776,78,{optionGroups:1}),Df._37(335544320,79,{customTrigger:0}),Df._36(2048,[[70,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,te)),Df._17(146,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ae)),Df._17(151,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,oe)),Df._17(154,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n \n \n "])),(l()(),Df._18(157,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(158,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,94,{_control:0}),Df._37(335544320,95,{_placeholderChild:0}),Df._37(335544320,96,{_labelChild:0}),Df._37(603979776,97,{_errorChildren:1}),Df._37(603979776,98,{_hintChildren:1}),Df._37(603979776,99,{_prefixChildren:1}),Df._37(603979776,100,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(167,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","original_tenure"],["matInput",""],["placeholder","Original Tenure"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,168)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,168).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,168)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,168)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,169).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,169).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,169).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,174)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,174)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,174)._onInput()&&u}if("change"===n){t.checkTenure(l.context.$implicit);u=!1!==t.calculateTenure(l.context.$implicit)&&u}return u},null,null)),Df._17(168,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(169,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(171,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(173,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(174,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[94,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(178,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(179,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,101,{_control:0}),Df._37(335544320,102,{_placeholderChild:0}),Df._37(335544320,103,{_labelChild:0}),Df._37(603979776,104,{_errorChildren:1}),Df._37(603979776,105,{_hintChildren:1}),Df._37(603979776,106,{_prefixChildren:1}),Df._37(603979776,107,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(188,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","current_balance_tenure"],["matInput",""],["placeholder","Current Balance Tenure"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,189)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,189).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,189)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,189)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,190).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,190).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,190).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,195)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,195)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,195)._onInput()&&u}if("change"===n){u=!1!==t.calculateTenure(l.context.$implicit)&&u}return u},null,null)),Df._17(189,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(190,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(192,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(194,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(195,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[101,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(199,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(200,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,108,{_control:0}),Df._37(335544320,109,{_placeholderChild:0}),Df._37(335544320,110,{_labelChild:0}),Df._37(603979776,111,{_errorChildren:1}),Df._37(603979776,112,{_hintChildren:1}),Df._37(603979776,113,{_prefixChildren:1}),Df._37(603979776,114,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(209,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","elapsed_tenure"],["matInput",""],["placeholder","Elapsed Tenure in Months"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,210)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,210).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,210)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,210)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,211).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,211).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,211).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,216)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,216)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,216)._onInput()&&u}return u},null,null)),Df._17(210,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(211,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(213,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(215,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(216,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[108,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(220,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(221,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,115,{_buttons:1}),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(224,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(225,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(227,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteLoanDetails(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(229,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(230,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(233,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(234,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,re)),Df._17(237,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,23,0,"loan_type");l(n,26,0,"Loan Type");l(n,33,0,e.loanTypeData);l(n,38,0,1==n.context.$implicit.get("loan_type").value);l(n,54,0,"loan_amount");l(n,57,0,"Loan Amount","number");l(n,61,0,""!=n.context.$implicit.get("loan_amount").value);l(n,76,0,"lender");l(n,79,0,"Lender");l(n,86,0,e.lenderData);l(n,91,0,3==n.context.$implicit.get("lender").value);l(n,105,0,"loan_taken_by");l(n,108,0,"Loan Taken By",e.compareObjects);l(n,115,0,e.mergeCompanyApplicant);l(n,120,0,1==e.checkOthers(n.context.$implicit.get("loan_taken_by").value));l(n,134,0,"");l(n,136,0,"frequency");l(n,139,0,"Frequency","");l(n,146,0,e.frequencyData);l(n,151,0,1==n.context.$implicit.get("frequency").value);l(n,154,0,""!=n.context.$implicit.get("frequency").value);l(n,171,0,"original_tenure");l(n,174,0,"Original Tenure","number");l(n,192,0,"current_balance_tenure");l(n,195,0,"Current Balance Tenure","number");l(n,213,0,"elapsed_tenure");l(n,216,0,"Elapsed Tenure in Months","number");l(n,230,0,"optblue","md-trash");l(n,237,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,6,0,n.context.index+1,n.context.$implicit.get("label").value);l(n,11,1,[Df._32(n,12)._control.errorState,Df._32(n,12)._control.errorState,Df._32(n,12)._canLabelFloat,Df._32(n,12)._shouldLabelFloat(),Df._32(n,12)._hideControlPlaceholder(),Df._32(n,12)._control.disabled,Df._32(n,12)._control.focused,"primary"==Df._32(n,12).color,"accent"==Df._32(n,12).color,"warn"==Df._32(n,12).color,Df._32(n,12)._shouldForward("untouched"),Df._32(n,12)._shouldForward("touched"),Df._32(n,12)._shouldForward("pristine"),Df._32(n,12)._shouldForward("dirty"),Df._32(n,12)._shouldForward("valid"),Df._32(n,12)._shouldForward("invalid"),Df._32(n,12)._shouldForward("pending")]);l(n,21,1,[Df._32(n,25).ngClassUntouched,Df._32(n,25).ngClassTouched,Df._32(n,25).ngClassPristine,Df._32(n,25).ngClassDirty,Df._32(n,25).ngClassValid,Df._32(n,25).ngClassInvalid,Df._32(n,25).ngClassPending,Df._32(n,26).id,Df._32(n,26).tabIndex,Df._32(n,26)._ariaLabel,Df._32(n,26).ariaLabelledby,Df._32(n,26).required.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).errorState,Df._32(n,26).panelOpen?Df._32(n,26)._optionIds:null,Df._32(n,26).multiple,Df._32(n,26)._ariaDescribedby||null,Df._32(n,26)._getAriaActiveDescendant(),Df._32(n,26).disabled,Df._32(n,26).errorState,Df._32(n,26).required]);l(n,40,1,[Df._32(n,41)._control.errorState,Df._32(n,41)._control.errorState,Df._32(n,41)._canLabelFloat,Df._32(n,41)._shouldLabelFloat(),Df._32(n,41)._hideControlPlaceholder(),Df._32(n,41)._control.disabled,Df._32(n,41)._control.focused,"primary"==Df._32(n,41).color,"accent"==Df._32(n,41).color,"warn"==Df._32(n,41).color,Df._32(n,41)._shouldForward("untouched"),Df._32(n,41)._shouldForward("touched"),Df._32(n,41)._shouldForward("pristine"),Df._32(n,41)._shouldForward("dirty"),Df._32(n,41)._shouldForward("valid"),Df._32(n,41)._shouldForward("invalid"),Df._32(n,41)._shouldForward("pending")]);l(n,50,1,[Df._32(n,56).ngClassUntouched,Df._32(n,56).ngClassTouched,Df._32(n,56).ngClassPristine,Df._32(n,56).ngClassDirty,Df._32(n,56).ngClassValid,Df._32(n,56).ngClassInvalid,Df._32(n,56).ngClassPending,Df._32(n,57)._isServer,Df._32(n,57).id,Df._32(n,57).placeholder,Df._32(n,57).disabled,Df._32(n,57).required,Df._32(n,57).readonly,Df._32(n,57)._ariaDescribedby||null,Df._32(n,57).errorState,Df._32(n,57).required.toString()]);l(n,64,1,[Df._32(n,65)._control.errorState,Df._32(n,65)._control.errorState,Df._32(n,65)._canLabelFloat,Df._32(n,65)._shouldLabelFloat(),Df._32(n,65)._hideControlPlaceholder(),Df._32(n,65)._control.disabled,Df._32(n,65)._control.focused,"primary"==Df._32(n,65).color,"accent"==Df._32(n,65).color,"warn"==Df._32(n,65).color,Df._32(n,65)._shouldForward("untouched"),Df._32(n,65)._shouldForward("touched"),Df._32(n,65)._shouldForward("pristine"),Df._32(n,65)._shouldForward("dirty"),Df._32(n,65)._shouldForward("valid"),Df._32(n,65)._shouldForward("invalid"),Df._32(n,65)._shouldForward("pending")]);l(n,74,1,[Df._32(n,78).ngClassUntouched,Df._32(n,78).ngClassTouched,Df._32(n,78).ngClassPristine,Df._32(n,78).ngClassDirty,Df._32(n,78).ngClassValid,Df._32(n,78).ngClassInvalid,Df._32(n,78).ngClassPending,Df._32(n,79).id,Df._32(n,79).tabIndex,Df._32(n,79)._ariaLabel,Df._32(n,79).ariaLabelledby,Df._32(n,79).required.toString(),Df._32(n,79).disabled.toString(),Df._32(n,79).errorState,Df._32(n,79).panelOpen?Df._32(n,79)._optionIds:null,Df._32(n,79).multiple,Df._32(n,79)._ariaDescribedby||null,Df._32(n,79)._getAriaActiveDescendant(),Df._32(n,79).disabled,Df._32(n,79).errorState,Df._32(n,79).required]);l(n,93,1,[Df._32(n,94)._control.errorState,Df._32(n,94)._control.errorState,Df._32(n,94)._canLabelFloat,Df._32(n,94)._shouldLabelFloat(),Df._32(n,94)._hideControlPlaceholder(),Df._32(n,94)._control.disabled,Df._32(n,94)._control.focused,"primary"==Df._32(n,94).color,"accent"==Df._32(n,94).color,"warn"==Df._32(n,94).color,Df._32(n,94)._shouldForward("untouched"),Df._32(n,94)._shouldForward("touched"),Df._32(n,94)._shouldForward("pristine"),Df._32(n,94)._shouldForward("dirty"),Df._32(n,94)._shouldForward("valid"),Df._32(n,94)._shouldForward("invalid"),Df._32(n,94)._shouldForward("pending")]);l(n,103,1,[Df._32(n,107).ngClassUntouched,Df._32(n,107).ngClassTouched,Df._32(n,107).ngClassPristine,Df._32(n,107).ngClassDirty,Df._32(n,107).ngClassValid,Df._32(n,107).ngClassInvalid,Df._32(n,107).ngClassPending,Df._32(n,108).id,Df._32(n,108).tabIndex,Df._32(n,108)._ariaLabel,Df._32(n,108).ariaLabelledby,Df._32(n,108).required.toString(),Df._32(n,108).disabled.toString(),Df._32(n,108).errorState,Df._32(n,108).panelOpen?Df._32(n,108)._optionIds:null,Df._32(n,108).multiple,Df._32(n,108)._ariaDescribedby||null,Df._32(n,108)._getAriaActiveDescendant(),Df._32(n,108).disabled,Df._32(n,108).errorState,Df._32(n,108).required]);l(n,122,1,[Df._32(n,123)._control.errorState,Df._32(n,123)._control.errorState,Df._32(n,123)._canLabelFloat,Df._32(n,123)._shouldLabelFloat(),Df._32(n,123)._hideControlPlaceholder(),Df._32(n,123)._control.disabled,Df._32(n,123)._control.focused,"primary"==Df._32(n,123).color,"accent"==Df._32(n,123).color,"warn"==Df._32(n,123).color,Df._32(n,123)._shouldForward("untouched"),Df._32(n,123)._shouldForward("touched"),Df._32(n,123)._shouldForward("pristine"),Df._32(n,123)._shouldForward("dirty"),Df._32(n,123)._shouldForward("valid"),Df._32(n,123)._shouldForward("invalid"),Df._32(n,123)._shouldForward("pending")]);l(n,132,1,[Df._32(n,134).required?"":null,Df._32(n,138).ngClassUntouched,Df._32(n,138).ngClassTouched,Df._32(n,138).ngClassPristine,Df._32(n,138).ngClassDirty,Df._32(n,138).ngClassValid,Df._32(n,138).ngClassInvalid,Df._32(n,138).ngClassPending,Df._32(n,139).id,Df._32(n,139).tabIndex,Df._32(n,139)._ariaLabel,Df._32(n,139).ariaLabelledby,Df._32(n,139).required.toString(),Df._32(n,139).disabled.toString(),Df._32(n,139).errorState,Df._32(n,139).panelOpen?Df._32(n,139)._optionIds:null,Df._32(n,139).multiple,Df._32(n,139)._ariaDescribedby||null,Df._32(n,139)._getAriaActiveDescendant(),Df._32(n,139).disabled,Df._32(n,139).errorState,Df._32(n,139).required]);l(n,157,1,[Df._32(n,158)._control.errorState,Df._32(n,158)._control.errorState,Df._32(n,158)._canLabelFloat,Df._32(n,158)._shouldLabelFloat(),Df._32(n,158)._hideControlPlaceholder(),Df._32(n,158)._control.disabled,Df._32(n,158)._control.focused,"primary"==Df._32(n,158).color,"accent"==Df._32(n,158).color,"warn"==Df._32(n,158).color,Df._32(n,158)._shouldForward("untouched"),Df._32(n,158)._shouldForward("touched"),Df._32(n,158)._shouldForward("pristine"),Df._32(n,158)._shouldForward("dirty"),Df._32(n,158)._shouldForward("valid"),Df._32(n,158)._shouldForward("invalid"),Df._32(n,158)._shouldForward("pending")]);l(n,167,1,[Df._32(n,173).ngClassUntouched,Df._32(n,173).ngClassTouched,Df._32(n,173).ngClassPristine,Df._32(n,173).ngClassDirty,Df._32(n,173).ngClassValid,Df._32(n,173).ngClassInvalid,Df._32(n,173).ngClassPending,Df._32(n,174)._isServer,Df._32(n,174).id,Df._32(n,174).placeholder,Df._32(n,174).disabled,Df._32(n,174).required,Df._32(n,174).readonly,Df._32(n,174)._ariaDescribedby||null,Df._32(n,174).errorState,Df._32(n,174).required.toString()]);l(n,178,1,[Df._32(n,179)._control.errorState,Df._32(n,179)._control.errorState,Df._32(n,179)._canLabelFloat,Df._32(n,179)._shouldLabelFloat(),Df._32(n,179)._hideControlPlaceholder(),Df._32(n,179)._control.disabled,Df._32(n,179)._control.focused,"primary"==Df._32(n,179).color,"accent"==Df._32(n,179).color,"warn"==Df._32(n,179).color,Df._32(n,179)._shouldForward("untouched"),Df._32(n,179)._shouldForward("touched"),Df._32(n,179)._shouldForward("pristine"),Df._32(n,179)._shouldForward("dirty"),Df._32(n,179)._shouldForward("valid"),Df._32(n,179)._shouldForward("invalid"),Df._32(n,179)._shouldForward("pending")]);l(n,188,1,[Df._32(n,194).ngClassUntouched,Df._32(n,194).ngClassTouched,Df._32(n,194).ngClassPristine,Df._32(n,194).ngClassDirty,Df._32(n,194).ngClassValid,Df._32(n,194).ngClassInvalid,Df._32(n,194).ngClassPending,Df._32(n,195)._isServer,Df._32(n,195).id,Df._32(n,195).placeholder,Df._32(n,195).disabled,Df._32(n,195).required,Df._32(n,195).readonly,Df._32(n,195)._ariaDescribedby||null,Df._32(n,195).errorState,Df._32(n,195).required.toString()]);l(n,199,1,[Df._32(n,200)._control.errorState,Df._32(n,200)._control.errorState,Df._32(n,200)._canLabelFloat,Df._32(n,200)._shouldLabelFloat(),Df._32(n,200)._hideControlPlaceholder(),Df._32(n,200)._control.disabled,Df._32(n,200)._control.focused,"primary"==Df._32(n,200).color,"accent"==Df._32(n,200).color,"warn"==Df._32(n,200).color,Df._32(n,200)._shouldForward("untouched"),Df._32(n,200)._shouldForward("touched"),Df._32(n,200)._shouldForward("pristine"),Df._32(n,200)._shouldForward("dirty"),Df._32(n,200)._shouldForward("valid"),Df._32(n,200)._shouldForward("invalid"),Df._32(n,200)._shouldForward("pending")]);l(n,209,1,[Df._32(n,215).ngClassUntouched,Df._32(n,215).ngClassTouched,Df._32(n,215).ngClassPristine,Df._32(n,215).ngClassDirty,Df._32(n,215).ngClassValid,Df._32(n,215).ngClassInvalid,Df._32(n,215).ngClassPending,Df._32(n,216)._isServer,Df._32(n,216).id,Df._32(n,216).placeholder,Df._32(n,216).disabled,Df._32(n,216).required,Df._32(n,216).readonly,Df._32(n,216)._ariaDescribedby||null,Df._32(n,216).errorState,Df._32(n,216).required.toString()]);l(n,229,0,Df._32(n,230)._hidden)})}function de(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,7,"div",[["formArrayName","loan_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,_e)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"loan_details");l(n,8,0,e.currentLoans.get("loan_details").controls)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function se(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,12,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n \n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(18,0,null,null,85,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(19,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,81,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,23).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,23).onReset()&&u}return u},null,null)),Df._17(22,16384,null,0,Jf.B,[],null,null),Df._17(23,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(25,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(28,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(30,0,null,0,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(31,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(40,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(41,16384,[[4,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Do you have any other Existing Loans"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(44,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","existing_loan"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,48)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,48)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,48)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.exitsCheck(e.value)&&u}return u},TC.b,TC.a)),Df._17(45,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(47,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(48,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],null,{selectionChange:"selectionChange"}),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(55,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,56)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,56)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(56,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(59,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,60)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,60)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(60,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._13(16777216,null,0,1,null,de)),Df._17(66,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(69,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(70,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(72,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(73,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,116,{_control:0}),Df._37(335544320,117,{_placeholderChild:0}),Df._37(335544320,118,{_labelChild:0}),Df._37(603979776,119,{_errorChildren:1}),Df._37(603979776,120,{_hintChildren:1}),Df._37(603979776,121,{_prefixChildren:1}),Df._37(603979776,122,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(82,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","currentloan_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,83)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,83).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,83)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,83)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,88)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,88)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,88)._onInput()&&u}return u},null,null)),Df._17(83,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(85,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(87,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(88,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[116,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(93,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(94,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(97,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitCurrentloan(t.currentLoans.value)&&u}return u},Vy.b,Vy.a)),Df._17(98,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,23,0,e.currentLoans);l(n,45,0,"existing_loan"),l(n,48,0);l(n,56,0,"Yes");l(n,60,0,"No");l(n,66,0,"Yes"==e.currentLoans.controls.existing_loan.value);l(n,85,0,"currentloan_remarks");l(n,88,0,"Remarks");l(n,98,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,18,0,Df._32(n,19).statusbarPadding,Df._32(n,19)._hasRefresher);l(n,21,0,Df._32(n,25).ngClassUntouched,Df._32(n,25).ngClassTouched,Df._32(n,25).ngClassPristine,Df._32(n,25).ngClassDirty,Df._32(n,25).ngClassValid,Df._32(n,25).ngClassInvalid,Df._32(n,25).ngClassPending);l(n,30,1,[Df._32(n,31)._control.errorState,Df._32(n,31)._control.errorState,Df._32(n,31)._canLabelFloat,Df._32(n,31)._shouldLabelFloat(),Df._32(n,31)._hideControlPlaceholder(),Df._32(n,31)._control.disabled,Df._32(n,31)._control.focused,"primary"==Df._32(n,31).color,"accent"==Df._32(n,31).color,"warn"==Df._32(n,31).color,Df._32(n,31)._shouldForward("untouched"),Df._32(n,31)._shouldForward("touched"),Df._32(n,31)._shouldForward("pristine"),Df._32(n,31)._shouldForward("dirty"),Df._32(n,31)._shouldForward("valid"),Df._32(n,31)._shouldForward("invalid"),Df._32(n,31)._shouldForward("pending")]);l(n,44,1,[Df._32(n,47).ngClassUntouched,Df._32(n,47).ngClassTouched,Df._32(n,47).ngClassPristine,Df._32(n,47).ngClassDirty,Df._32(n,47).ngClassValid,Df._32(n,47).ngClassInvalid,Df._32(n,47).ngClassPending,Df._32(n,48).id,Df._32(n,48).tabIndex,Df._32(n,48)._ariaLabel,Df._32(n,48).ariaLabelledby,Df._32(n,48).required.toString(),Df._32(n,48).disabled.toString(),Df._32(n,48).errorState,Df._32(n,48).panelOpen?Df._32(n,48)._optionIds:null,Df._32(n,48).multiple,Df._32(n,48)._ariaDescribedby||null,Df._32(n,48)._getAriaActiveDescendant(),Df._32(n,48).disabled,Df._32(n,48).errorState,Df._32(n,48).required]);l(n,55,0,Df._32(n,56)._getTabIndex(),Df._32(n,56).selected,Df._32(n,56).multiple,Df._32(n,56).active,Df._32(n,56).id,Df._32(n,56).selected.toString(),Df._32(n,56).disabled.toString(),Df._32(n,56).disabled);l(n,59,0,Df._32(n,60)._getTabIndex(),Df._32(n,60).selected,Df._32(n,60).multiple,Df._32(n,60).active,Df._32(n,60).id,Df._32(n,60).selected.toString(),Df._32(n,60).disabled.toString(),Df._32(n,60).disabled);l(n,72,1,[Df._32(n,73)._control.errorState,Df._32(n,73)._control.errorState,Df._32(n,73)._canLabelFloat,Df._32(n,73)._shouldLabelFloat(),Df._32(n,73)._hideControlPlaceholder(),Df._32(n,73)._control.disabled,Df._32(n,73)._control.focused,"primary"==Df._32(n,73).color,"accent"==Df._32(n,73).color,"warn"==Df._32(n,73).color,Df._32(n,73)._shouldForward("untouched"),Df._32(n,73)._shouldForward("touched"),Df._32(n,73)._shouldForward("pristine"),Df._32(n,73)._shouldForward("dirty"),Df._32(n,73)._shouldForward("valid"),Df._32(n,73)._shouldForward("invalid"),Df._32(n,73)._shouldForward("pending")]);l(n,82,1,[Df._32(n,87).ngClassUntouched,Df._32(n,87).ngClassTouched,Df._32(n,87).ngClassPristine,Df._32(n,87).ngClassDirty,Df._32(n,87).ngClassValid,Df._32(n,87).ngClassInvalid,Df._32(n,87).ngClassPending,Df._32(n,88)._isServer,Df._32(n,88).id,Df._32(n,88).placeholder,Df._32(n,88).disabled,Df._32(n,88).required,Df._32(n,88).readonly,Df._32(n,88)._ariaDescribedby||null,Df._32(n,88).errorState,Df._32(n,88).required.toString()])})}function ce(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Employee Salary Category"]))],null,null)}function me(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.company_order_id+"-"+n.context.$implicit.company_name)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.company_name)})}function pe(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[34,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "])),Df._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function fe(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,33,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,27,{_control:0}),Df._37(335544320,28,{_placeholderChild:0}),Df._37(335544320,29,{_labelChild:0}),Df._37(603979776,30,{_errorChildren:1}),Df._37(603979776,31,{_hintChildren:1}),Df._37(603979776,32,{_prefixChildren:1}),Df._37(603979776,33,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","name_person_met"],["placeholder","Name of Person Met"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,18)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,18)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,18)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.filtercompanyrelationship(t.employmentForm.controls.employer_name.value,e.value)&&u}return u},TC.b,TC.a)),Df._17(13,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(18,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,34,{options:1}),Df._37(603979776,35,{optionGroups:1}),Df._37(335544320,36,{customTrigger:0}),Df._36(2048,[[27,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(26,8437760,[[34,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,pe)),Df._17(30,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,15,0,"name_person_met");l(n,18,0,"Name of Person Met","");l(n,30,0,e.person_met_list)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,13).required?"":null,Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending,Df._32(n,18).id,Df._32(n,18).tabIndex,Df._32(n,18)._ariaLabel,Df._32(n,18).ariaLabelledby,Df._32(n,18).required.toString(),Df._32(n,18).disabled.toString(),Df._32(n,18).errorState,Df._32(n,18).panelOpen?Df._32(n,18)._optionIds:null,Df._32(n,18).multiple,Df._32(n,18)._ariaDescribedby||null,Df._32(n,18)._getAriaActiveDescendant(),Df._32(n,18).disabled,Df._32(n,18).errorState,Df._32(n,18).required]);l(n,25,0,Df._32(n,26)._getTabIndex(),Df._32(n,26).selected,Df._32(n,26).multiple,Df._32(n,26).active,Df._32(n,26).id,Df._32(n,26).selected.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).disabled)})}function he(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,37,{_control:0}),Df._37(335544320,38,{_placeholderChild:0}),Df._37(335544320,39,{_labelChild:0}),Df._37(603979776,40,{_errorChildren:1}),Df._37(603979776,41,{_hintChildren:1}),Df._37(603979776,42,{_prefixChildren:1}),Df._37(603979776,43,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","designation_person_met"],["matInput",""],["placeholder","Designation of Person Met"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,20)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(17,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(19,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(20,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[37,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,14,0,"");l(n,17,0,"designation_person_met");l(n,20,0,"Designation of Person Met","")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,14).required?"":null,Df._32(n,19).ngClassUntouched,Df._32(n,19).ngClassTouched,Df._32(n,19).ngClassPristine,Df._32(n,19).ngClassDirty,Df._32(n,19).ngClassValid,Df._32(n,19).ngClassInvalid,Df._32(n,19).ngClassPending,Df._32(n,20)._isServer,Df._32(n,20).id,Df._32(n,20).placeholder,Df._32(n,20).disabled,Df._32(n,20).required,Df._32(n,20).readonly,Df._32(n,20)._ariaDescribedby||null,Df._32(n,20).errorState,Df._32(n,20).required.toString()])})}function ge(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,fe)),Df._17(3,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,he)),Df._17(6,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,6,0,"SAL-CHQ"!=e.pd_cus_segment)},null)}function be(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Emp Met"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","was_met"],["name","was_met"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,1064960,null,1,tC.b,[Df.i],{name:[0,"name"]},null),Df._37(603979776,26,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(9,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(11,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,14)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(14,4440064,[[26,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["YES"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,18)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(18,4440064,[[26,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NO"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._13(16777216,null,null,1,null,ge)),Df._17(24,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,"was_met");l(n,9,0,"was_met");l(n,14,0,"yes");l(n,18,0,"no");l(n,24,0,"yes"==e.employmentForm.controls.was_met.value)},function(l,n){l(n,5,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending);l(n,13,0,Df._32(n,14).checked,Df._32(n,14).disabled,Df._32(n,14).id);l(n,17,0,Df._32(n,18).checked,Df._32(n,18).disabled,Df._32(n,18).id)})}function ve(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[49,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.mthlySlryAmtInWords)})}function ye(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,59,{_control:0}),Df._37(335544320,60,{_placeholderChild:0}),Df._37(335544320,61,{_labelChild:0}),Df._37(603979776,62,{_errorChildren:1}),Df._37(603979776,63,{_hintChildren:1}),Df._37(603979776,64,{_prefixChildren:1}),Df._37(603979776,65,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_previous_experience"],["matInput",""],["placeholder","Previous Work Experience Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,18)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(18,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[59,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"total_business_previous_experience");l(n,18,0,"Previous Work Experience Details")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending,Df._32(n,18)._isServer,Df._32(n,18).id,Df._32(n,18).placeholder,Df._32(n,18).disabled,Df._32(n,18).required,Df._32(n,18).readonly,Df._32(n,18)._ariaDescribedby||null,Df._32(n,18).errorState,Df._32(n,18).required.toString()])})}function Ce(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,53,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,24,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(5,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,45,{_control:0}),Df._37(335544320,46,{_placeholderChild:0}),Df._37(335544320,47,{_labelChild:0}),Df._37(603979776,48,{_errorChildren:1}),Df._37(603979776,49,{_hintChildren:1}),Df._37(603979776,50,{_prefixChildren:1}),Df._37(603979776,51,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(14,0,null,1,7,"input",[["OnlyNumber",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","confirm_salary_amount"],["matInput",""],["placeholder","What is the salary amount confirmed?"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,20)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,1)&&u}return u},null,null)),Df._17(15,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(17,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(19,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(20,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[45,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,ve)),Df._17(24,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(28,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(31,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,52,{_control:0}),Df._37(335544320,53,{_placeholderChild:0}),Df._37(335544320,54,{_labelChild:0}),Df._37(603979776,55,{_errorChildren:1}),Df._37(603979776,56,{_hintChildren:1}),Df._37(603979776,57,{_prefixChildren:1}),Df._37(603979776,58,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(40,0,null,1,7,"input",[["OnlyNumber",""],["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_experience"],["matInput",""],["placeholder","Total Work Experience"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,41)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,41).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,41)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,41)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,46)._onInput()&&u}return u},null,null)),Df._17(41,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(43,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(45,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(46,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[52,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,ye)),Df._17(52,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,17,0,"confirm_salary_amount");l(n,20,0,"What is the salary amount confirmed?");l(n,24,0,""!=e.employmentForm.controls.confirm_salary_amount.value);l(n,43,0,"total_business_experience");l(n,46,0,"Total Work Experience");l(n,52,0,e.employmentForm.controls.total_business_experience.value>e.employmentForm.controls.how_long_year.value)},function(l,n){l(n,4,1,[Df._32(n,5)._control.errorState,Df._32(n,5)._control.errorState,Df._32(n,5)._canLabelFloat,Df._32(n,5)._shouldLabelFloat(),Df._32(n,5)._hideControlPlaceholder(),Df._32(n,5)._control.disabled,Df._32(n,5)._control.focused,"primary"==Df._32(n,5).color,"accent"==Df._32(n,5).color,"warn"==Df._32(n,5).color,Df._32(n,5)._shouldForward("untouched"),Df._32(n,5)._shouldForward("touched"),Df._32(n,5)._shouldForward("pristine"),Df._32(n,5)._shouldForward("dirty"),Df._32(n,5)._shouldForward("valid"),Df._32(n,5)._shouldForward("invalid"),Df._32(n,5)._shouldForward("pending")]);l(n,14,1,[Df._32(n,19).ngClassUntouched,Df._32(n,19).ngClassTouched,Df._32(n,19).ngClassPristine,Df._32(n,19).ngClassDirty,Df._32(n,19).ngClassValid,Df._32(n,19).ngClassInvalid,Df._32(n,19).ngClassPending,Df._32(n,20)._isServer,Df._32(n,20).id,Df._32(n,20).placeholder,Df._32(n,20).disabled,Df._32(n,20).required,Df._32(n,20).readonly,Df._32(n,20)._ariaDescribedby||null,Df._32(n,20).errorState,Df._32(n,20).required.toString()]);l(n,30,1,[Df._32(n,31)._control.errorState,Df._32(n,31)._control.errorState,Df._32(n,31)._canLabelFloat,Df._32(n,31)._shouldLabelFloat(),Df._32(n,31)._hideControlPlaceholder(),Df._32(n,31)._control.disabled,Df._32(n,31)._control.focused,"primary"==Df._32(n,31).color,"accent"==Df._32(n,31).color,"warn"==Df._32(n,31).color,Df._32(n,31)._shouldForward("untouched"),Df._32(n,31)._shouldForward("touched"),Df._32(n,31)._shouldForward("pristine"),Df._32(n,31)._shouldForward("dirty"),Df._32(n,31)._shouldForward("valid"),Df._32(n,31)._shouldForward("invalid"),Df._32(n,31)._shouldForward("pending")]);l(n,40,1,[Df._32(n,45).ngClassUntouched,Df._32(n,45).ngClassTouched,Df._32(n,45).ngClassPristine,Df._32(n,45).ngClassDirty,Df._32(n,45).ngClassValid,Df._32(n,45).ngClassInvalid,Df._32(n,45).ngClassPending,Df._32(n,46)._isServer,Df._32(n,46).id,Df._32(n,46).placeholder,Df._32(n,46).disabled,Df._32(n,46).required,Df._32(n,46).readonly,Df._32(n,46)._ariaDescribedby||null,Df._32(n,46).errorState,Df._32(n,46).required.toString()])})}function we(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Salary amt confirmed"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","confirm_salary"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,44,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(9,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(11,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,14)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(14,4440064,[[44,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["YES"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,18)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(18,4440064,[[44,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NO"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n\n "])),(l()(),Df._13(16777216,null,null,1,null,Ce)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"confirm_salary");l(n,14,0,"yes");l(n,18,0,"no");l(n,23,0,"yes"==e.employmentForm.controls.confirm_salary.value)},function(l,n){l(n,5,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending);l(n,13,0,Df._32(n,14).checked,Df._32(n,14).disabled,Df._32(n,14).id);l(n,17,0,Df._32(n,18).checked,Df._32(n,18).disabled,Df._32(n,18).id)})}function Fe(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Attendance Register seen"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","attendance_seen"],["name","attendance_seen"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,1064960,null,1,tC.b,[Df.i],{name:[0,"name"]},null),Df._37(603979776,66,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(9,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(11,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,14)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(14,4440064,[[66,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["YES"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,18)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(18,4440064,[[66,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NO"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,6,0,"attendance_seen");l(n,9,0,"attendance_seen");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending);l(n,13,0,Df._32(n,14).checked,Df._32(n,14).disabled,Df._32(n,14).id);l(n,17,0,Df._32(n,18).checked,Df._32(n,18).disabled,Df._32(n,18).id)})}function xe(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"P",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Salary register seen"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","sal_reg_seen"],["name","sal_reg_seen"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,1064960,null,1,tC.b,[Df.i],{name:[0,"name"]},null),Df._37(603979776,67,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(9,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(11,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,14)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(14,4440064,[[67,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["YES"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,18)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(18,4440064,[[67,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NO"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,6,0,"sal_reg_seen");l(n,9,0,"sal_reg_seen");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending);l(n,13,0,Df._32(n,14).checked,Df._32(n,14).disabled,Df._32(n,14).id);l(n,17,0,Df._32(n,18).checked,Df._32(n,18).disabled,Df._32(n,18).id)})}function Se(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[86,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.grossMthlySlryAmtInWords)})}function Ie(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[93,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.netMthlySlryAmtInWords)})}function qe(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[100,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.bonusIncentiveAmtInWords)})}function ke(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,113,{_control:0}),Df._37(335544320,114,{_placeholderChild:0}),Df._37(335544320,115,{_labelChild:0}),Df._37(603979776,116,{_errorChildren:1}),Df._37(603979776,117,{_hintChildren:1}),Df._37(603979776,118,{_prefixChildren:1}),Df._37(603979776,119,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_was_it_validated"],["matInput",""],["placeholder","How was it Validated"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,18)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(18,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[113,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"how_was_it_validated");l(n,18,0,"How was it Validated")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending,Df._32(n,18)._isServer,Df._32(n,18).id,Df._32(n,18).placeholder,Df._32(n,18).disabled,Df._32(n,18).required,Df._32(n,18).readonly,Df._32(n,18)._ariaDescribedby||null,Df._32(n,18).errorState,Df._32(n,18).required.toString()])})}function Pe(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,120,{_control:0}),Df._37(335544320,121,{_placeholderChild:0}),Df._37(335544320,122,{_labelChild:0}),Df._37(603979776,123,{_errorChildren:1}),Df._37(603979776,124,{_hintChildren:1}),Df._37(603979776,125,{_prefixChildren:1}),Df._37(603979776,126,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","why_was_it_not_validated"],["matInput",""],["placeholder","Why was it not Validated"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,18)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(18,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[120,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"why_was_it_not_validated");l(n,18,0,"Why was it not Validated")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending,Df._32(n,18)._isServer,Df._32(n,18).id,Df._32(n,18).placeholder,Df._32(n,18).disabled,Df._32(n,18).required,Df._32(n,18).readonly,Df._32(n,18)._ariaDescribedby||null,Df._32(n,18).errorState,Df._32(n,18).required.toString()])})}function De(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[141,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Te(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,31,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,134,{_control:0}),Df._37(335544320,135,{_placeholderChild:0}),Df._37(335544320,136,{_labelChild:0}),Df._37(603979776,137,{_errorChildren:1}),Df._37(603979776,138,{_hintChildren:1}),Df._37(603979776,139,{_prefixChildren:1}),Df._37(603979776,140,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","bonus_frequency"],["placeholder","Bonus Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,141,{options:1}),Df._37(603979776,142,{optionGroups:1}),Df._37(335544320,143,{customTrigger:0}),Df._36(2048,[[134,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(24,8437760,[[141,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,De)),Df._17(28,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"bonus_frequency");l(n,16,0,"Bonus Frequency");l(n,28,0,e.frequency_data)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required]);l(n,23,0,Df._32(n,24)._getTabIndex(),Df._32(n,24).selected,Df._32(n,24).multiple,Df._32(n,24).active,Df._32(n,24).id,Df._32(n,24).selected.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).disabled)})}function Oe(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,40,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,37,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,144,{_control:0}),Df._37(335544320,145,{_placeholderChild:0}),Df._37(335544320,146,{_labelChild:0}),Df._37(603979776,147,{_errorChildren:1}),Df._37(603979776,148,{_hintChildren:1}),Df._37(603979776,149,{_prefixChildren:1}),Df._37(603979776,150,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,26,"mat-select",[["class","mat-select"],["formControlName","bonus_type"],["placeholder","Type of Bonus"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,151,{options:1}),Df._37(603979776,152,{optionGroups:1}),Df._37(335544320,153,{customTrigger:0}),Df._36(2048,[[144,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(24,8437760,[[151,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","fixed"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,28)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(28,8437760,[[151,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Fixed"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","variable depending on performance"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,32)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(32,8437760,[[151,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Variable\n depending on performance"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,36)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(36,8437760,[[151,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Others"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,13,0,"bonus_type");l(n,16,0,"Type of Bonus");l(n,28,0,"fixed");l(n,32,0,"variable depending on performance");l(n,36,0,"others")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required]);l(n,23,0,Df._32(n,24)._getTabIndex(),Df._32(n,24).selected,Df._32(n,24).multiple,Df._32(n,24).active,Df._32(n,24).id,Df._32(n,24).selected.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).disabled);l(n,27,0,Df._32(n,28)._getTabIndex(),Df._32(n,28).selected,Df._32(n,28).multiple,Df._32(n,28).active,Df._32(n,28).id,Df._32(n,28).selected.toString(),Df._32(n,28).disabled.toString(),Df._32(n,28).disabled);l(n,31,0,Df._32(n,32)._getTabIndex(),Df._32(n,32).selected,Df._32(n,32).multiple,Df._32(n,32).active,Df._32(n,32).id,Df._32(n,32).selected.toString(),Df._32(n,32).disabled.toString(),Df._32(n,32).disabled);l(n,35,0,Df._32(n,36)._getTabIndex(),Df._32(n,36).selected,Df._32(n,36).multiple,Df._32(n,36).active,Df._32(n,36).id,Df._32(n,36).selected.toString(),Df._32(n,36).disabled.toString(),Df._32(n,36).disabled)})}function Le(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,154,{_control:0}),Df._37(335544320,155,{_placeholderChild:0}),Df._37(335544320,156,{_labelChild:0}),Df._37(603979776,157,{_errorChildren:1}),Df._37(603979776,158,{_hintChildren:1}),Df._37(603979776,159,{_prefixChildren:1}),Df._37(603979776,160,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bonus_type_other"],["matInput",""],["placeholder","Bonus Type Others"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,18)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(18,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[154,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"bonus_type_other");l(n,18,0,"Bonus Type Others")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending,Df._32(n,18)._isServer,Df._32(n,18).id,Df._32(n,18).placeholder,Df._32(n,18).disabled,Df._32(n,18).required,Df._32(n,18).readonly,Df._32(n,18)._ariaDescribedby||null,Df._32(n,18).errorState,Df._32(n,18).required.toString()])})}function Ae(l){return Df._41(0,[Df._33(0,rg.t,[]),(l()(),Df._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n\n "])),(l()(),Df._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,9).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(8,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(9,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(10,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(14,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n\n "])),(l()(),Df._13(16777216,null,3,1,null,ce)),Df._17(18,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._18(22,0,null,null,348,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,344,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,27).onReset()&&u}return u},null,null)),Df._17(26,16384,null,0,Jf.B,[],null,null),Df._17(27,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(29,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,90,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(32,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(34,0,null,0,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(36,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(37,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(46,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","employer_name"],["placeholder","Name of Employer"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,51)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,51)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,51)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(48,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(50,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(51,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,me)),Df._17(58,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n\n \n "])),(l()(),Df._18(63,0,null,0,2,"mat-label",[],null,null,null,null,null)),Df._17(64,16384,null,0,fy.f,[],null,null),(l()(),Df._39(-1,null,["How many yrs with this emp"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(67,0,null,0,41,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(69,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 48%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(70,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(79,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_year"],["matInput",""],["min","0"],["placeholder","Year"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,80)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,80).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,80)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,80)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,85)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,85)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,85)._onInput()&&u}return u},null,null)),Df._17(80,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(82,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(84,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(85,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[12,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(89,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 48%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(90,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(99,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_month"],["matInput",""],["min","0"],["placeholder","Month"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,100)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,100).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,100)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,100)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,105)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,105)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,105)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(e.target.value)&&u}return u},null,null)),Df._17(100,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(102,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(104,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(105,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[19,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._13(16777216,null,0,1,null,be)),Df._17(111,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._13(16777216,null,0,1,null,we)),Df._17(114,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._13(16777216,null,0,1,null,Fe)),Df._17(117,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._13(16777216,null,0,1,null,xe)),Df._17(120,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(123,0,null,null,237,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(124,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(126,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Salary Details"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(129,0,null,0,230,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(130,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(132,0,null,null,22,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(134,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(135,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,68,{_control:0}),Df._37(335544320,69,{_placeholderChild:0}),Df._37(335544320,70,{_labelChild:0}),Df._37(603979776,71,{_errorChildren:1}),Df._37(603979776,72,{_hintChildren:1}),Df._37(603979776,73,{_prefixChildren:1}),Df._37(603979776,74,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(144,0,null,1,8,"input",[["OnlyNumber",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","from_date_the_salary_is_rcv"],["matInput",""],["max","31"],["min","1"],["placeholder","From Date of Salary"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,145)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,145).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,145)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,145)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,146).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,146).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,146).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,151)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,151)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,151)._onInput()&&u}return u},null,null)),Df._17(145,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(146,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(148,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(150,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(151,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[68,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(156,0,null,null,22,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(158,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(159,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,75,{_control:0}),Df._37(335544320,76,{_placeholderChild:0}),Df._37(335544320,77,{_labelChild:0}),Df._37(603979776,78,{_errorChildren:1}),Df._37(603979776,79,{_hintChildren:1}),Df._37(603979776,80,{_prefixChildren:1}),Df._37(603979776,81,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(168,0,null,1,8,"input",[["OnlyNumber",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","to_date_the_salary_is_rcv"],["matInput",""],["max","31"],["min","1"],["placeholder","To Date of Salary"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,169)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,169).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,169)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,169)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,170).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,170).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,170).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,175)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,175)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,175)._onInput()&&u}return u},null,null)),Df._17(169,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(170,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(172,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(174,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(175,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[75,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(180,0,null,null,26,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(182,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(183,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,82,{_control:0}),Df._37(335544320,83,{_placeholderChild:0}),Df._37(335544320,84,{_labelChild:0}),Df._37(603979776,85,{_errorChildren:1}),Df._37(603979776,86,{_hintChildren:1}),Df._37(603979776,87,{_prefixChildren:1}),Df._37(603979776,88,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(192,0,null,1,9,"input",[["OnlyNumber",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","gross_monthly_salary"],["matInput",""],["placeholder","Gross Monthly Salary"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,193)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,193).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,193)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,193)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,200)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,200)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,200)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,2)&&u}return u},null,null)),Df._17(193,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(194,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(197,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(199,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(200,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[82,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Se)),Df._17(204,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(208,0,null,null,26,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(210,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(211,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,89,{_control:0}),Df._37(335544320,90,{_placeholderChild:0}),Df._37(335544320,91,{_labelChild:0}),Df._37(603979776,92,{_errorChildren:1}),Df._37(603979776,93,{_hintChildren:1}),Df._37(603979776,94,{_prefixChildren:1}),Df._37(603979776,95,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(220,0,null,1,9,"input",[["OnlyNumber",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","net_monthly_salary"],["matInput",""],["placeholder","Net Monthly Salary"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,221)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,221).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,221)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,221)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,228)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,228)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,228)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,3)&&u}return u},null,null)),Df._17(221,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(222,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(225,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(227,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(228,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[89,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Ie)),Df._17(232,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(236,0,null,null,26,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(238,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(239,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,96,{_control:0}),Df._37(335544320,97,{_placeholderChild:0}),Df._37(335544320,98,{_labelChild:0}),Df._37(603979776,99,{_errorChildren:1}),Df._37(603979776,100,{_hintChildren:1}),Df._37(603979776,101,{_prefixChildren:1}),Df._37(603979776,102,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(248,0,null,1,9,"input",[["OnlyNumber",""],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bonus_incentive"],["matInput",""],["placeholder","Bonus or Incentive"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,249)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,249).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,249)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,249)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,256)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,256)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,256)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,4)&&u}return u},null,null)),Df._17(249,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(250,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(253,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(255,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(256,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[96,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,qe)),Df._17(260,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(264,0,null,null,36,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(266,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(267,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,103,{_control:0}),Df._37(335544320,104,{_placeholderChild:0}),Df._37(335544320,105,{_labelChild:0}),Df._37(603979776,106,{_errorChildren:1}),Df._37(603979776,107,{_hintChildren:1}),Df._37(603979776,108,{_prefixChildren:1}),Df._37(603979776,109,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(276,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","amount_paid_in_cash"],["placeholder","Amount paid in Cash ?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,280)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,280)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,280)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(277,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(279,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(280,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,110,{options:1}),Df._37(603979776,111,{optionGroups:1}),Df._37(335544320,112,{customTrigger:0}),Df._36(2048,[[103,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(287,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,288)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,288)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(288,8437760,[[110,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(291,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","validated"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,292)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,292)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(292,8437760,[[110,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Validated"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(295,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","not validated"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,296)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,296)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(296,8437760,[[110,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Not Validated"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,ke)),Df._17(303,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Pe)),Df._17(306,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(308,0,null,null,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(310,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(311,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,127,{_control:0}),Df._37(335544320,128,{_placeholderChild:0}),Df._37(335544320,129,{_labelChild:0}),Df._37(603979776,130,{_errorChildren:1}),Df._37(603979776,131,{_hintChildren:1}),Df._37(603979776,132,{_prefixChildren:1}),Df._37(603979776,133,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(320,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount_paid_through_bank"],["matInput",""],["placeholder","Amount paid through Bank"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,321)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,321).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,321)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,321)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,326)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,326)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,326)._onInput()&&u}return u},null,null)),Df._17(321,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(323,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(325,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(326,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[127,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Te)),Df._17(332,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Oe)),Df._17(335,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Le)),Df._17(338,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(340,0,null,null,1,"P",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Any Delays"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(343,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","any_delays"],["name","any_delays"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(344,1064960,null,1,tC.b,[Df.i],{name:[0,"name"]},null),Df._37(603979776,161,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(347,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(349,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(351,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,352)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(352,4440064,[[161,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["YES"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(355,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,356)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(356,4440064,[[161,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NO"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(362,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(363,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(365,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.saveEmpInfo()&&u}return u},Vy.b,Vy.a)),Df._17(366,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.employmentForm);l(n,48,0,"employer_name");l(n,51,0,"Name of Employer");l(n,58,0,e.company_list);l(n,82,0,"how_long_year");l(n,85,0,"Year","text");l(n,102,0,"how_long_month");l(n,105,0,"Month","text");l(n,111,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,114,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,117,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,120,0,"SAL-CHQ"!=e.pd_cus_segment);l(n,148,0,"from_date_the_salary_is_rcv");l(n,151,0,"From Date of Salary","number");l(n,172,0,"to_date_the_salary_is_rcv");l(n,175,0,"To Date of Salary","number");l(n,194,0,"");l(n,197,0,"gross_monthly_salary");l(n,200,0,"Gross Monthly Salary","");l(n,204,0,""!=e.employmentForm.controls.gross_monthly_salary.value);l(n,222,0,"");l(n,225,0,"net_monthly_salary");l(n,228,0,"Net Monthly Salary","");l(n,232,0,""!=e.employmentForm.controls.net_monthly_salary.value);l(n,250,0,"");l(n,253,0,"bonus_incentive");l(n,256,0,"Bonus or Incentive","");l(n,260,0,""!=e.employmentForm.controls.bonus_incentive.value);l(n,277,0,"amount_paid_in_cash");l(n,280,0,"Amount paid in Cash ?");l(n,292,0,"validated");l(n,296,0,"not validated");l(n,303,0,"validated"==e.employmentForm.controls.amount_paid_in_cash.value);l(n,306,0,"not validated"==e.employmentForm.controls.amount_paid_in_cash.value);l(n,323,0,"amount_paid_through_bank");l(n,326,0,"Amount paid through Bank");l(n,332,0,""!=e.employmentForm.controls.bonus_incentive.value&&"0"!=e.employmentForm.controls.bonus_incentive.value);l(n,335,0,""!=e.employmentForm.controls.bonus_incentive.value&&"0"!=e.employmentForm.controls.bonus_incentive.value);l(n,338,0,"others"==e.employmentForm.controls.bonus_type.value);l(n,344,0,"any_delays");l(n,347,0,"any_delays");l(n,352,0,"yes");l(n,356,0,"no");l(n,366,0,"optblue","")},function(l,n){l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,7,0,Df._32(n,9).isHidden);l(n,13,0,Df._32(n,14)._hidden);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher);l(n,25,0,Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending);l(n,36,1,[Df._32(n,37)._control.errorState,Df._32(n,37)._control.errorState,Df._32(n,37)._canLabelFloat,Df._32(n,37)._shouldLabelFloat(),Df._32(n,37)._hideControlPlaceholder(),Df._32(n,37)._control.disabled,Df._32(n,37)._control.focused,"primary"==Df._32(n,37).color,"accent"==Df._32(n,37).color,"warn"==Df._32(n,37).color,Df._32(n,37)._shouldForward("untouched"),Df._32(n,37)._shouldForward("touched"),Df._32(n,37)._shouldForward("pristine"),Df._32(n,37)._shouldForward("dirty"),Df._32(n,37)._shouldForward("valid"),Df._32(n,37)._shouldForward("invalid"),Df._32(n,37)._shouldForward("pending")]);l(n,46,1,[Df._32(n,50).ngClassUntouched,Df._32(n,50).ngClassTouched,Df._32(n,50).ngClassPristine,Df._32(n,50).ngClassDirty,Df._32(n,50).ngClassValid,Df._32(n,50).ngClassInvalid,Df._32(n,50).ngClassPending,Df._32(n,51).id,Df._32(n,51).tabIndex,Df._32(n,51)._ariaLabel,Df._32(n,51).ariaLabelledby,Df._32(n,51).required.toString(),Df._32(n,51).disabled.toString(),Df._32(n,51).errorState,Df._32(n,51).panelOpen?Df._32(n,51)._optionIds:null,Df._32(n,51).multiple,Df._32(n,51)._ariaDescribedby||null,Df._32(n,51)._getAriaActiveDescendant(),Df._32(n,51).disabled,Df._32(n,51).errorState,Df._32(n,51).required]);l(n,69,1,[Df._32(n,70)._control.errorState,Df._32(n,70)._control.errorState,Df._32(n,70)._canLabelFloat,Df._32(n,70)._shouldLabelFloat(),Df._32(n,70)._hideControlPlaceholder(),Df._32(n,70)._control.disabled,Df._32(n,70)._control.focused,"primary"==Df._32(n,70).color,"accent"==Df._32(n,70).color,"warn"==Df._32(n,70).color,Df._32(n,70)._shouldForward("untouched"),Df._32(n,70)._shouldForward("touched"),Df._32(n,70)._shouldForward("pristine"),Df._32(n,70)._shouldForward("dirty"),Df._32(n,70)._shouldForward("valid"),Df._32(n,70)._shouldForward("invalid"),Df._32(n,70)._shouldForward("pending")]);l(n,79,1,[Df._32(n,84).ngClassUntouched,Df._32(n,84).ngClassTouched,Df._32(n,84).ngClassPristine,Df._32(n,84).ngClassDirty,Df._32(n,84).ngClassValid,Df._32(n,84).ngClassInvalid,Df._32(n,84).ngClassPending,Df._32(n,85)._isServer,Df._32(n,85).id,Df._32(n,85).placeholder,Df._32(n,85).disabled,Df._32(n,85).required,Df._32(n,85).readonly,Df._32(n,85)._ariaDescribedby||null,Df._32(n,85).errorState,Df._32(n,85).required.toString()]);l(n,89,1,[Df._32(n,90)._control.errorState,Df._32(n,90)._control.errorState,Df._32(n,90)._canLabelFloat,Df._32(n,90)._shouldLabelFloat(),Df._32(n,90)._hideControlPlaceholder(),Df._32(n,90)._control.disabled,Df._32(n,90)._control.focused,"primary"==Df._32(n,90).color,"accent"==Df._32(n,90).color,"warn"==Df._32(n,90).color,Df._32(n,90)._shouldForward("untouched"),Df._32(n,90)._shouldForward("touched"),Df._32(n,90)._shouldForward("pristine"),Df._32(n,90)._shouldForward("dirty"),Df._32(n,90)._shouldForward("valid"),Df._32(n,90)._shouldForward("invalid"),Df._32(n,90)._shouldForward("pending")]);l(n,99,1,[Df._32(n,104).ngClassUntouched,Df._32(n,104).ngClassTouched,Df._32(n,104).ngClassPristine,Df._32(n,104).ngClassDirty,Df._32(n,104).ngClassValid,Df._32(n,104).ngClassInvalid,Df._32(n,104).ngClassPending,Df._32(n,105)._isServer,Df._32(n,105).id,Df._32(n,105).placeholder,Df._32(n,105).disabled,Df._32(n,105).required,Df._32(n,105).readonly,Df._32(n,105)._ariaDescribedby||null,Df._32(n,105).errorState,Df._32(n,105).required.toString()]);l(n,134,1,[Df._32(n,135)._control.errorState,Df._32(n,135)._control.errorState,Df._32(n,135)._canLabelFloat,Df._32(n,135)._shouldLabelFloat(),Df._32(n,135)._hideControlPlaceholder(),Df._32(n,135)._control.disabled,Df._32(n,135)._control.focused,"primary"==Df._32(n,135).color,"accent"==Df._32(n,135).color,"warn"==Df._32(n,135).color,Df._32(n,135)._shouldForward("untouched"),Df._32(n,135)._shouldForward("touched"),Df._32(n,135)._shouldForward("pristine"),Df._32(n,135)._shouldForward("dirty"),Df._32(n,135)._shouldForward("valid"),Df._32(n,135)._shouldForward("invalid"),Df._32(n,135)._shouldForward("pending")]);l(n,144,1,[Df._32(n,150).ngClassUntouched,Df._32(n,150).ngClassTouched,Df._32(n,150).ngClassPristine,Df._32(n,150).ngClassDirty,Df._32(n,150).ngClassValid,Df._32(n,150).ngClassInvalid,Df._32(n,150).ngClassPending,Df._32(n,151)._isServer,Df._32(n,151).id,Df._32(n,151).placeholder,Df._32(n,151).disabled,Df._32(n,151).required,Df._32(n,151).readonly,Df._32(n,151)._ariaDescribedby||null,Df._32(n,151).errorState,Df._32(n,151).required.toString()]);l(n,158,1,[Df._32(n,159)._control.errorState,Df._32(n,159)._control.errorState,Df._32(n,159)._canLabelFloat,Df._32(n,159)._shouldLabelFloat(),Df._32(n,159)._hideControlPlaceholder(),Df._32(n,159)._control.disabled,Df._32(n,159)._control.focused,"primary"==Df._32(n,159).color,"accent"==Df._32(n,159).color,"warn"==Df._32(n,159).color,Df._32(n,159)._shouldForward("untouched"),Df._32(n,159)._shouldForward("touched"),Df._32(n,159)._shouldForward("pristine"),Df._32(n,159)._shouldForward("dirty"),Df._32(n,159)._shouldForward("valid"),Df._32(n,159)._shouldForward("invalid"),Df._32(n,159)._shouldForward("pending")]);l(n,168,1,[Df._32(n,174).ngClassUntouched,Df._32(n,174).ngClassTouched,Df._32(n,174).ngClassPristine,Df._32(n,174).ngClassDirty,Df._32(n,174).ngClassValid,Df._32(n,174).ngClassInvalid,Df._32(n,174).ngClassPending,Df._32(n,175)._isServer,Df._32(n,175).id,Df._32(n,175).placeholder,Df._32(n,175).disabled,Df._32(n,175).required,Df._32(n,175).readonly,Df._32(n,175)._ariaDescribedby||null,Df._32(n,175).errorState,Df._32(n,175).required.toString()]);l(n,182,1,[Df._32(n,183)._control.errorState,Df._32(n,183)._control.errorState,Df._32(n,183)._canLabelFloat,Df._32(n,183)._shouldLabelFloat(),Df._32(n,183)._hideControlPlaceholder(),Df._32(n,183)._control.disabled,Df._32(n,183)._control.focused,"primary"==Df._32(n,183).color,"accent"==Df._32(n,183).color,"warn"==Df._32(n,183).color,Df._32(n,183)._shouldForward("untouched"),Df._32(n,183)._shouldForward("touched"),Df._32(n,183)._shouldForward("pristine"),Df._32(n,183)._shouldForward("dirty"),Df._32(n,183)._shouldForward("valid"),Df._32(n,183)._shouldForward("invalid"),Df._32(n,183)._shouldForward("pending")]);l(n,192,1,[Df._32(n,194).required?"":null,Df._32(n,199).ngClassUntouched,Df._32(n,199).ngClassTouched,Df._32(n,199).ngClassPristine,Df._32(n,199).ngClassDirty,Df._32(n,199).ngClassValid,Df._32(n,199).ngClassInvalid,Df._32(n,199).ngClassPending,Df._32(n,200)._isServer,Df._32(n,200).id,Df._32(n,200).placeholder,Df._32(n,200).disabled,Df._32(n,200).required,Df._32(n,200).readonly,Df._32(n,200)._ariaDescribedby||null,Df._32(n,200).errorState,Df._32(n,200).required.toString()]);l(n,210,1,[Df._32(n,211)._control.errorState,Df._32(n,211)._control.errorState,Df._32(n,211)._canLabelFloat,Df._32(n,211)._shouldLabelFloat(),Df._32(n,211)._hideControlPlaceholder(),Df._32(n,211)._control.disabled,Df._32(n,211)._control.focused,"primary"==Df._32(n,211).color,"accent"==Df._32(n,211).color,"warn"==Df._32(n,211).color,Df._32(n,211)._shouldForward("untouched"),Df._32(n,211)._shouldForward("touched"),Df._32(n,211)._shouldForward("pristine"),Df._32(n,211)._shouldForward("dirty"),Df._32(n,211)._shouldForward("valid"),Df._32(n,211)._shouldForward("invalid"),Df._32(n,211)._shouldForward("pending")]);l(n,220,1,[Df._32(n,222).required?"":null,Df._32(n,227).ngClassUntouched,Df._32(n,227).ngClassTouched,Df._32(n,227).ngClassPristine,Df._32(n,227).ngClassDirty,Df._32(n,227).ngClassValid,Df._32(n,227).ngClassInvalid,Df._32(n,227).ngClassPending,Df._32(n,228)._isServer,Df._32(n,228).id,Df._32(n,228).placeholder,Df._32(n,228).disabled,Df._32(n,228).required,Df._32(n,228).readonly,Df._32(n,228)._ariaDescribedby||null,Df._32(n,228).errorState,Df._32(n,228).required.toString()]);l(n,238,1,[Df._32(n,239)._control.errorState,Df._32(n,239)._control.errorState,Df._32(n,239)._canLabelFloat,Df._32(n,239)._shouldLabelFloat(),Df._32(n,239)._hideControlPlaceholder(),Df._32(n,239)._control.disabled,Df._32(n,239)._control.focused,"primary"==Df._32(n,239).color,"accent"==Df._32(n,239).color,"warn"==Df._32(n,239).color,Df._32(n,239)._shouldForward("untouched"),Df._32(n,239)._shouldForward("touched"),Df._32(n,239)._shouldForward("pristine"),Df._32(n,239)._shouldForward("dirty"),Df._32(n,239)._shouldForward("valid"),Df._32(n,239)._shouldForward("invalid"),Df._32(n,239)._shouldForward("pending")]);l(n,248,1,[Df._32(n,250).required?"":null,Df._32(n,255).ngClassUntouched,Df._32(n,255).ngClassTouched,Df._32(n,255).ngClassPristine,Df._32(n,255).ngClassDirty,Df._32(n,255).ngClassValid,Df._32(n,255).ngClassInvalid,Df._32(n,255).ngClassPending,Df._32(n,256)._isServer,Df._32(n,256).id,Df._32(n,256).placeholder,Df._32(n,256).disabled,Df._32(n,256).required,Df._32(n,256).readonly,Df._32(n,256)._ariaDescribedby||null,Df._32(n,256).errorState,Df._32(n,256).required.toString()]);l(n,266,1,[Df._32(n,267)._control.errorState,Df._32(n,267)._control.errorState,Df._32(n,267)._canLabelFloat,Df._32(n,267)._shouldLabelFloat(),Df._32(n,267)._hideControlPlaceholder(),Df._32(n,267)._control.disabled,Df._32(n,267)._control.focused,"primary"==Df._32(n,267).color,"accent"==Df._32(n,267).color,"warn"==Df._32(n,267).color,Df._32(n,267)._shouldForward("untouched"),Df._32(n,267)._shouldForward("touched"),Df._32(n,267)._shouldForward("pristine"),Df._32(n,267)._shouldForward("dirty"),Df._32(n,267)._shouldForward("valid"),Df._32(n,267)._shouldForward("invalid"),Df._32(n,267)._shouldForward("pending")]);l(n,276,1,[Df._32(n,279).ngClassUntouched,Df._32(n,279).ngClassTouched,Df._32(n,279).ngClassPristine,Df._32(n,279).ngClassDirty,Df._32(n,279).ngClassValid,Df._32(n,279).ngClassInvalid,Df._32(n,279).ngClassPending,Df._32(n,280).id,Df._32(n,280).tabIndex,Df._32(n,280)._ariaLabel,Df._32(n,280).ariaLabelledby,Df._32(n,280).required.toString(),Df._32(n,280).disabled.toString(),Df._32(n,280).errorState,Df._32(n,280).panelOpen?Df._32(n,280)._optionIds:null,Df._32(n,280).multiple,Df._32(n,280)._ariaDescribedby||null,Df._32(n,280)._getAriaActiveDescendant(),Df._32(n,280).disabled,Df._32(n,280).errorState,Df._32(n,280).required]);l(n,287,0,Df._32(n,288)._getTabIndex(),Df._32(n,288).selected,Df._32(n,288).multiple,Df._32(n,288).active,Df._32(n,288).id,Df._32(n,288).selected.toString(),Df._32(n,288).disabled.toString(),Df._32(n,288).disabled);l(n,291,0,Df._32(n,292)._getTabIndex(),Df._32(n,292).selected,Df._32(n,292).multiple,Df._32(n,292).active,Df._32(n,292).id,Df._32(n,292).selected.toString(),Df._32(n,292).disabled.toString(),Df._32(n,292).disabled);l(n,295,0,Df._32(n,296)._getTabIndex(),Df._32(n,296).selected,Df._32(n,296).multiple,Df._32(n,296).active,Df._32(n,296).id,Df._32(n,296).selected.toString(),Df._32(n,296).disabled.toString(),Df._32(n,296).disabled);l(n,310,1,[Df._32(n,311)._control.errorState,Df._32(n,311)._control.errorState,Df._32(n,311)._canLabelFloat,Df._32(n,311)._shouldLabelFloat(),Df._32(n,311)._hideControlPlaceholder(),Df._32(n,311)._control.disabled,Df._32(n,311)._control.focused,"primary"==Df._32(n,311).color,"accent"==Df._32(n,311).color,"warn"==Df._32(n,311).color,Df._32(n,311)._shouldForward("untouched"),Df._32(n,311)._shouldForward("touched"),Df._32(n,311)._shouldForward("pristine"),Df._32(n,311)._shouldForward("dirty"),Df._32(n,311)._shouldForward("valid"),Df._32(n,311)._shouldForward("invalid"),Df._32(n,311)._shouldForward("pending")]);l(n,320,1,[Df._32(n,325).ngClassUntouched,Df._32(n,325).ngClassTouched,Df._32(n,325).ngClassPristine,Df._32(n,325).ngClassDirty,Df._32(n,325).ngClassValid,Df._32(n,325).ngClassInvalid,Df._32(n,325).ngClassPending,Df._32(n,326)._isServer,Df._32(n,326).id,Df._32(n,326).placeholder,Df._32(n,326).disabled,Df._32(n,326).required,Df._32(n,326).readonly,Df._32(n,326)._ariaDescribedby||null,Df._32(n,326).errorState,Df._32(n,326).required.toString()]);l(n,343,0,Df._32(n,349).ngClassUntouched,Df._32(n,349).ngClassTouched,Df._32(n,349).ngClassPristine,Df._32(n,349).ngClassDirty,Df._32(n,349).ngClassValid,Df._32(n,349).ngClassInvalid,Df._32(n,349).ngClassPending);l(n,351,0,Df._32(n,352).checked,Df._32(n,352).disabled,Df._32(n,352).id);l(n,355,0,Df._32(n,356).checked,Df._32(n,356).disabled,Df._32(n,356).id)})}function Ve(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function je(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.pd_co_applicant_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function Ne(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[19,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function We(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[29,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ee(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[46,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.pincode_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.pincode)})}function Re(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,49,{_control:0}),Df._37(335544320,50,{_placeholderChild:0}),Df._37(335544320,51,{_labelChild:0}),Df._37(603979776,52,{_errorChildren:1}),Df._37(603979776,53,{_hintChildren:1}),Df._37(603979776,54,{_prefixChildren:1}),Df._37(603979776,55,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_other_pincode"],["matInput",""],["placeholder","Specify Pincode"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[49,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,14,0,"residence_other_pincode");l(n,17,0,"Specify Pincode","number")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()])})}function Ue(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[70,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function $e(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[77,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.RentAmount[n.parent.parent.context.index])})}function Be(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,73,{_control:0}),Df._37(335544320,74,{_placeholderChild:0}),Df._37(335544320,75,{_labelChild:0}),Df._37(603979776,76,{_errorChildren:1}),Df._37(603979776,77,{_hintChildren:1}),Df._37(603979776,78,{_prefixChildren:1}),Df._37(603979776,79,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent"],["matInput",""],["placeholder","Rent Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,2)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[73,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,$e)),Df._17(21,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n"]))],function(l,n){l(n,14,0,"rent");l(n,17,0,"Rent Amount","number");l(n,21,0,""!=n.parent.context.$implicit.get("rent").value)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()])})}function Me(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,80,{_control:0}),Df._37(335544320,81,{_placeholderChild:0}),Df._37(335544320,82,{_labelChild:0}),Df._37(603979776,83,{_errorChildren:1}),Df._37(603979776,84,{_hintChildren:1}),Df._37(603979776,85,{_prefixChildren:1}),Df._37(603979776,86,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","ownershipOther"],["matInput",""],["placeholder"," Specify Ownership"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[80,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"ownershipOther");l(n,16,0," Specify Ownership","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Ke(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[102,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["","\n "]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.relationship_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function He(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[119,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["","\n "]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.type)})}function Ge(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[129,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.earning_member_status_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.earning_member_status)})}function Ye(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,132,{_control:0}),Df._37(335544320,133,{_placeholderChild:0}),Df._37(335544320,134,{_labelChild:0}),Df._37(603979776,135,{_errorChildren:1}),Df._37(603979776,136,{_hintChildren:1}),Df._37(603979776,137,{_prefixChildren:1}),Df._37(603979776,138,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_if_others_segment"],["matInput",""],["placeholder","Specify Others"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[132,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"earning_if_others_segment");l(n,16,0,"Specify Others")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function ze(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[143,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.IncomePerMonth[n.parent.parent.context.index])})}function Qe(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,98,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Earning Details"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,122,{_control:0}),Df._37(335544320,123,{_placeholderChild:0}),Df._37(335544320,124,{_labelChild:0}),Df._37(603979776,125,{_errorChildren:1}),Df._37(603979776,126,{_hintChildren:1}),Df._37(603979776,127,{_prefixChildren:1}),Df._37(603979776,128,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","earning_segment"],["placeholder","Segment"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,20)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(17,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(19,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(20,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,129,{options:1}),Df._37(603979776,130,{optionGroups:1}),Df._37(335544320,131,{customTrigger:0}),Df._36(2048,[[122,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ge)),Df._17(27,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ye)),Df._17(32,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(35,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,139,{_control:0}),Df._37(335544320,140,{_placeholderChild:0}),Df._37(335544320,141,{_labelChild:0}),Df._37(603979776,142,{_errorChildren:1}),Df._37(603979776,143,{_hintChildren:1}),Df._37(603979776,144,{_prefixChildren:1}),Df._37(603979776,145,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(44,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_gross_income_per_month"],["matInput",""],["placeholder","Income Per Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,45)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,45).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,45)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,45)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,46).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,46).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,51)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.parent.context.index,1)&&u}return u},null,null)),Df._17(45,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(46,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(48,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(50,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(51,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[139,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,ze)),Df._17(55,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(58,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(59,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,146,{_control:0}),Df._37(335544320,147,{_placeholderChild:0}),Df._37(335544320,148,{_labelChild:0}),Df._37(603979776,149,{_errorChildren:1}),Df._37(603979776,150,{_hintChildren:1}),Df._37(603979776,151,{_prefixChildren:1}),Df._37(603979776,152,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(68,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_name_of_the_employer_or_business"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,74)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,74)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,74)._onInput()&&u}return u},null,null)),Df._17(69,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(71,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(73,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(74,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[146,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(78,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(79,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,153,{_control:0}),Df._37(335544320,154,{_placeholderChild:0}),Df._37(335544320,155,{_labelChild:0}),Df._37(603979776,156,{_errorChildren:1}),Df._37(603979776,157,{_hintChildren:1}),Df._37(603979776,158,{_prefixChildren:1}),Df._37(603979776,159,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(88,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","earning_number_of_years_in_employment_or_business"],["matInput",""],["placeholder","No. of years in Employer/Business"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,89)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,89).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,89)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,89)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,90).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,90).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,90).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,95)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,95)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,95)._onInput()&&u}return u},null,null)),Df._17(89,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(90,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(92,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(94,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(95,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[153,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,17,0,"earning_segment");l(n,20,0,"Segment");l(n,27,0,e.cusSeg);l(n,32,0,1==n.parent.context.$implicit.get("earning_segment").value);l(n,48,0,"earning_gross_income_per_month");l(n,51,0,"Income Per Month","number");l(n,55,0,""!=n.parent.context.$implicit.get("earning_gross_income_per_month").value);l(n,71,0,"earning_name_of_the_employer_or_business");l(n,74,0,5!=n.parent.context.$implicit.get("earning_segment").value?"Name of the Employer/Business":"Pension Received From");l(n,92,0,"earning_number_of_years_in_employment_or_business");l(n,95,0,"No. of years in Employer/Business","number")},function(l,n){l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,19).ngClassUntouched,Df._32(n,19).ngClassTouched,Df._32(n,19).ngClassPristine,Df._32(n,19).ngClassDirty,Df._32(n,19).ngClassValid,Df._32(n,19).ngClassInvalid,Df._32(n,19).ngClassPending,Df._32(n,20).id,Df._32(n,20).tabIndex,Df._32(n,20)._ariaLabel,Df._32(n,20).ariaLabelledby,Df._32(n,20).required.toString(),Df._32(n,20).disabled.toString(),Df._32(n,20).errorState,Df._32(n,20).panelOpen?Df._32(n,20)._optionIds:null,Df._32(n,20).multiple,Df._32(n,20)._ariaDescribedby||null,Df._32(n,20)._getAriaActiveDescendant(),Df._32(n,20).disabled,Df._32(n,20).errorState,Df._32(n,20).required]);l(n,34,1,[Df._32(n,35)._control.errorState,Df._32(n,35)._control.errorState,Df._32(n,35)._canLabelFloat,Df._32(n,35)._shouldLabelFloat(),Df._32(n,35)._hideControlPlaceholder(),Df._32(n,35)._control.disabled,Df._32(n,35)._control.focused,"primary"==Df._32(n,35).color,"accent"==Df._32(n,35).color,"warn"==Df._32(n,35).color,Df._32(n,35)._shouldForward("untouched"),Df._32(n,35)._shouldForward("touched"),Df._32(n,35)._shouldForward("pristine"),Df._32(n,35)._shouldForward("dirty"),Df._32(n,35)._shouldForward("valid"),Df._32(n,35)._shouldForward("invalid"),Df._32(n,35)._shouldForward("pending")]);l(n,44,1,[Df._32(n,50).ngClassUntouched,Df._32(n,50).ngClassTouched,Df._32(n,50).ngClassPristine,Df._32(n,50).ngClassDirty,Df._32(n,50).ngClassValid,Df._32(n,50).ngClassInvalid,Df._32(n,50).ngClassPending,Df._32(n,51)._isServer,Df._32(n,51).id,Df._32(n,51).placeholder,Df._32(n,51).disabled,Df._32(n,51).required,Df._32(n,51).readonly,Df._32(n,51)._ariaDescribedby||null,Df._32(n,51).errorState,Df._32(n,51).required.toString()]);l(n,58,1,[Df._32(n,59)._control.errorState,Df._32(n,59)._control.errorState,Df._32(n,59)._canLabelFloat,Df._32(n,59)._shouldLabelFloat(),Df._32(n,59)._hideControlPlaceholder(),Df._32(n,59)._control.disabled,Df._32(n,59)._control.focused,"primary"==Df._32(n,59).color,"accent"==Df._32(n,59).color,"warn"==Df._32(n,59).color,Df._32(n,59)._shouldForward("untouched"),Df._32(n,59)._shouldForward("touched"),Df._32(n,59)._shouldForward("pristine"),Df._32(n,59)._shouldForward("dirty"),Df._32(n,59)._shouldForward("valid"),Df._32(n,59)._shouldForward("invalid"),Df._32(n,59)._shouldForward("pending")]);l(n,68,1,[Df._32(n,73).ngClassUntouched,Df._32(n,73).ngClassTouched,Df._32(n,73).ngClassPristine,Df._32(n,73).ngClassDirty,Df._32(n,73).ngClassValid,Df._32(n,73).ngClassInvalid,Df._32(n,73).ngClassPending,Df._32(n,74)._isServer,Df._32(n,74).id,Df._32(n,74).placeholder,Df._32(n,74).disabled,Df._32(n,74).required,Df._32(n,74).readonly,Df._32(n,74)._ariaDescribedby||null,Df._32(n,74).errorState,Df._32(n,74).required.toString()]);l(n,78,1,[Df._32(n,79)._control.errorState,Df._32(n,79)._control.errorState,Df._32(n,79)._canLabelFloat,Df._32(n,79)._shouldLabelFloat(),Df._32(n,79)._hideControlPlaceholder(),Df._32(n,79)._control.disabled,Df._32(n,79)._control.focused,"primary"==Df._32(n,79).color,"accent"==Df._32(n,79).color,"warn"==Df._32(n,79).color,Df._32(n,79)._shouldForward("untouched"),Df._32(n,79)._shouldForward("touched"),Df._32(n,79)._shouldForward("pristine"),Df._32(n,79)._shouldForward("dirty"),Df._32(n,79)._shouldForward("valid"),Df._32(n,79)._shouldForward("invalid"),Df._32(n,79)._shouldForward("pending")]);l(n,88,1,[Df._32(n,94).ngClassUntouched,Df._32(n,94).ngClassTouched,Df._32(n,94).ngClassPristine,Df._32(n,94).ngClassDirty,Df._32(n,94).ngClassValid,Df._32(n,94).ngClassInvalid,Df._32(n,94).ngClassPending,Df._32(n,95)._isServer,Df._32(n,95).id,Df._32(n,95).placeholder,Df._32(n,95).disabled,Df._32(n,95).required,Df._32(n,95).readonly,Df._32(n,95)._ariaDescribedby||null,Df._32(n,95).errorState,Df._32(n,95).required.toString()])})}function Je(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[167,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.occupation_non_earning_member_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Xe(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,170,{_control:0}),Df._37(335544320,171,{_placeholderChild:0}),Df._37(335544320,172,{_labelChild:0}),Df._37(603979776,173,{_errorChildren:1}),Df._37(603979776,174,{_hintChildren:1}),Df._37(603979776,175,{_prefixChildren:1}),Df._37(603979776,176,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","non_earning_if_others"],["matInput",""],["placeholder","Specify Others"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[170,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"non_earning_if_others");l(n,16,0,"Specify Others")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Ze(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,177,{_control:0}),Df._37(335544320,178,{_placeholderChild:0}),Df._37(335544320,179,{_labelChild:0}),Df._37(603979776,180,{_errorChildren:1}),Df._37(603979776,181,{_hintChildren:1}),Df._37(603979776,182,{_prefixChildren:1}),Df._37(603979776,183,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","non_earning_if_schoolorcollege"],["matInput",""],["placeholder","Specify School/College Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[177,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"non_earning_if_schoolorcollege");l(n,16,0,"Specify School/College Name")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function lu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,184,{_control:0}),Df._37(335544320,185,{_placeholderChild:0}),Df._37(335544320,186,{_labelChild:0}),Df._37(603979776,187,{_errorChildren:1}),Df._37(603979776,188,{_hintChildren:1}),Df._37(603979776,189,{_prefixChildren:1}),Df._37(603979776,190,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","non_earning_if_retired_from"],["matInput",""],["placeholder","Retired From"],["type","date"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[184,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"non_earning_if_retired_from");l(n,16,0,"Retired From","date")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function nu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,36,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,160,{_control:0}),Df._37(335544320,161,{_placeholderChild:0}),Df._37(335544320,162,{_labelChild:0}),Df._37(603979776,163,{_errorChildren:1}),Df._37(603979776,164,{_hintChildren:1}),Df._37(603979776,165,{_prefixChildren:1}),Df._37(603979776,166,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","non_earning_occupation"],["placeholder","Occupation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,17)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,17)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,17)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,167,{options:1}),Df._37(603979776,168,{optionGroups:1}),Df._37(335544320,169,{customTrigger:0}),Df._36(2048,[[160,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Je)),Df._17(24,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Xe)),Df._17(29,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ze)),Df._17(32,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,lu)),Df._17(35,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,14,0,"non_earning_occupation");l(n,17,0,"Occupation");l(n,24,0,e.occupationData);l(n,29,0,1==n.parent.context.$implicit.get("non_earning_occupation").value);l(n,32,0,2==n.parent.context.$implicit.get("non_earning_occupation").value);l(n,35,0,3==n.parent.context.$implicit.get("non_earning_occupation").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17).id,Df._32(n,17).tabIndex,Df._32(n,17)._ariaLabel,Df._32(n,17).ariaLabelledby,Df._32(n,17).required.toString(),Df._32(n,17).disabled.toString(),Df._32(n,17).errorState,Df._32(n,17).panelOpen?Df._32(n,17)._optionIds:null,Df._32(n,17).multiple,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17)._getAriaActiveDescendant(),Df._32(n,17).disabled,Df._32(n,17).errorState,Df._32(n,17).required])})}function eu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMemberDet(l.parent.parent.parent.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function uu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,128,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,[" \n \n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-header",[["appearence","outline"],["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(6,49152,null,0,sy.e,[],null,null),(l()(),Df._39(7,2,["Family Details # "," Of ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(10,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,88,{_control:0}),Df._37(335544320,89,{_placeholderChild:0}),Df._37(335544320,90,{_labelChild:0}),Df._37(603979776,91,{_errorChildren:1}),Df._37(603979776,92,{_hintChildren:1}),Df._37(603979776,93,{_prefixChildren:1}),Df._37(603979776,94,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_member_name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,25)._onInput()&&u}return u},null,null)),Df._17(20,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[88,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(30,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,95,{_control:0}),Df._37(335544320,96,{_placeholderChild:0}),Df._37(335544320,97,{_labelChild:0}),Df._37(603979776,98,{_errorChildren:1}),Df._37(603979776,99,{_hintChildren:1}),Df._37(603979776,100,{_prefixChildren:1}),Df._37(603979776,101,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(39,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","family_member_relationship"],["placeholder","Relationship *"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,44)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,44)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,44)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(41,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(43,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(44,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,102,{options:1}),Df._37(603979776,103,{optionGroups:1}),Df._37(335544320,104,{customTrigger:0}),Df._36(2048,[[95,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ke)),Df._17(51,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(55,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(56,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,105,{_control:0}),Df._37(335544320,106,{_placeholderChild:0}),Df._37(335544320,107,{_labelChild:0}),Df._37(603979776,108,{_errorChildren:1}),Df._37(603979776,109,{_hintChildren:1}),Df._37(603979776,110,{_prefixChildren:1}),Df._37(603979776,111,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(65,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_member_age"],["matInput",""],["placeholder","Age"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,66)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,66).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,66)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,66)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,67).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,67).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,67).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,72)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,72)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,72)._onInput()&&u}return u},null,null)),Df._17(66,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(67,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(69,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(71,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(72,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[105,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(76,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(77,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,112,{_control:0}),Df._37(335544320,113,{_placeholderChild:0}),Df._37(335544320,114,{_labelChild:0}),Df._37(603979776,115,{_errorChildren:1}),Df._37(603979776,116,{_hintChildren:1}),Df._37(603979776,117,{_prefixChildren:1}),Df._37(603979776,118,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(86,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","family_member_earning_status"],["placeholder","Earning Status *"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,91)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,91)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,91)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(88,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(90,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(91,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,119,{options:1}),Df._37(603979776,120,{optionGroups:1}),Df._37(335544320,121,{customTrigger:0}),Df._36(2048,[[112,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,He)),Df._17(98,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Qe)),Df._17(103,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,nu)),Df._17(106,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(108,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(109,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,191,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(112,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(113,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(115,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeMemberDet(l.context.index,l.parent.parent.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(116,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(117,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),Df._17(118,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(121,0,null,null,5,"ion-col",[["class","col"],["col-1",""],["offset-1",""]],null,null,null,null,null)),Df._17(122,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,eu)),Df._17(125,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"family_member_name");l(n,25,0,"Name","text");l(n,41,0,"family_member_relationship");l(n,44,0,"Relationship *");l(n,51,0,e.relationData);l(n,69,0,"family_member_age");l(n,72,0,"Age","number");l(n,88,0,"family_member_earning_status");l(n,91,0,"Earning Status *");l(n,98,0,e.earningStatus);l(n,103,0,1==n.context.$implicit.get("family_member_earning_status").value);l(n,106,0,2==n.context.$implicit.get("family_member_earning_status").value);l(n,116,0,"optblue","");l(n,118,0,"md-trash");l(n,125,0,n.context.last)},function(l,n){var e=n.component;l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1,e.FamilyMemberAsLabel[n.parent.parent.context.index]);l(n,9,1,[Df._32(n,10)._control.errorState,Df._32(n,10)._control.errorState,Df._32(n,10)._canLabelFloat,Df._32(n,10)._shouldLabelFloat(),Df._32(n,10)._hideControlPlaceholder(),Df._32(n,10)._control.disabled,Df._32(n,10)._control.focused,"primary"==Df._32(n,10).color,"accent"==Df._32(n,10).color,"warn"==Df._32(n,10).color,Df._32(n,10)._shouldForward("untouched"),Df._32(n,10)._shouldForward("touched"),Df._32(n,10)._shouldForward("pristine"),Df._32(n,10)._shouldForward("dirty"),Df._32(n,10)._shouldForward("valid"),Df._32(n,10)._shouldForward("invalid"),Df._32(n,10)._shouldForward("pending")]);l(n,19,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25)._isServer,Df._32(n,25).id,Df._32(n,25).placeholder,Df._32(n,25).disabled,Df._32(n,25).required,Df._32(n,25).readonly,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25).errorState,Df._32(n,25).required.toString()]);l(n,29,1,[Df._32(n,30)._control.errorState,Df._32(n,30)._control.errorState,Df._32(n,30)._canLabelFloat,Df._32(n,30)._shouldLabelFloat(),Df._32(n,30)._hideControlPlaceholder(),Df._32(n,30)._control.disabled,Df._32(n,30)._control.focused,"primary"==Df._32(n,30).color,"accent"==Df._32(n,30).color,"warn"==Df._32(n,30).color,Df._32(n,30)._shouldForward("untouched"),Df._32(n,30)._shouldForward("touched"),Df._32(n,30)._shouldForward("pristine"),Df._32(n,30)._shouldForward("dirty"),Df._32(n,30)._shouldForward("valid"),Df._32(n,30)._shouldForward("invalid"),Df._32(n,30)._shouldForward("pending")]);l(n,39,1,[Df._32(n,43).ngClassUntouched,Df._32(n,43).ngClassTouched,Df._32(n,43).ngClassPristine,Df._32(n,43).ngClassDirty,Df._32(n,43).ngClassValid,Df._32(n,43).ngClassInvalid,Df._32(n,43).ngClassPending,Df._32(n,44).id,Df._32(n,44).tabIndex,Df._32(n,44)._ariaLabel,Df._32(n,44).ariaLabelledby,Df._32(n,44).required.toString(),Df._32(n,44).disabled.toString(),Df._32(n,44).errorState,Df._32(n,44).panelOpen?Df._32(n,44)._optionIds:null,Df._32(n,44).multiple,Df._32(n,44)._ariaDescribedby||null,Df._32(n,44)._getAriaActiveDescendant(),Df._32(n,44).disabled,Df._32(n,44).errorState,Df._32(n,44).required]);l(n,55,1,[Df._32(n,56)._control.errorState,Df._32(n,56)._control.errorState,Df._32(n,56)._canLabelFloat,Df._32(n,56)._shouldLabelFloat(),Df._32(n,56)._hideControlPlaceholder(),Df._32(n,56)._control.disabled,Df._32(n,56)._control.focused,"primary"==Df._32(n,56).color,"accent"==Df._32(n,56).color,"warn"==Df._32(n,56).color,Df._32(n,56)._shouldForward("untouched"),Df._32(n,56)._shouldForward("touched"),Df._32(n,56)._shouldForward("pristine"),Df._32(n,56)._shouldForward("dirty"),Df._32(n,56)._shouldForward("valid"),Df._32(n,56)._shouldForward("invalid"),Df._32(n,56)._shouldForward("pending")]);l(n,65,1,[Df._32(n,71).ngClassUntouched,Df._32(n,71).ngClassTouched,Df._32(n,71).ngClassPristine,Df._32(n,71).ngClassDirty,Df._32(n,71).ngClassValid,Df._32(n,71).ngClassInvalid,Df._32(n,71).ngClassPending,Df._32(n,72)._isServer,Df._32(n,72).id,Df._32(n,72).placeholder,Df._32(n,72).disabled,Df._32(n,72).required,Df._32(n,72).readonly,Df._32(n,72)._ariaDescribedby||null,Df._32(n,72).errorState,Df._32(n,72).required.toString()]);l(n,76,1,[Df._32(n,77)._control.errorState,Df._32(n,77)._control.errorState,Df._32(n,77)._canLabelFloat,Df._32(n,77)._shouldLabelFloat(),Df._32(n,77)._hideControlPlaceholder(),Df._32(n,77)._control.disabled,Df._32(n,77)._control.focused,"primary"==Df._32(n,77).color,"accent"==Df._32(n,77).color,"warn"==Df._32(n,77).color,Df._32(n,77)._shouldForward("untouched"),Df._32(n,77)._shouldForward("touched"),Df._32(n,77)._shouldForward("pristine"),Df._32(n,77)._shouldForward("dirty"),Df._32(n,77)._shouldForward("valid"),Df._32(n,77)._shouldForward("invalid"),Df._32(n,77)._shouldForward("pending")]);l(n,86,1,[Df._32(n,90).ngClassUntouched,Df._32(n,90).ngClassTouched,Df._32(n,90).ngClassPristine,Df._32(n,90).ngClassDirty,Df._32(n,90).ngClassValid,Df._32(n,90).ngClassInvalid,Df._32(n,90).ngClassPending,Df._32(n,91).id,Df._32(n,91).tabIndex,Df._32(n,91)._ariaLabel,Df._32(n,91).ariaLabelledby,Df._32(n,91).required.toString(),Df._32(n,91).disabled.toString(),Df._32(n,91).errorState,Df._32(n,91).panelOpen?Df._32(n,91)._optionIds:null,Df._32(n,91).multiple,Df._32(n,91)._ariaDescribedby||null,Df._32(n,91)._getAriaActiveDescendant(),Df._32(n,91).disabled,Df._32(n,91).errorState,Df._32(n,91).required]);l(n,117,0,Df._32(n,118)._hidden)})}function tu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._18(3,0,null,0,7,"div",[["formArrayName","family_members_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(4,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,uu)),Df._17(9,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n \n"])),(l()(),Df._39(-1,0,["\n"]))],function(l,n){l(n,4,0,"family_members_details");l(n,9,0,n.parent.context.$implicit.controls.family_members_details.controls)},function(l,n){l(n,3,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending)})}function au(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,242,"section",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,38,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._18(8,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(9,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(11,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(12,null,["Family Details ",""])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,[" \n \n "])),(l()(),Df._18(16,0,null,0,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(17,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(26,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","selected_person"],["placeholder","Applicants"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,33)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,33)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,33)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPerson(e.value,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(28,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(30,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(32,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(33,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,je)),Df._17(40,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(45,0,null,null,193,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(46,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(50,0,null,0,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(51,null,["Residence Details of ",""])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(53,0,null,0,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(54,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(63,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","residence_state"],["matInput",""],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,70)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,70)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,70)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getCity(e.value,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(65,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(67,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(69,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(70,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,19,{options:1}),Df._37(603979776,20,{optionGroups:1}),Df._37(335544320,21,{customTrigger:0}),Df._36(2048,[[12,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ne)),Df._17(77,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(81,0,null,0,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(82,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,22,{_control:0}),Df._37(335544320,23,{_placeholderChild:0}),Df._37(335544320,24,{_labelChild:0}),Df._37(603979776,25,{_errorChildren:1}),Df._37(603979776,26,{_hintChildren:1}),Df._37(603979776,27,{_prefixChildren:1}),Df._37(603979776,28,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(91,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","residence_city"],["matInput",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,98)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,98)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,98)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(93,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(95,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(97,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(98,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,29,{options:1}),Df._37(603979776,30,{optionGroups:1}),Df._37(335544320,31,{customTrigger:0}),Df._36(2048,[[22,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,We)),Df._17(105,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(109,0,null,0,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(110,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,32,{_control:0}),Df._37(335544320,33,{_placeholderChild:0}),Df._37(335544320,34,{_labelChild:0}),Df._37(603979776,35,{_errorChildren:1}),Df._37(603979776,36,{_hintChildren:1}),Df._37(603979776,37,{_prefixChildren:1}),Df._37(603979776,38,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(119,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_place"],["matInput",""],["placeholder","Place "],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,120)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,120).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,120)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,120)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,127)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,127)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,127)._onInput()&&u}return u},null,null)),Df._17(120,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(121,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(124,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(126,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(127,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[32,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(131,0,null,0,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(132,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,39,{_control:0}),Df._37(335544320,40,{_placeholderChild:0}),Df._37(335544320,41,{_labelChild:0}),Df._37(603979776,42,{_errorChildren:1}),Df._37(603979776,43,{_hintChildren:1}),Df._37(603979776,44,{_prefixChildren:1}),Df._37(603979776,45,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(141,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","residence_pin"],["matInput",""],["placeholder","Pin"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,148)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,148)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,148)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(143,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(145,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(147,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(148,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,46,{options:1}),Df._37(603979776,47,{optionGroups:1}),Df._37(335544320,48,{customTrigger:0}),Df._36(2048,[[39,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ee)),Df._17(155,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Re)),Df._17(160,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(162,0,null,0,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(163,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,56,{_control:0}),Df._37(335544320,57,{_placeholderChild:0}),Df._37(335544320,58,{_labelChild:0}),Df._37(603979776,59,{_errorChildren:1}),Df._37(603979776,60,{_hintChildren:1}),Df._37(603979776,61,{_prefixChildren:1}),Df._37(603979776,62,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(172,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","residence_No_of_years"],["matInput",""],["placeholder","No. of Years "],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,173)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,173).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,173)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,173)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,174).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,174).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,174).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,181)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,181)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,181)._onInput()&&u}return u},null,null)),Df._17(173,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(174,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(175,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(178,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(180,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(181,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[56,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(185,0,null,0,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(186,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,63,{_control:0}),Df._37(335544320,64,{_placeholderChild:0}),Df._37(335544320,65,{_labelChild:0}),Df._37(603979776,66,{_errorChildren:1}),Df._37(603979776,67,{_hintChildren:1}),Df._37(603979776,68,{_prefixChildren:1}),Df._37(603979776,69,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(195,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","residence_ownership"],["placeholder","Ownership "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,202)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,202)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,202)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(197,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(199,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(201,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(202,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,70,{options:1}),Df._37(603979776,71,{optionGroups:1}),Df._37(335544320,72,{customTrigger:0}),Df._36(2048,[[63,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ue)),Df._17(209,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,0,["\n"])),(l()(),Df._13(16777216,null,0,1,null,Be)),Df._17(214,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n"])),(l()(),Df._13(16777216,null,0,1,null,Me)),Df._17(217,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(220,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),Df._18(221,0,null,0,16,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(222,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,87,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(225,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(226,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(228,0,null,null,7,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(229,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(231,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.remove_family_details(l.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(232,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(233,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px"]],[[2,"hide",null]],null,null,null,null)),Df._17(234,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,tu)),Df._17(241,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n"]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,28,0,"");l(n,30,0,"selected_person");l(n,33,0,"Applicants","");l(n,40,0,e.pdDetails.applicat_details);l(n,65,0,"");l(n,67,0,"residence_state");l(n,70,0,"State","");l(n,77,0,e.stateData);l(n,93,0,"");l(n,95,0,"residence_city");l(n,98,0,"City","");l(n,105,0,e.cityData[n.context.index]);l(n,121,0,"");l(n,124,0,"residence_place");l(n,127,0,"Place ","");l(n,143,0,"");l(n,145,0,"residence_pin");l(n,148,0,"Pin","");l(n,155,0,e.pincodeData[n.context.index]);l(n,160,0,1==n.context.$implicit.get("residence_pin").value);l(n,175,0,"");l(n,178,0,"residence_No_of_years");l(n,181,0,"No. of Years ","","number");l(n,197,0,"");l(n,199,0,"residence_ownership");l(n,202,0,"Ownership ","");l(n,209,0,e.ownerShip);l(n,214,0,3==n.context.$implicit.get("residence_ownership").value);l(n,217,0,1==n.context.$implicit.get("residence_ownership").value);l(n,232,0,"optblue","");l(n,234,0,"md-trash");l(n,241,0,""!=n.context.$implicit.get("selected_person").value)},function(l,n){var e=n.component;l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,12,0,n.context.index+1);l(n,16,1,[Df._32(n,17)._control.errorState,Df._32(n,17)._control.errorState,Df._32(n,17)._canLabelFloat,Df._32(n,17)._shouldLabelFloat(),Df._32(n,17)._hideControlPlaceholder(),Df._32(n,17)._control.disabled,Df._32(n,17)._control.focused,"primary"==Df._32(n,17).color,"accent"==Df._32(n,17).color,"warn"==Df._32(n,17).color,Df._32(n,17)._shouldForward("untouched"),Df._32(n,17)._shouldForward("touched"),Df._32(n,17)._shouldForward("pristine"),Df._32(n,17)._shouldForward("dirty"),Df._32(n,17)._shouldForward("valid"),Df._32(n,17)._shouldForward("invalid"),Df._32(n,17)._shouldForward("pending")]);l(n,26,1,[Df._32(n,28).required?"":null,Df._32(n,32).ngClassUntouched,Df._32(n,32).ngClassTouched,Df._32(n,32).ngClassPristine,Df._32(n,32).ngClassDirty,Df._32(n,32).ngClassValid,Df._32(n,32).ngClassInvalid,Df._32(n,32).ngClassPending,Df._32(n,33).id,Df._32(n,33).tabIndex,Df._32(n,33)._ariaLabel,Df._32(n,33).ariaLabelledby,Df._32(n,33).required.toString(),Df._32(n,33).disabled.toString(),Df._32(n,33).errorState,Df._32(n,33).panelOpen?Df._32(n,33)._optionIds:null,Df._32(n,33).multiple,Df._32(n,33)._ariaDescribedby||null,Df._32(n,33)._getAriaActiveDescendant(),Df._32(n,33).disabled,Df._32(n,33).errorState,Df._32(n,33).required]);l(n,51,0,e.FamilyMemberAsLabel[n.context.index]);l(n,53,1,[Df._32(n,54)._control.errorState,Df._32(n,54)._control.errorState,Df._32(n,54)._canLabelFloat,Df._32(n,54)._shouldLabelFloat(),Df._32(n,54)._hideControlPlaceholder(),Df._32(n,54)._control.disabled,Df._32(n,54)._control.focused,"primary"==Df._32(n,54).color,"accent"==Df._32(n,54).color,"warn"==Df._32(n,54).color,Df._32(n,54)._shouldForward("untouched"),Df._32(n,54)._shouldForward("touched"),Df._32(n,54)._shouldForward("pristine"),Df._32(n,54)._shouldForward("dirty"),Df._32(n,54)._shouldForward("valid"),Df._32(n,54)._shouldForward("invalid"),Df._32(n,54)._shouldForward("pending")]);l(n,63,1,[Df._32(n,65).required?"":null,Df._32(n,69).ngClassUntouched,Df._32(n,69).ngClassTouched,Df._32(n,69).ngClassPristine,Df._32(n,69).ngClassDirty,Df._32(n,69).ngClassValid,Df._32(n,69).ngClassInvalid,Df._32(n,69).ngClassPending,Df._32(n,70).id,Df._32(n,70).tabIndex,Df._32(n,70)._ariaLabel,Df._32(n,70).ariaLabelledby,Df._32(n,70).required.toString(),Df._32(n,70).disabled.toString(),Df._32(n,70).errorState,Df._32(n,70).panelOpen?Df._32(n,70)._optionIds:null,Df._32(n,70).multiple,Df._32(n,70)._ariaDescribedby||null,Df._32(n,70)._getAriaActiveDescendant(),Df._32(n,70).disabled,Df._32(n,70).errorState,Df._32(n,70).required]);l(n,81,1,[Df._32(n,82)._control.errorState,Df._32(n,82)._control.errorState,Df._32(n,82)._canLabelFloat,Df._32(n,82)._shouldLabelFloat(),Df._32(n,82)._hideControlPlaceholder(),Df._32(n,82)._control.disabled,Df._32(n,82)._control.focused,"primary"==Df._32(n,82).color,"accent"==Df._32(n,82).color,"warn"==Df._32(n,82).color,Df._32(n,82)._shouldForward("untouched"),Df._32(n,82)._shouldForward("touched"),Df._32(n,82)._shouldForward("pristine"),Df._32(n,82)._shouldForward("dirty"),Df._32(n,82)._shouldForward("valid"),Df._32(n,82)._shouldForward("invalid"),Df._32(n,82)._shouldForward("pending")]);l(n,91,1,[Df._32(n,93).required?"":null,Df._32(n,97).ngClassUntouched,Df._32(n,97).ngClassTouched,Df._32(n,97).ngClassPristine,Df._32(n,97).ngClassDirty,Df._32(n,97).ngClassValid,Df._32(n,97).ngClassInvalid,Df._32(n,97).ngClassPending,Df._32(n,98).id,Df._32(n,98).tabIndex,Df._32(n,98)._ariaLabel,Df._32(n,98).ariaLabelledby,Df._32(n,98).required.toString(),Df._32(n,98).disabled.toString(),Df._32(n,98).errorState,Df._32(n,98).panelOpen?Df._32(n,98)._optionIds:null,Df._32(n,98).multiple,Df._32(n,98)._ariaDescribedby||null,Df._32(n,98)._getAriaActiveDescendant(),Df._32(n,98).disabled,Df._32(n,98).errorState,Df._32(n,98).required]);l(n,109,1,[Df._32(n,110)._control.errorState,Df._32(n,110)._control.errorState,Df._32(n,110)._canLabelFloat,Df._32(n,110)._shouldLabelFloat(),Df._32(n,110)._hideControlPlaceholder(),Df._32(n,110)._control.disabled,Df._32(n,110)._control.focused,"primary"==Df._32(n,110).color,"accent"==Df._32(n,110).color,"warn"==Df._32(n,110).color,Df._32(n,110)._shouldForward("untouched"),Df._32(n,110)._shouldForward("touched"),Df._32(n,110)._shouldForward("pristine"),Df._32(n,110)._shouldForward("dirty"),Df._32(n,110)._shouldForward("valid"),Df._32(n,110)._shouldForward("invalid"),Df._32(n,110)._shouldForward("pending")]);l(n,119,1,[Df._32(n,121).required?"":null,Df._32(n,126).ngClassUntouched,Df._32(n,126).ngClassTouched,Df._32(n,126).ngClassPristine,Df._32(n,126).ngClassDirty,Df._32(n,126).ngClassValid,Df._32(n,126).ngClassInvalid,Df._32(n,126).ngClassPending,Df._32(n,127)._isServer,Df._32(n,127).id,Df._32(n,127).placeholder,Df._32(n,127).disabled,Df._32(n,127).required,Df._32(n,127).readonly,Df._32(n,127)._ariaDescribedby||null,Df._32(n,127).errorState,Df._32(n,127).required.toString()]);l(n,131,1,[Df._32(n,132)._control.errorState,Df._32(n,132)._control.errorState,Df._32(n,132)._canLabelFloat,Df._32(n,132)._shouldLabelFloat(),Df._32(n,132)._hideControlPlaceholder(),Df._32(n,132)._control.disabled,Df._32(n,132)._control.focused,"primary"==Df._32(n,132).color,"accent"==Df._32(n,132).color,"warn"==Df._32(n,132).color,Df._32(n,132)._shouldForward("untouched"),Df._32(n,132)._shouldForward("touched"),Df._32(n,132)._shouldForward("pristine"),Df._32(n,132)._shouldForward("dirty"),Df._32(n,132)._shouldForward("valid"),Df._32(n,132)._shouldForward("invalid"),Df._32(n,132)._shouldForward("pending")]);l(n,141,1,[Df._32(n,143).required?"":null,Df._32(n,147).ngClassUntouched,Df._32(n,147).ngClassTouched,Df._32(n,147).ngClassPristine,Df._32(n,147).ngClassDirty,Df._32(n,147).ngClassValid,Df._32(n,147).ngClassInvalid,Df._32(n,147).ngClassPending,Df._32(n,148).id,Df._32(n,148).tabIndex,Df._32(n,148)._ariaLabel,Df._32(n,148).ariaLabelledby,Df._32(n,148).required.toString(),Df._32(n,148).disabled.toString(),Df._32(n,148).errorState,Df._32(n,148).panelOpen?Df._32(n,148)._optionIds:null,Df._32(n,148).multiple,Df._32(n,148)._ariaDescribedby||null,Df._32(n,148)._getAriaActiveDescendant(),Df._32(n,148).disabled,Df._32(n,148).errorState,Df._32(n,148).required]);l(n,162,1,[Df._32(n,163)._control.errorState,Df._32(n,163)._control.errorState,Df._32(n,163)._canLabelFloat,Df._32(n,163)._shouldLabelFloat(),Df._32(n,163)._hideControlPlaceholder(),Df._32(n,163)._control.disabled,Df._32(n,163)._control.focused,"primary"==Df._32(n,163).color,"accent"==Df._32(n,163).color,"warn"==Df._32(n,163).color,Df._32(n,163)._shouldForward("untouched"),Df._32(n,163)._shouldForward("touched"),Df._32(n,163)._shouldForward("pristine"),Df._32(n,163)._shouldForward("dirty"),Df._32(n,163)._shouldForward("valid"),Df._32(n,163)._shouldForward("invalid"),Df._32(n,163)._shouldForward("pending")]);l(n,172,1,[Df._32(n,175).required?"":null,Df._32(n,180).ngClassUntouched,Df._32(n,180).ngClassTouched,Df._32(n,180).ngClassPristine,Df._32(n,180).ngClassDirty,Df._32(n,180).ngClassValid,Df._32(n,180).ngClassInvalid,Df._32(n,180).ngClassPending,Df._32(n,181)._isServer,Df._32(n,181).id,Df._32(n,181).placeholder,Df._32(n,181).disabled,Df._32(n,181).required,Df._32(n,181).readonly,Df._32(n,181)._ariaDescribedby||null,Df._32(n,181).errorState,Df._32(n,181).required.toString()]);l(n,185,1,[Df._32(n,186)._control.errorState,Df._32(n,186)._control.errorState,Df._32(n,186)._canLabelFloat,Df._32(n,186)._shouldLabelFloat(),Df._32(n,186)._hideControlPlaceholder(),Df._32(n,186)._control.disabled,Df._32(n,186)._control.focused,"primary"==Df._32(n,186).color,"accent"==Df._32(n,186).color,"warn"==Df._32(n,186).color,Df._32(n,186)._shouldForward("untouched"),Df._32(n,186)._shouldForward("touched"),Df._32(n,186)._shouldForward("pristine"),Df._32(n,186)._shouldForward("dirty"),Df._32(n,186)._shouldForward("valid"),Df._32(n,186)._shouldForward("invalid"),Df._32(n,186)._shouldForward("pending")]);l(n,195,1,[Df._32(n,197).required?"":null,Df._32(n,201).ngClassUntouched,Df._32(n,201).ngClassTouched,Df._32(n,201).ngClassPristine,Df._32(n,201).ngClassDirty,Df._32(n,201).ngClassValid,Df._32(n,201).ngClassInvalid,Df._32(n,201).ngClassPending,Df._32(n,202).id,Df._32(n,202).tabIndex,Df._32(n,202)._ariaLabel,Df._32(n,202).ariaLabelledby,Df._32(n,202).required.toString(),Df._32(n,202).disabled.toString(),Df._32(n,202).errorState,Df._32(n,202).panelOpen?Df._32(n,202)._optionIds:null,Df._32(n,202).multiple,Df._32(n,202)._ariaDescribedby||null,Df._32(n,202)._getAriaActiveDescendant(),Df._32(n,202).disabled,Df._32(n,202).errorState,Df._32(n,202).required]);l(n,233,0,Df._32(n,234)._hidden)})}function iu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Ve)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(21,0,null,null,69,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,55,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,7,"div",[["formArrayName","family_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(31,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(33,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,au)),Df._17(36,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n \n"])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(42,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(43,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(45,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(46,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,192,{_control:0}),Df._37(335544320,193,{_placeholderChild:0}),Df._37(335544320,194,{_labelChild:0}),Df._37(603979776,195,{_errorChildren:1}),Df._37(603979776,196,{_hintChildren:1}),Df._37(603979776,197,{_prefixChildren:1}),Df._37(603979776,198,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(55,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_details_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,56)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,56).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,56)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,56)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,61)._onInput()&&u}return u},null,null)),Df._17(56,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(58,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(60,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(61,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[192,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(66,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(67,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(69,0,null,null,2,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(70,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(74,0,null,null,2,"button",[["block",""],["color","optblue"],["ion-button",""],["round",""],["strong",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdfamily(t.familyForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(75,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],round:[1,"round"],block:[2,"block"],strong:[3,"strong"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,1,["\n\n \n "])),(l()(),Df._18(81,0,null,0,8,"ion-fab",[["bottom",""],["mini",""],["right",""]],null,null,null,dC.b,dC.a)),Df._17(82,1228800,null,2,sC.a,[Gv.a],null,null),Df._37(335544320,199,{_mainButton:0}),Df._37(603979776,200,{_fabLists:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(86,0,null,0,3,"button",[["color","optblue"],["ion-fab",""],["mini",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.add()&&u}return u},cC.b,cC.a)),Df._17(87,49152,[[199,4]],0,mC.a,[Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._18(88,0,null,0,1,"ion-icon",[["name","add"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),Df._17(89,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,1,["\n \n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.familyForm);l(n,31,0,"family_details");l(n,36,0,e.familyForm.controls.family_details.controls);l(n,58,0,"family_details_form_remark");l(n,61,0,"Remarks");l(n,75,0,"optblue","","","");l(n,87,0,"optblue");l(n,89,0,"add")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,30,0,Df._32(n,33).ngClassUntouched,Df._32(n,33).ngClassTouched,Df._32(n,33).ngClassPristine,Df._32(n,33).ngClassDirty,Df._32(n,33).ngClassValid,Df._32(n,33).ngClassInvalid,Df._32(n,33).ngClassPending);l(n,45,1,[Df._32(n,46)._control.errorState,Df._32(n,46)._control.errorState,Df._32(n,46)._canLabelFloat,Df._32(n,46)._shouldLabelFloat(),Df._32(n,46)._hideControlPlaceholder(),Df._32(n,46)._control.disabled,Df._32(n,46)._control.focused,"primary"==Df._32(n,46).color,"accent"==Df._32(n,46).color,"warn"==Df._32(n,46).color,Df._32(n,46)._shouldForward("untouched"),Df._32(n,46)._shouldForward("touched"),Df._32(n,46)._shouldForward("pristine"),Df._32(n,46)._shouldForward("dirty"),Df._32(n,46)._shouldForward("valid"),Df._32(n,46)._shouldForward("invalid"),Df._32(n,46)._shouldForward("pending")]);l(n,55,1,[Df._32(n,60).ngClassUntouched,Df._32(n,60).ngClassTouched,Df._32(n,60).ngClassPristine,Df._32(n,60).ngClassDirty,Df._32(n,60).ngClassValid,Df._32(n,60).ngClassInvalid,Df._32(n,60).ngClassPending,Df._32(n,61)._isServer,Df._32(n,61).id,Df._32(n,61).placeholder,Df._32(n,61).disabled,Df._32(n,61).required,Df._32(n,61).readonly,Df._32(n,61)._ariaDescribedby||null,Df._32(n,61).errorState,Df._32(n,61).required.toString()]);l(n,88,0,Df._32(n,89)._hidden)})}function ou(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formdetails.form_name)})}function ru(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[10,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.applicant_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function _u(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,13,{_control:0}),Df._37(335544320,14,{_placeholderChild:0}),Df._37(335544320,15,{_labelChild:0}),Df._37(603979776,16,{_errorChildren:1}),Df._37(603979776,17,{_hintChildren:1}),Df._37(603979776,18,{_prefixChildren:1}),Df._37(603979776,19,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","partner_other_name"],["matInput",""],["placeholder","Specify Others(Name)"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[13,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"partner_other_name");l(n,16,0,"Specify Others(Name)")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function du(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,20,{_control:0}),Df._37(335544320,21,{_placeholderChild:0}),Df._37(335544320,22,{_labelChild:0}),Df._37(603979776,23,{_errorChildren:1}),Df._37(603979776,24,{_hintChildren:1}),Df._37(603979776,25,{_prefixChildren:1}),Df._37(603979776,26,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","shareholding"],["matInput",""],["placeholder","Share of Profit / Shareholding (%)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[20,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,14,0,"shareholding");l(n,17,0,"Share of Profit / Shareholding (%)","number")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()])})}function su(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"mat-select",[["class","mat-select"],["formControlName","started_business"],["placeholder","Started Business"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,4)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,4)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,4)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changeOfStartedBusiness(l.parent.parent.context.$implicit,l.parent.parent.context.index,e.value)&&u}return u},TC.b,TC.a)),Df._17(1,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(3,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(4,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,34,{options:1}),Df._37(603979776,35,{optionGroups:1}),Df._37(335544320,36,{customTrigger:0}),Df._36(2048,[[27,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(11,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,12)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,12)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(12,8437760,[[34,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,16)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(16,8437760,[[34,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,20)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,20)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(20,8437760,[[34,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,1,0,"started_business");l(n,4,0,"Started Business");l(n,16,0,"yes");l(n,20,0,"no")},function(l,n){l(n,0,1,[Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending,Df._32(n,4).id,Df._32(n,4).tabIndex,Df._32(n,4)._ariaLabel,Df._32(n,4).ariaLabelledby,Df._32(n,4).required.toString(),Df._32(n,4).disabled.toString(),Df._32(n,4).errorState,Df._32(n,4).panelOpen?Df._32(n,4)._optionIds:null,Df._32(n,4).multiple,Df._32(n,4)._ariaDescribedby||null,Df._32(n,4)._getAriaActiveDescendant(),Df._32(n,4).disabled,Df._32(n,4).errorState,Df._32(n,4).required]);l(n,11,0,Df._32(n,12)._getTabIndex(),Df._32(n,12).selected,Df._32(n,12).multiple,Df._32(n,12).active,Df._32(n,12).id,Df._32(n,12).selected.toString(),Df._32(n,12).disabled.toString(),Df._32(n,12).disabled);l(n,15,0,Df._32(n,16)._getTabIndex(),Df._32(n,16).selected,Df._32(n,16).multiple,Df._32(n,16).active,Df._32(n,16).id,Df._32(n,16).selected.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).disabled);l(n,19,0,Df._32(n,20)._getTabIndex(),Df._32(n,20).selected,Df._32(n,20).multiple,Df._32(n,20).active,Df._32(n,20).id,Df._32(n,20).selected.toString(),Df._32(n,20).disabled.toString(),Df._32(n,20).disabled)})}function cu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,12,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(603979776,27,{_control:0}),Df._37(335544320,28,{_placeholderChild:0}),Df._37(335544320,29,{_labelChild:0}),Df._37(603979776,30,{_errorChildren:1}),Df._37(603979776,31,{_hintChildren:1}),Df._37(603979776,32,{_prefixChildren:1}),Df._37(603979776,33,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,su)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,!n.component.EntityTypeFlag)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")])})}function mu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"p",[["style","margin-left: 2% !important"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["No of Years in Current Business"]))],null,null)}function pu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,37,{_control:0}),Df._37(335544320,38,{_placeholderChild:0}),Df._37(335544320,39,{_labelChild:0}),Df._37(603979776,40,{_errorChildren:1}),Df._37(603979776,41,{_hintChildren:1}),Df._37(603979776,42,{_prefixChildren:1}),Df._37(603979776,43,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","current_business_experiance_year"],["matInput",""],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.getWorkExperience(l.parent.context.$implicit.value,l.parent.context.index)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("change"===n){u=!1!==t.checkWithExistBusinessYear(e.target.value,l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[37,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(20,0,null,6,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(21,16384,[[41,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(22,null,["",""])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"current_business_experiance_year");l(n,17,0,"Year","number",e.isreadonlyyear[n.parent.context.index]);l(n,21,0,"start")},function(l,n){var e=n.component;l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()]);l(n,20,0,"end"==Df._32(n,21).align,Df._32(n,21).id,null);l(n,22,0,e.yearErrorMessage[n.parent.context.index])})}function fu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,44,{_control:0}),Df._37(335544320,45,{_placeholderChild:0}),Df._37(335544320,46,{_labelChild:0}),Df._37(603979776,47,{_errorChildren:1}),Df._37(603979776,48,{_hintChildren:1}),Df._37(603979776,49,{_prefixChildren:1}),Df._37(603979776,50,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","current_business_experiance_month"],["matInput",""],["placeholder","Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.parent.context.$implicit,e.target.value,l.parent.context.index)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[44,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(20,0,null,6,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(21,16384,[[48,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(22,null,["",""])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"current_business_experiance_month");l(n,17,0,"Month","number",e.isreadonlymonth[n.parent.context.index]);l(n,21,0,"start")},function(l,n){var e=n.component;l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()]);l(n,20,0,"end"==Df._32(n,21).align,Df._32(n,21).id,null);l(n,22,0,e.monthErrorMessage[n.parent.context.index])})}function hu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,51,{_control:0}),Df._37(335544320,52,{_placeholderChild:0}),Df._37(335544320,53,{_labelChild:0}),Df._37(603979776,54,{_errorChildren:1}),Df._37(603979776,55,{_hintChildren:1}),Df._37(603979776,56,{_prefixChildren:1}),Df._37(603979776,57,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_experiance"],["matInput",""],["placeholder","Total Work Experience"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"keyup"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.getWorkExperience(l.parent.context.$implicit.value,l.parent.context.index)&&u}if("change"===n){u=!1!==t.checkWithExistTotalWorkExperience(e.target.value,l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[51,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(20,0,null,6,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(21,16384,[[55,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(22,null,["",""])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,14,0,"total_business_experiance");l(n,17,0,"Total Work Experience","number");l(n,21,0,"start")},function(l,n){var e=n.component;l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()]);l(n,20,0,"end"==Df._32(n,21).align,Df._32(n,21).id,null);l(n,22,0,e.errorMessageForExistTotalWorkExperience[n.parent.context.index])})}function gu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,58,{_control:0}),Df._37(335544320,59,{_placeholderChild:0}),Df._37(335544320,60,{_labelChild:0}),Df._37(603979776,61,{_errorChildren:1}),Df._37(603979776,62,{_hintChildren:1}),Df._37(603979776,63,{_prefixChildren:1}),Df._37(603979776,64,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_business_previous_experience"],["matInput",""],["placeholder","Previous Work Experience"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[58,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"total_business_previous_experience");l(n,16,0,"Previous Work Experience")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function bu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addPartnerDetails(e)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,1,0,"");l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function vu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(1,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,65,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(5,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,3,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletePartnerDetails(l.parent.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(8,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(9,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),Df._17(10,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n \n "])),(l()(),Df._18(13,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(14,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,bu)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,8,0,"");l(n,10,0,"optblue","md-trash");l(n,17,0,n.parent.context.last)},function(l,n){l(n,9,0,Df._32(n,10)._hidden)})}function yu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,83,"mat-accordion",[["class","mat-accordion"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(4,16384,null,0,zC.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,16777216,null,null,76,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,QC.d,QC.a)),Df._36(6144,null,hy.F,null,[zC.c]),Df._17(8,1753088,null,1,zC.c,[[2,zC.a],Df.i,aC.d,Df._1],{expanded:[0,"expanded"]},null),Df._37(335544320,2,{_lazyContent:0}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(11,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==Df._32(l,12)._keydown(e)&&u}return u},QC.c,QC.b)),Df._17(12,180224,null,0,zC.e,[zC.c,Df.p,yy.j,Df.i],null,null),Df._34(13,{collapsedHeight:0,expandedHeight:1}),Df._34(14,{value:0,params:1}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(16,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Df._17(17,16384,null,0,zC.f,[],null,null),(l()(),Df._18(18,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(19,null,[""," # "," "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(22,0,null,1,56,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(23,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(25,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(26,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,3,{_control:0}),Df._37(335544320,4,{_placeholderChild:0}),Df._37(335544320,5,{_labelChild:0}),Df._37(603979776,6,{_errorChildren:1}),Df._37(603979776,7,{_hintChildren:1}),Df._37(603979776,8,{_prefixChildren:1}),Df._37(603979776,9,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(35,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","partner_name"],["placeholder","Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,40)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,40)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,40)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePartnerGroup(l.context.$implicit.value.partner_name,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(37,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(39,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(40,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,10,{options:1}),Df._37(603979776,11,{optionGroups:1}),Df._37(335544320,12,{customTrigger:0}),Df._36(2048,[[3,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ru)),Df._17(47,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(49,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,50)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,50)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(50,8437760,[[10,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Others"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,_u)),Df._17(56,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,du)),Df._17(59,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,cu)),Df._17(62,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,mu)),Df._17(65,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,pu)),Df._17(68,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,fu)),Df._17(71,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,hu)),Df._17(74,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,gu)),Df._17(77,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n \n \n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,vu)),Df._17(81,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,8,0,e.step==n.context.index);l(n,37,0,"partner_name");l(n,40,0,"Name");l(n,47,0,e.personsList);l(n,50,0,"Others");l(n,56,0,"Others"==n.context.$implicit.value.partner_name);l(n,59,0,!e.EntityTypeFlag);l(n,62,0,!e.EntityTypeFlag);l(n,65,0,!e.EntityTypeFlag);l(n,68,0,!e.EntityTypeFlag);l(n,71,0,!e.EntityTypeFlag);l(n,74,0,!e.EntityTypeFlag);l(n,77,0,!e.EntityTypeFlag&&void 0!=n.context.$implicit.value.total_business_previous_experience);l(n,81,0,!e.EntityTypeFlag)},function(l,n){var e=n.component;l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,6,0,Df._32(n,8).expanded,Df._32(n,8)._hasSpacing());l(n,11,0,Df._32(n,12).panel._headerId,Df._32(n,12).panel.disabled?-1:0,Df._32(n,12)._getPanelId(),Df._32(n,12)._isExpanded(),Df._32(n,12).panel.disabled,Df._32(n,12)._isExpanded(),l(n,14,0,Df._32(n,12)._getExpandedState(),l(n,13,0,Df._32(n,12).collapsedHeight,Df._32(n,12).expandedHeight)));l(n,19,0,e.businessEntityTypeList.section_label,n.context.index+1);l(n,25,1,[Df._32(n,26)._control.errorState,Df._32(n,26)._control.errorState,Df._32(n,26)._canLabelFloat,Df._32(n,26)._shouldLabelFloat(),Df._32(n,26)._hideControlPlaceholder(),Df._32(n,26)._control.disabled,Df._32(n,26)._control.focused,"primary"==Df._32(n,26).color,"accent"==Df._32(n,26).color,"warn"==Df._32(n,26).color,Df._32(n,26)._shouldForward("untouched"),Df._32(n,26)._shouldForward("touched"),Df._32(n,26)._shouldForward("pristine"),Df._32(n,26)._shouldForward("dirty"),Df._32(n,26)._shouldForward("valid"),Df._32(n,26)._shouldForward("invalid"),Df._32(n,26)._shouldForward("pending")]);l(n,35,1,[Df._32(n,39).ngClassUntouched,Df._32(n,39).ngClassTouched,Df._32(n,39).ngClassPristine,Df._32(n,39).ngClassDirty,Df._32(n,39).ngClassValid,Df._32(n,39).ngClassInvalid,Df._32(n,39).ngClassPending,Df._32(n,40).id,Df._32(n,40).tabIndex,Df._32(n,40)._ariaLabel,Df._32(n,40).ariaLabelledby,Df._32(n,40).required.toString(),Df._32(n,40).disabled.toString(),Df._32(n,40).errorState,Df._32(n,40).panelOpen?Df._32(n,40)._optionIds:null,Df._32(n,40).multiple,Df._32(n,40)._ariaDescribedby||null,Df._32(n,40)._getAriaActiveDescendant(),Df._32(n,40).disabled,Df._32(n,40).errorState,Df._32(n,40).required]);l(n,49,0,Df._32(n,50)._getTabIndex(),Df._32(n,50).selected,Df._32(n,50).multiple,Df._32(n,50).active,Df._32(n,50).id,Df._32(n,50).selected.toString(),Df._32(n,50).disabled.toString(),Df._32(n,50).disabled)})}function Cu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[74,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function wu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[91,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""])),Df._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent.parent,0),n.context.$implicit.name)))})}function Fu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[101,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""])),Df._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent.parent,0),n.context.$implicit.applicant_name)))})}function xu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[111,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""])),Df._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent.parent,0),n.context.$implicit.name)))})}function Su(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,200,"mat-accordion",[["class","mat-accordion"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(4,16384,null,0,zC.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,16777216,null,null,193,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,QC.d,QC.a)),Df._36(6144,null,hy.F,null,[zC.c]),Df._17(8,1753088,null,1,zC.c,[[2,zC.a],Df.i,aC.d,Df._1],{expanded:[0,"expanded"]},null),Df._37(335544320,66,{_lazyContent:0}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(11,0,null,0,10,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==Df._32(l,12)._keydown(e)&&u}return u},QC.c,QC.b)),Df._17(12,180224,null,0,zC.e,[zC.c,Df.p,yy.j,Df.i],null,null),Df._34(13,{collapsedHeight:0,expandedHeight:1}),Df._34(14,{value:0,params:1}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(17,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Df._17(18,16384,null,0,zC.f,[],null,null),(l()(),Df._18(19,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(20,null,["Family Member #",""])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,161,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(24,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(27,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,67,{_control:0}),Df._37(335544320,68,{_placeholderChild:0}),Df._37(335544320,69,{_labelChild:0}),Df._37(603979776,70,{_errorChildren:1}),Df._37(603979776,71,{_hintChildren:1}),Df._37(603979776,72,{_prefixChildren:1}),Df._37(603979776,73,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(36,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","family_member_salutation"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,41)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,41)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,41)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(38,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(40,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(41,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,74,{options:1}),Df._37(603979776,75,{optionGroups:1}),Df._37(335544320,76,{customTrigger:0}),Df._36(2048,[[67,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Cu)),Df._17(48,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(52,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(53,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,77,{_control:0}),Df._37(335544320,78,{_placeholderChild:0}),Df._37(335544320,79,{_labelChild:0}),Df._37(603979776,80,{_errorChildren:1}),Df._37(603979776,81,{_hintChildren:1}),Df._37(603979776,82,{_prefixChildren:1}),Df._37(603979776,83,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(62,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","family_member_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,63)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,68)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,68)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,68)._onInput()&&u}return u},null,null)),Df._17(63,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(65,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(67,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(68,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[77,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(72,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(73,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,84,{_control:0}),Df._37(335544320,85,{_placeholderChild:0}),Df._37(335544320,86,{_labelChild:0}),Df._37(603979776,87,{_errorChildren:1}),Df._37(603979776,88,{_hintChildren:1}),Df._37(603979776,89,{_prefixChildren:1}),Df._37(603979776,90,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(82,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","other_family_relationship_id"],["placeholder","Relation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,87)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,87)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,87)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(84,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(86,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(87,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,91,{options:1}),Df._37(603979776,92,{optionGroups:1}),Df._37(335544320,93,{customTrigger:0}),Df._36(2048,[[84,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,wu)),Df._17(94,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(98,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(99,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,94,{_control:0}),Df._37(335544320,95,{_placeholderChild:0}),Df._37(335544320,96,{_labelChild:0}),Df._37(603979776,97,{_errorChildren:1}),Df._37(603979776,98,{_hintChildren:1}),Df._37(603979776,99,{_prefixChildren:1}),Df._37(603979776,100,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(108,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","relation_to_id"],["placeholder","Relation To"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,113)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,113)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,113)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(110,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(112,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(113,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,101,{options:1}),Df._37(603979776,102,{optionGroups:1}),Df._37(335544320,103,{customTrigger:0}),Df._36(2048,[[94,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Fu)),Df._17(120,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(124,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(125,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,104,{_control:0}),Df._37(335544320,105,{_placeholderChild:0}),Df._37(335544320,106,{_labelChild:0}),Df._37(603979776,107,{_errorChildren:1}),Df._37(603979776,108,{_hintChildren:1}),Df._37(603979776,109,{_prefixChildren:1}),Df._37(603979776,110,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(134,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","relationship_with_company_id"],["placeholder","Relation With Company"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,139)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,139)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,139)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(136,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(138,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(139,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,111,{options:1}),Df._37(603979776,112,{optionGroups:1}),Df._37(335544320,113,{customTrigger:0}),Df._36(2048,[[104,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,xu)),Df._17(146,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(150,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(151,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,114,{_control:0}),Df._37(335544320,115,{_placeholderChild:0}),Df._37(335544320,116,{_labelChild:0}),Df._37(603979776,117,{_errorChildren:1}),Df._37(603979776,118,{_hintChildren:1}),Df._37(603979776,119,{_prefixChildren:1}),Df._37(603979776,120,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(160,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","started_business"],["placeholder","Started Business"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,164)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,164)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,164)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(161,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(163,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(164,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,121,{options:1}),Df._37(603979776,122,{optionGroups:1}),Df._37(335544320,123,{customTrigger:0}),Df._36(2048,[[114,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(171,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value",""]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,172)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,172)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(172,8437760,[[121,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(175,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,176)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,176)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(176,8437760,[[121,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(179,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,180)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,180)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(180,8437760,[[121,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(186,0,null,1,12,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(187,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,124,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(190,0,null,null,7,"ion-col",[["class","col"],["col-6",""],["offset-3",""]],null,null,null,null,null)),Df._17(191,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(193,0,null,null,3,"button",[["clear",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletePersonRelationship(l.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(194,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(195,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),Df._17(196,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,8,0,e.step==n.context.index);l(n,38,0,"family_member_salutation");l(n,41,0,"Title");l(n,48,0,e.titleData);l(n,65,0,"family_member_name");l(n,68,0,"Name");l(n,84,0,"other_family_relationship_id");l(n,87,0,"Relation");l(n,94,0,e.relationData);l(n,110,0,"relation_to_id");l(n,113,0,"Relation To");l(n,120,0,e.applicants);l(n,136,0,"relationship_with_company_id");l(n,139,0,"Relation With Company");l(n,146,0,e.companyRelationShipList);l(n,161,0,"started_business");l(n,164,0,"Started Business");l(n,172,0,"");l(n,176,0,"yes");l(n,180,0,"no");l(n,194,0,"");l(n,196,0,"optblue","md-trash")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,6,0,Df._32(n,8).expanded,Df._32(n,8)._hasSpacing());l(n,11,0,Df._32(n,12).panel._headerId,Df._32(n,12).panel.disabled?-1:0,Df._32(n,12)._getPanelId(),Df._32(n,12)._isExpanded(),Df._32(n,12).panel.disabled,Df._32(n,12)._isExpanded(),l(n,14,0,Df._32(n,12)._getExpandedState(),l(n,13,0,Df._32(n,12).collapsedHeight,Df._32(n,12).expandedHeight)));l(n,20,0,n.context.index+1);l(n,26,1,[Df._32(n,27)._control.errorState,Df._32(n,27)._control.errorState,Df._32(n,27)._canLabelFloat,Df._32(n,27)._shouldLabelFloat(),Df._32(n,27)._hideControlPlaceholder(),Df._32(n,27)._control.disabled,Df._32(n,27)._control.focused,"primary"==Df._32(n,27).color,"accent"==Df._32(n,27).color,"warn"==Df._32(n,27).color,Df._32(n,27)._shouldForward("untouched"),Df._32(n,27)._shouldForward("touched"),Df._32(n,27)._shouldForward("pristine"),Df._32(n,27)._shouldForward("dirty"),Df._32(n,27)._shouldForward("valid"),Df._32(n,27)._shouldForward("invalid"),Df._32(n,27)._shouldForward("pending")]);l(n,36,1,[Df._32(n,40).ngClassUntouched,Df._32(n,40).ngClassTouched,Df._32(n,40).ngClassPristine,Df._32(n,40).ngClassDirty,Df._32(n,40).ngClassValid,Df._32(n,40).ngClassInvalid,Df._32(n,40).ngClassPending,Df._32(n,41).id,Df._32(n,41).tabIndex,Df._32(n,41)._ariaLabel,Df._32(n,41).ariaLabelledby,Df._32(n,41).required.toString(),Df._32(n,41).disabled.toString(),Df._32(n,41).errorState,Df._32(n,41).panelOpen?Df._32(n,41)._optionIds:null,Df._32(n,41).multiple,Df._32(n,41)._ariaDescribedby||null,Df._32(n,41)._getAriaActiveDescendant(),Df._32(n,41).disabled,Df._32(n,41).errorState,Df._32(n,41).required]);l(n,52,1,[Df._32(n,53)._control.errorState,Df._32(n,53)._control.errorState,Df._32(n,53)._canLabelFloat,Df._32(n,53)._shouldLabelFloat(),Df._32(n,53)._hideControlPlaceholder(),Df._32(n,53)._control.disabled,Df._32(n,53)._control.focused,"primary"==Df._32(n,53).color,"accent"==Df._32(n,53).color,"warn"==Df._32(n,53).color,Df._32(n,53)._shouldForward("untouched"),Df._32(n,53)._shouldForward("touched"),Df._32(n,53)._shouldForward("pristine"),Df._32(n,53)._shouldForward("dirty"),Df._32(n,53)._shouldForward("valid"),Df._32(n,53)._shouldForward("invalid"),Df._32(n,53)._shouldForward("pending")]);l(n,62,1,[Df._32(n,67).ngClassUntouched,Df._32(n,67).ngClassTouched,Df._32(n,67).ngClassPristine,Df._32(n,67).ngClassDirty,Df._32(n,67).ngClassValid,Df._32(n,67).ngClassInvalid,Df._32(n,67).ngClassPending,Df._32(n,68)._isServer,Df._32(n,68).id,Df._32(n,68).placeholder,Df._32(n,68).disabled,Df._32(n,68).required,Df._32(n,68).readonly,Df._32(n,68)._ariaDescribedby||null,Df._32(n,68).errorState,Df._32(n,68).required.toString()]);l(n,72,1,[Df._32(n,73)._control.errorState,Df._32(n,73)._control.errorState,Df._32(n,73)._canLabelFloat,Df._32(n,73)._shouldLabelFloat(),Df._32(n,73)._hideControlPlaceholder(),Df._32(n,73)._control.disabled,Df._32(n,73)._control.focused,"primary"==Df._32(n,73).color,"accent"==Df._32(n,73).color,"warn"==Df._32(n,73).color,Df._32(n,73)._shouldForward("untouched"),Df._32(n,73)._shouldForward("touched"),Df._32(n,73)._shouldForward("pristine"),Df._32(n,73)._shouldForward("dirty"),Df._32(n,73)._shouldForward("valid"),Df._32(n,73)._shouldForward("invalid"),Df._32(n,73)._shouldForward("pending")]);l(n,82,1,[Df._32(n,86).ngClassUntouched,Df._32(n,86).ngClassTouched,Df._32(n,86).ngClassPristine,Df._32(n,86).ngClassDirty,Df._32(n,86).ngClassValid,Df._32(n,86).ngClassInvalid,Df._32(n,86).ngClassPending,Df._32(n,87).id,Df._32(n,87).tabIndex,Df._32(n,87)._ariaLabel,Df._32(n,87).ariaLabelledby,Df._32(n,87).required.toString(),Df._32(n,87).disabled.toString(),Df._32(n,87).errorState,Df._32(n,87).panelOpen?Df._32(n,87)._optionIds:null,Df._32(n,87).multiple,Df._32(n,87)._ariaDescribedby||null,Df._32(n,87)._getAriaActiveDescendant(),Df._32(n,87).disabled,Df._32(n,87).errorState,Df._32(n,87).required]);l(n,98,1,[Df._32(n,99)._control.errorState,Df._32(n,99)._control.errorState,Df._32(n,99)._canLabelFloat,Df._32(n,99)._shouldLabelFloat(),Df._32(n,99)._hideControlPlaceholder(),Df._32(n,99)._control.disabled,Df._32(n,99)._control.focused,"primary"==Df._32(n,99).color,"accent"==Df._32(n,99).color,"warn"==Df._32(n,99).color,Df._32(n,99)._shouldForward("untouched"),Df._32(n,99)._shouldForward("touched"),Df._32(n,99)._shouldForward("pristine"),Df._32(n,99)._shouldForward("dirty"),Df._32(n,99)._shouldForward("valid"),Df._32(n,99)._shouldForward("invalid"),Df._32(n,99)._shouldForward("pending")]);l(n,108,1,[Df._32(n,112).ngClassUntouched,Df._32(n,112).ngClassTouched,Df._32(n,112).ngClassPristine,Df._32(n,112).ngClassDirty,Df._32(n,112).ngClassValid,Df._32(n,112).ngClassInvalid,Df._32(n,112).ngClassPending,Df._32(n,113).id,Df._32(n,113).tabIndex,Df._32(n,113)._ariaLabel,Df._32(n,113).ariaLabelledby,Df._32(n,113).required.toString(),Df._32(n,113).disabled.toString(),Df._32(n,113).errorState,Df._32(n,113).panelOpen?Df._32(n,113)._optionIds:null,Df._32(n,113).multiple,Df._32(n,113)._ariaDescribedby||null,Df._32(n,113)._getAriaActiveDescendant(),Df._32(n,113).disabled,Df._32(n,113).errorState,Df._32(n,113).required]);l(n,124,1,[Df._32(n,125)._control.errorState,Df._32(n,125)._control.errorState,Df._32(n,125)._canLabelFloat,Df._32(n,125)._shouldLabelFloat(),Df._32(n,125)._hideControlPlaceholder(),Df._32(n,125)._control.disabled,Df._32(n,125)._control.focused,"primary"==Df._32(n,125).color,"accent"==Df._32(n,125).color,"warn"==Df._32(n,125).color,Df._32(n,125)._shouldForward("untouched"),Df._32(n,125)._shouldForward("touched"),Df._32(n,125)._shouldForward("pristine"),Df._32(n,125)._shouldForward("dirty"),Df._32(n,125)._shouldForward("valid"),Df._32(n,125)._shouldForward("invalid"),Df._32(n,125)._shouldForward("pending")]);l(n,134,1,[Df._32(n,138).ngClassUntouched,Df._32(n,138).ngClassTouched,Df._32(n,138).ngClassPristine,Df._32(n,138).ngClassDirty,Df._32(n,138).ngClassValid,Df._32(n,138).ngClassInvalid,Df._32(n,138).ngClassPending,Df._32(n,139).id,Df._32(n,139).tabIndex,Df._32(n,139)._ariaLabel,Df._32(n,139).ariaLabelledby,Df._32(n,139).required.toString(),Df._32(n,139).disabled.toString(),Df._32(n,139).errorState,Df._32(n,139).panelOpen?Df._32(n,139)._optionIds:null,Df._32(n,139).multiple,Df._32(n,139)._ariaDescribedby||null,Df._32(n,139)._getAriaActiveDescendant(),Df._32(n,139).disabled,Df._32(n,139).errorState,Df._32(n,139).required]);l(n,150,1,[Df._32(n,151)._control.errorState,Df._32(n,151)._control.errorState,Df._32(n,151)._canLabelFloat,Df._32(n,151)._shouldLabelFloat(),Df._32(n,151)._hideControlPlaceholder(),Df._32(n,151)._control.disabled,Df._32(n,151)._control.focused,"primary"==Df._32(n,151).color,"accent"==Df._32(n,151).color,"warn"==Df._32(n,151).color,Df._32(n,151)._shouldForward("untouched"),Df._32(n,151)._shouldForward("touched"),Df._32(n,151)._shouldForward("pristine"),Df._32(n,151)._shouldForward("dirty"),Df._32(n,151)._shouldForward("valid"),Df._32(n,151)._shouldForward("invalid"),Df._32(n,151)._shouldForward("pending")]);l(n,160,1,[Df._32(n,163).ngClassUntouched,Df._32(n,163).ngClassTouched,Df._32(n,163).ngClassPristine,Df._32(n,163).ngClassDirty,Df._32(n,163).ngClassValid,Df._32(n,163).ngClassInvalid,Df._32(n,163).ngClassPending,Df._32(n,164).id,Df._32(n,164).tabIndex,Df._32(n,164)._ariaLabel,Df._32(n,164).ariaLabelledby,Df._32(n,164).required.toString(),Df._32(n,164).disabled.toString(),Df._32(n,164).errorState,Df._32(n,164).panelOpen?Df._32(n,164)._optionIds:null,Df._32(n,164).multiple,Df._32(n,164)._ariaDescribedby||null,Df._32(n,164)._getAriaActiveDescendant(),Df._32(n,164).disabled,Df._32(n,164).errorState,Df._32(n,164).required]);l(n,171,0,Df._32(n,172)._getTabIndex(),Df._32(n,172).selected,Df._32(n,172).multiple,Df._32(n,172).active,Df._32(n,172).id,Df._32(n,172).selected.toString(),Df._32(n,172).disabled.toString(),Df._32(n,172).disabled);l(n,175,0,Df._32(n,176)._getTabIndex(),Df._32(n,176).selected,Df._32(n,176).multiple,Df._32(n,176).active,Df._32(n,176).id,Df._32(n,176).selected.toString(),Df._32(n,176).disabled.toString(),Df._32(n,176).disabled);l(n,179,0,Df._32(n,180)._getTabIndex(),Df._32(n,180).selected,Df._32(n,180).multiple,Df._32(n,180).active,Df._32(n,180).id,Df._32(n,180).selected.toString(),Df._32(n,180).disabled.toString(),Df._32(n,180).disabled);l(n,195,0,Df._32(n,196)._hidden)})}function Iu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,13,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["formControlName","exist_status"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.changeBusinessActivity(l.context.$implicit)&&u}return u},rC.b,rC.a)),Df._17(6,4374528,null,0,_C.b,[Df.p,Df.i,yy.j,[8,null],[2,_C.a]],{color:[0,"color"]},null),Df._36(1024,null,Jf.q,function(l){return[l]},[_C.b]),Df._17(8,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(10,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(11,0,["",""])),Df._35(12,1),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"primary");l(n,8,0,"exist_status")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6).id,Df._32(n,6).indeterminate,Df._32(n,6).checked,Df._32(n,6).disabled,"before"==Df._32(n,6).labelPosition,Df._32(n,10).ngClassUntouched,Df._32(n,10).ngClassTouched,Df._32(n,10).ngClassPristine,Df._32(n,10).ngClassDirty,Df._32(n,10).ngClassValid,Df._32(n,10).ngClassInvalid,Df._32(n,10).ngClassPending]);l(n,11,0,Df._40(n,11,0,l(n,12,0,Df._32(n.parent,0),n.context.$implicit.controls.name.value)))})}function qu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,142,{_control:0}),Df._37(335544320,143,{_placeholderChild:0}),Df._37(335544320,144,{_labelChild:0}),Df._37(603979776,145,{_errorChildren:1}),Df._37(603979776,146,{_hintChildren:1}),Df._37(603979776,147,{_prefixChildren:1}),Df._37(603979776,148,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(1,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},TC.b,TC.a)),Df._17(11,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(13,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(14,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,149,{options:1}),Df._37(603979776,150,{optionGroups:1}),Df._37(335544320,151,{customTrigger:0}),Df._36(2048,[[142,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(22,8437760,[[149,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(26,8437760,[[149,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"pan_india_options");l(n,14,0,"Is PAN India");l(n,22,0,"Yes");l(n,26,0,"No")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending,Df._32(n,14).id,Df._32(n,14).tabIndex,Df._32(n,14)._ariaLabel,Df._32(n,14).ariaLabelledby,Df._32(n,14).required.toString(),Df._32(n,14).disabled.toString(),Df._32(n,14).errorState,Df._32(n,14).panelOpen?Df._32(n,14)._optionIds:null,Df._32(n,14).multiple,Df._32(n,14)._ariaDescribedby||null,Df._32(n,14)._getAriaActiveDescendant(),Df._32(n,14).disabled,Df._32(n,14).errorState,Df._32(n,14).required]);l(n,21,0,Df._32(n,22)._getTabIndex(),Df._32(n,22).selected,Df._32(n,22).multiple,Df._32(n,22).active,Df._32(n,22).id,Df._32(n,22).selected.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).disabled);l(n,25,0,Df._32(n,26)._getTabIndex(),Df._32(n,26).selected,Df._32(n,26).multiple,Df._32(n,26).active,Df._32(n,26).id,Df._32(n,26).selected.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).disabled)})}function ku(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[159,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Pu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[169,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Du(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeState(l.parent.parent.parent.parent.context.index,l.parent.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,1,0,"");l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Tu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,59,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,152,{_control:0}),Df._37(335544320,153,{_placeholderChild:0}),Df._37(335544320,154,{_labelChild:0}),Df._37(603979776,155,{_errorChildren:1}),Df._37(603979776,156,{_hintChildren:1}),Df._37(603979776,157,{_prefixChildren:1}),Df._37(603979776,158,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,17)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,17)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,17)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,159,{options:1}),Df._37(603979776,160,{optionGroups:1}),Df._37(335544320,161,{customTrigger:0}),Df._36(2048,[[152,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ku)),Df._17(24,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(28,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(29,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,162,{_control:0}),Df._37(335544320,163,{_placeholderChild:0}),Df._37(335544320,164,{_labelChild:0}),Df._37(603979776,165,{_errorChildren:1}),Df._37(603979776,166,{_hintChildren:1}),Df._37(603979776,167,{_prefixChildren:1}),Df._37(603979776,168,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(38,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,45)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,45)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,45)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(40,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(42,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(44,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(45,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),Df._37(603979776,169,{options:1}),Df._37(603979776,170,{optionGroups:1}),Df._37(335544320,171,{customTrigger:0}),Df._36(2048,[[162,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Pu)),Df._17(52,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Du)),Df._17(57,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._18(58,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"state_name");l(n,17,0,"State");l(n,24,0,e.stateList);l(n,40,0,"");l(n,42,0,"city_name");l(n,45,0,"City","","");l(n,52,0,e.filterCity(e.stateList,n.parent.context.$implicit.value.state_name));l(n,57,0,n.parent.context.index>0)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17).id,Df._32(n,17).tabIndex,Df._32(n,17)._ariaLabel,Df._32(n,17).ariaLabelledby,Df._32(n,17).required.toString(),Df._32(n,17).disabled.toString(),Df._32(n,17).errorState,Df._32(n,17).panelOpen?Df._32(n,17)._optionIds:null,Df._32(n,17).multiple,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17)._getAriaActiveDescendant(),Df._32(n,17).disabled,Df._32(n,17).errorState,Df._32(n,17).required]);l(n,28,1,[Df._32(n,29)._control.errorState,Df._32(n,29)._control.errorState,Df._32(n,29)._canLabelFloat,Df._32(n,29)._shouldLabelFloat(),Df._32(n,29)._hideControlPlaceholder(),Df._32(n,29)._control.disabled,Df._32(n,29)._control.focused,"primary"==Df._32(n,29).color,"accent"==Df._32(n,29).color,"warn"==Df._32(n,29).color,Df._32(n,29)._shouldForward("untouched"),Df._32(n,29)._shouldForward("touched"),Df._32(n,29)._shouldForward("pristine"),Df._32(n,29)._shouldForward("dirty"),Df._32(n,29)._shouldForward("valid"),Df._32(n,29)._shouldForward("invalid"),Df._32(n,29)._shouldForward("pending")]);l(n,38,1,[Df._32(n,40).required?"":null,Df._32(n,44).ngClassUntouched,Df._32(n,44).ngClassTouched,Df._32(n,44).ngClassPristine,Df._32(n,44).ngClassDirty,Df._32(n,44).ngClassValid,Df._32(n,44).ngClassInvalid,Df._32(n,44).ngClassPending,Df._32(n,45).id,Df._32(n,45).tabIndex,Df._32(n,45)._ariaLabel,Df._32(n,45).ariaLabelledby,Df._32(n,45).required.toString(),Df._32(n,45).disabled.toString(),Df._32(n,45).errorState,Df._32(n,45).panelOpen?Df._32(n,45)._optionIds:null,Df._32(n,45).multiple,Df._32(n,45)._ariaDescribedby||null,Df._32(n,45)._getAriaActiveDescendant(),Df._32(n,45).disabled,Df._32(n,45).errorState,Df._32(n,45).required])})}function Ou(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Tu)),Df._17(6,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending)})}function Lu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.context.index,1)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More State"]))],function(l,n){l(n,1,0,"optblue")},null)}function Au(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[179,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Vu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[189,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ju(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,182,{_control:0}),Df._37(335544320,183,{_placeholderChild:0}),Df._37(335544320,184,{_labelChild:0}),Df._37(603979776,185,{_errorChildren:1}),Df._37(603979776,186,{_hintChildren:1}),Df._37(603979776,187,{_prefixChildren:1}),Df._37(603979776,188,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[184,4]],0,fy.f,[],null,null),(l()(),Df._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,19)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,189,{options:1}),Df._37(603979776,190,{optionGroups:1}),Df._37(335544320,191,{customTrigger:0}),Df._36(2048,[[182,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Vu)),Df._17(26,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19).id,Df._32(n,19).tabIndex,Df._32(n,19)._ariaLabel,Df._32(n,19).ariaLabelledby,Df._32(n,19).required.toString(),Df._32(n,19).disabled.toString(),Df._32(n,19).errorState,Df._32(n,19).panelOpen?Df._32(n,19)._optionIds:null,Df._32(n,19).multiple,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19)._getAriaActiveDescendant(),Df._32(n,19).disabled,Df._32(n,19).errorState,Df._32(n,19).required])})}function Nu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,172,{_control:0}),Df._37(335544320,173,{_placeholderChild:0}),Df._37(335544320,174,{_labelChild:0}),Df._37(603979776,175,{_errorChildren:1}),Df._37(603979776,176,{_hintChildren:1}),Df._37(603979776,177,{_prefixChildren:1}),Df._37(603979776,178,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[174,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["States Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,179,{options:1}),Df._37(603979776,180,{optionGroups:1}),Df._37(335544320,181,{customTrigger:0}),Df._36(2048,[[172,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Au)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ju)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required])})}function Wu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Nu)),Df._17(6,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending)})}function Eu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,12,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ou)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,[" "])),(l()(),Df._13(16777216,null,null,1,null,Lu)),Df._17(13,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Wu)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,13,0,"No"==n.parent.context.$implicit.value.pan_india_options);l(n,17,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function Ru(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[199,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Uu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,1,0,"");l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function $u(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,60,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,192,{_control:0}),Df._37(335544320,193,{_placeholderChild:0}),Df._37(335544320,194,{_labelChild:0}),Df._37(603979776,195,{_errorChildren:1}),Df._37(603979776,196,{_hintChildren:1}),Df._37(603979776,197,{_prefixChildren:1}),Df._37(603979776,198,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[194,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,199,{options:1}),Df._37(603979776,200,{optionGroups:1}),Df._37(335544320,201,{customTrigger:0}),Df._36(2048,[[192,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ru)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(36,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,202,{_control:0}),Df._37(335544320,203,{_placeholderChild:0}),Df._37(335544320,204,{_labelChild:0}),Df._37(603979776,205,{_errorChildren:1}),Df._37(603979776,206,{_hintChildren:1}),Df._37(603979776,207,{_prefixChildren:1}),Df._37(603979776,208,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(45,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,46)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,47).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,47).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,47).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,54)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,54)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,54)._onInput()&&u}return u},null,null)),Df._17(46,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(47,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(48,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(51,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(53,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(54,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[202,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Uu)),Df._17(59,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,31,0,e.countryDataList);l(n,48,0,"");l(n,51,0,"approx_sale");l(n,54,0,"Approx % of Sale","","number");l(n,59,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required]);l(n,35,1,[Df._32(n,36)._control.errorState,Df._32(n,36)._control.errorState,Df._32(n,36)._canLabelFloat,Df._32(n,36)._shouldLabelFloat(),Df._32(n,36)._hideControlPlaceholder(),Df._32(n,36)._control.disabled,Df._32(n,36)._control.focused,"primary"==Df._32(n,36).color,"accent"==Df._32(n,36).color,"warn"==Df._32(n,36).color,Df._32(n,36)._shouldForward("untouched"),Df._32(n,36)._shouldForward("touched"),Df._32(n,36)._shouldForward("pristine"),Df._32(n,36)._shouldForward("dirty"),Df._32(n,36)._shouldForward("valid"),Df._32(n,36)._shouldForward("invalid"),Df._32(n,36)._shouldForward("pending")]);l(n,45,1,[Df._32(n,48).required?"":null,Df._32(n,53).ngClassUntouched,Df._32(n,53).ngClassTouched,Df._32(n,53).ngClassPristine,Df._32(n,53).ngClassDirty,Df._32(n,53).ngClassValid,Df._32(n,53).ngClassInvalid,Df._32(n,53).ngClassPending,Df._32(n,54)._isServer,Df._32(n,54).id,Df._32(n,54).placeholder,Df._32(n,54).disabled,Df._32(n,54).required,Df._32(n,54).readonly,Df._32(n,54)._ariaDescribedby||null,Df._32(n,54).errorState,Df._32(n,54).required.toString()])})}function Bu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,14,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,11,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,$u)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.context.index,2)&&u}return u},Vy.b,Vy.a)),Df._17(11,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More Country"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,11,0,"optblue")},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function Mu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,209,{_control:0}),Df._37(335544320,210,{_placeholderChild:0}),Df._37(335544320,211,{_labelChild:0}),Df._37(603979776,212,{_errorChildren:1}),Df._37(603979776,213,{_hintChildren:1}),Df._37(603979776,214,{_prefixChildren:1}),Df._37(603979776,215,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(1,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},TC.b,TC.a)),Df._17(11,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,216,{options:1}),Df._37(603979776,217,{optionGroups:1}),Df._37(335544320,218,{customTrigger:0}),Df._36(2048,[[209,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(24,8437760,[[216,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,28)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(28,8437760,[[216,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,11).required?"":null,Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required]);l(n,23,0,Df._32(n,24)._getTabIndex(),Df._32(n,24).selected,Df._32(n,24).multiple,Df._32(n,24).active,Df._32(n,24).id,Df._32(n,24).selected.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).disabled);l(n,27,0,Df._32(n,28)._getTabIndex(),Df._32(n,28).selected,Df._32(n,28).multiple,Df._32(n,28).active,Df._32(n,28).id,Df._32(n,28).selected.toString(),Df._32(n,28).disabled.toString(),Df._32(n,28).disabled)})}function Ku(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[226,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Hu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[236,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Gu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,65,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:34%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,219,{_control:0}),Df._37(335544320,220,{_placeholderChild:0}),Df._37(335544320,221,{_labelChild:0}),Df._37(603979776,222,{_errorChildren:1}),Df._37(603979776,223,{_hintChildren:1}),Df._37(603979776,224,{_prefixChildren:1}),Df._37(603979776,225,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,22)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(17,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,226,{options:1}),Df._37(603979776,227,{optionGroups:1}),Df._37(335544320,228,{customTrigger:0}),Df._36(2048,[[219,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ku)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:45%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(34,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,229,{_control:0}),Df._37(335544320,230,{_placeholderChild:0}),Df._37(335544320,231,{_labelChild:0}),Df._37(603979776,232,{_errorChildren:1}),Df._37(603979776,233,{_hintChildren:1}),Df._37(603979776,234,{_prefixChildren:1}),Df._37(603979776,235,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,50)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(45,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),Df._37(603979776,236,{options:1}),Df._37(603979776,237,{optionGroups:1}),Df._37(335544320,238,{customTrigger:0}),Df._36(2048,[[229,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Hu)),Df._17(57,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(61,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeState(l.parent.parent.context.index,l.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(62,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(63,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),Df._17(64,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"State","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,"");l(n,64,0,"optblue","md-trash")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,17).required?"":null,Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22).id,Df._32(n,22).tabIndex,Df._32(n,22)._ariaLabel,Df._32(n,22).ariaLabelledby,Df._32(n,22).required.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).errorState,Df._32(n,22).panelOpen?Df._32(n,22)._optionIds:null,Df._32(n,22).multiple,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22)._getAriaActiveDescendant(),Df._32(n,22).disabled,Df._32(n,22).errorState,Df._32(n,22).required]);l(n,33,1,[Df._32(n,34)._control.errorState,Df._32(n,34)._control.errorState,Df._32(n,34)._canLabelFloat,Df._32(n,34)._shouldLabelFloat(),Df._32(n,34)._hideControlPlaceholder(),Df._32(n,34)._control.disabled,Df._32(n,34)._control.focused,"primary"==Df._32(n,34).color,"accent"==Df._32(n,34).color,"warn"==Df._32(n,34).color,Df._32(n,34)._shouldForward("untouched"),Df._32(n,34)._shouldForward("touched"),Df._32(n,34)._shouldForward("pristine"),Df._32(n,34)._shouldForward("dirty"),Df._32(n,34)._shouldForward("valid"),Df._32(n,34)._shouldForward("invalid"),Df._32(n,34)._shouldForward("pending")]);l(n,43,1,[Df._32(n,45).required?"":null,Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50).id,Df._32(n,50).tabIndex,Df._32(n,50)._ariaLabel,Df._32(n,50).ariaLabelledby,Df._32(n,50).required.toString(),Df._32(n,50).disabled.toString(),Df._32(n,50).errorState,Df._32(n,50).panelOpen?Df._32(n,50)._optionIds:null,Df._32(n,50).multiple,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50)._getAriaActiveDescendant(),Df._32(n,50).disabled,Df._32(n,50).errorState,Df._32(n,50).required]);l(n,63,0,Df._32(n,64)._hidden)})}function Yu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.parent.context.index,1)&&u}return u},Vy.b,Vy.a)),Df._17(3,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More State"])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function zu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[246,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Qu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[256,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ju(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:84%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,249,{_control:0}),Df._37(335544320,250,{_placeholderChild:0}),Df._37(335544320,251,{_labelChild:0}),Df._37(603979776,252,{_errorChildren:1}),Df._37(603979776,253,{_hintChildren:1}),Df._37(603979776,254,{_prefixChildren:1}),Df._37(603979776,255,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[251,4]],0,fy.f,[],null,null),(l()(),Df._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,19)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,256,{options:1}),Df._37(603979776,257,{optionGroups:1}),Df._37(335544320,258,{customTrigger:0}),Df._36(2048,[[249,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Qu)),Df._17(26,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19).id,Df._32(n,19).tabIndex,Df._32(n,19)._ariaLabel,Df._32(n,19).ariaLabelledby,Df._32(n,19).required.toString(),Df._32(n,19).disabled.toString(),Df._32(n,19).errorState,Df._32(n,19).panelOpen?Df._32(n,19)._optionIds:null,Df._32(n,19).multiple,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19)._getAriaActiveDescendant(),Df._32(n,19).disabled,Df._32(n,19).errorState,Df._32(n,19).required])})}function Xu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,239,{_control:0}),Df._37(335544320,240,{_placeholderChild:0}),Df._37(335544320,241,{_labelChild:0}),Df._37(603979776,242,{_errorChildren:1}),Df._37(603979776,243,{_hintChildren:1}),Df._37(603979776,244,{_prefixChildren:1}),Df._37(603979776,245,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[241,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["States Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,246,{options:1}),Df._37(603979776,247,{optionGroups:1}),Df._37(335544320,248,{customTrigger:0}),Df._36(2048,[[239,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,zu)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ju)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required])})}function Zu(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[266,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function lt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,61,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,259,{_control:0}),Df._37(335544320,260,{_placeholderChild:0}),Df._37(335544320,261,{_labelChild:0}),Df._37(603979776,262,{_errorChildren:1}),Df._37(603979776,263,{_hintChildren:1}),Df._37(603979776,264,{_prefixChildren:1}),Df._37(603979776,265,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[261,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,266,{options:1}),Df._37(603979776,267,{optionGroups:1}),Df._37(335544320,268,{customTrigger:0}),Df._36(2048,[[259,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Zu)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(36,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,269,{_control:0}),Df._37(335544320,270,{_placeholderChild:0}),Df._37(335544320,271,{_labelChild:0}),Df._37(603979776,272,{_errorChildren:1}),Df._37(603979776,273,{_hintChildren:1}),Df._37(603979776,274,{_prefixChildren:1}),Df._37(603979776,275,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,53)._onInput()&&u}return u},null,null)),Df._17(46,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(47,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(50,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(52,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(53,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[269,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(57,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.removeState(l.parent.parent.context.index,t.mx,"2")&&u}return u},Vy.b,Vy.a)),Df._17(58,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(59,0,null,0,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size:22px"]],[[2,"hide",null]],null,null,null,null)),Df._17(60,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n \n \n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Sale","");l(n,58,0,"");l(n,60,0,"optblue","md-trash")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required]);l(n,35,1,[Df._32(n,36)._control.errorState,Df._32(n,36)._control.errorState,Df._32(n,36)._canLabelFloat,Df._32(n,36)._shouldLabelFloat(),Df._32(n,36)._hideControlPlaceholder(),Df._32(n,36)._control.disabled,Df._32(n,36)._control.focused,"primary"==Df._32(n,36).color,"accent"==Df._32(n,36).color,"warn"==Df._32(n,36).color,Df._32(n,36)._shouldForward("untouched"),Df._32(n,36)._shouldForward("touched"),Df._32(n,36)._shouldForward("pristine"),Df._32(n,36)._shouldForward("dirty"),Df._32(n,36)._shouldForward("valid"),Df._32(n,36)._shouldForward("invalid"),Df._32(n,36)._shouldForward("pending")]);l(n,45,1,[Df._32(n,47).required?"":null,Df._32(n,52).ngClassUntouched,Df._32(n,52).ngClassTouched,Df._32(n,52).ngClassPristine,Df._32(n,52).ngClassDirty,Df._32(n,52).ngClassValid,Df._32(n,52).ngClassInvalid,Df._32(n,52).ngClassPending,Df._32(n,53)._isServer,Df._32(n,53).id,Df._32(n,53).placeholder,Df._32(n,53).disabled,Df._32(n,53).required,Df._32(n,53).readonly,Df._32(n,53)._ariaDescribedby||null,Df._32(n,53).errorState,Df._32(n,53).required.toString()]);l(n,59,0,Df._32(n,60)._hidden)})}function nt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,50,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Within India"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Mu)),Df._17(8,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(12,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(14,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Gu)),Df._17(17,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Yu)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n \n \n "])),(l()(),Df._18(23,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(24,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(26,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Xu)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Export"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(36,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(38,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,lt)),Df._17(41,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(44,0,null,null,5,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(46,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreState(l.parent.context.index,2)&&u}return u},Vy.b,Vy.a)),Df._17(47,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More Country"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,20,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,24,0,"max_sale_state_name");l(n,29,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,36,0,"countries_where_export_done");l(n,41,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,47,0,"optblue")},function(l,n){l(n,11,0,Df._32(n,14).ngClassUntouched,Df._32(n,14).ngClassTouched,Df._32(n,14).ngClassPristine,Df._32(n,14).ngClassDirty,Df._32(n,14).ngClassValid,Df._32(n,14).ngClassInvalid,Df._32(n,14).ngClassPending);l(n,23,0,Df._32(n,26).ngClassUntouched,Df._32(n,26).ngClassTouched,Df._32(n,26).ngClassPristine,Df._32(n,26).ngClassDirty,Df._32(n,26).ngClassValid,Df._32(n,26).ngClassInvalid,Df._32(n,26).ngClassPending);l(n,35,0,Df._32(n,38).ngClassUntouched,Df._32(n,38).ngClassTouched,Df._32(n,38).ngClassPristine,Df._32(n,38).ngClassDirty,Df._32(n,38).ngClassValid,Df._32(n,38).ngClassInvalid,Df._32(n,38).ngClassPending)})}function et(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,8,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreManufacturing()&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(5,0,null,0,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._18(7,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,6,0,"optblue","add-circle")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function ut(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,115,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(6,null,["Manufacturing Details ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(9,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,125,{_control:0}),Df._37(335544320,126,{_placeholderChild:0}),Df._37(335544320,127,{_labelChild:0}),Df._37(603979776,128,{_errorChildren:1}),Df._37(603979776,129,{_hintChildren:1}),Df._37(603979776,130,{_prefixChildren:1}),Df._37(603979776,131,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(18,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Main Product"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,24)._onInput()&&u}return u},null,null)),Df._17(19,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[125,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(28,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(29,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,132,{_control:0}),Df._37(335544320,133,{_placeholderChild:0}),Df._37(335544320,134,{_labelChild:0}),Df._37(603979776,135,{_errorChildren:1}),Df._37(603979776,136,{_hintChildren:1}),Df._37(603979776,137,{_prefixChildren:1}),Df._37(603979776,138,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(38,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Sale"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,42)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,42)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,42)._onBlur()&&u}if("selectionChange"===n){t.changeManufacturingAreaSale(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"MActivity",l.context.index)&&u}return u},TC.b,TC.a)),Df._17(39,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(41,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(42,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,139,{options:1}),Df._37(603979776,140,{optionGroups:1}),Df._37(335544320,141,{customTrigger:0}),Df._36(2048,[[132,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(49,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,50)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,50)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(50,8437760,[[139,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Within India"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,54)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(54,8437760,[[139,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Export"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,58)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(58,8437760,[[139,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Both"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,qu)),Df._17(64,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Eu)),Df._17(67,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Bu)),Df._17(70,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,nt)),Df._17(73,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(75,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(76,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,276,{_control:0}),Df._37(335544320,277,{_placeholderChild:0}),Df._37(335544320,278,{_labelChild:0}),Df._37(603979776,279,{_errorChildren:1}),Df._37(603979776,280,{_hintChildren:1}),Df._37(603979776,281,{_prefixChildren:1}),Df._37(603979776,282,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(85,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(86,16384,[[278,4]],0,fy.f,[],null,null),(l()(),Df._39(87,null,["Description of "," Manufacturing Process"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(89,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,90)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,90).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,90)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,90)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,95)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,95)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,95)._onInput()&&u}return u},null,null)),Df._17(90,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(92,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(94,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(95,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[276,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(99,0,null,null,15,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(100,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,283,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(103,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(104,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(106,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeManufacturing(l.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(107,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(108,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(109,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,et)),Df._17(113,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,21,0,"main_products");l(n,24,0,"Main Product");l(n,39,0,"area_of_sale");l(n,42,0,"Area of Sale");l(n,50,0,"Within India");l(n,54,0,"Export");l(n,58,0,"Both");l(n,64,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,67,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,70,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0==n.context.$implicit.value.india_where_sale_done);l(n,73,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,92,0,"description");l(n,95,0,"Description");l(n,107,0,"optblue","");l(n,109,0,"md-trash");l(n,113,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,8,1,[Df._32(n,9)._control.errorState,Df._32(n,9)._control.errorState,Df._32(n,9)._canLabelFloat,Df._32(n,9)._shouldLabelFloat(),Df._32(n,9)._hideControlPlaceholder(),Df._32(n,9)._control.disabled,Df._32(n,9)._control.focused,"primary"==Df._32(n,9).color,"accent"==Df._32(n,9).color,"warn"==Df._32(n,9).color,Df._32(n,9)._shouldForward("untouched"),Df._32(n,9)._shouldForward("touched"),Df._32(n,9)._shouldForward("pristine"),Df._32(n,9)._shouldForward("dirty"),Df._32(n,9)._shouldForward("valid"),Df._32(n,9)._shouldForward("invalid"),Df._32(n,9)._shouldForward("pending")]);l(n,18,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24)._isServer,Df._32(n,24).id,Df._32(n,24).placeholder,Df._32(n,24).disabled,Df._32(n,24).required,Df._32(n,24).readonly,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24).errorState,Df._32(n,24).required.toString()]);l(n,28,1,[Df._32(n,29)._control.errorState,Df._32(n,29)._control.errorState,Df._32(n,29)._canLabelFloat,Df._32(n,29)._shouldLabelFloat(),Df._32(n,29)._hideControlPlaceholder(),Df._32(n,29)._control.disabled,Df._32(n,29)._control.focused,"primary"==Df._32(n,29).color,"accent"==Df._32(n,29).color,"warn"==Df._32(n,29).color,Df._32(n,29)._shouldForward("untouched"),Df._32(n,29)._shouldForward("touched"),Df._32(n,29)._shouldForward("pristine"),Df._32(n,29)._shouldForward("dirty"),Df._32(n,29)._shouldForward("valid"),Df._32(n,29)._shouldForward("invalid"),Df._32(n,29)._shouldForward("pending")]);l(n,38,1,[Df._32(n,41).ngClassUntouched,Df._32(n,41).ngClassTouched,Df._32(n,41).ngClassPristine,Df._32(n,41).ngClassDirty,Df._32(n,41).ngClassValid,Df._32(n,41).ngClassInvalid,Df._32(n,41).ngClassPending,Df._32(n,42).id,Df._32(n,42).tabIndex,Df._32(n,42)._ariaLabel,Df._32(n,42).ariaLabelledby,Df._32(n,42).required.toString(),Df._32(n,42).disabled.toString(),Df._32(n,42).errorState,Df._32(n,42).panelOpen?Df._32(n,42)._optionIds:null,Df._32(n,42).multiple,Df._32(n,42)._ariaDescribedby||null,Df._32(n,42)._getAriaActiveDescendant(),Df._32(n,42).disabled,Df._32(n,42).errorState,Df._32(n,42).required]);l(n,49,0,Df._32(n,50)._getTabIndex(),Df._32(n,50).selected,Df._32(n,50).multiple,Df._32(n,50).active,Df._32(n,50).id,Df._32(n,50).selected.toString(),Df._32(n,50).disabled.toString(),Df._32(n,50).disabled);l(n,53,0,Df._32(n,54)._getTabIndex(),Df._32(n,54).selected,Df._32(n,54).multiple,Df._32(n,54).active,Df._32(n,54).id,Df._32(n,54).selected.toString(),Df._32(n,54).disabled.toString(),Df._32(n,54).disabled);l(n,57,0,Df._32(n,58)._getTabIndex(),Df._32(n,58).selected,Df._32(n,58).multiple,Df._32(n,58).active,Df._32(n,58).id,Df._32(n,58).selected.toString(),Df._32(n,58).disabled.toString(),Df._32(n,58).disabled);l(n,75,1,[Df._32(n,76)._control.errorState,Df._32(n,76)._control.errorState,Df._32(n,76)._canLabelFloat,Df._32(n,76)._shouldLabelFloat(),Df._32(n,76)._hideControlPlaceholder(),Df._32(n,76)._control.disabled,Df._32(n,76)._control.focused,"primary"==Df._32(n,76).color,"accent"==Df._32(n,76).color,"warn"==Df._32(n,76).color,Df._32(n,76)._shouldForward("untouched"),Df._32(n,76)._shouldForward("touched"),Df._32(n,76)._shouldForward("pristine"),Df._32(n,76)._shouldForward("dirty"),Df._32(n,76)._shouldForward("valid"),Df._32(n,76)._shouldForward("invalid"),Df._32(n,76)._shouldForward("pending")]);l(n,87,0,n.context.$implicit.value.main_products);l(n,89,1,[Df._32(n,94).ngClassUntouched,Df._32(n,94).ngClassTouched,Df._32(n,94).ngClassPristine,Df._32(n,94).ngClassDirty,Df._32(n,94).ngClassValid,Df._32(n,94).ngClassInvalid,Df._32(n,94).ngClassPending,Df._32(n,95)._isServer,Df._32(n,95).id,Df._32(n,95).placeholder,Df._32(n,95).disabled,Df._32(n,95).required,Df._32(n,95).readonly,Df._32(n,95)._ariaDescribedby||null,Df._32(n,95).errorState,Df._32(n,95).required.toString()]);l(n,108,0,Df._32(n,109)._hidden)})}function tt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","manufacturing_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(4,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(7,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ut)),Df._17(10,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n \n "]))],function(l,n){var e=n.component;l(n,4,0,"manufacturing_activity_details");l(n,10,0,e.businessForm.controls.manufacturing_activity_details.controls)},function(l,n){l(n,3,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending)})}function at(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,301,{_control:0}),Df._37(335544320,302,{_placeholderChild:0}),Df._37(335544320,303,{_labelChild:0}),Df._37(603979776,304,{_errorChildren:1}),Df._37(603979776,305,{_hintChildren:1}),Df._37(603979776,306,{_prefixChildren:1}),Df._37(603979776,307,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(2,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},TC.b,TC.a)),Df._17(11,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,308,{options:1}),Df._37(603979776,309,{optionGroups:1}),Df._37(335544320,310,{customTrigger:0}),Df._36(2048,[[301,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(24,8437760,[[308,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,28)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(28,8437760,[[308,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,11).required?"":null,Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required]);l(n,23,0,Df._32(n,24)._getTabIndex(),Df._32(n,24).selected,Df._32(n,24).multiple,Df._32(n,24).active,Df._32(n,24).id,Df._32(n,24).selected.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).disabled);l(n,27,0,Df._32(n,28)._getTabIndex(),Df._32(n,28).selected,Df._32(n,28).multiple,Df._32(n,28).active,Df._32(n,28).id,Df._32(n,28).selected.toString(),Df._32(n,28).disabled.toString(),Df._32(n,28).disabled)})}function it(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[318,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function ot(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[328,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function rt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function _t(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,63,"div",[["class","state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,311,{_control:0}),Df._37(335544320,312,{_placeholderChild:0}),Df._37(335544320,313,{_labelChild:0}),Df._37(603979776,314,{_errorChildren:1}),Df._37(603979776,315,{_hintChildren:1}),Df._37(603979776,316,{_prefixChildren:1}),Df._37(603979776,317,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,22)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(17,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,318,{options:1}),Df._37(603979776,319,{optionGroups:1}),Df._37(335544320,320,{customTrigger:0}),Df._36(2048,[[311,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,it)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(34,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,321,{_control:0}),Df._37(335544320,322,{_placeholderChild:0}),Df._37(335544320,323,{_labelChild:0}),Df._37(603979776,324,{_errorChildren:1}),Df._37(603979776,325,{_hintChildren:1}),Df._37(603979776,326,{_prefixChildren:1}),Df._37(603979776,327,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,50)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(45,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),Df._37(603979776,328,{options:1}),Df._37(603979776,329,{optionGroups:1}),Df._37(335544320,330,{customTrigger:0}),Df._36(2048,[[321,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ot)),Df._17(57,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._13(16777216,null,null,1,null,rt)),Df._17(62,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"State","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,17).required?"":null,Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22).id,Df._32(n,22).tabIndex,Df._32(n,22)._ariaLabel,Df._32(n,22).ariaLabelledby,Df._32(n,22).required.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).errorState,Df._32(n,22).panelOpen?Df._32(n,22)._optionIds:null,Df._32(n,22).multiple,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22)._getAriaActiveDescendant(),Df._32(n,22).disabled,Df._32(n,22).errorState,Df._32(n,22).required]);l(n,33,1,[Df._32(n,34)._control.errorState,Df._32(n,34)._control.errorState,Df._32(n,34)._canLabelFloat,Df._32(n,34)._shouldLabelFloat(),Df._32(n,34)._hideControlPlaceholder(),Df._32(n,34)._control.disabled,Df._32(n,34)._control.focused,"primary"==Df._32(n,34).color,"accent"==Df._32(n,34).color,"warn"==Df._32(n,34).color,Df._32(n,34)._shouldForward("untouched"),Df._32(n,34)._shouldForward("touched"),Df._32(n,34)._shouldForward("pristine"),Df._32(n,34)._shouldForward("dirty"),Df._32(n,34)._shouldForward("valid"),Df._32(n,34)._shouldForward("invalid"),Df._32(n,34)._shouldForward("pending")]);l(n,43,1,[Df._32(n,45).required?"":null,Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50).id,Df._32(n,50).tabIndex,Df._32(n,50)._ariaLabel,Df._32(n,50).ariaLabelledby,Df._32(n,50).required.toString(),Df._32(n,50).disabled.toString(),Df._32(n,50).errorState,Df._32(n,50).panelOpen?Df._32(n,50)._optionIds:null,Df._32(n,50).multiple,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50)._getAriaActiveDescendant(),Df._32(n,50).disabled,Df._32(n,50).errorState,Df._32(n,50).required])})}function dt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"div",[["class","tab_class"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(3,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More Country"])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function st(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[338,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function ct(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[348,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function mt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:84%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,341,{_control:0}),Df._37(335544320,342,{_placeholderChild:0}),Df._37(335544320,343,{_labelChild:0}),Df._37(603979776,344,{_errorChildren:1}),Df._37(603979776,345,{_hintChildren:1}),Df._37(603979776,346,{_prefixChildren:1}),Df._37(603979776,347,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[343,4]],0,fy.f,[],null,null),(l()(),Df._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,19)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,348,{options:1}),Df._37(603979776,349,{optionGroups:1}),Df._37(335544320,350,{customTrigger:0}),Df._36(2048,[[341,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ct)),Df._17(26,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19).id,Df._32(n,19).tabIndex,Df._32(n,19)._ariaLabel,Df._32(n,19).ariaLabelledby,Df._32(n,19).required.toString(),Df._32(n,19).disabled.toString(),Df._32(n,19).errorState,Df._32(n,19).panelOpen?Df._32(n,19)._optionIds:null,Df._32(n,19).multiple,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19)._getAriaActiveDescendant(),Df._32(n,19).disabled,Df._32(n,19).errorState,Df._32(n,19).required])})}function pt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,37,"div",[["class","tab_class"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,331,{_control:0}),Df._37(335544320,332,{_placeholderChild:0}),Df._37(335544320,333,{_labelChild:0}),Df._37(603979776,334,{_errorChildren:1}),Df._37(603979776,335,{_hintChildren:1}),Df._37(603979776,336,{_prefixChildren:1}),Df._37(603979776,337,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[333,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["States Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,338,{options:1}),Df._37(603979776,339,{optionGroups:1}),Df._37(335544320,340,{customTrigger:0}),Df._36(2048,[[331,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,st)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,mt)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required])})}function ft(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,pt)),Df._17(6,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending)})}function ht(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,_t)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,dt)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ft)),Df._17(15,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,11,0,"No"==n.parent.context.$implicit.value.pan_india_options);l(n,15,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function gt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[358,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function bt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function vt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,60,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,351,{_control:0}),Df._37(335544320,352,{_placeholderChild:0}),Df._37(335544320,353,{_labelChild:0}),Df._37(603979776,354,{_errorChildren:1}),Df._37(603979776,355,{_hintChildren:1}),Df._37(603979776,356,{_prefixChildren:1}),Df._37(603979776,357,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[353,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["Countries Where Export Is Being Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(20,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries Where The Export Is Being Done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,25)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,25)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,25)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,358,{options:1}),Df._37(603979776,359,{optionGroups:1}),Df._37(335544320,360,{customTrigger:0}),Df._36(2048,[[351,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,gt)),Df._17(32,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(36,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(37,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,361,{_control:0}),Df._37(335544320,362,{_placeholderChild:0}),Df._37(335544320,363,{_labelChild:0}),Df._37(603979776,364,{_errorChildren:1}),Df._37(603979776,365,{_hintChildren:1}),Df._37(603979776,366,{_prefixChildren:1}),Df._37(603979776,367,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(46,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,47)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,47).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,47)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,47)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,54)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,54)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,54)._onInput()&&u}return u},null,null)),Df._17(47,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(48,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(51,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(53,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(54,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[361,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,bt)),Df._17(59,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"country_name");l(n,25,0,"Countries Where The Export Is Being Done");l(n,32,0,e.countryDataList);l(n,48,0,"");l(n,51,0,"approx_sale");l(n,54,0,"Approx % of Sale","");l(n,59,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,20,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25).id,Df._32(n,25).tabIndex,Df._32(n,25)._ariaLabel,Df._32(n,25).ariaLabelledby,Df._32(n,25).required.toString(),Df._32(n,25).disabled.toString(),Df._32(n,25).errorState,Df._32(n,25).panelOpen?Df._32(n,25)._optionIds:null,Df._32(n,25).multiple,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25)._getAriaActiveDescendant(),Df._32(n,25).disabled,Df._32(n,25).errorState,Df._32(n,25).required]);l(n,36,1,[Df._32(n,37)._control.errorState,Df._32(n,37)._control.errorState,Df._32(n,37)._canLabelFloat,Df._32(n,37)._shouldLabelFloat(),Df._32(n,37)._hideControlPlaceholder(),Df._32(n,37)._control.disabled,Df._32(n,37)._control.focused,"primary"==Df._32(n,37).color,"accent"==Df._32(n,37).color,"warn"==Df._32(n,37).color,Df._32(n,37)._shouldForward("untouched"),Df._32(n,37)._shouldForward("touched"),Df._32(n,37)._shouldForward("pristine"),Df._32(n,37)._shouldForward("dirty"),Df._32(n,37)._shouldForward("valid"),Df._32(n,37)._shouldForward("invalid"),Df._32(n,37)._shouldForward("pending")]);l(n,46,1,[Df._32(n,48).required?"":null,Df._32(n,53).ngClassUntouched,Df._32(n,53).ngClassTouched,Df._32(n,53).ngClassPristine,Df._32(n,53).ngClassDirty,Df._32(n,53).ngClassValid,Df._32(n,53).ngClassInvalid,Df._32(n,53).ngClassPending,Df._32(n,54)._isServer,Df._32(n,54).id,Df._32(n,54).placeholder,Df._32(n,54).disabled,Df._32(n,54).required,Df._32(n,54).readonly,Df._32(n,54)._ariaDescribedby||null,Df._32(n,54).errorState,Df._32(n,54).required.toString()])})}function yt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,14,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,11,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,vt)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(11,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More Country"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,11,0,"optblue")},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function Ct(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,368,{_control:0}),Df._37(335544320,369,{_placeholderChild:0}),Df._37(335544320,370,{_labelChild:0}),Df._37(603979776,371,{_errorChildren:1}),Df._37(603979776,372,{_hintChildren:1}),Df._37(603979776,373,{_prefixChildren:1}),Df._37(603979776,374,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(2,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},TC.b,TC.a)),Df._17(11,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,375,{options:1}),Df._37(603979776,376,{optionGroups:1}),Df._37(335544320,377,{customTrigger:0}),Df._36(2048,[[368,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(24,8437760,[[375,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,28)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(28,8437760,[[375,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,11).required?"":null,Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required]);l(n,23,0,Df._32(n,24)._getTabIndex(),Df._32(n,24).selected,Df._32(n,24).multiple,Df._32(n,24).active,Df._32(n,24).id,Df._32(n,24).selected.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).disabled);l(n,27,0,Df._32(n,28)._getTabIndex(),Df._32(n,28).selected,Df._32(n,28).multiple,Df._32(n,28).active,Df._32(n,28).id,Df._32(n,28).selected.toString(),Df._32(n,28).disabled.toString(),Df._32(n,28).disabled)})}function wt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[385,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ft(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[395,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function xt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function St(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,63,"div",[["class","state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,378,{_control:0}),Df._37(335544320,379,{_placeholderChild:0}),Df._37(335544320,380,{_labelChild:0}),Df._37(603979776,381,{_errorChildren:1}),Df._37(603979776,382,{_hintChildren:1}),Df._37(603979776,383,{_prefixChildren:1}),Df._37(603979776,384,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,22)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(17,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,385,{options:1}),Df._37(603979776,386,{optionGroups:1}),Df._37(335544320,387,{customTrigger:0}),Df._36(2048,[[378,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,wt)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(34,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,388,{_control:0}),Df._37(335544320,389,{_placeholderChild:0}),Df._37(335544320,390,{_labelChild:0}),Df._37(603979776,391,{_errorChildren:1}),Df._37(603979776,392,{_hintChildren:1}),Df._37(603979776,393,{_prefixChildren:1}),Df._37(603979776,394,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,50)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(45,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),Df._37(603979776,395,{options:1}),Df._37(603979776,396,{optionGroups:1}),Df._37(335544320,397,{customTrigger:0}),Df._36(2048,[[388,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ft)),Df._17(57,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._13(16777216,null,null,1,null,xt)),Df._17(62,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"State","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,17).required?"":null,Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22).id,Df._32(n,22).tabIndex,Df._32(n,22)._ariaLabel,Df._32(n,22).ariaLabelledby,Df._32(n,22).required.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).errorState,Df._32(n,22).panelOpen?Df._32(n,22)._optionIds:null,Df._32(n,22).multiple,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22)._getAriaActiveDescendant(),Df._32(n,22).disabled,Df._32(n,22).errorState,Df._32(n,22).required]);l(n,33,1,[Df._32(n,34)._control.errorState,Df._32(n,34)._control.errorState,Df._32(n,34)._canLabelFloat,Df._32(n,34)._shouldLabelFloat(),Df._32(n,34)._hideControlPlaceholder(),Df._32(n,34)._control.disabled,Df._32(n,34)._control.focused,"primary"==Df._32(n,34).color,"accent"==Df._32(n,34).color,"warn"==Df._32(n,34).color,Df._32(n,34)._shouldForward("untouched"),Df._32(n,34)._shouldForward("touched"),Df._32(n,34)._shouldForward("pristine"),Df._32(n,34)._shouldForward("dirty"),Df._32(n,34)._shouldForward("valid"),Df._32(n,34)._shouldForward("invalid"),Df._32(n,34)._shouldForward("pending")]);l(n,43,1,[Df._32(n,45).required?"":null,Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50).id,Df._32(n,50).tabIndex,Df._32(n,50)._ariaLabel,Df._32(n,50).ariaLabelledby,Df._32(n,50).required.toString(),Df._32(n,50).disabled.toString(),Df._32(n,50).errorState,Df._32(n,50).panelOpen?Df._32(n,50)._optionIds:null,Df._32(n,50).multiple,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50)._getAriaActiveDescendant(),Df._32(n,50).disabled,Df._32(n,50).errorState,Df._32(n,50).required])})}function It(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(3,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More State"])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function qt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[405,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function kt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[415,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Pt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,408,{_control:0}),Df._37(335544320,409,{_placeholderChild:0}),Df._37(335544320,410,{_labelChild:0}),Df._37(603979776,411,{_errorChildren:1}),Df._37(603979776,412,{_hintChildren:1}),Df._37(603979776,413,{_prefixChildren:1}),Df._37(603979776,414,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[410,4]],0,fy.f,[],null,null),(l()(),Df._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,19)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,415,{options:1}),Df._37(603979776,416,{optionGroups:1}),Df._37(335544320,417,{customTrigger:0}),Df._36(2048,[[408,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,kt)),Df._17(26,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19).id,Df._32(n,19).tabIndex,Df._32(n,19)._ariaLabel,Df._32(n,19).ariaLabelledby,Df._32(n,19).required.toString(),Df._32(n,19).disabled.toString(),Df._32(n,19).errorState,Df._32(n,19).panelOpen?Df._32(n,19)._optionIds:null,Df._32(n,19).multiple,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19)._getAriaActiveDescendant(),Df._32(n,19).disabled,Df._32(n,19).errorState,Df._32(n,19).required])})}function Dt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,398,{_control:0}),Df._37(335544320,399,{_placeholderChild:0}),Df._37(335544320,400,{_labelChild:0}),Df._37(603979776,401,{_errorChildren:1}),Df._37(603979776,402,{_hintChildren:1}),Df._37(603979776,403,{_prefixChildren:1}),Df._37(603979776,404,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[400,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["States Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,405,{options:1}),Df._37(603979776,406,{optionGroups:1}),Df._37(335544320,407,{customTrigger:0}),Df._36(2048,[[398,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,qt)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Pt)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required])})}function Tt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[425,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Ot(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetailState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Lt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,59,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,418,{_control:0}),Df._37(335544320,419,{_placeholderChild:0}),Df._37(335544320,420,{_labelChild:0}),Df._37(603979776,421,{_errorChildren:1}),Df._37(603979776,422,{_hintChildren:1}),Df._37(603979776,423,{_prefixChildren:1}),Df._37(603979776,424,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[420,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries Where The Export Is Being Done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,425,{options:1}),Df._37(603979776,426,{optionGroups:1}),Df._37(335544320,427,{customTrigger:0}),Df._36(2048,[[418,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Tt)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(36,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,428,{_control:0}),Df._37(335544320,429,{_placeholderChild:0}),Df._37(335544320,430,{_labelChild:0}),Df._37(603979776,431,{_errorChildren:1}),Df._37(603979776,432,{_hintChildren:1}),Df._37(603979776,433,{_prefixChildren:1}),Df._37(603979776,434,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,53)._onInput()&&u}return u},null,null)),Df._17(46,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(47,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(50,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(52,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(53,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[428,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._13(16777216,null,null,1,null,Ot)),Df._17(58,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries Where The Export Is Being Done");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Sale","");l(n,58,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required]);l(n,35,1,[Df._32(n,36)._control.errorState,Df._32(n,36)._control.errorState,Df._32(n,36)._canLabelFloat,Df._32(n,36)._shouldLabelFloat(),Df._32(n,36)._hideControlPlaceholder(),Df._32(n,36)._control.disabled,Df._32(n,36)._control.focused,"primary"==Df._32(n,36).color,"accent"==Df._32(n,36).color,"warn"==Df._32(n,36).color,Df._32(n,36)._shouldForward("untouched"),Df._32(n,36)._shouldForward("touched"),Df._32(n,36)._shouldForward("pristine"),Df._32(n,36)._shouldForward("dirty"),Df._32(n,36)._shouldForward("valid"),Df._32(n,36)._shouldForward("invalid"),Df._32(n,36)._shouldForward("pending")]);l(n,45,1,[Df._32(n,47).required?"":null,Df._32(n,52).ngClassUntouched,Df._32(n,52).ngClassTouched,Df._32(n,52).ngClassPristine,Df._32(n,52).ngClassDirty,Df._32(n,52).ngClassValid,Df._32(n,52).ngClassInvalid,Df._32(n,52).ngClassPending,Df._32(n,53)._isServer,Df._32(n,53).id,Df._32(n,53).placeholder,Df._32(n,53).disabled,Df._32(n,53).required,Df._32(n,53).readonly,Df._32(n,53)._ariaDescribedby||null,Df._32(n,53).errorState,Df._32(n,53).required.toString()])})}function At(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,47,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Within India"])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,4,"div",[["class","tab_class state-margin"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ct)),Df._17(8,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(11,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(12,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(14,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,St)),Df._17(17,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,It)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(24,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(26,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Dt)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Export"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(36,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(38,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Lt)),Df._17(41,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._18(44,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRetailMoreState(l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(45,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More Country "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,20,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,24,0,"max_sale_state_name");l(n,29,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,36,0,"countries_where_export_done");l(n,41,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,45,0,"optblue")},function(l,n){l(n,11,0,Df._32(n,14).ngClassUntouched,Df._32(n,14).ngClassTouched,Df._32(n,14).ngClassPristine,Df._32(n,14).ngClassDirty,Df._32(n,14).ngClassValid,Df._32(n,14).ngClassInvalid,Df._32(n,14).ngClassPending);l(n,23,0,Df._32(n,26).ngClassUntouched,Df._32(n,26).ngClassTouched,Df._32(n,26).ngClassPristine,Df._32(n,26).ngClassDirty,Df._32(n,26).ngClassValid,Df._32(n,26).ngClassInvalid,Df._32(n,26).ngClassPending);l(n,35,0,Df._32(n,38).ngClassUntouched,Df._32(n,38).ngClassTouched,Df._32(n,38).ngClassPristine,Df._32(n,38).ngClassDirty,Df._32(n,38).ngClassValid,Df._32(n,38).ngClassInvalid,Df._32(n,38).ngClassPending)})}function Vt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,8,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreRetail()&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(5,0,null,0,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._18(7,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,6,0,"optblue","add-circle")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function jt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,123,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(6,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(8,0,null,2,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(9,null,["Retail Trading Details ",""])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(13,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,284,{_control:0}),Df._37(335544320,285,{_placeholderChild:0}),Df._37(335544320,286,{_labelChild:0}),Df._37(603979776,287,{_errorChildren:1}),Df._37(603979776,288,{_hintChildren:1}),Df._37(603979776,289,{_prefixChildren:1}),Df._37(603979776,290,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(22,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Main Product"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,30)._onInput()&&u}return u},null,null)),Df._17(23,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(24,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(27,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(29,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(30,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[284,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(35,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,291,{_control:0}),Df._37(335544320,292,{_placeholderChild:0}),Df._37(335544320,293,{_labelChild:0}),Df._37(603979776,294,{_errorChildren:1}),Df._37(603979776,295,{_hintChildren:1}),Df._37(603979776,296,{_prefixChildren:1}),Df._37(603979776,297,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(44,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Sale"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,50)._onBlur()&&u}if("selectionChange"===n){t.changeRetailAreaSale(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"RActivity",l.context.index)&&u}return u},TC.b,TC.a)),Df._17(45,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,298,{options:1}),Df._37(603979776,299,{optionGroups:1}),Df._37(335544320,300,{customTrigger:0}),Df._36(2048,[[291,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,58)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(58,8437760,[[298,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Within India"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,62)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(62,8437760,[[298,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Export"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,66)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(66,8437760,[[298,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Both"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,at)),Df._17(72,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,ht)),Df._17(75,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,yt)),Df._17(78,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,At)),Df._17(81,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(83,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(84,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,435,{_control:0}),Df._37(335544320,436,{_placeholderChild:0}),Df._37(335544320,437,{_labelChild:0}),Df._37(603979776,438,{_errorChildren:1}),Df._37(603979776,439,{_hintChildren:1}),Df._37(603979776,440,{_prefixChildren:1}),Df._37(603979776,441,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(93,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(94,16384,[[437,4]],0,fy.f,[],null,null),(l()(),Df._39(95,null,["Description of "," Retailing\n process"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(97,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,98)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,98).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,98)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,98)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,103)._onInput()&&u}return u},null,null)),Df._17(98,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(100,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(102,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(103,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[435,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(107,0,null,null,15,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(108,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,442,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(111,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(112,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(114,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRetail(l.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(115,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(116,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(117,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Vt)),Df._17(121,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,24,0,"");l(n,27,0,"main_products");l(n,30,0,"Main Product","","text");l(n,45,0,"");l(n,47,0,"area_of_sale");l(n,50,0,"Area of Sale","");l(n,58,0,"Within India");l(n,62,0,"Export");l(n,66,0,"Both");l(n,72,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,75,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,78,0,void 0==n.context.$implicit.value.india_where_sale_done&&void 0!=n.context.$implicit.value.countries_where_export_done);l(n,81,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,100,0,"description");l(n,103,0,"Description");l(n,115,0,"optblue","");l(n,117,0,"md-trash");l(n,121,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,12,1,[Df._32(n,13)._control.errorState,Df._32(n,13)._control.errorState,Df._32(n,13)._canLabelFloat,Df._32(n,13)._shouldLabelFloat(),Df._32(n,13)._hideControlPlaceholder(),Df._32(n,13)._control.disabled,Df._32(n,13)._control.focused,"primary"==Df._32(n,13).color,"accent"==Df._32(n,13).color,"warn"==Df._32(n,13).color,Df._32(n,13)._shouldForward("untouched"),Df._32(n,13)._shouldForward("touched"),Df._32(n,13)._shouldForward("pristine"),Df._32(n,13)._shouldForward("dirty"),Df._32(n,13)._shouldForward("valid"),Df._32(n,13)._shouldForward("invalid"),Df._32(n,13)._shouldForward("pending")]);l(n,22,1,[Df._32(n,24).required?"":null,Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending,Df._32(n,30)._isServer,Df._32(n,30).id,Df._32(n,30).placeholder,Df._32(n,30).disabled,Df._32(n,30).required,Df._32(n,30).readonly,Df._32(n,30)._ariaDescribedby||null,Df._32(n,30).errorState,Df._32(n,30).required.toString()]);l(n,34,1,[Df._32(n,35)._control.errorState,Df._32(n,35)._control.errorState,Df._32(n,35)._canLabelFloat,Df._32(n,35)._shouldLabelFloat(),Df._32(n,35)._hideControlPlaceholder(),Df._32(n,35)._control.disabled,Df._32(n,35)._control.focused,"primary"==Df._32(n,35).color,"accent"==Df._32(n,35).color,"warn"==Df._32(n,35).color,Df._32(n,35)._shouldForward("untouched"),Df._32(n,35)._shouldForward("touched"),Df._32(n,35)._shouldForward("pristine"),Df._32(n,35)._shouldForward("dirty"),Df._32(n,35)._shouldForward("valid"),Df._32(n,35)._shouldForward("invalid"),Df._32(n,35)._shouldForward("pending")]);l(n,44,1,[Df._32(n,45).required?"":null,Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50).id,Df._32(n,50).tabIndex,Df._32(n,50)._ariaLabel,Df._32(n,50).ariaLabelledby,Df._32(n,50).required.toString(),Df._32(n,50).disabled.toString(),Df._32(n,50).errorState,Df._32(n,50).panelOpen?Df._32(n,50)._optionIds:null,Df._32(n,50).multiple,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50)._getAriaActiveDescendant(),Df._32(n,50).disabled,Df._32(n,50).errorState,Df._32(n,50).required]);l(n,57,0,Df._32(n,58)._getTabIndex(),Df._32(n,58).selected,Df._32(n,58).multiple,Df._32(n,58).active,Df._32(n,58).id,Df._32(n,58).selected.toString(),Df._32(n,58).disabled.toString(),Df._32(n,58).disabled);l(n,61,0,Df._32(n,62)._getTabIndex(),Df._32(n,62).selected,Df._32(n,62).multiple,Df._32(n,62).active,Df._32(n,62).id,Df._32(n,62).selected.toString(),Df._32(n,62).disabled.toString(),Df._32(n,62).disabled);l(n,65,0,Df._32(n,66)._getTabIndex(),Df._32(n,66).selected,Df._32(n,66).multiple,Df._32(n,66).active,Df._32(n,66).id,Df._32(n,66).selected.toString(),Df._32(n,66).disabled.toString(),Df._32(n,66).disabled);l(n,83,1,[Df._32(n,84)._control.errorState,Df._32(n,84)._control.errorState,Df._32(n,84)._canLabelFloat,Df._32(n,84)._shouldLabelFloat(),Df._32(n,84)._hideControlPlaceholder(),Df._32(n,84)._control.disabled,Df._32(n,84)._control.focused,"primary"==Df._32(n,84).color,"accent"==Df._32(n,84).color,"warn"==Df._32(n,84).color,Df._32(n,84)._shouldForward("untouched"),Df._32(n,84)._shouldForward("touched"),Df._32(n,84)._shouldForward("pristine"),Df._32(n,84)._shouldForward("dirty"),Df._32(n,84)._shouldForward("valid"),Df._32(n,84)._shouldForward("invalid"),Df._32(n,84)._shouldForward("pending")]);l(n,95,0,n.context.$implicit.value.main_products);l(n,97,1,[Df._32(n,102).ngClassUntouched,Df._32(n,102).ngClassTouched,Df._32(n,102).ngClassPristine,Df._32(n,102).ngClassDirty,Df._32(n,102).ngClassValid,Df._32(n,102).ngClassInvalid,Df._32(n,102).ngClassPending,Df._32(n,103)._isServer,Df._32(n,103).id,Df._32(n,103).placeholder,Df._32(n,103).disabled,Df._32(n,103).required,Df._32(n,103).readonly,Df._32(n,103)._ariaDescribedby||null,Df._32(n,103).errorState,Df._32(n,103).required.toString()]);l(n,116,0,Df._32(n,117)._hidden)})}function Nt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","retail_trading_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(4,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(7,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,jt)),Df._17(10,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n \n \n "]))],function(l,n){var e=n.component;l(n,4,0,"retail_trading_activity_details");l(n,10,0,e.businessForm.controls.retail_trading_activity_details.controls)},function(l,n){l(n,3,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending)})}function Wt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,460,{_control:0}),Df._37(335544320,461,{_placeholderChild:0}),Df._37(335544320,462,{_labelChild:0}),Df._37(603979776,463,{_errorChildren:1}),Df._37(603979776,464,{_hintChildren:1}),Df._37(603979776,465,{_prefixChildren:1}),Df._37(603979776,466,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(3,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},TC.b,TC.a)),Df._17(11,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,467,{options:1}),Df._37(603979776,468,{optionGroups:1}),Df._37(335544320,469,{customTrigger:0}),Df._36(2048,[[460,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(24,8437760,[[467,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,28)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(28,8437760,[[467,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,11).required?"":null,Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required]);l(n,23,0,Df._32(n,24)._getTabIndex(),Df._32(n,24).selected,Df._32(n,24).multiple,Df._32(n,24).active,Df._32(n,24).id,Df._32(n,24).selected.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).disabled);l(n,27,0,Df._32(n,28)._getTabIndex(),Df._32(n,28).selected,Df._32(n,28).multiple,Df._32(n,28).active,Df._32(n,28).id,Df._32(n,28).selected.toString(),Df._32(n,28).disabled.toString(),Df._32(n,28).disabled)})}function Et(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[477,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Rt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[487,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ut(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function $t(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,63,"div",[["class","state-margin"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,470,{_control:0}),Df._37(335544320,471,{_placeholderChild:0}),Df._37(335544320,472,{_labelChild:0}),Df._37(603979776,473,{_errorChildren:1}),Df._37(603979776,474,{_hintChildren:1}),Df._37(603979776,475,{_prefixChildren:1}),Df._37(603979776,476,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,22)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(17,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,477,{options:1}),Df._37(603979776,478,{optionGroups:1}),Df._37(335544320,479,{customTrigger:0}),Df._36(2048,[[470,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Et)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(34,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,480,{_control:0}),Df._37(335544320,481,{_placeholderChild:0}),Df._37(335544320,482,{_labelChild:0}),Df._37(603979776,483,{_errorChildren:1}),Df._37(603979776,484,{_hintChildren:1}),Df._37(603979776,485,{_prefixChildren:1}),Df._37(603979776,486,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,50)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(45,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),Df._37(603979776,487,{options:1}),Df._37(603979776,488,{optionGroups:1}),Df._37(335544320,489,{customTrigger:0}),Df._36(2048,[[480,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Rt)),Df._17(57,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._13(16777216,null,null,1,null,Ut)),Df._17(62,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"State","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,17).required?"":null,Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22).id,Df._32(n,22).tabIndex,Df._32(n,22)._ariaLabel,Df._32(n,22).ariaLabelledby,Df._32(n,22).required.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).errorState,Df._32(n,22).panelOpen?Df._32(n,22)._optionIds:null,Df._32(n,22).multiple,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22)._getAriaActiveDescendant(),Df._32(n,22).disabled,Df._32(n,22).errorState,Df._32(n,22).required]);l(n,33,1,[Df._32(n,34)._control.errorState,Df._32(n,34)._control.errorState,Df._32(n,34)._canLabelFloat,Df._32(n,34)._shouldLabelFloat(),Df._32(n,34)._hideControlPlaceholder(),Df._32(n,34)._control.disabled,Df._32(n,34)._control.focused,"primary"==Df._32(n,34).color,"accent"==Df._32(n,34).color,"warn"==Df._32(n,34).color,Df._32(n,34)._shouldForward("untouched"),Df._32(n,34)._shouldForward("touched"),Df._32(n,34)._shouldForward("pristine"),Df._32(n,34)._shouldForward("dirty"),Df._32(n,34)._shouldForward("valid"),Df._32(n,34)._shouldForward("invalid"),Df._32(n,34)._shouldForward("pending")]);l(n,43,1,[Df._32(n,45).required?"":null,Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50).id,Df._32(n,50).tabIndex,Df._32(n,50)._ariaLabel,Df._32(n,50).ariaLabelledby,Df._32(n,50).required.toString(),Df._32(n,50).disabled.toString(),Df._32(n,50).errorState,Df._32(n,50).panelOpen?Df._32(n,50)._optionIds:null,Df._32(n,50).multiple,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50)._getAriaActiveDescendant(),Df._32(n,50).disabled,Df._32(n,50).errorState,Df._32(n,50).required])})}function Bt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(3,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More State"])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function Mt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[497,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Kt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[507,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ht(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:84%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,500,{_control:0}),Df._37(335544320,501,{_placeholderChild:0}),Df._37(335544320,502,{_labelChild:0}),Df._37(603979776,503,{_errorChildren:1}),Df._37(603979776,504,{_hintChildren:1}),Df._37(603979776,505,{_prefixChildren:1}),Df._37(603979776,506,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[502,4]],0,fy.f,[],null,null),(l()(),Df._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,19)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,507,{options:1}),Df._37(603979776,508,{optionGroups:1}),Df._37(335544320,509,{customTrigger:0}),Df._36(2048,[[500,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Kt)),Df._17(26,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19).id,Df._32(n,19).tabIndex,Df._32(n,19)._ariaLabel,Df._32(n,19).ariaLabelledby,Df._32(n,19).required.toString(),Df._32(n,19).disabled.toString(),Df._32(n,19).errorState,Df._32(n,19).panelOpen?Df._32(n,19)._optionIds:null,Df._32(n,19).multiple,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19)._getAriaActiveDescendant(),Df._32(n,19).disabled,Df._32(n,19).errorState,Df._32(n,19).required])})}function Gt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,37,"div",[["class","tab_class"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:24%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,490,{_control:0}),Df._37(335544320,491,{_placeholderChild:0}),Df._37(335544320,492,{_labelChild:0}),Df._37(603979776,493,{_errorChildren:1}),Df._37(603979776,494,{_hintChildren:1}),Df._37(603979776,495,{_prefixChildren:1}),Df._37(603979776,496,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[492,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["States Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,497,{options:1}),Df._37(603979776,498,{optionGroups:1}),Df._37(335544320,499,{customTrigger:0}),Df._36(2048,[[490,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Mt)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ht)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required])})}function Yt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Gt)),Df._17(6,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending)})}function zt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,$t)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Bt)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Yt)),Df._17(15,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,11,0,"No"==n.parent.context.$implicit.value.pan_india_options);l(n,15,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function Qt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[517,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Jt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Xt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,59,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,510,{_control:0}),Df._37(335544320,511,{_placeholderChild:0}),Df._37(335544320,512,{_labelChild:0}),Df._37(603979776,513,{_errorChildren:1}),Df._37(603979776,514,{_hintChildren:1}),Df._37(603979776,515,{_prefixChildren:1}),Df._37(603979776,516,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[512,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,517,{options:1}),Df._37(603979776,518,{optionGroups:1}),Df._37(335544320,519,{customTrigger:0}),Df._36(2048,[[510,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Qt)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(36,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,520,{_control:0}),Df._37(335544320,521,{_placeholderChild:0}),Df._37(335544320,522,{_labelChild:0}),Df._37(603979776,523,{_errorChildren:1}),Df._37(603979776,524,{_hintChildren:1}),Df._37(603979776,525,{_prefixChildren:1}),Df._37(603979776,526,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,53)._onInput()&&u}return u},null,null)),Df._17(46,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(47,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(50,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(52,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(53,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[520,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Jt)),Df._17(58,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Sale","");l(n,58,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required]);l(n,35,1,[Df._32(n,36)._control.errorState,Df._32(n,36)._control.errorState,Df._32(n,36)._canLabelFloat,Df._32(n,36)._shouldLabelFloat(),Df._32(n,36)._hideControlPlaceholder(),Df._32(n,36)._control.disabled,Df._32(n,36)._control.focused,"primary"==Df._32(n,36).color,"accent"==Df._32(n,36).color,"warn"==Df._32(n,36).color,Df._32(n,36)._shouldForward("untouched"),Df._32(n,36)._shouldForward("touched"),Df._32(n,36)._shouldForward("pristine"),Df._32(n,36)._shouldForward("dirty"),Df._32(n,36)._shouldForward("valid"),Df._32(n,36)._shouldForward("invalid"),Df._32(n,36)._shouldForward("pending")]);l(n,45,1,[Df._32(n,47).required?"":null,Df._32(n,52).ngClassUntouched,Df._32(n,52).ngClassTouched,Df._32(n,52).ngClassPristine,Df._32(n,52).ngClassDirty,Df._32(n,52).ngClassValid,Df._32(n,52).ngClassInvalid,Df._32(n,52).ngClassPending,Df._32(n,53)._isServer,Df._32(n,53).id,Df._32(n,53).placeholder,Df._32(n,53).disabled,Df._32(n,53).required,Df._32(n,53).readonly,Df._32(n,53)._ariaDescribedby||null,Df._32(n,53).errorState,Df._32(n,53).required.toString()])})}function Zt(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,14,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,11,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Xt)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(10,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(11,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More Country"])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,11,0,"optblue")},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function la(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,527,{_control:0}),Df._37(335544320,528,{_placeholderChild:0}),Df._37(335544320,529,{_labelChild:0}),Df._37(603979776,530,{_errorChildren:1}),Df._37(603979776,531,{_hintChildren:1}),Df._37(603979776,532,{_prefixChildren:1}),Df._37(603979776,533,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(3,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},TC.b,TC.a)),Df._17(11,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,534,{options:1}),Df._37(603979776,535,{optionGroups:1}),Df._37(335544320,536,{customTrigger:0}),Df._36(2048,[[527,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(24,8437760,[[534,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,28)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(28,8437760,[[534,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,11).required?"":null,Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required]);l(n,23,0,Df._32(n,24)._getTabIndex(),Df._32(n,24).selected,Df._32(n,24).multiple,Df._32(n,24).active,Df._32(n,24).id,Df._32(n,24).selected.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).disabled);l(n,27,0,Df._32(n,28)._getTabIndex(),Df._32(n,28).selected,Df._32(n,28).multiple,Df._32(n,28).active,Df._32(n,28).id,Df._32(n,28).selected.toString(),Df._32(n,28).disabled.toString(),Df._32(n,28).disabled)})}function na(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[544,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function ea(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[554,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ua(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function ta(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,63,"div",[["class","state-margin"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,537,{_control:0}),Df._37(335544320,538,{_placeholderChild:0}),Df._37(335544320,539,{_labelChild:0}),Df._37(603979776,540,{_errorChildren:1}),Df._37(603979776,541,{_hintChildren:1}),Df._37(603979776,542,{_prefixChildren:1}),Df._37(603979776,543,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","State"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,22)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(17,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,544,{options:1}),Df._37(603979776,545,{optionGroups:1}),Df._37(335544320,546,{customTrigger:0}),Df._36(2048,[[537,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,na)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:85%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(34,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,547,{_control:0}),Df._37(335544320,548,{_placeholderChild:0}),Df._37(335544320,549,{_labelChild:0}),Df._37(603979776,550,{_errorChildren:1}),Df._37(603979776,551,{_hintChildren:1}),Df._37(603979776,552,{_prefixChildren:1}),Df._37(603979776,553,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,50)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(45,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),Df._37(603979776,554,{options:1}),Df._37(603979776,555,{optionGroups:1}),Df._37(335544320,556,{customTrigger:0}),Df._36(2048,[[547,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ea)),Df._17(57,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._13(16777216,null,null,1,null,ua)),Df._17(62,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"State","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,17).required?"":null,Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22).id,Df._32(n,22).tabIndex,Df._32(n,22)._ariaLabel,Df._32(n,22).ariaLabelledby,Df._32(n,22).required.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).errorState,Df._32(n,22).panelOpen?Df._32(n,22)._optionIds:null,Df._32(n,22).multiple,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22)._getAriaActiveDescendant(),Df._32(n,22).disabled,Df._32(n,22).errorState,Df._32(n,22).required]);l(n,33,1,[Df._32(n,34)._control.errorState,Df._32(n,34)._control.errorState,Df._32(n,34)._canLabelFloat,Df._32(n,34)._shouldLabelFloat(),Df._32(n,34)._hideControlPlaceholder(),Df._32(n,34)._control.disabled,Df._32(n,34)._control.focused,"primary"==Df._32(n,34).color,"accent"==Df._32(n,34).color,"warn"==Df._32(n,34).color,Df._32(n,34)._shouldForward("untouched"),Df._32(n,34)._shouldForward("touched"),Df._32(n,34)._shouldForward("pristine"),Df._32(n,34)._shouldForward("dirty"),Df._32(n,34)._shouldForward("valid"),Df._32(n,34)._shouldForward("invalid"),Df._32(n,34)._shouldForward("pending")]);l(n,43,1,[Df._32(n,45).required?"":null,Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50).id,Df._32(n,50).tabIndex,Df._32(n,50)._ariaLabel,Df._32(n,50).ariaLabelledby,Df._32(n,50).required.toString(),Df._32(n,50).disabled.toString(),Df._32(n,50).errorState,Df._32(n,50).panelOpen?Df._32(n,50)._optionIds:null,Df._32(n,50).multiple,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50)._getAriaActiveDescendant(),Df._32(n,50).disabled,Df._32(n,50).errorState,Df._32(n,50).required])})}function aa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(3,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add State"])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function ia(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[564,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function oa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[574,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ra(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,567,{_control:0}),Df._37(335544320,568,{_placeholderChild:0}),Df._37(335544320,569,{_labelChild:0}),Df._37(603979776,570,{_errorChildren:1}),Df._37(603979776,571,{_hintChildren:1}),Df._37(603979776,572,{_prefixChildren:1}),Df._37(603979776,573,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[569,4]],0,fy.f,[],null,null),(l()(),Df._39(12,null,["Cities Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,19)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,574,{options:1}),Df._37(603979776,575,{optionGroups:1}),Df._37(335544320,576,{customTrigger:0}),Df._36(2048,[[567,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,oa)),Df._17(26,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19).id,Df._32(n,19).tabIndex,Df._32(n,19)._ariaLabel,Df._32(n,19).ariaLabelledby,Df._32(n,19).required.toString(),Df._32(n,19).disabled.toString(),Df._32(n,19).errorState,Df._32(n,19).panelOpen?Df._32(n,19)._optionIds:null,Df._32(n,19).multiple,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19)._getAriaActiveDescendant(),Df._32(n,19).disabled,Df._32(n,19).errorState,Df._32(n,19).required])})}function _a(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,37,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,557,{_control:0}),Df._37(335544320,558,{_placeholderChild:0}),Df._37(335544320,559,{_labelChild:0}),Df._37(603979776,560,{_errorChildren:1}),Df._37(603979776,561,{_hintChildren:1}),Df._37(603979776,562,{_prefixChildren:1}),Df._37(603979776,563,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[559,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["States Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,564,{options:1}),Df._37(603979776,565,{optionGroups:1}),Df._37(335544320,566,{customTrigger:0}),Df._36(2048,[[557,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ia)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ra)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required])})}function da(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[584,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function sa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesaleState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function ca(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,63,"div",[["class","tab_class"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,577,{_control:0}),Df._37(335544320,578,{_placeholderChild:0}),Df._37(335544320,579,{_labelChild:0}),Df._37(603979776,580,{_errorChildren:1}),Df._37(603979776,581,{_hintChildren:1}),Df._37(603979776,582,{_prefixChildren:1}),Df._37(603979776,583,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[579,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["Cities Where Max Sales Done for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(19,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(20,16384,[[579,4]],0,fy.f,[],null,null),(l()(),Df._39(21,null,["Countries Where The Export Is Being Done for ",""])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,28)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,28)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,28)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(25,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(27,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(28,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,584,{options:1}),Df._37(603979776,585,{optionGroups:1}),Df._37(335544320,586,{customTrigger:0}),Df._36(2048,[[577,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,da)),Df._17(35,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(40,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,587,{_control:0}),Df._37(335544320,588,{_placeholderChild:0}),Df._37(335544320,589,{_labelChild:0}),Df._37(603979776,590,{_errorChildren:1}),Df._37(603979776,591,{_hintChildren:1}),Df._37(603979776,592,{_prefixChildren:1}),Df._37(603979776,593,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(49,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Sale"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,50)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,57)._onInput()&&u}return u},null,null)),Df._17(50,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(51,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(54,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(56,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(57,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[587,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._13(16777216,null,null,1,null,sa)),Df._17(62,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,25,0,"country_name");l(n,28,0,"Countries");l(n,35,0,e.countryDataList);l(n,51,0,"");l(n,54,0,"approx_sale");l(n,57,0,"Approx % of Sale","");l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,21,0,n.parent.parent.context.$implicit.value.main_products);l(n,23,1,[Df._32(n,27).ngClassUntouched,Df._32(n,27).ngClassTouched,Df._32(n,27).ngClassPristine,Df._32(n,27).ngClassDirty,Df._32(n,27).ngClassValid,Df._32(n,27).ngClassInvalid,Df._32(n,27).ngClassPending,Df._32(n,28).id,Df._32(n,28).tabIndex,Df._32(n,28)._ariaLabel,Df._32(n,28).ariaLabelledby,Df._32(n,28).required.toString(),Df._32(n,28).disabled.toString(),Df._32(n,28).errorState,Df._32(n,28).panelOpen?Df._32(n,28)._optionIds:null,Df._32(n,28).multiple,Df._32(n,28)._ariaDescribedby||null,Df._32(n,28)._getAriaActiveDescendant(),Df._32(n,28).disabled,Df._32(n,28).errorState,Df._32(n,28).required]);l(n,39,1,[Df._32(n,40)._control.errorState,Df._32(n,40)._control.errorState,Df._32(n,40)._canLabelFloat,Df._32(n,40)._shouldLabelFloat(),Df._32(n,40)._hideControlPlaceholder(),Df._32(n,40)._control.disabled,Df._32(n,40)._control.focused,"primary"==Df._32(n,40).color,"accent"==Df._32(n,40).color,"warn"==Df._32(n,40).color,Df._32(n,40)._shouldForward("untouched"),Df._32(n,40)._shouldForward("touched"),Df._32(n,40)._shouldForward("pristine"),Df._32(n,40)._shouldForward("dirty"),Df._32(n,40)._shouldForward("valid"),Df._32(n,40)._shouldForward("invalid"),Df._32(n,40)._shouldForward("pending")]);l(n,49,1,[Df._32(n,51).required?"":null,Df._32(n,56).ngClassUntouched,Df._32(n,56).ngClassTouched,Df._32(n,56).ngClassPristine,Df._32(n,56).ngClassDirty,Df._32(n,56).ngClassValid,Df._32(n,56).ngClassInvalid,Df._32(n,56).ngClassPending,Df._32(n,57)._isServer,Df._32(n,57).id,Df._32(n,57).placeholder,Df._32(n,57).disabled,Df._32(n,57).required,Df._32(n,57).readonly,Df._32(n,57)._ariaDescribedby||null,Df._32(n,57).errorState,Df._32(n,57).required.toString()])})}function ma(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,47,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Within India"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,4,"div",[["class","tab_class state-margin"],["fxLayout","row nowrap"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,la)),Df._17(8,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(11,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(12,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(14,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ta)),Df._17(17,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,aa)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(24,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(26,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,_a)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Export"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,11,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(36,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(38,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ca)),Df._17(41,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addWholesaleMoreState(l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(44,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add State"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,20,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,24,0,"max_sale_state_name");l(n,29,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,36,0,"countries_where_export_done");l(n,41,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,44,0,"optblue")},function(l,n){l(n,11,0,Df._32(n,14).ngClassUntouched,Df._32(n,14).ngClassTouched,Df._32(n,14).ngClassPristine,Df._32(n,14).ngClassDirty,Df._32(n,14).ngClassValid,Df._32(n,14).ngClassInvalid,Df._32(n,14).ngClassPending);l(n,23,0,Df._32(n,26).ngClassUntouched,Df._32(n,26).ngClassTouched,Df._32(n,26).ngClassPristine,Df._32(n,26).ngClassDirty,Df._32(n,26).ngClassValid,Df._32(n,26).ngClassInvalid,Df._32(n,26).ngClassPending);l(n,35,0,Df._32(n,38).ngClassUntouched,Df._32(n,38).ngClassTouched,Df._32(n,38).ngClassPristine,Df._32(n,38).ngClassDirty,Df._32(n,38).ngClassValid,Df._32(n,38).ngClassInvalid,Df._32(n,38).ngClassPending)})}function pa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,8,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreWholesale()&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(5,0,null,0,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._18(7,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,6,0,"optblue","add-circle")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function fa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,132,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(6,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(8,0,null,2,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(9,null,["Wholesale Trade Details ",""])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,74,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(13,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(15,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(16,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,443,{_control:0}),Df._37(335544320,444,{_placeholderChild:0}),Df._37(335544320,445,{_labelChild:0}),Df._37(603979776,446,{_errorChildren:1}),Df._37(603979776,447,{_hintChildren:1}),Df._37(603979776,448,{_prefixChildren:1}),Df._37(603979776,449,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Main Product"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,33)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,33)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,33)._onInput()&&u}return u},null,null)),Df._17(26,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(27,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(30,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(32,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(33,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[443,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,450,{_control:0}),Df._37(335544320,451,{_placeholderChild:0}),Df._37(335544320,452,{_labelChild:0}),Df._37(603979776,453,{_errorChildren:1}),Df._37(603979776,454,{_hintChildren:1}),Df._37(603979776,455,{_prefixChildren:1}),Df._37(603979776,456,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Sale"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,53)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,53)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,53)._onBlur()&&u}if("selectionChange"===n){t.changeWholesaleAreaSale(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"WActivity",l.context.index)&&u}return u},TC.b,TC.a)),Df._17(48,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(50,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(52,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(53,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,457,{options:1}),Df._37(603979776,458,{optionGroups:1}),Df._37(335544320,459,{customTrigger:0}),Df._36(2048,[[450,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(60,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,61)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,61)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(61,8437760,[[457,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Within India"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(64,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,65)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,65)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(65,8437760,[[457,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Export"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(68,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,69)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,69)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(69,8437760,[[457,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Both"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Wt)),Df._17(76,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,zt)),Df._17(79,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Zt)),Df._17(82,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ma)),Df._17(85,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(88,0,null,null,26,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(89,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(91,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(92,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,594,{_control:0}),Df._37(335544320,595,{_placeholderChild:0}),Df._37(335544320,596,{_labelChild:0}),Df._37(603979776,597,{_errorChildren:1}),Df._37(603979776,598,{_hintChildren:1}),Df._37(603979776,599,{_prefixChildren:1}),Df._37(603979776,600,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(101,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(102,16384,[[596,4]],0,fy.f,[],null,null),(l()(),Df._39(103,null,["Description of "," Wholesale\n process "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(105,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,106)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,106).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,106)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,106)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,111)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,111)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,111)._onInput()&&u}return u},null,null)),Df._17(106,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(108,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(110,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(111,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[594,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(116,0,null,null,15,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(117,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,601,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(120,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(121,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(123,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeWholesale(l.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(124,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(125,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(126,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,pa)),Df._17(130,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,27,0,"");l(n,30,0,"main_products");l(n,33,0,"Main Product","","text");l(n,48,0,"");l(n,50,0,"area_of_sale");l(n,53,0,"Area of Sale","");l(n,61,0,"Within India");l(n,65,0,"Export");l(n,69,0,"Both");l(n,76,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,79,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,82,0,void 0==n.context.$implicit.value.india_where_sale_done&&void 0!=n.context.$implicit.value.countries_where_export_done);l(n,85,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,108,0,"description");l(n,111,0,"Description");l(n,124,0,"optblue","");l(n,126,0,"md-trash");l(n,130,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,15,1,[Df._32(n,16)._control.errorState,Df._32(n,16)._control.errorState,Df._32(n,16)._canLabelFloat,Df._32(n,16)._shouldLabelFloat(),Df._32(n,16)._hideControlPlaceholder(),Df._32(n,16)._control.disabled,Df._32(n,16)._control.focused,"primary"==Df._32(n,16).color,"accent"==Df._32(n,16).color,"warn"==Df._32(n,16).color,Df._32(n,16)._shouldForward("untouched"),Df._32(n,16)._shouldForward("touched"),Df._32(n,16)._shouldForward("pristine"),Df._32(n,16)._shouldForward("dirty"),Df._32(n,16)._shouldForward("valid"),Df._32(n,16)._shouldForward("invalid"),Df._32(n,16)._shouldForward("pending")]);l(n,25,1,[Df._32(n,27).required?"":null,Df._32(n,32).ngClassUntouched,Df._32(n,32).ngClassTouched,Df._32(n,32).ngClassPristine,Df._32(n,32).ngClassDirty,Df._32(n,32).ngClassValid,Df._32(n,32).ngClassInvalid,Df._32(n,32).ngClassPending,Df._32(n,33)._isServer,Df._32(n,33).id,Df._32(n,33).placeholder,Df._32(n,33).disabled,Df._32(n,33).required,Df._32(n,33).readonly,Df._32(n,33)._ariaDescribedby||null,Df._32(n,33).errorState,Df._32(n,33).required.toString()]);l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,1,[Df._32(n,48).required?"":null,Df._32(n,52).ngClassUntouched,Df._32(n,52).ngClassTouched,Df._32(n,52).ngClassPristine,Df._32(n,52).ngClassDirty,Df._32(n,52).ngClassValid,Df._32(n,52).ngClassInvalid,Df._32(n,52).ngClassPending,Df._32(n,53).id,Df._32(n,53).tabIndex,Df._32(n,53)._ariaLabel,Df._32(n,53).ariaLabelledby,Df._32(n,53).required.toString(),Df._32(n,53).disabled.toString(),Df._32(n,53).errorState,Df._32(n,53).panelOpen?Df._32(n,53)._optionIds:null,Df._32(n,53).multiple,Df._32(n,53)._ariaDescribedby||null,Df._32(n,53)._getAriaActiveDescendant(),Df._32(n,53).disabled,Df._32(n,53).errorState,Df._32(n,53).required]);l(n,60,0,Df._32(n,61)._getTabIndex(),Df._32(n,61).selected,Df._32(n,61).multiple,Df._32(n,61).active,Df._32(n,61).id,Df._32(n,61).selected.toString(),Df._32(n,61).disabled.toString(),Df._32(n,61).disabled);l(n,64,0,Df._32(n,65)._getTabIndex(),Df._32(n,65).selected,Df._32(n,65).multiple,Df._32(n,65).active,Df._32(n,65).id,Df._32(n,65).selected.toString(),Df._32(n,65).disabled.toString(),Df._32(n,65).disabled);l(n,68,0,Df._32(n,69)._getTabIndex(),Df._32(n,69).selected,Df._32(n,69).multiple,Df._32(n,69).active,Df._32(n,69).id,Df._32(n,69).selected.toString(),Df._32(n,69).disabled.toString(),Df._32(n,69).disabled);l(n,88,0,"end"===Df._32(n,89).align);l(n,91,1,[Df._32(n,92)._control.errorState,Df._32(n,92)._control.errorState,Df._32(n,92)._canLabelFloat,Df._32(n,92)._shouldLabelFloat(),Df._32(n,92)._hideControlPlaceholder(),Df._32(n,92)._control.disabled,Df._32(n,92)._control.focused,"primary"==Df._32(n,92).color,"accent"==Df._32(n,92).color,"warn"==Df._32(n,92).color,Df._32(n,92)._shouldForward("untouched"),Df._32(n,92)._shouldForward("touched"),Df._32(n,92)._shouldForward("pristine"),Df._32(n,92)._shouldForward("dirty"),Df._32(n,92)._shouldForward("valid"),Df._32(n,92)._shouldForward("invalid"),Df._32(n,92)._shouldForward("pending")]);l(n,103,0,n.context.$implicit.value.main_products);l(n,105,1,[Df._32(n,110).ngClassUntouched,Df._32(n,110).ngClassTouched,Df._32(n,110).ngClassPristine,Df._32(n,110).ngClassDirty,Df._32(n,110).ngClassValid,Df._32(n,110).ngClassInvalid,Df._32(n,110).ngClassPending,Df._32(n,111)._isServer,Df._32(n,111).id,Df._32(n,111).placeholder,Df._32(n,111).disabled,Df._32(n,111).required,Df._32(n,111).readonly,Df._32(n,111)._ariaDescribedby||null,Df._32(n,111).errorState,Df._32(n,111).required.toString()]);l(n,125,0,Df._32(n,126)._hidden)})}function ha(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(3,0,null,0,7,"div",[["formArrayName","wholesale_trading_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(4,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,fa)),Df._17(9,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n \n "]))],function(l,n){var e=n.component;l(n,4,0,"wholesale_trading_activity_details");l(n,9,0,e.businessForm.controls.wholesale_trading_activity_details.controls)},function(l,n){l(n,3,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending)})}function ga(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,619,{_control:0}),Df._37(335544320,620,{_placeholderChild:0}),Df._37(335544320,621,{_labelChild:0}),Df._37(603979776,622,{_errorChildren:1}),Df._37(603979776,623,{_hintChildren:1}),Df._37(603979776,624,{_prefixChildren:1}),Df._37(603979776,625,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(4,l.parent.context.index,l.parent.context.$implicit.value.pan_india_options)&&u}return u},TC.b,TC.a)),Df._17(11,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,626,{options:1}),Df._37(603979776,627,{optionGroups:1}),Df._37(335544320,628,{customTrigger:0}),Df._36(2048,[[619,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(24,8437760,[[626,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,28)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(28,8437760,[[626,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,11).required?"":null,Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required]);l(n,23,0,Df._32(n,24)._getTabIndex(),Df._32(n,24).selected,Df._32(n,24).multiple,Df._32(n,24).active,Df._32(n,24).id,Df._32(n,24).selected.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).disabled);l(n,27,0,Df._32(n,28)._getTabIndex(),Df._32(n,28).selected,Df._32(n,28).multiple,Df._32(n,28).active,Df._32(n,28).id,Df._32(n,28).selected.toString(),Df._32(n,28).disabled.toString(),Df._32(n,28).disabled)})}function ba(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[636,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function va(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[646,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ya(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Ca(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,63,"div",[["class","state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,629,{_control:0}),Df._37(335544320,630,{_placeholderChild:0}),Df._37(335544320,631,{_labelChild:0}),Df._37(603979776,632,{_errorChildren:1}),Df._37(603979776,633,{_hintChildren:1}),Df._37(603979776,634,{_prefixChildren:1}),Df._37(603979776,635,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","Where, In India, Is The Service Provided"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,22)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(17,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,636,{options:1}),Df._37(603979776,637,{optionGroups:1}),Df._37(335544320,638,{customTrigger:0}),Df._36(2048,[[629,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ba)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(34,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,639,{_control:0}),Df._37(335544320,640,{_placeholderChild:0}),Df._37(335544320,641,{_labelChild:0}),Df._37(603979776,642,{_errorChildren:1}),Df._37(603979776,643,{_hintChildren:1}),Df._37(603979776,644,{_prefixChildren:1}),Df._37(603979776,645,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,50)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(45,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),Df._37(603979776,646,{options:1}),Df._37(603979776,647,{optionGroups:1}),Df._37(335544320,648,{customTrigger:0}),Df._36(2048,[[639,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,va)),Df._17(57,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ya)),Df._17(62,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"Where, In India, Is The Service Provided","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,17).required?"":null,Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22).id,Df._32(n,22).tabIndex,Df._32(n,22)._ariaLabel,Df._32(n,22).ariaLabelledby,Df._32(n,22).required.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).errorState,Df._32(n,22).panelOpen?Df._32(n,22)._optionIds:null,Df._32(n,22).multiple,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22)._getAriaActiveDescendant(),Df._32(n,22).disabled,Df._32(n,22).errorState,Df._32(n,22).required]);l(n,33,1,[Df._32(n,34)._control.errorState,Df._32(n,34)._control.errorState,Df._32(n,34)._canLabelFloat,Df._32(n,34)._shouldLabelFloat(),Df._32(n,34)._hideControlPlaceholder(),Df._32(n,34)._control.disabled,Df._32(n,34)._control.focused,"primary"==Df._32(n,34).color,"accent"==Df._32(n,34).color,"warn"==Df._32(n,34).color,Df._32(n,34)._shouldForward("untouched"),Df._32(n,34)._shouldForward("touched"),Df._32(n,34)._shouldForward("pristine"),Df._32(n,34)._shouldForward("dirty"),Df._32(n,34)._shouldForward("valid"),Df._32(n,34)._shouldForward("invalid"),Df._32(n,34)._shouldForward("pending")]);l(n,43,1,[Df._32(n,45).required?"":null,Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50).id,Df._32(n,50).tabIndex,Df._32(n,50)._ariaLabel,Df._32(n,50).ariaLabelledby,Df._32(n,50).required.toString(),Df._32(n,50).disabled.toString(),Df._32(n,50).errorState,Df._32(n,50).panelOpen?Df._32(n,50)._optionIds:null,Df._32(n,50).multiple,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50)._getAriaActiveDescendant(),Df._32(n,50).disabled,Df._32(n,50).errorState,Df._32(n,50).required])})}function wa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.context.index,1)&&u}return u},Vy.b,Vy.a)),Df._17(3,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More State"])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function Fa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[656,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function xa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[666,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Sa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,659,{_control:0}),Df._37(335544320,660,{_placeholderChild:0}),Df._37(335544320,661,{_labelChild:0}),Df._37(603979776,662,{_errorChildren:1}),Df._37(603979776,663,{_hintChildren:1}),Df._37(603979776,664,{_prefixChildren:1}),Df._37(603979776,665,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[661,4]],0,fy.f,[],null,null),(l()(),Df._39(12,null,["Cities Where Max Revenue From Services for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,19)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,666,{options:1}),Df._37(603979776,667,{optionGroups:1}),Df._37(335544320,668,{customTrigger:0}),Df._36(2048,[[659,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,xa)),Df._17(26,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19).id,Df._32(n,19).tabIndex,Df._32(n,19)._ariaLabel,Df._32(n,19).ariaLabelledby,Df._32(n,19).required.toString(),Df._32(n,19).disabled.toString(),Df._32(n,19).errorState,Df._32(n,19).panelOpen?Df._32(n,19)._optionIds:null,Df._32(n,19).multiple,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19)._getAriaActiveDescendant(),Df._32(n,19).disabled,Df._32(n,19).errorState,Df._32(n,19).required])})}function Ia(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,37,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,649,{_control:0}),Df._37(335544320,650,{_placeholderChild:0}),Df._37(335544320,651,{_labelChild:0}),Df._37(603979776,652,{_errorChildren:1}),Df._37(603979776,653,{_hintChildren:1}),Df._37(603979776,654,{_prefixChildren:1}),Df._37(603979776,655,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[651,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["States Where Max Revenue From Services for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,656,{options:1}),Df._37(603979776,657,{optionGroups:1}),Df._37(335544320,658,{customTrigger:0}),Df._36(2048,[[649,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Fa)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Sa)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required])})}function qa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ia)),Df._17(6,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"max_sale_state_name");l(n,6,0,n.parent.parent.context.$implicit.get("max_sale_state_name").controls)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending)})}function ka(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ca)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,wa)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,qa)),Df._17(15,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"india_where_sale_done");l(n,8,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,11,0,"No"==n.parent.context.$implicit.value.pan_india_options);l(n,15,0,void 0!=n.parent.context.$implicit.value.max_sale_state_name)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function Pa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[676,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Da(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Ta(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,59,"div",[["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:55%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,669,{_control:0}),Df._37(335544320,670,{_placeholderChild:0}),Df._37(335544320,671,{_labelChild:0}),Df._37(603979776,672,{_errorChildren:1}),Df._37(603979776,673,{_hintChildren:1}),Df._37(603979776,674,{_prefixChildren:1}),Df._37(603979776,675,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[671,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,676,{options:1}),Df._37(603979776,677,{optionGroups:1}),Df._37(335544320,678,{customTrigger:0}),Df._36(2048,[[669,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Pa)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(36,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,679,{_control:0}),Df._37(335544320,680,{_placeholderChild:0}),Df._37(335544320,681,{_labelChild:0}),Df._37(603979776,682,{_errorChildren:1}),Df._37(603979776,683,{_hintChildren:1}),Df._37(603979776,684,{_prefixChildren:1}),Df._37(603979776,685,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Revenue From Service"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,53)._onInput()&&u}return u},null,null)),Df._17(46,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(47,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(50,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(52,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(53,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[679,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Da)),Df._17(58,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Revenue From Service","");l(n,58,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required]);l(n,35,1,[Df._32(n,36)._control.errorState,Df._32(n,36)._control.errorState,Df._32(n,36)._canLabelFloat,Df._32(n,36)._shouldLabelFloat(),Df._32(n,36)._hideControlPlaceholder(),Df._32(n,36)._control.disabled,Df._32(n,36)._control.focused,"primary"==Df._32(n,36).color,"accent"==Df._32(n,36).color,"warn"==Df._32(n,36).color,Df._32(n,36)._shouldForward("untouched"),Df._32(n,36)._shouldForward("touched"),Df._32(n,36)._shouldForward("pristine"),Df._32(n,36)._shouldForward("dirty"),Df._32(n,36)._shouldForward("valid"),Df._32(n,36)._shouldForward("invalid"),Df._32(n,36)._shouldForward("pending")]);l(n,45,1,[Df._32(n,47).required?"":null,Df._32(n,52).ngClassUntouched,Df._32(n,52).ngClassTouched,Df._32(n,52).ngClassPristine,Df._32(n,52).ngClassDirty,Df._32(n,52).ngClassValid,Df._32(n,52).ngClassInvalid,Df._32(n,52).ngClassPending,Df._32(n,53)._isServer,Df._32(n,53).id,Df._32(n,53).placeholder,Df._32(n,53).disabled,Df._32(n,53).required,Df._32(n,53).readonly,Df._32(n,53)._ariaDescribedby||null,Df._32(n,53).errorState,Df._32(n,53).required.toString()])})}function Oa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,17,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,7,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ta)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,5,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(14,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More Country"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,3,0,"countries_where_export_done");l(n,8,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,14,0,"optblue")},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function La(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,686,{_control:0}),Df._37(335544320,687,{_placeholderChild:0}),Df._37(335544320,688,{_labelChild:0}),Df._37(603979776,689,{_errorChildren:1}),Df._37(603979776,690,{_hintChildren:1}),Df._37(603979776,691,{_prefixChildren:1}),Df._37(603979776,692,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","pan_india_options"],["placeholder","Is PAN India"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePanIndiaOptions(4,l.parent.parent.context.index,l.parent.parent.context.$implicit.value.pan_india_options)&&u}return u},TC.b,TC.a)),Df._17(11,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,693,{options:1}),Df._37(603979776,694,{optionGroups:1}),Df._37(335544320,695,{customTrigger:0}),Df._36(2048,[[686,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(24,8437760,[[693,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,28)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(28,8437760,[[693,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"pan_india_options");l(n,16,0,"Is PAN India","");l(n,24,0,"Yes");l(n,28,0,"No")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,11).required?"":null,Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required]);l(n,23,0,Df._32(n,24)._getTabIndex(),Df._32(n,24).selected,Df._32(n,24).multiple,Df._32(n,24).active,Df._32(n,24).id,Df._32(n,24).selected.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).disabled);l(n,27,0,Df._32(n,28)._getTabIndex(),Df._32(n,28).selected,Df._32(n,28).multiple,Df._32(n,28).active,Df._32(n,28).id,Df._32(n,28).selected.toString(),Df._32(n,28).disabled.toString(),Df._32(n,28).disabled)})}function Aa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[703,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Va(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[713,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function ja(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Na(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,63,"div",[["class","state-margin"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,696,{_control:0}),Df._37(335544320,697,{_placeholderChild:0}),Df._37(335544320,698,{_labelChild:0}),Df._37(603979776,699,{_errorChildren:1}),Df._37(603979776,700,{_hintChildren:1}),Df._37(603979776,701,{_prefixChildren:1}),Df._37(603979776,702,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","state_name"],["placeholder","Where, In India, Is The Service Provided"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,22)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(17,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,703,{options:1}),Df._37(603979776,704,{optionGroups:1}),Df._37(335544320,705,{customTrigger:0}),Df._36(2048,[[696,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Aa)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(33,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(34,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,706,{_control:0}),Df._37(335544320,707,{_placeholderChild:0}),Df._37(335544320,708,{_labelChild:0}),Df._37(603979776,709,{_errorChildren:1}),Df._37(603979776,710,{_hintChildren:1}),Df._37(603979776,711,{_prefixChildren:1}),Df._37(603979776,712,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","City"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,50)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,50)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,50)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(45,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),Df._37(603979776,713,{options:1}),Df._37(603979776,714,{optionGroups:1}),Df._37(335544320,715,{customTrigger:0}),Df._36(2048,[[706,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Va)),Df._17(57,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,ja)),Df._17(62,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"");l(n,19,0,"state_name");l(n,22,0,"Where, In India, Is The Service Provided","");l(n,29,0,e.stateList);l(n,45,0,"");l(n,47,0,"city_name");l(n,50,0,"City","","");l(n,57,0,e.filterCity(e.stateList,n.context.$implicit.value.state_name));l(n,62,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,17).required?"":null,Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22).id,Df._32(n,22).tabIndex,Df._32(n,22)._ariaLabel,Df._32(n,22).ariaLabelledby,Df._32(n,22).required.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).errorState,Df._32(n,22).panelOpen?Df._32(n,22)._optionIds:null,Df._32(n,22).multiple,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22)._getAriaActiveDescendant(),Df._32(n,22).disabled,Df._32(n,22).errorState,Df._32(n,22).required]);l(n,33,1,[Df._32(n,34)._control.errorState,Df._32(n,34)._control.errorState,Df._32(n,34)._canLabelFloat,Df._32(n,34)._shouldLabelFloat(),Df._32(n,34)._hideControlPlaceholder(),Df._32(n,34)._control.disabled,Df._32(n,34)._control.focused,"primary"==Df._32(n,34).color,"accent"==Df._32(n,34).color,"warn"==Df._32(n,34).color,Df._32(n,34)._shouldForward("untouched"),Df._32(n,34)._shouldForward("touched"),Df._32(n,34)._shouldForward("pristine"),Df._32(n,34)._shouldForward("dirty"),Df._32(n,34)._shouldForward("valid"),Df._32(n,34)._shouldForward("invalid"),Df._32(n,34)._shouldForward("pending")]);l(n,43,1,[Df._32(n,45).required?"":null,Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50).id,Df._32(n,50).tabIndex,Df._32(n,50)._ariaLabel,Df._32(n,50).ariaLabelledby,Df._32(n,50).required.toString(),Df._32(n,50).disabled.toString(),Df._32(n,50).errorState,Df._32(n,50).panelOpen?Df._32(n,50)._optionIds:null,Df._32(n,50).multiple,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50)._getAriaActiveDescendant(),Df._32(n,50).disabled,Df._32(n,50).errorState,Df._32(n,50).required])})}function Wa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.parent.context.index,"1")&&u}return u},Vy.b,Vy.a)),Df._17(3,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More State"])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue")},null)}function Ea(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[723,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.state_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.state_name)})}function Ra(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[733,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.city_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.city_name)})}function Ua(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,726,{_control:0}),Df._37(335544320,727,{_placeholderChild:0}),Df._37(335544320,728,{_labelChild:0}),Df._37(603979776,729,{_errorChildren:1}),Df._37(603979776,730,{_hintChildren:1}),Df._37(603979776,731,{_prefixChildren:1}),Df._37(603979776,732,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[728,4]],0,fy.f,[],null,null),(l()(),Df._39(12,null,["Cities Where Max Revenue From Services for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(14,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","city_name"],["multiple",""],["placeholder","Cities"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,19)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,733,{options:1}),Df._37(603979776,734,{optionGroups:1}),Df._37(335544320,735,{customTrigger:0}),Df._36(2048,[[726,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ra)),Df._17(26,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"city_name");l(n,19,0,"Cities","");l(n,26,0,e.filterMaxSaleCities(e.stateList,n.parent.context.$implicit.value.state_name,n.parent.parent.parent.context.$implicit.get("india_where_sale_done").value))},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,12,0,n.parent.parent.parent.context.$implicit.value.main_products);l(n,14,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19).id,Df._32(n,19).tabIndex,Df._32(n,19)._ariaLabel,Df._32(n,19).ariaLabelledby,Df._32(n,19).required.toString(),Df._32(n,19).disabled.toString(),Df._32(n,19).errorState,Df._32(n,19).panelOpen?Df._32(n,19)._optionIds:null,Df._32(n,19).multiple,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19)._getAriaActiveDescendant(),Df._32(n,19).disabled,Df._32(n,19).errorState,Df._32(n,19).required])})}function $a(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,37,"div",[["clas","tab_class"],["fxLayout","row nowrap"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,716,{_control:0}),Df._37(335544320,717,{_placeholderChild:0}),Df._37(335544320,718,{_labelChild:0}),Df._37(603979776,719,{_errorChildren:1}),Df._37(603979776,720,{_hintChildren:1}),Df._37(603979776,721,{_prefixChildren:1}),Df._37(603979776,722,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[718,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["States Where Max Revenue From Services for ",""])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","state_name"],["multiple",""],["placeholder","States"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,723,{options:1}),Df._37(603979776,724,{optionGroups:1}),Df._37(335544320,725,{customTrigger:0}),Df._36(2048,[[716,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ea)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ua)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"state_name");l(n,24,0,"States","");l(n,31,0,"Yes"==n.parent.parent.context.$implicit.value.pan_india_options?e.stateList:e.filterMaxSaleState(e.stateList,n.parent.parent.context.$implicit.value.india_where_sale_done));l(n,36,0,"No"==n.parent.parent.context.$implicit.value.pan_india_options)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required])})}function Ba(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[743,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.country_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.country_name)})}function Ma(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceState(l.parent.parent.parent.context.index,l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Ka(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,59,"div",[["class","tab_class state-margin"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,736,{_control:0}),Df._37(335544320,737,{_placeholderChild:0}),Df._37(335544320,738,{_labelChild:0}),Df._37(603979776,739,{_errorChildren:1}),Df._37(603979776,740,{_hintChildren:1}),Df._37(603979776,741,{_prefixChildren:1}),Df._37(603979776,742,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(16,16384,[[738,4]],0,fy.f,[],null,null),(l()(),Df._39(17,null,["Countries Where The Export Is Being Done for ",""])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","country_name"],["placeholder","Countries"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,24)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,24)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,743,{options:1}),Df._37(603979776,744,{optionGroups:1}),Df._37(335544320,745,{customTrigger:0}),Df._36(2048,[[736,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ba)),Df._17(31,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(36,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,746,{_control:0}),Df._37(335544320,747,{_placeholderChild:0}),Df._37(335544320,748,{_labelChild:0}),Df._37(603979776,749,{_errorChildren:1}),Df._37(603979776,750,{_hintChildren:1}),Df._37(603979776,751,{_prefixChildren:1}),Df._37(603979776,752,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","approx_sale"],["matInput",""],["placeholder","Approx % of Revenue From Service"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,53)._onInput()&&u}return u},null,null)),Df._17(46,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(47,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(50,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(52,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(53,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[746,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._13(16777216,null,null,1,null,Ma)),Df._17(58,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"country_name");l(n,24,0,"Countries");l(n,31,0,e.countryDataList);l(n,47,0,"");l(n,50,0,"approx_sale");l(n,53,0,"Approx % of Revenue From Service","");l(n,58,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,17,0,n.parent.parent.context.$implicit.value.main_products);l(n,19,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24).id,Df._32(n,24).tabIndex,Df._32(n,24)._ariaLabel,Df._32(n,24).ariaLabelledby,Df._32(n,24).required.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).errorState,Df._32(n,24).panelOpen?Df._32(n,24)._optionIds:null,Df._32(n,24).multiple,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24)._getAriaActiveDescendant(),Df._32(n,24).disabled,Df._32(n,24).errorState,Df._32(n,24).required]);l(n,35,1,[Df._32(n,36)._control.errorState,Df._32(n,36)._control.errorState,Df._32(n,36)._canLabelFloat,Df._32(n,36)._shouldLabelFloat(),Df._32(n,36)._hideControlPlaceholder(),Df._32(n,36)._control.disabled,Df._32(n,36)._control.focused,"primary"==Df._32(n,36).color,"accent"==Df._32(n,36).color,"warn"==Df._32(n,36).color,Df._32(n,36)._shouldForward("untouched"),Df._32(n,36)._shouldForward("touched"),Df._32(n,36)._shouldForward("pristine"),Df._32(n,36)._shouldForward("dirty"),Df._32(n,36)._shouldForward("valid"),Df._32(n,36)._shouldForward("invalid"),Df._32(n,36)._shouldForward("pending")]);l(n,45,1,[Df._32(n,47).required?"":null,Df._32(n,52).ngClassUntouched,Df._32(n,52).ngClassTouched,Df._32(n,52).ngClassPristine,Df._32(n,52).ngClassDirty,Df._32(n,52).ngClassValid,Df._32(n,52).ngClassInvalid,Df._32(n,52).ngClassPending,Df._32(n,53)._isServer,Df._32(n,53).id,Df._32(n,53).placeholder,Df._32(n,53).disabled,Df._32(n,53).required,Df._32(n,53).readonly,Df._32(n,53)._ariaDescribedby||null,Df._32(n,53).errorState,Df._32(n,53).required.toString()])})}function Ha(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,50,null,null,null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Within India"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,4,"div",[["class","tab_class state-margin"],["fxLayout","row nowrap"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,La)),Df._17(8,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(11,0,null,null,10,"div",[["formArrayName","india_where_sale_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(12,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(14,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Na)),Df._17(17,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Wa)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,7,"div",[["formArrayName","max_sale_state_name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(24,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(26,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,$a)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Export"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,14,"div",[["formArrayName","countries_where_export_done"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(36,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(38,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ka)),Df._17(41,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,5,"div",[["class","tab_class"],["fxLayout","row"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(45,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addServiceMoreState(l.parent.context.index,"2")&&u}return u},Vy.b,Vy.a)),Df._17(46,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More Country"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "]))],function(l,n){l(n,8,0,void 0!=n.parent.context.$implicit.value.pan_india_options);l(n,12,0,"india_where_sale_done");l(n,17,0,n.parent.context.$implicit.get("india_where_sale_done").controls);l(n,20,0,n.parent.context.$implicit.get("india_where_sale_done").value.length>0);l(n,24,0,"max_sale_state_name");l(n,29,0,n.parent.context.$implicit.get("max_sale_state_name").controls);l(n,36,0,"countries_where_export_done");l(n,41,0,n.parent.context.$implicit.get("countries_where_export_done").controls);l(n,46,0,"optblue")},function(l,n){l(n,11,0,Df._32(n,14).ngClassUntouched,Df._32(n,14).ngClassTouched,Df._32(n,14).ngClassPristine,Df._32(n,14).ngClassDirty,Df._32(n,14).ngClassValid,Df._32(n,14).ngClassInvalid,Df._32(n,14).ngClassPending);l(n,23,0,Df._32(n,26).ngClassUntouched,Df._32(n,26).ngClassTouched,Df._32(n,26).ngClassPristine,Df._32(n,26).ngClassDirty,Df._32(n,26).ngClassValid,Df._32(n,26).ngClassInvalid,Df._32(n,26).ngClassPending);l(n,35,0,Df._32(n,38).ngClassUntouched,Df._32(n,38).ngClassTouched,Df._32(n,38).ngClassPristine,Df._32(n,38).ngClassDirty,Df._32(n,38).ngClassValid,Df._32(n,38).ngClassInvalid,Df._32(n,38).ngClassPending)})}function Ga(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,8,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"button",[["clear",""],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addMoreServiceprovider()&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{clear:[0,"clear"]},null),(l()(),Df._18(5,0,null,0,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size:24px"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._18(7,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"");l(n,6,0,"optblue","add-circle")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function Ya(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,132,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,5,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(6,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(8,0,null,2,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(9,null,["Service Provider Details ",""])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,65,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(13,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(15,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(16,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,602,{_control:0}),Df._37(335544320,603,{_placeholderChild:0}),Df._37(335544320,604,{_labelChild:0}),Df._37(603979776,605,{_errorChildren:1}),Df._37(603979776,606,{_hintChildren:1}),Df._37(603979776,607,{_prefixChildren:1}),Df._37(603979776,608,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_products"],["matInput",""],["placeholder","Services Provided"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,26)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,26).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,26)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,26)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,33)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,33)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,33)._onInput()&&u}return u},null,null)),Df._17(26,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(27,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(30,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(32,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(33,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[602,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,35,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,609,{_control:0}),Df._37(335544320,610,{_placeholderChild:0}),Df._37(335544320,611,{_labelChild:0}),Df._37(603979776,612,{_errorChildren:1}),Df._37(603979776,613,{_hintChildren:1}),Df._37(603979776,614,{_prefixChildren:1}),Df._37(603979776,615,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,null,1,24,"mat-select",[["class","mat-select"],["formControlName","area_of_sale"],["placeholder","Area of Service"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,53)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,53)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,53)._onBlur()&&u}if("selectionChange"===n){t.changeServiceArea(l.context.$implicit,l.context.index);u=!1!==t.CheckExport(e.value,"SPActivity",l.context.index)&&u}return u},TC.b,TC.a)),Df._17(48,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(50,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(52,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(53,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,616,{options:1}),Df._37(603979776,617,{optionGroups:1}),Df._37(335544320,618,{customTrigger:0}),Df._36(2048,[[609,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(60,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Within India"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,61)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,61)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(61,8437760,[[616,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Within India"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(64,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Export"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,65)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,65)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(65,8437760,[[616,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Export"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(68,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,69)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,69)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(69,8437760,[[616,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Both"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ga)),Df._17(76,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,ka)),Df._17(80,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Oa)),Df._17(83,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ha)),Df._17(86,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(88,0,null,null,26,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(89,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(91,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(92,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,753,{_control:0}),Df._37(335544320,754,{_placeholderChild:0}),Df._37(335544320,755,{_labelChild:0}),Df._37(603979776,756,{_errorChildren:1}),Df._37(603979776,757,{_hintChildren:1}),Df._37(603979776,758,{_prefixChildren:1}),Df._37(603979776,759,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(101,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(102,16384,[[755,4]],0,fy.f,[],null,null),(l()(),Df._39(103,null,["Description of "," Service Process"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(105,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,106)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,106).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,106)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,106)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,111)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,111)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,111)._onInput()&&u}return u},null,null)),Df._17(106,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(108,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(110,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(111,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[753,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(116,0,null,null,15,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(117,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,760,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(120,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(121,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(123,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceProvider(l.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(124,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(125,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(126,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ga)),Df._17(130,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,27,0,"");l(n,30,0,"main_products");l(n,33,0,"Services Provided","","text");l(n,48,0,"");l(n,50,0,"area_of_sale");l(n,53,0,"Area of Service","");l(n,61,0,"Within India");l(n,65,0,"Export");l(n,69,0,"Both");l(n,76,0,void 0!=n.context.$implicit.value.pan_india_options&&"Within India"==n.context.$implicit.value.area_of_sale);l(n,80,0,void 0!=n.context.$implicit.value.india_where_sale_done&&void 0==n.context.$implicit.value.countries_where_export_done);l(n,83,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0==n.context.$implicit.value.india_where_sale_done);l(n,86,0,void 0!=n.context.$implicit.value.countries_where_export_done&&void 0!=n.context.$implicit.value.india_where_sale_done);l(n,108,0,"description");l(n,111,0,"Description");l(n,124,0,"optblue","");l(n,126,0,"md-trash");l(n,130,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,15,1,[Df._32(n,16)._control.errorState,Df._32(n,16)._control.errorState,Df._32(n,16)._canLabelFloat,Df._32(n,16)._shouldLabelFloat(),Df._32(n,16)._hideControlPlaceholder(),Df._32(n,16)._control.disabled,Df._32(n,16)._control.focused,"primary"==Df._32(n,16).color,"accent"==Df._32(n,16).color,"warn"==Df._32(n,16).color,Df._32(n,16)._shouldForward("untouched"),Df._32(n,16)._shouldForward("touched"),Df._32(n,16)._shouldForward("pristine"),Df._32(n,16)._shouldForward("dirty"),Df._32(n,16)._shouldForward("valid"),Df._32(n,16)._shouldForward("invalid"),Df._32(n,16)._shouldForward("pending")]);l(n,25,1,[Df._32(n,27).required?"":null,Df._32(n,32).ngClassUntouched,Df._32(n,32).ngClassTouched,Df._32(n,32).ngClassPristine,Df._32(n,32).ngClassDirty,Df._32(n,32).ngClassValid,Df._32(n,32).ngClassInvalid,Df._32(n,32).ngClassPending,Df._32(n,33)._isServer,Df._32(n,33).id,Df._32(n,33).placeholder,Df._32(n,33).disabled,Df._32(n,33).required,Df._32(n,33).readonly,Df._32(n,33)._ariaDescribedby||null,Df._32(n,33).errorState,Df._32(n,33).required.toString()]);l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,1,[Df._32(n,48).required?"":null,Df._32(n,52).ngClassUntouched,Df._32(n,52).ngClassTouched,Df._32(n,52).ngClassPristine,Df._32(n,52).ngClassDirty,Df._32(n,52).ngClassValid,Df._32(n,52).ngClassInvalid,Df._32(n,52).ngClassPending,Df._32(n,53).id,Df._32(n,53).tabIndex,Df._32(n,53)._ariaLabel,Df._32(n,53).ariaLabelledby,Df._32(n,53).required.toString(),Df._32(n,53).disabled.toString(),Df._32(n,53).errorState,Df._32(n,53).panelOpen?Df._32(n,53)._optionIds:null,Df._32(n,53).multiple,Df._32(n,53)._ariaDescribedby||null,Df._32(n,53)._getAriaActiveDescendant(),Df._32(n,53).disabled,Df._32(n,53).errorState,Df._32(n,53).required]);l(n,60,0,Df._32(n,61)._getTabIndex(),Df._32(n,61).selected,Df._32(n,61).multiple,Df._32(n,61).active,Df._32(n,61).id,Df._32(n,61).selected.toString(),Df._32(n,61).disabled.toString(),Df._32(n,61).disabled);l(n,64,0,Df._32(n,65)._getTabIndex(),Df._32(n,65).selected,Df._32(n,65).multiple,Df._32(n,65).active,Df._32(n,65).id,Df._32(n,65).selected.toString(),Df._32(n,65).disabled.toString(),Df._32(n,65).disabled);l(n,68,0,Df._32(n,69)._getTabIndex(),Df._32(n,69).selected,Df._32(n,69).multiple,Df._32(n,69).active,Df._32(n,69).id,Df._32(n,69).selected.toString(),Df._32(n,69).disabled.toString(),Df._32(n,69).disabled);l(n,88,0,"end"===Df._32(n,89).align);l(n,91,1,[Df._32(n,92)._control.errorState,Df._32(n,92)._control.errorState,Df._32(n,92)._canLabelFloat,Df._32(n,92)._shouldLabelFloat(),Df._32(n,92)._hideControlPlaceholder(),Df._32(n,92)._control.disabled,Df._32(n,92)._control.focused,"primary"==Df._32(n,92).color,"accent"==Df._32(n,92).color,"warn"==Df._32(n,92).color,Df._32(n,92)._shouldForward("untouched"),Df._32(n,92)._shouldForward("touched"),Df._32(n,92)._shouldForward("pristine"),Df._32(n,92)._shouldForward("dirty"),Df._32(n,92)._shouldForward("valid"),Df._32(n,92)._shouldForward("invalid"),Df._32(n,92)._shouldForward("pending")]);l(n,103,0,n.context.$implicit.value.main_products);l(n,105,1,[Df._32(n,110).ngClassUntouched,Df._32(n,110).ngClassTouched,Df._32(n,110).ngClassPristine,Df._32(n,110).ngClassDirty,Df._32(n,110).ngClassValid,Df._32(n,110).ngClassInvalid,Df._32(n,110).ngClassPending,Df._32(n,111)._isServer,Df._32(n,111).id,Df._32(n,111).placeholder,Df._32(n,111).disabled,Df._32(n,111).required,Df._32(n,111).readonly,Df._32(n,111)._ariaDescribedby||null,Df._32(n,111).errorState,Df._32(n,111).required.toString()]);l(n,125,0,Df._32(n,126)._hidden)})}function za(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,7,"div",[["formArrayName","service_provider_activity_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(4,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ya)),Df._17(9,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n \n \n "]))],function(l,n){var e=n.component;l(n,4,0,"service_provider_activity_details");l(n,9,0,e.businessForm.controls.service_provider_activity_details.controls)},function(l,n){l(n,3,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending)})}function Qa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,35,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(4,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(6,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(7,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["Export Sale As a % Total Sales"])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(11,0,null,0,23,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(12,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(15,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,761,{_control:0}),Df._37(335544320,762,{_placeholderChild:0}),Df._37(335544320,763,{_labelChild:0}),Df._37(603979776,764,{_errorChildren:1}),Df._37(603979776,765,{_hintChildren:1}),Df._37(603979776,766,{_prefixChildren:1}),Df._37(603979776,767,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","export_sale_of_total_sales"],["matInput",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,25)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,25)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,25)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,26).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,26).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,26).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,31)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,31)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,31)._onInput()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(26,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(28,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(30,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(31,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{type:[0,"type"]},null),Df._36(2048,[[761,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,28,0,"export_sale_of_total_sales");l(n,31,0,"number")},function(l,n){l(n,14,1,[Df._32(n,15)._control.errorState,Df._32(n,15)._control.errorState,Df._32(n,15)._canLabelFloat,Df._32(n,15)._shouldLabelFloat(),Df._32(n,15)._hideControlPlaceholder(),Df._32(n,15)._control.disabled,Df._32(n,15)._control.focused,"primary"==Df._32(n,15).color,"accent"==Df._32(n,15).color,"warn"==Df._32(n,15).color,Df._32(n,15)._shouldForward("untouched"),Df._32(n,15)._shouldForward("touched"),Df._32(n,15)._shouldForward("pristine"),Df._32(n,15)._shouldForward("dirty"),Df._32(n,15)._shouldForward("valid"),Df._32(n,15)._shouldForward("invalid"),Df._32(n,15)._shouldForward("pending")]);l(n,24,1,[Df._32(n,30).ngClassUntouched,Df._32(n,30).ngClassTouched,Df._32(n,30).ngClassPristine,Df._32(n,30).ngClassDirty,Df._32(n,30).ngClassValid,Df._32(n,30).ngClassInvalid,Df._32(n,30).ngClassPending,Df._32(n,31)._isServer,Df._32(n,31).id,Df._32(n,31).placeholder,Df._32(n,31).disabled,Df._32(n,31).required,Df._32(n,31).readonly,Df._32(n,31)._ariaDescribedby||null,Df._32(n,31).errorState,Df._32(n,31).required.toString()])})}function Ja(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,768,{_control:0}),Df._37(335544320,769,{_placeholderChild:0}),Df._37(335544320,770,{_labelChild:0}),Df._37(603979776,771,{_errorChildren:1}),Df._37(603979776,772,{_hintChildren:1}),Df._37(603979776,773,{_prefixChildren:1}),Df._37(603979776,774,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","applicant_use_mobile_wallets"],["placeholder","Does the Applicant Use Mobile Wallets / UPI Apps"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,14)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(11,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(13,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(14,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,775,{options:1}),Df._37(603979776,776,{optionGroups:1}),Df._37(335544320,777,{customTrigger:0}),Df._36(2048,[[768,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(22,8437760,[[775,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(26,8437760,[[775,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"applicant_use_mobile_wallets");l(n,14,0,"Does the Applicant Use Mobile Wallets / UPI Apps");l(n,22,0,"yes");l(n,26,0,"no")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending,Df._32(n,14).id,Df._32(n,14).tabIndex,Df._32(n,14)._ariaLabel,Df._32(n,14).ariaLabelledby,Df._32(n,14).required.toString(),Df._32(n,14).disabled.toString(),Df._32(n,14).errorState,Df._32(n,14).panelOpen?Df._32(n,14)._optionIds:null,Df._32(n,14).multiple,Df._32(n,14)._ariaDescribedby||null,Df._32(n,14)._getAriaActiveDescendant(),Df._32(n,14).disabled,Df._32(n,14).errorState,Df._32(n,14).required]);l(n,21,0,Df._32(n,22)._getTabIndex(),Df._32(n,22).selected,Df._32(n,22).multiple,Df._32(n,22).active,Df._32(n,22).id,Df._32(n,22).selected.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).disabled);l(n,25,0,Df._32(n,26)._getTabIndex(),Df._32(n,26).selected,Df._32(n,26).multiple,Df._32(n,26).active,Df._32(n,26).id,Df._32(n,26).selected.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).disabled)})}function Xa(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,778,{_control:0}),Df._37(335544320,779,{_placeholderChild:0}),Df._37(335544320,780,{_labelChild:0}),Df._37(603979776,781,{_errorChildren:1}),Df._37(603979776,782,{_hintChildren:1}),Df._37(603979776,783,{_prefixChildren:1}),Df._37(603979776,784,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","applicant_use_pos_machines"],["placeholder","Does the Applicant Use POS Machines in His Business / Profession"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.changePOSMachinesAvailablity(e.value,1)&&u}return u},TC.b,TC.a)),Df._17(11,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(13,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(14,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,785,{options:1}),Df._37(603979776,786,{optionGroups:1}),Df._37(335544320,787,{customTrigger:0}),Df._36(2048,[[778,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(22,8437760,[[785,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(26,8437760,[[785,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"applicant_use_pos_machines");l(n,14,0,"Does the Applicant Use POS Machines in His Business / Profession");l(n,22,0,"yes");l(n,26,0,"no")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending,Df._32(n,14).id,Df._32(n,14).tabIndex,Df._32(n,14)._ariaLabel,Df._32(n,14).ariaLabelledby,Df._32(n,14).required.toString(),Df._32(n,14).disabled.toString(),Df._32(n,14).errorState,Df._32(n,14).panelOpen?Df._32(n,14)._optionIds:null,Df._32(n,14).multiple,Df._32(n,14)._ariaDescribedby||null,Df._32(n,14)._getAriaActiveDescendant(),Df._32(n,14).disabled,Df._32(n,14).errorState,Df._32(n,14).required]);l(n,21,0,Df._32(n,22)._getTabIndex(),Df._32(n,22).selected,Df._32(n,22).multiple,Df._32(n,22).active,Df._32(n,22).id,Df._32(n,22).selected.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).disabled);l(n,25,0,Df._32(n,26)._getTabIndex(),Df._32(n,26).selected,Df._32(n,26).multiple,Df._32(n,26).active,Df._32(n,26).id,Df._32(n,26).selected.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).disabled)})}function Za(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[802,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function li(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,58,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"],["style","font-weight: bold"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.g,[],null,null),(l()(),Df._39(7,null,["\n Machine Details ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(10,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,795,{_control:0}),Df._37(335544320,796,{_placeholderChild:0}),Df._37(335544320,797,{_labelChild:0}),Df._37(603979776,798,{_errorChildren:1}),Df._37(603979776,799,{_hintChildren:1}),Df._37(603979776,800,{_prefixChildren:1}),Df._37(603979776,801,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","pos_machines_financial_institution_name"],["placeholder","Name of the Financial Institution whose POS machines are installed"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,23)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,802,{options:1}),Df._37(603979776,803,{optionGroups:1}),Df._37(335544320,804,{customTrigger:0}),Df._36(2048,[[795,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,31)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(31,8437760,[[802,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,[" Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Za)),Df._17(35,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(40,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,805,{_control:0}),Df._37(335544320,806,{_placeholderChild:0}),Df._37(335544320,807,{_labelChild:0}),Df._37(603979776,808,{_errorChildren:1}),Df._37(603979776,809,{_hintChildren:1}),Df._37(603979776,810,{_prefixChildren:1}),Df._37(603979776,811,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(49,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","tid_no_of_pos_machine"],["matInput",""],["placeholder","TID No Of the POS Machine?"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,50)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,55)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,55)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,55)._onInput()&&u}return u},null,null)),Df._17(50,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(52,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(54,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(55,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[805,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"pos_machines_financial_institution_name");l(n,23,0,"Name of the Financial Institution whose POS machines are installed");l(n,35,0,e.bankList);l(n,52,0,"tid_no_of_pos_machine");l(n,55,0,"TID No Of the POS Machine?","text")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,9,1,[Df._32(n,10)._control.errorState,Df._32(n,10)._control.errorState,Df._32(n,10)._canLabelFloat,Df._32(n,10)._shouldLabelFloat(),Df._32(n,10)._hideControlPlaceholder(),Df._32(n,10)._control.disabled,Df._32(n,10)._control.focused,"primary"==Df._32(n,10).color,"accent"==Df._32(n,10).color,"warn"==Df._32(n,10).color,Df._32(n,10)._shouldForward("untouched"),Df._32(n,10)._shouldForward("touched"),Df._32(n,10)._shouldForward("pristine"),Df._32(n,10)._shouldForward("dirty"),Df._32(n,10)._shouldForward("valid"),Df._32(n,10)._shouldForward("invalid"),Df._32(n,10)._shouldForward("pending")]);l(n,19,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23).id,Df._32(n,23).tabIndex,Df._32(n,23)._ariaLabel,Df._32(n,23).ariaLabelledby,Df._32(n,23).required.toString(),Df._32(n,23).disabled.toString(),Df._32(n,23).errorState,Df._32(n,23).panelOpen?Df._32(n,23)._optionIds:null,Df._32(n,23).multiple,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23)._getAriaActiveDescendant(),Df._32(n,23).disabled,Df._32(n,23).errorState,Df._32(n,23).required]);l(n,30,0,Df._32(n,31)._getTabIndex(),Df._32(n,31).selected,Df._32(n,31).multiple,Df._32(n,31).active,Df._32(n,31).id,Df._32(n,31).selected.toString(),Df._32(n,31).disabled.toString(),Df._32(n,31).disabled);l(n,39,1,[Df._32(n,40)._control.errorState,Df._32(n,40)._control.errorState,Df._32(n,40)._canLabelFloat,Df._32(n,40)._shouldLabelFloat(),Df._32(n,40)._hideControlPlaceholder(),Df._32(n,40)._control.disabled,Df._32(n,40)._control.focused,"primary"==Df._32(n,40).color,"accent"==Df._32(n,40).color,"warn"==Df._32(n,40).color,Df._32(n,40)._shouldForward("untouched"),Df._32(n,40)._shouldForward("touched"),Df._32(n,40)._shouldForward("pristine"),Df._32(n,40)._shouldForward("dirty"),Df._32(n,40)._shouldForward("valid"),Df._32(n,40)._shouldForward("invalid"),Df._32(n,40)._shouldForward("pending")]);l(n,49,1,[Df._32(n,54).ngClassUntouched,Df._32(n,54).ngClassTouched,Df._32(n,54).ngClassPristine,Df._32(n,54).ngClassDirty,Df._32(n,54).ngClassValid,Df._32(n,54).ngClassInvalid,Df._32(n,54).ngClassPending,Df._32(n,55)._isServer,Df._32(n,55).id,Df._32(n,55).placeholder,Df._32(n,55).disabled,Df._32(n,55).required,Df._32(n,55).readonly,Df._32(n,55)._ariaDescribedby||null,Df._32(n,55).errorState,Df._32(n,55).required.toString()])})}function ni(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,7,"div",[["formArrayName","pos_machines_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,li)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"pos_machines_details");l(n,8,0,e.businessForm.controls.pos_machines_details.controls)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function ei(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,788,{_control:0}),Df._37(335544320,789,{_placeholderChild:0}),Df._37(335544320,790,{_labelChild:0}),Df._37(603979776,791,{_errorChildren:1}),Df._37(603979776,792,{_hintChildren:1}),Df._37(603979776,793,{_prefixChildren:1}),Df._37(603979776,794,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","no_of_pos_machines"],["matInput",""],["placeholder","Number of POS machines?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.toGetPOSMachinesDetails(e.target.value,1)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[788,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ni)),Df._17(24,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"no_of_pos_machines");l(n,19,0,"Number of POS machines?","number");l(n,24,0,e.businessForm.controls.pos_machines_details)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()])})}function ui(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,23,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(4,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(6,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(7,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["Digital Payments"])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(11,0,null,0,11,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(12,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ja)),Df._17(15,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,Xa)),Df._17(18,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,ei)),Df._17(21,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n \n "]))],function(l,n){var e=n.component;l(n,15,0,e.businessForm.controls.applicant_use_mobile_wallets);l(n,18,0,e.businessForm.controls.applicant_use_pos_machines);l(n,21,0,"yes"==e.businessForm.controls.applicant_use_pos_machines.value)},null)}function ti(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,71,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","margin-top:10px;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,813,{_control:0}),Df._37(335544320,814,{_placeholderChild:0}),Df._37(335544320,815,{_labelChild:0}),Df._37(603979776,816,{_errorChildren:1}),Df._37(603979776,817,{_hintChildren:1}),Df._37(603979776,818,{_prefixChildren:1}),Df._37(603979776,819,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,60,"mat-select",[["class","mat-select"],["formControlName","peak_period_of_business"],["multiple",""],["placeholder","In Which Period Is Maximum Sale / Service Done "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(11,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},null),Df._37(603979776,820,{options:1}),Df._37(603979776,821,{optionGroups:1}),Df._37(335544320,822,{customTrigger:0}),Df._36(2048,[[813,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,24)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,24)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(24,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["January"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,28)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,28)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(28,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["February"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","3"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,32)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,32)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(32,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["March"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(35,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","4"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,36)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,36)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(36,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["April"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(39,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","5"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,40)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,40)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(40,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["May"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","6"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,44)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,44)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(44,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["June"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","7"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,48)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,48)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(48,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["July"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(51,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","8"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,52)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,52)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(52,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["August"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(55,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","9"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,56)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,56)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(56,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["September"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(59,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","10"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,60)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,60)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(60,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["October"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(63,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","11"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,64)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,64)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(64,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["November"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(67,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","12"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,68)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,68)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(68,8437760,[[820,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["December"])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"");l(n,13,0,"peak_period_of_business");l(n,16,0,"In Which Period Is Maximum Sale / Service Done ","","");l(n,24,0,"1");l(n,28,0,"2");l(n,32,0,"3");l(n,36,0,"4");l(n,40,0,"5");l(n,44,0,"6");l(n,48,0,"7");l(n,52,0,"8");l(n,56,0,"9");l(n,60,0,"10");l(n,64,0,"11");l(n,68,0,"12")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,11).required?"":null,Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required]);l(n,23,0,Df._32(n,24)._getTabIndex(),Df._32(n,24).selected,Df._32(n,24).multiple,Df._32(n,24).active,Df._32(n,24).id,Df._32(n,24).selected.toString(),Df._32(n,24).disabled.toString(),Df._32(n,24).disabled);l(n,27,0,Df._32(n,28)._getTabIndex(),Df._32(n,28).selected,Df._32(n,28).multiple,Df._32(n,28).active,Df._32(n,28).id,Df._32(n,28).selected.toString(),Df._32(n,28).disabled.toString(),Df._32(n,28).disabled);l(n,31,0,Df._32(n,32)._getTabIndex(),Df._32(n,32).selected,Df._32(n,32).multiple,Df._32(n,32).active,Df._32(n,32).id,Df._32(n,32).selected.toString(),Df._32(n,32).disabled.toString(),Df._32(n,32).disabled);l(n,35,0,Df._32(n,36)._getTabIndex(),Df._32(n,36).selected,Df._32(n,36).multiple,Df._32(n,36).active,Df._32(n,36).id,Df._32(n,36).selected.toString(),Df._32(n,36).disabled.toString(),Df._32(n,36).disabled);l(n,39,0,Df._32(n,40)._getTabIndex(),Df._32(n,40).selected,Df._32(n,40).multiple,Df._32(n,40).active,Df._32(n,40).id,Df._32(n,40).selected.toString(),Df._32(n,40).disabled.toString(),Df._32(n,40).disabled);l(n,43,0,Df._32(n,44)._getTabIndex(),Df._32(n,44).selected,Df._32(n,44).multiple,Df._32(n,44).active,Df._32(n,44).id,Df._32(n,44).selected.toString(),Df._32(n,44).disabled.toString(),Df._32(n,44).disabled);l(n,47,0,Df._32(n,48)._getTabIndex(),Df._32(n,48).selected,Df._32(n,48).multiple,Df._32(n,48).active,Df._32(n,48).id,Df._32(n,48).selected.toString(),Df._32(n,48).disabled.toString(),Df._32(n,48).disabled);l(n,51,0,Df._32(n,52)._getTabIndex(),Df._32(n,52).selected,Df._32(n,52).multiple,Df._32(n,52).active,Df._32(n,52).id,Df._32(n,52).selected.toString(),Df._32(n,52).disabled.toString(),Df._32(n,52).disabled);l(n,55,0,Df._32(n,56)._getTabIndex(),Df._32(n,56).selected,Df._32(n,56).multiple,Df._32(n,56).active,Df._32(n,56).id,Df._32(n,56).selected.toString(),Df._32(n,56).disabled.toString(),Df._32(n,56).disabled);l(n,59,0,Df._32(n,60)._getTabIndex(),Df._32(n,60).selected,Df._32(n,60).multiple,Df._32(n,60).active,Df._32(n,60).id,Df._32(n,60).selected.toString(),Df._32(n,60).disabled.toString(),Df._32(n,60).disabled);l(n,63,0,Df._32(n,64)._getTabIndex(),Df._32(n,64).selected,Df._32(n,64).multiple,Df._32(n,64).active,Df._32(n,64).id,Df._32(n,64).selected.toString(),Df._32(n,64).disabled.toString(),Df._32(n,64).disabled);l(n,67,0,Df._32(n,68)._getTabIndex(),Df._32(n,68).selected,Df._32(n,68).multiple,Df._32(n,68).active,Df._32(n,68).id,Df._32(n,68).selected.toString(),Df._32(n,68).disabled.toString(),Df._32(n,68).disabled)})}function ai(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,823,{_control:0}),Df._37(335544320,824,{_placeholderChild:0}),Df._37(335544320,825,{_labelChild:0}),Df._37(603979776,826,{_errorChildren:1}),Df._37(603979776,827,{_hintChildren:1}),Df._37(603979776,828,{_prefixChildren:1}),Df._37(603979776,829,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","month_of_business_run"],["matInput",""],["placeholder","Comments"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,20)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(17,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(19,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(20,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[823,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,14,0,"");l(n,17,0,"month_of_business_run");l(n,20,0,"Comments","")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,14).required?"":null,Df._32(n,19).ngClassUntouched,Df._32(n,19).ngClassTouched,Df._32(n,19).ngClassPristine,Df._32(n,19).ngClassDirty,Df._32(n,19).ngClassValid,Df._32(n,19).ngClassInvalid,Df._32(n,19).ngClassPending,Df._32(n,20)._isServer,Df._32(n,20).id,Df._32(n,20).placeholder,Df._32(n,20).disabled,Df._32(n,20).required,Df._32(n,20).readonly,Df._32(n,20)._ariaDescribedby||null,Df._32(n,20).errorState,Df._32(n,20).required.toString()])})}function ii(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[855,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.appxSalaryAmtInwords)})}function oi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Export / Import cert"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,19,"mat-radio-group",[["class","mat-radio-group"],["formControlName","export_import_cert"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,877,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(9,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(11,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,14)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(14,4440064,[[877,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,18)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(18,4440064,[[877,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(21,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,22)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(22,4440064,[[877,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NA"])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"export_import_cert");l(n,14,0,"yes");l(n,18,0,"no");l(n,22,0,"not applicable")},function(l,n){l(n,5,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending);l(n,13,0,Df._32(n,14).checked,Df._32(n,14).disabled,Df._32(n,14).id);l(n,17,0,Df._32(n,18).checked,Df._32(n,18).disabled,Df._32(n,18).id);l(n,21,0,Df._32(n,22).checked,Df._32(n,22).disabled,Df._32(n,22).id)})}function ri(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Factory Cert"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,19,"mat-radio-group",[["class","mat-radio-group"],["formControlName","factory_cert"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,878,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(9,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(11,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,14)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(14,4440064,[[878,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,18)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(18,4440064,[[878,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(21,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,22)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(22,4440064,[[878,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NA"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"factory_cert");l(n,14,0,"yes");l(n,18,0,"no");l(n,22,0,"not applicable")},function(l,n){l(n,5,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending);l(n,13,0,Df._32(n,14).checked,Df._32(n,14).disabled,Df._32(n,14).id);l(n,17,0,Df._32(n,18).checked,Df._32(n,18).disabled,Df._32(n,18).id);l(n,21,0,Df._32(n,22).checked,Df._32(n,22).disabled,Df._32(n,22).id)})}function _i(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Cert of Practice"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,19,"mat-radio-group",[["class","mat-radio-group"],["formControlName","practice_cert"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,879,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(9,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(11,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,14)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(14,4440064,[[879,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,18)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(18,4440064,[[879,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(21,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,22)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(22,4440064,[[879,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NA"])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"practice_cert");l(n,14,0,"yes");l(n,18,0,"no");l(n,22,0,"not applicable")},function(l,n){l(n,5,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending);l(n,13,0,Df._32(n,14).checked,Df._32(n,14).disabled,Df._32(n,14).id);l(n,17,0,Df._32(n,18).checked,Df._32(n,18).disabled,Df._32(n,18).id);l(n,21,0,Df._32(n,22).checked,Df._32(n,22).disabled,Df._32(n,22).id)})}function di(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteDocuments(l.parent.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","");l(n,3,0,"md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function si(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,27,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:80%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,883,{_control:0}),Df._37(335544320,884,{_placeholderChild:0}),Df._37(335544320,885,{_labelChild:0}),Df._37(603979776,886,{_errorChildren:1}),Df._37(603979776,887,{_hintChildren:1}),Df._37(603979776,888,{_prefixChildren:1}),Df._37(603979776,889,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","document"],["matInput",""],["placeholder","Specify Document Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,21)._onInput()&&u}return u},null,null)),Df._17(16,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(18,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(20,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(21,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[883,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,di)),Df._17(26,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,18,0,"document");l(n,21,0,"Specify Document Details");l(n,26,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,20).ngClassUntouched,Df._32(n,20).ngClassTouched,Df._32(n,20).ngClassPristine,Df._32(n,20).ngClassDirty,Df._32(n,20).ngClassValid,Df._32(n,20).ngClassInvalid,Df._32(n,20).ngClassPending,Df._32(n,21)._isServer,Df._32(n,21).id,Df._32(n,21).placeholder,Df._32(n,21).disabled,Df._32(n,21).required,Df._32(n,21).readonly,Df._32(n,21)._ariaDescribedby||null,Df._32(n,21).errorState,Df._32(n,21).required.toString()])})}function ci(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,15,"div",[["formArrayName","documents"],["style","margin-top:10px"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,si)),Df._17(6,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,6,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addDocuments()&&u}return u},Vy.b,Vy.a)),Df._17(11,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add Documents"])),(l()(),Df._18(13,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,"documents");l(n,6,0,e.businessForm.controls.documents.controls);l(n,11,0,"optblue")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending)})}function mi(l){return Df._41(0,[Df._33(0,rg.t,[]),(l()(),Df._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,9).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(8,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(9,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(10,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(14,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,ou)),Df._17(18,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(22,0,null,null,481,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,477,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,27).onReset()&&u}return u},null,null)),Df._17(26,16384,null,0,Jf.B,[],null,null),Df._17(27,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(29,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,8,"div",[["formArrayName","partners"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(32,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(34,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,yu)),Df._17(37,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._18(38,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(41,0,null,null,17,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(43,0,null,null,10,"div",[["formArrayName","persons_with_relationships"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(44,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(46,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(48,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Add Others Family Members Involved in Business"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Su)),Df._17(52,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(55,0,null,null,2,"button",[["block",""],["color","optblue"],["ion-button",""],["round",""],["style","font-size: 13px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addPersonRelationship(e)&&u}return u},Vy.b,Vy.a)),Df._17(56,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],round:[1,"round"],block:[2,"block"]},null),(l()(),Df._39(-1,0,["Add More Relationship"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(59,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(61,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(62,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(64,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(65,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["Type of Business Activity"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(68,0,null,0,8,"mat-card-content",[["class","mat-card-content"],["formArrayName","select_business_activity_type"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(69,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(71,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(72,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Iu)),Df._17(75,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,tt)),Df._17(80,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n \n \n \n \n \n "])),(l()(),Df._13(16777216,null,null,1,null,Nt)),Df._17(83,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._13(16777216,null,null,1,null,ha)),Df._17(86,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,za)),Df._17(89,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n"])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Qa)),Df._17(93,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,ui)),Df._17(96,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(98,0,null,null,43,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(99,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(101,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(102,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,[" \n "])),(l()(),Df._18(104,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(105,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["Seasonality"])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(109,0,null,0,31,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(110,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(112,0,null,null,24,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(114,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Is The Business Seasonal"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(117,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","seasonality"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(118,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,812,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(121,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(123,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(125,0,null,null,2,"mat-radio-button",[["class","ses mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,126)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(126,4440064,[[812,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(129,0,null,null,2,"mat-radio-button",[["class","ses mat-radio-button"],["value","no major changes in sales"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,130)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(130,4440064,[[812,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No Major Changes In Sales"])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ti)),Df._17(135,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ai)),Df._17(139,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(143,0,null,null,104,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(144,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(146,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(147,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(149,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(150,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["Employees As Per Applicant "])),(l()(),Df._39(-1,2,["\n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(154,0,null,0,92,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),Df._17(155,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(157,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(158,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,830,{_control:0}),Df._37(335544320,831,{_placeholderChild:0}),Df._37(335544320,832,{_labelChild:0}),Df._37(603979776,833,{_errorChildren:1}),Df._37(603979776,834,{_hintChildren:1}),Df._37(603979776,835,{_prefixChildren:1}),Df._37(603979776,836,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(167,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_permanent"],["matInput",""],["placeholder","Permanent"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,168)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,168).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,168)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,168)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,175)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,175)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,175)._onInput()&&u}if("change"===n){u=!1!==t.checkTotalEmployee(t.businessForm)&&u}return u},null,null)),Df._17(168,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(169,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(172,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(174,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(175,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[830,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(179,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(180,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,837,{_control:0}),Df._37(335544320,838,{_placeholderChild:0}),Df._37(335544320,839,{_labelChild:0}),Df._37(603979776,840,{_errorChildren:1}),Df._37(603979776,841,{_hintChildren:1}),Df._37(603979776,842,{_prefixChildren:1}),Df._37(603979776,843,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(189,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_temporary"],["matInput",""],["placeholder","Temporary"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,190)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,190).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,190)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,190)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,197)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,197)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,197)._onInput()&&u}if("change"===n){u=!1!==t.checkTotalEmployee(t.businessForm)&&u}return u},null,null)),Df._17(190,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(191,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(194,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(196,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(197,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[837,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(201,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(202,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,844,{_control:0}),Df._37(335544320,845,{_placeholderChild:0}),Df._37(335544320,846,{_labelChild:0}),Df._37(603979776,847,{_errorChildren:1}),Df._37(603979776,848,{_hintChildren:1}),Df._37(603979776,849,{_prefixChildren:1}),Df._37(603979776,850,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(211,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_total"],["matInput",""],["placeholder","Total"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,212)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,212).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,212)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,212)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,217)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,217)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,217)._onInput()&&u}return u},null,null)),Df._17(212,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(214,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(216,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(217,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Df._36(2048,[[844,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(221,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(222,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,851,{_control:0}),Df._37(335544320,852,{_placeholderChild:0}),Df._37(335544320,853,{_labelChild:0}),Df._37(603979776,854,{_errorChildren:1}),Df._37(603979776,855,{_hintChildren:1}),Df._37(603979776,856,{_prefixChildren:1}),Df._37(603979776,857,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(231,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","employees_appx_salary"],["matInput",""],["placeholder","Approximate total monthly salary paid to employees"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,232)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,232).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,232)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,232)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,233).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,233).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,233).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,240)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,240)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,240)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,1)&&u}return u},null,null)),Df._17(232,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(233,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(234,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(237,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(239,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(240,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[851,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,ii)),Df._17(244,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(249,0,null,null,72,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(250,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(252,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(253,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(255,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(256,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["No of Employees Sighted By PD Officer During His Visit "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(260,0,null,0,60,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),Df._17(261,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(263,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(264,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,858,{_control:0}),Df._37(335544320,859,{_placeholderChild:0}),Df._37(335544320,860,{_labelChild:0}),Df._37(603979776,861,{_errorChildren:1}),Df._37(603979776,862,{_hintChildren:1}),Df._37(603979776,863,{_prefixChildren:1}),Df._37(603979776,864,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(273,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","officer_total"],["matInput",""],["placeholder","Total"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,274)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,274).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,274)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,274)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,281)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,281)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,281)._onInput()&&u}return u},null,null)),Df._17(274,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(275,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(278,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(280,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(281,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[858,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(287,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(288,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,865,{_control:0}),Df._37(335544320,866,{_placeholderChild:0}),Df._37(335544320,867,{_labelChild:0}),Df._37(603979776,868,{_errorChildren:1}),Df._37(603979776,869,{_hintChildren:1}),Df._37(603979776,870,{_prefixChildren:1}),Df._37(603979776,871,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(297,0,null,1,21,"mat-select",[["class","mat-select"],["formControlName","was_the_company_name_board_sighted"],["placeholder","Was the Company name board sighted ?"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,303)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,303)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,303)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(298,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(300,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(302,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(303,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,872,{options:1}),Df._37(603979776,873,{optionGroups:1}),Df._37(335544320,874,{customTrigger:0}),Df._36(2048,[[865,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(310,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,311)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,311)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(311,8437760,[[872,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(314,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,315)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,315)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(315,8437760,[[872,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(323,0,null,null,142,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(324,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(326,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(327,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(329,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(330,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["Documents Sighted "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(334,0,null,0,130,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),Df._17(335,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(337,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Shop and Est Act Cert"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(340,0,null,null,19,"mat-radio-group",[["class","mat-radio-group"],["formControlName","shop_eat_act_cert"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(341,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,875,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(344,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(346,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(348,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,349)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(349,4440064,[[875,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(352,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,353)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(353,4440064,[[875,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(356,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,357)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(357,4440064,[[875,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NA"])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(361,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["GST Regn Cert"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(364,0,null,null,19,"mat-radio-group",[["class","mat-radio-group"],["formControlName","gst_Regn_cert"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(365,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,876,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(368,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(370,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(372,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,373)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(373,4440064,[[876,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(376,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,377)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(377,4440064,[[876,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(380,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,381)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(381,4440064,[[876,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NA"])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,oi)),Df._17(386,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,ri)),Df._17(389,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,_i)),Df._17(392,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._18(394,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["PF Regn"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(397,0,null,null,19,"mat-radio-group",[["class","mat-radio-group"],["formControlName","pf_regn"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(398,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,880,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(401,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(403,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(405,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,406)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(406,4440064,[[880,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(409,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,410)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(410,4440064,[[880,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(413,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,414)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(414,4440064,[[880,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NA"])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(418,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["ESIC Regn"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(421,0,null,null,19,"mat-radio-group",[["class","mat-radio-group"],["formControlName","esic_regn"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(422,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,881,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(425,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(427,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(429,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,430)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(430,4440064,[[881,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(433,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,434)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(434,4440064,[[881,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(437,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","not applicable"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,438)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(438,4440064,[[881,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NA"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._18(442,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Do You Want to Add Other Documents?"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(445,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","other_documents"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(446,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,882,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(449,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(451,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(453,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,454)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(454,4440064,[[882,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(457,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,458)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(458,4440064,[[882,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,ci)),Df._17(463,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(467,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(468,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(470,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(471,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,890,{_control:0}),Df._37(335544320,891,{_placeholderChild:0}),Df._37(335544320,892,{_labelChild:0}),Df._37(603979776,893,{_errorChildren:1}),Df._37(603979776,894,{_hintChildren:1}),Df._37(603979776,895,{_prefixChildren:1}),Df._37(603979776,896,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(480,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(481,16384,[[892,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(484,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_remarks"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,485)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,485).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,485)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,485)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,490)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,490)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,490)._onInput()&&u}return u},null,null)),Df._17(485,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(487,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(489,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(490,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],null,null),Df._36(2048,[[890,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(495,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(496,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(498,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.submitDetails()&&u}return u},Vy.b,Vy.a)),Df._17(499,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.businessForm);l(n,32,0,"partners");l(n,37,0,e.businessForm.controls.partners.controls);l(n,44,0,"persons_with_relationships");l(n,52,0,e.businessForm.controls.persons_with_relationships.controls);l(n,56,0,"optblue","","");l(n,69,0,"select_business_activity_type");l(n,75,0,e.businessForm.controls.select_business_activity_type.controls);l(n,80,0,e.businessForm.controls.manufacturing_activity_details.controls.length>0);l(n,83,0,e.businessForm.controls.retail_trading_activity_details.controls.length>0);l(n,86,0,e.businessForm.controls.wholesale_trading_activity_details.controls.length>0);l(n,89,0,e.businessForm.controls.service_provider_activity_details.controls.length>0);l(n,93,0,e.ExportFlag);l(n,96,0,e.businessForm.controls.applicant_use_mobile_wallets||e.businessForm.controls.applicant_use_pos_machines);l(n,121,0,"seasonality");l(n,126,0,"yes");l(n,130,0,"no major changes in sales");l(n,135,0,"yes"==e.businessForm.controls.seasonality.value);l(n,139,0,"yes"==e.businessForm.controls.seasonality.value);l(n,169,0,"");l(n,172,0,"employees_permanent");l(n,175,0,"Permanent","");l(n,191,0,"");l(n,194,0,"employees_temporary");l(n,197,0,"Temporary","");l(n,214,0,"employees_total");l(n,217,0,"Total","");l(n,234,0,"");l(n,237,0,"employees_appx_salary");l(n,240,0,"Approximate total monthly salary paid to employees","","number");l(n,244,0,""!=e.businessForm.controls.employees_appx_salary.value);l(n,275,0,"");l(n,278,0,"officer_total");l(n,281,0,"Total","");l(n,298,0,"");l(n,300,0,"was_the_company_name_board_sighted");l(n,303,0,"Was the Company name board sighted ?","");l(n,311,0,"yes");l(n,315,0,"no");l(n,344,0,"shop_eat_act_cert");l(n,349,0,"yes");l(n,353,0,"no");l(n,357,0,"not applicable");l(n,368,0,"gst_Regn_cert");l(n,373,0,"yes");l(n,377,0,"no");l(n,381,0,"not applicable");l(n,386,0,e.businessForm.controls.export_import_cert);l(n,389,0,e.businessForm.controls.factory_cert);l(n,392,0,e.businessForm.controls.practice_cert);l(n,401,0,"pf_regn");l(n,406,0,"yes");l(n,410,0,"no");l(n,414,0,"not applicable");l(n,425,0,"esic_regn");l(n,430,0,"yes");l(n,434,0,"no");l(n,438,0,"not applicable");l(n,449,0,"other_documents");l(n,454,0,"yes");l(n,458,0,"no");l(n,463,0,"yes"==e.businessForm.controls.other_documents.value);l(n,487,0,"business_remarks"),l(n,490,0);l(n,499,0,"optblue","")},function(l,n){l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,7,0,Df._32(n,9).isHidden);l(n,13,0,Df._32(n,14)._hidden);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher);l(n,25,0,Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending);l(n,31,0,Df._32(n,34).ngClassUntouched,Df._32(n,34).ngClassTouched,Df._32(n,34).ngClassPristine,Df._32(n,34).ngClassDirty,Df._32(n,34).ngClassValid,Df._32(n,34).ngClassInvalid,Df._32(n,34).ngClassPending);l(n,43,0,Df._32(n,46).ngClassUntouched,Df._32(n,46).ngClassTouched,Df._32(n,46).ngClassPristine,Df._32(n,46).ngClassDirty,Df._32(n,46).ngClassValid,Df._32(n,46).ngClassInvalid,Df._32(n,46).ngClassPending);l(n,68,0,Df._32(n,71).ngClassUntouched,Df._32(n,71).ngClassTouched,Df._32(n,71).ngClassPristine,Df._32(n,71).ngClassDirty,Df._32(n,71).ngClassValid,Df._32(n,71).ngClassInvalid,Df._32(n,71).ngClassPending);l(n,117,0,Df._32(n,123).ngClassUntouched,Df._32(n,123).ngClassTouched,Df._32(n,123).ngClassPristine,Df._32(n,123).ngClassDirty,Df._32(n,123).ngClassValid,Df._32(n,123).ngClassInvalid,Df._32(n,123).ngClassPending);l(n,125,0,Df._32(n,126).checked,Df._32(n,126).disabled,Df._32(n,126).id);l(n,129,0,Df._32(n,130).checked,Df._32(n,130).disabled,Df._32(n,130).id);l(n,157,1,[Df._32(n,158)._control.errorState,Df._32(n,158)._control.errorState,Df._32(n,158)._canLabelFloat,Df._32(n,158)._shouldLabelFloat(),Df._32(n,158)._hideControlPlaceholder(),Df._32(n,158)._control.disabled,Df._32(n,158)._control.focused,"primary"==Df._32(n,158).color,"accent"==Df._32(n,158).color,"warn"==Df._32(n,158).color,Df._32(n,158)._shouldForward("untouched"),Df._32(n,158)._shouldForward("touched"),Df._32(n,158)._shouldForward("pristine"),Df._32(n,158)._shouldForward("dirty"),Df._32(n,158)._shouldForward("valid"),Df._32(n,158)._shouldForward("invalid"),Df._32(n,158)._shouldForward("pending")]);l(n,167,1,[Df._32(n,169).required?"":null,Df._32(n,174).ngClassUntouched,Df._32(n,174).ngClassTouched,Df._32(n,174).ngClassPristine,Df._32(n,174).ngClassDirty,Df._32(n,174).ngClassValid,Df._32(n,174).ngClassInvalid,Df._32(n,174).ngClassPending,Df._32(n,175)._isServer,Df._32(n,175).id,Df._32(n,175).placeholder,Df._32(n,175).disabled,Df._32(n,175).required,Df._32(n,175).readonly,Df._32(n,175)._ariaDescribedby||null,Df._32(n,175).errorState,Df._32(n,175).required.toString()]);l(n,179,1,[Df._32(n,180)._control.errorState,Df._32(n,180)._control.errorState,Df._32(n,180)._canLabelFloat,Df._32(n,180)._shouldLabelFloat(),Df._32(n,180)._hideControlPlaceholder(),Df._32(n,180)._control.disabled,Df._32(n,180)._control.focused,"primary"==Df._32(n,180).color,"accent"==Df._32(n,180).color,"warn"==Df._32(n,180).color,Df._32(n,180)._shouldForward("untouched"),Df._32(n,180)._shouldForward("touched"),Df._32(n,180)._shouldForward("pristine"),Df._32(n,180)._shouldForward("dirty"),Df._32(n,180)._shouldForward("valid"),Df._32(n,180)._shouldForward("invalid"),Df._32(n,180)._shouldForward("pending")]);l(n,189,1,[Df._32(n,191).required?"":null,Df._32(n,196).ngClassUntouched,Df._32(n,196).ngClassTouched,Df._32(n,196).ngClassPristine,Df._32(n,196).ngClassDirty,Df._32(n,196).ngClassValid,Df._32(n,196).ngClassInvalid,Df._32(n,196).ngClassPending,Df._32(n,197)._isServer,Df._32(n,197).id,Df._32(n,197).placeholder,Df._32(n,197).disabled,Df._32(n,197).required,Df._32(n,197).readonly,Df._32(n,197)._ariaDescribedby||null,Df._32(n,197).errorState,Df._32(n,197).required.toString()]);l(n,201,1,[Df._32(n,202)._control.errorState,Df._32(n,202)._control.errorState,Df._32(n,202)._canLabelFloat,Df._32(n,202)._shouldLabelFloat(),Df._32(n,202)._hideControlPlaceholder(),Df._32(n,202)._control.disabled,Df._32(n,202)._control.focused,"primary"==Df._32(n,202).color,"accent"==Df._32(n,202).color,"warn"==Df._32(n,202).color,Df._32(n,202)._shouldForward("untouched"),Df._32(n,202)._shouldForward("touched"),Df._32(n,202)._shouldForward("pristine"),Df._32(n,202)._shouldForward("dirty"),Df._32(n,202)._shouldForward("valid"),Df._32(n,202)._shouldForward("invalid"),Df._32(n,202)._shouldForward("pending")]);l(n,211,1,[Df._32(n,216).ngClassUntouched,Df._32(n,216).ngClassTouched,Df._32(n,216).ngClassPristine,Df._32(n,216).ngClassDirty,Df._32(n,216).ngClassValid,Df._32(n,216).ngClassInvalid,Df._32(n,216).ngClassPending,Df._32(n,217)._isServer,Df._32(n,217).id,Df._32(n,217).placeholder,Df._32(n,217).disabled,Df._32(n,217).required,Df._32(n,217).readonly,Df._32(n,217)._ariaDescribedby||null,Df._32(n,217).errorState,Df._32(n,217).required.toString()]);l(n,221,1,[Df._32(n,222)._control.errorState,Df._32(n,222)._control.errorState,Df._32(n,222)._canLabelFloat,Df._32(n,222)._shouldLabelFloat(),Df._32(n,222)._hideControlPlaceholder(),Df._32(n,222)._control.disabled,Df._32(n,222)._control.focused,"primary"==Df._32(n,222).color,"accent"==Df._32(n,222).color,"warn"==Df._32(n,222).color,Df._32(n,222)._shouldForward("untouched"),Df._32(n,222)._shouldForward("touched"),Df._32(n,222)._shouldForward("pristine"),Df._32(n,222)._shouldForward("dirty"),Df._32(n,222)._shouldForward("valid"),Df._32(n,222)._shouldForward("invalid"),Df._32(n,222)._shouldForward("pending")]);l(n,231,1,[Df._32(n,234).required?"":null,Df._32(n,239).ngClassUntouched,Df._32(n,239).ngClassTouched,Df._32(n,239).ngClassPristine,Df._32(n,239).ngClassDirty,Df._32(n,239).ngClassValid,Df._32(n,239).ngClassInvalid,Df._32(n,239).ngClassPending,Df._32(n,240)._isServer,Df._32(n,240).id,Df._32(n,240).placeholder,Df._32(n,240).disabled,Df._32(n,240).required,Df._32(n,240).readonly,Df._32(n,240)._ariaDescribedby||null,Df._32(n,240).errorState,Df._32(n,240).required.toString()]);l(n,263,1,[Df._32(n,264)._control.errorState,Df._32(n,264)._control.errorState,Df._32(n,264)._canLabelFloat,Df._32(n,264)._shouldLabelFloat(),Df._32(n,264)._hideControlPlaceholder(),Df._32(n,264)._control.disabled,Df._32(n,264)._control.focused,"primary"==Df._32(n,264).color,"accent"==Df._32(n,264).color,"warn"==Df._32(n,264).color,Df._32(n,264)._shouldForward("untouched"),Df._32(n,264)._shouldForward("touched"),Df._32(n,264)._shouldForward("pristine"),Df._32(n,264)._shouldForward("dirty"),Df._32(n,264)._shouldForward("valid"),Df._32(n,264)._shouldForward("invalid"),Df._32(n,264)._shouldForward("pending")]);l(n,273,1,[Df._32(n,275).required?"":null,Df._32(n,280).ngClassUntouched,Df._32(n,280).ngClassTouched,Df._32(n,280).ngClassPristine,Df._32(n,280).ngClassDirty,Df._32(n,280).ngClassValid,Df._32(n,280).ngClassInvalid,Df._32(n,280).ngClassPending,Df._32(n,281)._isServer,Df._32(n,281).id,Df._32(n,281).placeholder,Df._32(n,281).disabled,Df._32(n,281).required,Df._32(n,281).readonly,Df._32(n,281)._ariaDescribedby||null,Df._32(n,281).errorState,Df._32(n,281).required.toString()]);l(n,287,1,[Df._32(n,288)._control.errorState,Df._32(n,288)._control.errorState,Df._32(n,288)._canLabelFloat,Df._32(n,288)._shouldLabelFloat(),Df._32(n,288)._hideControlPlaceholder(),Df._32(n,288)._control.disabled,Df._32(n,288)._control.focused,"primary"==Df._32(n,288).color,"accent"==Df._32(n,288).color,"warn"==Df._32(n,288).color,Df._32(n,288)._shouldForward("untouched"),Df._32(n,288)._shouldForward("touched"),Df._32(n,288)._shouldForward("pristine"),Df._32(n,288)._shouldForward("dirty"),Df._32(n,288)._shouldForward("valid"),Df._32(n,288)._shouldForward("invalid"),Df._32(n,288)._shouldForward("pending")]);l(n,297,1,[Df._32(n,298).required?"":null,Df._32(n,302).ngClassUntouched,Df._32(n,302).ngClassTouched,Df._32(n,302).ngClassPristine,Df._32(n,302).ngClassDirty,Df._32(n,302).ngClassValid,Df._32(n,302).ngClassInvalid,Df._32(n,302).ngClassPending,Df._32(n,303).id,Df._32(n,303).tabIndex,Df._32(n,303)._ariaLabel,Df._32(n,303).ariaLabelledby,Df._32(n,303).required.toString(),Df._32(n,303).disabled.toString(),Df._32(n,303).errorState,Df._32(n,303).panelOpen?Df._32(n,303)._optionIds:null,Df._32(n,303).multiple,Df._32(n,303)._ariaDescribedby||null,Df._32(n,303)._getAriaActiveDescendant(),Df._32(n,303).disabled,Df._32(n,303).errorState,Df._32(n,303).required]);l(n,310,0,Df._32(n,311)._getTabIndex(),Df._32(n,311).selected,Df._32(n,311).multiple,Df._32(n,311).active,Df._32(n,311).id,Df._32(n,311).selected.toString(),Df._32(n,311).disabled.toString(),Df._32(n,311).disabled);l(n,314,0,Df._32(n,315)._getTabIndex(),Df._32(n,315).selected,Df._32(n,315).multiple,Df._32(n,315).active,Df._32(n,315).id,Df._32(n,315).selected.toString(),Df._32(n,315).disabled.toString(),Df._32(n,315).disabled);l(n,340,0,Df._32(n,346).ngClassUntouched,Df._32(n,346).ngClassTouched,Df._32(n,346).ngClassPristine,Df._32(n,346).ngClassDirty,Df._32(n,346).ngClassValid,Df._32(n,346).ngClassInvalid,Df._32(n,346).ngClassPending);l(n,348,0,Df._32(n,349).checked,Df._32(n,349).disabled,Df._32(n,349).id);l(n,352,0,Df._32(n,353).checked,Df._32(n,353).disabled,Df._32(n,353).id);l(n,356,0,Df._32(n,357).checked,Df._32(n,357).disabled,Df._32(n,357).id);l(n,364,0,Df._32(n,370).ngClassUntouched,Df._32(n,370).ngClassTouched,Df._32(n,370).ngClassPristine,Df._32(n,370).ngClassDirty,Df._32(n,370).ngClassValid,Df._32(n,370).ngClassInvalid,Df._32(n,370).ngClassPending);l(n,372,0,Df._32(n,373).checked,Df._32(n,373).disabled,Df._32(n,373).id);l(n,376,0,Df._32(n,377).checked,Df._32(n,377).disabled,Df._32(n,377).id);l(n,380,0,Df._32(n,381).checked,Df._32(n,381).disabled,Df._32(n,381).id);l(n,397,0,Df._32(n,403).ngClassUntouched,Df._32(n,403).ngClassTouched,Df._32(n,403).ngClassPristine,Df._32(n,403).ngClassDirty,Df._32(n,403).ngClassValid,Df._32(n,403).ngClassInvalid,Df._32(n,403).ngClassPending);l(n,405,0,Df._32(n,406).checked,Df._32(n,406).disabled,Df._32(n,406).id);l(n,409,0,Df._32(n,410).checked,Df._32(n,410).disabled,Df._32(n,410).id);l(n,413,0,Df._32(n,414).checked,Df._32(n,414).disabled,Df._32(n,414).id);l(n,421,0,Df._32(n,427).ngClassUntouched,Df._32(n,427).ngClassTouched,Df._32(n,427).ngClassPristine,Df._32(n,427).ngClassDirty,Df._32(n,427).ngClassValid,Df._32(n,427).ngClassInvalid,Df._32(n,427).ngClassPending);l(n,429,0,Df._32(n,430).checked,Df._32(n,430).disabled,Df._32(n,430).id);l(n,433,0,Df._32(n,434).checked,Df._32(n,434).disabled,Df._32(n,434).id);l(n,437,0,Df._32(n,438).checked,Df._32(n,438).disabled,Df._32(n,438).id);l(n,445,0,Df._32(n,451).ngClassUntouched,Df._32(n,451).ngClassTouched,Df._32(n,451).ngClassPristine,Df._32(n,451).ngClassDirty,Df._32(n,451).ngClassValid,Df._32(n,451).ngClassInvalid,Df._32(n,451).ngClassPending);l(n,453,0,Df._32(n,454).checked,Df._32(n,454).disabled,Df._32(n,454).id);l(n,457,0,Df._32(n,458).checked,Df._32(n,458).disabled,Df._32(n,458).id);l(n,470,1,[Df._32(n,471)._control.errorState,Df._32(n,471)._control.errorState,Df._32(n,471)._canLabelFloat,Df._32(n,471)._shouldLabelFloat(),Df._32(n,471)._hideControlPlaceholder(),Df._32(n,471)._control.disabled,Df._32(n,471)._control.focused,"primary"==Df._32(n,471).color,"accent"==Df._32(n,471).color,"warn"==Df._32(n,471).color,Df._32(n,471)._shouldForward("untouched"),Df._32(n,471)._shouldForward("touched"),Df._32(n,471)._shouldForward("pristine"),Df._32(n,471)._shouldForward("dirty"),Df._32(n,471)._shouldForward("valid"),Df._32(n,471)._shouldForward("invalid"),Df._32(n,471)._shouldForward("pending")]);l(n,484,1,[Df._32(n,489).ngClassUntouched,Df._32(n,489).ngClassTouched,Df._32(n,489).ngClassPristine,Df._32(n,489).ngClassDirty,Df._32(n,489).ngClassValid,Df._32(n,489).ngClassInvalid,Df._32(n,489).ngClassPending,Df._32(n,490)._isServer,Df._32(n,490).id,Df._32(n,490).placeholder,Df._32(n,490).disabled,Df._32(n,490).required,Df._32(n,490).readonly,Df._32(n,490)._ariaDescribedby||null,Df._32(n,490).errorState,Df._32(n,490).required.toString()])})}function pi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function fi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[6,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.loanAmtInWords)})}function hi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[23,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.subproduct_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function gi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[33,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.enduse_of_loan_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.enduse_of_loan)})}function bi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","end_use_other"],["matInput",""],["placeholder","Specify End Use"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[36,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"end_use_other");l(n,16,0,"Specify End Use")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function vi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[57,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.balTxrfAmtInWords)})}function yi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,53,{_control:0}),Df._37(335544320,54,{_placeholderChild:0}),Df._37(335544320,55,{_labelChild:0}),Df._37(603979776,56,{_errorChildren:1}),Df._37(603979776,57,{_hintChildren:1}),Df._37(603979776,58,{_prefixChildren:1}),Df._37(603979776,59,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","balance_transfer_amount"],["matInput",""],["placeholder","What is the amount required for Balance Transfer ? "],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"keyup"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}if("blur"===n){u=!1!==t.loanCalc()&&u}if("keyup"===n){u=!1!==t.inWords(e,2)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[53,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,vi)),Df._17(21,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"balance_transfer_amount");l(n,17,0,"What is the amount required for Balance Transfer ? ","number");l(n,21,0,""!=e.loanDetailsForm.controls.loan_amount.value)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()])})}function Ci(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[67,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function wi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,60,{_control:0}),Df._37(335544320,61,{_placeholderChild:0}),Df._37(335544320,62,{_labelChild:0}),Df._37(603979776,63,{_errorChildren:1}),Df._37(603979776,64,{_hintChildren:1}),Df._37(603979776,65,{_prefixChildren:1}),Df._37(603979776,66,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","lender"],["placeholder","Lender from where balance transfer done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,15)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(12,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(14,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(15,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,67,{options:1}),Df._37(603979776,68,{optionGroups:1}),Df._37(335544320,69,{customTrigger:0}),Df._36(2048,[[60,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ci)),Df._17(22,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"lender");l(n,15,0,"Lender from where balance transfer done");l(n,22,0,e.m_btLenderList)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,14).ngClassUntouched,Df._32(n,14).ngClassTouched,Df._32(n,14).ngClassPristine,Df._32(n,14).ngClassDirty,Df._32(n,14).ngClassValid,Df._32(n,14).ngClassInvalid,Df._32(n,14).ngClassPending,Df._32(n,15).id,Df._32(n,15).tabIndex,Df._32(n,15)._ariaLabel,Df._32(n,15).ariaLabelledby,Df._32(n,15).required.toString(),Df._32(n,15).disabled.toString(),Df._32(n,15).errorState,Df._32(n,15).panelOpen?Df._32(n,15)._optionIds:null,Df._32(n,15).multiple,Df._32(n,15)._ariaDescribedby||null,Df._32(n,15)._getAriaActiveDescendant(),Df._32(n,15).disabled,Df._32(n,15).errorState,Df._32(n,15).required])})}function Fi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,70,{_control:0}),Df._37(335544320,71,{_placeholderChild:0}),Df._37(335544320,72,{_labelChild:0}),Df._37(603979776,73,{_errorChildren:1}),Df._37(603979776,74,{_hintChildren:1}),Df._37(603979776,75,{_prefixChildren:1}),Df._37(603979776,76,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_bt_lender"],["matInput",""],["placeholder","Specify Others Lender"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[70,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_bt_lender");l(n,16,0,"Specify Others Lender")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function xi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[81,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.topUpAmtInWords)})}function Si(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,77,{_control:0}),Df._37(335544320,78,{_placeholderChild:0}),Df._37(335544320,79,{_labelChild:0}),Df._37(603979776,80,{_errorChildren:1}),Df._37(603979776,81,{_hintChildren:1}),Df._37(603979776,82,{_prefixChildren:1}),Df._37(603979776,83,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","topup_amount"],["matInput",""],["placeholder","Top Up Amt"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,5)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[77,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,xi)),Df._17(21,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,14,0,"topup_amount");l(n,17,0,"Top Up Amt","number");l(n,21,0,""!=e.loanDetailsForm.controls.topup_amount.value)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()])})}function Ii(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[91,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.end_use_of_topup_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.end_use_of_topup)})}function qi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,84,{_control:0}),Df._37(335544320,85,{_placeholderChild:0}),Df._37(335544320,86,{_labelChild:0}),Df._37(603979776,87,{_errorChildren:1}),Df._37(603979776,88,{_hintChildren:1}),Df._37(603979776,89,{_prefixChildren:1}),Df._37(603979776,90,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","end_use_topup"],["placeholder","What is the End Use of the Top Up?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,15)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(12,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(14,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(15,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,91,{options:1}),Df._37(603979776,92,{optionGroups:1}),Df._37(335544320,93,{customTrigger:0}),Df._36(2048,[[84,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ii)),Df._17(22,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"end_use_topup");l(n,15,0,"What is the End Use of the Top Up?");l(n,22,0,e.m_endUseOFTopUpList)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,14).ngClassUntouched,Df._32(n,14).ngClassTouched,Df._32(n,14).ngClassPristine,Df._32(n,14).ngClassDirty,Df._32(n,14).ngClassValid,Df._32(n,14).ngClassInvalid,Df._32(n,14).ngClassPending,Df._32(n,15).id,Df._32(n,15).tabIndex,Df._32(n,15)._ariaLabel,Df._32(n,15).ariaLabelledby,Df._32(n,15).required.toString(),Df._32(n,15).disabled.toString(),Df._32(n,15).errorState,Df._32(n,15).panelOpen?Df._32(n,15)._optionIds:null,Df._32(n,15).multiple,Df._32(n,15)._ariaDescribedby||null,Df._32(n,15)._getAriaActiveDescendant(),Df._32(n,15).disabled,Df._32(n,15).errorState,Df._32(n,15).required])})}function ki(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,94,{_control:0}),Df._37(335544320,95,{_placeholderChild:0}),Df._37(335544320,96,{_labelChild:0}),Df._37(603979776,97,{_errorChildren:1}),Df._37(603979776,98,{_hintChildren:1}),Df._37(603979776,99,{_prefixChildren:1}),Df._37(603979776,100,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_end_use_topup"],["matInput",""],["placeholder","Specify End Use of Top Up"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[94,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_end_use_topup");l(n,16,0,"Specify End Use of Top Up")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Pi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[105,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.ownContributionInWords)})}function Di(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,101,{_control:0}),Df._37(335544320,102,{_placeholderChild:0}),Df._37(335544320,103,{_labelChild:0}),Df._37(603979776,104,{_errorChildren:1}),Df._37(603979776,105,{_hintChildren:1}),Df._37(603979776,106,{_prefixChildren:1}),Df._37(603979776,107,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","own_contribution"],["matInput",""],["placeholder","Amount of Own Contribution"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,4)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(13,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[101,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Pi)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"");l(n,16,0,"own_contribution");l(n,19,0,"Amount of Own Contribution","","number");l(n,23,0,""!=e.loanDetailsForm.controls.own_contribution.value)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,13).required?"":null,Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()])})}function Ti(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[115,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Oi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,108,{_control:0}),Df._37(335544320,109,{_placeholderChild:0}),Df._37(335544320,110,{_labelChild:0}),Df._37(603979776,111,{_errorChildren:1}),Df._37(603979776,112,{_hintChildren:1}),Df._37(603979776,113,{_prefixChildren:1}),Df._37(603979776,114,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","source"],["multiple",""],["placeholder","Source of Own Contribution"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,15)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.sourceChange(e.value)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(12,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(14,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(15,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},{selectionChange:"selectionChange"}),Df._37(603979776,115,{options:1}),Df._37(603979776,116,{optionGroups:1}),Df._37(335544320,117,{customTrigger:0}),Df._36(2048,[[108,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ti)),Df._17(22,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"source");l(n,15,0,"Source of Own Contribution","");l(n,22,0,e.m_sourceofamount)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,14).ngClassUntouched,Df._32(n,14).ngClassTouched,Df._32(n,14).ngClassPristine,Df._32(n,14).ngClassDirty,Df._32(n,14).ngClassValid,Df._32(n,14).ngClassInvalid,Df._32(n,14).ngClassPending,Df._32(n,15).id,Df._32(n,15).tabIndex,Df._32(n,15)._ariaLabel,Df._32(n,15).ariaLabelledby,Df._32(n,15).required.toString(),Df._32(n,15).disabled.toString(),Df._32(n,15).errorState,Df._32(n,15).panelOpen?Df._32(n,15)._optionIds:null,Df._32(n,15).multiple,Df._32(n,15)._ariaDescribedby||null,Df._32(n,15)._getAriaActiveDescendant(),Df._32(n,15).disabled,Df._32(n,15).errorState,Df._32(n,15).required])})}function Li(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,118,{_control:0}),Df._37(335544320,119,{_placeholderChild:0}),Df._37(335544320,120,{_labelChild:0}),Df._37(603979776,121,{_errorChildren:1}),Df._37(603979776,122,{_hintChildren:1}),Df._37(603979776,123,{_prefixChildren:1}),Df._37(603979776,124,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_source"],["matInput",""],["placeholder","Specify Other Sources"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[118,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_source");l(n,16,0,"Specify Other Sources")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Ai(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[129,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.emiAmtInWords)})}function Vi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[139,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.mortage_property_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.property_name)})}function ji(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,142,{_control:0}),Df._37(335544320,143,{_placeholderChild:0}),Df._37(335544320,144,{_labelChild:0}),Df._37(603979776,145,{_errorChildren:1}),Df._37(603979776,146,{_hintChildren:1}),Df._37(603979776,147,{_prefixChildren:1}),Df._37(603979776,148,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","property_type_others"],["matInput",""],["placeholder","Specify Type of Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[142,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"property_type_others");l(n,16,0,"Specify Type of Property")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Ni(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[156,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Wi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,DC.d,DC.a)),Df._17(1,49152,[[157,4]],0,hy.s,[],{label:[0,"label"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Ni)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,Df._32(n,1).disabled,Df._32(n,1).disabled.toString(),Df._32(n,1)._labelId)})}function Ei(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[166,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,[""," "]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ri(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[173,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.emvAmtInWords)})}function Ui(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,131,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,128,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(3,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(5,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(6,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(8,0,null,2,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Details of Property being Mortgaged\n "])),(l()(),Df._18(10,0,null,2,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(13,0,null,0,116,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),Df._17(14,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(16,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(17,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,132,{_control:0}),Df._37(335544320,133,{_placeholderChild:0}),Df._37(335544320,134,{_labelChild:0}),Df._37(603979776,135,{_errorChildren:1}),Df._37(603979776,136,{_hintChildren:1}),Df._37(603979776,137,{_prefixChildren:1}),Df._37(603979776,138,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(26,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","property_type"],["placeholder","Type of Property"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,33)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,33)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,33)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.mortage_type(e.value)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(28,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(30,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(32,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(33,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,139,{options:1}),Df._37(603979776,140,{optionGroups:1}),Df._37(335544320,141,{customTrigger:0}),Df._36(2048,[[132,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Vi)),Df._17(40,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,ji)),Df._17(45,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(47,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(48,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,149,{_control:0}),Df._37(335544320,150,{_placeholderChild:0}),Df._37(335544320,151,{_labelChild:0}),Df._37(603979776,152,{_errorChildren:1}),Df._37(603979776,153,{_hintChildren:1}),Df._37(603979776,154,{_prefixChildren:1}),Df._37(603979776,155,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(57,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","owner_name"],["multiple",""],["placeholder","Name of Owner"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,62)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,62)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,62)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(59,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(61,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(62,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},null),Df._37(603979776,156,{options:1}),Df._37(603979776,157,{optionGroups:1}),Df._37(335544320,158,{customTrigger:0}),Df._36(2048,[[149,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Wi)),Df._17(69,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(73,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(74,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,159,{_control:0}),Df._37(335544320,160,{_placeholderChild:0}),Df._37(335544320,161,{_labelChild:0}),Df._37(603979776,162,{_errorChildren:1}),Df._37(603979776,163,{_hintChildren:1}),Df._37(603979776,164,{_prefixChildren:1}),Df._37(603979776,165,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(83,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","construction_status"],["placeholder","Status of Construction"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,90)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,90)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,90)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(85,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(87,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(89,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(90,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,166,{options:1}),Df._37(603979776,167,{optionGroups:1}),Df._37(335544320,168,{customTrigger:0}),Df._36(2048,[[159,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ei)),Df._17(97,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(103,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(104,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,169,{_control:0}),Df._37(335544320,170,{_placeholderChild:0}),Df._37(335544320,171,{_labelChild:0}),Df._37(603979776,172,{_errorChildren:1}),Df._37(603979776,173,{_hintChildren:1}),Df._37(603979776,174,{_prefixChildren:1}),Df._37(603979776,175,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(113,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","emv_per_customer"],["matInput",""],["placeholder","Estimate Market Value as Per Customer"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,114)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,114).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,114)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,114)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,115).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,115).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,115).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,122)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,122)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,122)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,7)&&u}return u},null,null)),Df._17(114,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(115,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(116,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(119,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(121,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(122,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[169,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Ri)),Df._17(126,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,28,0,"");l(n,30,0,"property_type");l(n,33,0,"Type of Property","");l(n,40,0,e.m_mortageTypeProperty);l(n,45,0,e.mortageAccess);l(n,59,0,"owner_name");l(n,62,0,"Name of Owner","",e.compareObjects);l(n,69,0,e.mergeCompanyApplicant);l(n,85,0,"");l(n,87,0,"construction_status");l(n,90,0,"Status of Construction","");l(n,97,0,e.m_statusofCunstruction);l(n,116,0,"");l(n,119,0,"emv_per_customer");l(n,122,0,"Estimate Market Value as Per Customer","","number");l(n,126,0,""!=e.loanDetailsForm.controls.emv_per_customer.value)},function(l,n){l(n,16,1,[Df._32(n,17)._control.errorState,Df._32(n,17)._control.errorState,Df._32(n,17)._canLabelFloat,Df._32(n,17)._shouldLabelFloat(),Df._32(n,17)._hideControlPlaceholder(),Df._32(n,17)._control.disabled,Df._32(n,17)._control.focused,"primary"==Df._32(n,17).color,"accent"==Df._32(n,17).color,"warn"==Df._32(n,17).color,Df._32(n,17)._shouldForward("untouched"),Df._32(n,17)._shouldForward("touched"),Df._32(n,17)._shouldForward("pristine"),Df._32(n,17)._shouldForward("dirty"),Df._32(n,17)._shouldForward("valid"),Df._32(n,17)._shouldForward("invalid"),Df._32(n,17)._shouldForward("pending")]);l(n,26,1,[Df._32(n,28).required?"":null,Df._32(n,32).ngClassUntouched,Df._32(n,32).ngClassTouched,Df._32(n,32).ngClassPristine,Df._32(n,32).ngClassDirty,Df._32(n,32).ngClassValid,Df._32(n,32).ngClassInvalid,Df._32(n,32).ngClassPending,Df._32(n,33).id,Df._32(n,33).tabIndex,Df._32(n,33)._ariaLabel,Df._32(n,33).ariaLabelledby,Df._32(n,33).required.toString(),Df._32(n,33).disabled.toString(),Df._32(n,33).errorState,Df._32(n,33).panelOpen?Df._32(n,33)._optionIds:null,Df._32(n,33).multiple,Df._32(n,33)._ariaDescribedby||null,Df._32(n,33)._getAriaActiveDescendant(),Df._32(n,33).disabled,Df._32(n,33).errorState,Df._32(n,33).required]);l(n,47,1,[Df._32(n,48)._control.errorState,Df._32(n,48)._control.errorState,Df._32(n,48)._canLabelFloat,Df._32(n,48)._shouldLabelFloat(),Df._32(n,48)._hideControlPlaceholder(),Df._32(n,48)._control.disabled,Df._32(n,48)._control.focused,"primary"==Df._32(n,48).color,"accent"==Df._32(n,48).color,"warn"==Df._32(n,48).color,Df._32(n,48)._shouldForward("untouched"),Df._32(n,48)._shouldForward("touched"),Df._32(n,48)._shouldForward("pristine"),Df._32(n,48)._shouldForward("dirty"),Df._32(n,48)._shouldForward("valid"),Df._32(n,48)._shouldForward("invalid"),Df._32(n,48)._shouldForward("pending")]);l(n,57,1,[Df._32(n,61).ngClassUntouched,Df._32(n,61).ngClassTouched,Df._32(n,61).ngClassPristine,Df._32(n,61).ngClassDirty,Df._32(n,61).ngClassValid,Df._32(n,61).ngClassInvalid,Df._32(n,61).ngClassPending,Df._32(n,62).id,Df._32(n,62).tabIndex,Df._32(n,62)._ariaLabel,Df._32(n,62).ariaLabelledby,Df._32(n,62).required.toString(),Df._32(n,62).disabled.toString(),Df._32(n,62).errorState,Df._32(n,62).panelOpen?Df._32(n,62)._optionIds:null,Df._32(n,62).multiple,Df._32(n,62)._ariaDescribedby||null,Df._32(n,62)._getAriaActiveDescendant(),Df._32(n,62).disabled,Df._32(n,62).errorState,Df._32(n,62).required]);l(n,73,1,[Df._32(n,74)._control.errorState,Df._32(n,74)._control.errorState,Df._32(n,74)._canLabelFloat,Df._32(n,74)._shouldLabelFloat(),Df._32(n,74)._hideControlPlaceholder(),Df._32(n,74)._control.disabled,Df._32(n,74)._control.focused,"primary"==Df._32(n,74).color,"accent"==Df._32(n,74).color,"warn"==Df._32(n,74).color,Df._32(n,74)._shouldForward("untouched"),Df._32(n,74)._shouldForward("touched"),Df._32(n,74)._shouldForward("pristine"),Df._32(n,74)._shouldForward("dirty"),Df._32(n,74)._shouldForward("valid"),Df._32(n,74)._shouldForward("invalid"),Df._32(n,74)._shouldForward("pending")]);l(n,83,1,[Df._32(n,85).required?"":null,Df._32(n,89).ngClassUntouched,Df._32(n,89).ngClassTouched,Df._32(n,89).ngClassPristine,Df._32(n,89).ngClassDirty,Df._32(n,89).ngClassValid,Df._32(n,89).ngClassInvalid,Df._32(n,89).ngClassPending,Df._32(n,90).id,Df._32(n,90).tabIndex,Df._32(n,90)._ariaLabel,Df._32(n,90).ariaLabelledby,Df._32(n,90).required.toString(),Df._32(n,90).disabled.toString(),Df._32(n,90).errorState,Df._32(n,90).panelOpen?Df._32(n,90)._optionIds:null,Df._32(n,90).multiple,Df._32(n,90)._ariaDescribedby||null,Df._32(n,90)._getAriaActiveDescendant(),Df._32(n,90).disabled,Df._32(n,90).errorState,Df._32(n,90).required]);l(n,103,1,[Df._32(n,104)._control.errorState,Df._32(n,104)._control.errorState,Df._32(n,104)._canLabelFloat,Df._32(n,104)._shouldLabelFloat(),Df._32(n,104)._hideControlPlaceholder(),Df._32(n,104)._control.disabled,Df._32(n,104)._control.focused,"primary"==Df._32(n,104).color,"accent"==Df._32(n,104).color,"warn"==Df._32(n,104).color,Df._32(n,104)._shouldForward("untouched"),Df._32(n,104)._shouldForward("touched"),Df._32(n,104)._shouldForward("pristine"),Df._32(n,104)._shouldForward("dirty"),Df._32(n,104)._shouldForward("valid"),Df._32(n,104)._shouldForward("invalid"),Df._32(n,104)._shouldForward("pending")]);l(n,113,1,[Df._32(n,116).required?"":null,Df._32(n,121).ngClassUntouched,Df._32(n,121).ngClassTouched,Df._32(n,121).ngClassPristine,Df._32(n,121).ngClassDirty,Df._32(n,121).ngClassValid,Df._32(n,121).ngClassInvalid,Df._32(n,121).ngClassPending,Df._32(n,122)._isServer,Df._32(n,122).id,Df._32(n,122).placeholder,Df._32(n,122).disabled,Df._32(n,122).required,Df._32(n,122).readonly,Df._32(n,122)._ariaDescribedby||null,Df._32(n,122).errorState,Df._32(n,122).required.toString()])})}function $i(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,pi)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,261,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n\n \n "])),(l()(),Df._18(24,0,null,1,257,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,201,"mat-card",[["class","mat-card"],["style","padding: 12px;"]],null,null,null,dy.d,dy.a)),Df._17(31,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(33,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(34,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loan_amount"],["matInput",""],["placeholder","Loan Amount Applied for ? "],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,44)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,44).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,44)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,44)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,45).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,45).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,45).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,52)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,52)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,52)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,1)&&u}if("blur"===n){u=!1!==t.loanCalc()&&u}return u},null,null)),Df._17(44,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(45,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(46,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(49,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(51,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(52,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,fi)),Df._17(56,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(59,0,null,0,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(60,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(69,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(70,16384,[[11,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Loan Tenture applied for?"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(73,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loan_tenure"],["matInput",""],["placeholder","No of Months"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,74)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,74).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,74)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,74)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,75).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,75).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,75).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,80)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,80)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,80)._onInput()&&u}return u},null,null)),Df._17(74,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(75,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(77,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(79,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(80,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[9,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(84,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(85,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,16,{_control:0}),Df._37(335544320,17,{_placeholderChild:0}),Df._37(335544320,18,{_labelChild:0}),Df._37(603979776,19,{_errorChildren:1}),Df._37(603979776,20,{_hintChildren:1}),Df._37(603979776,21,{_prefixChildren:1}),Df._37(603979776,22,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(94,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","sub_product"],["placeholder","Sub Product"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,99)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,99)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,99)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.onChangeSubProduct(e.value)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(96,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(98,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(99,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,23,{options:1}),Df._37(603979776,24,{optionGroups:1}),Df._37(335544320,25,{customTrigger:0}),Df._36(2048,[[16,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,hi)),Df._17(106,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(110,0,null,0,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(111,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,26,{_control:0}),Df._37(335544320,27,{_placeholderChild:0}),Df._37(335544320,28,{_labelChild:0}),Df._37(603979776,29,{_errorChildren:1}),Df._37(603979776,30,{_hintChildren:1}),Df._37(603979776,31,{_prefixChildren:1}),Df._37(603979776,32,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(120,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","end_use"],["multiple",""],["placeholder","What is the end use"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,127)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,127)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,127)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.endUserChange(e.value)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(122,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(124,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(126,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(127,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"]},{selectionChange:"selectionChange"}),Df._37(603979776,33,{options:1}),Df._37(603979776,34,{optionGroups:1}),Df._37(335544320,35,{customTrigger:0}),Df._36(2048,[[26,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,gi)),Df._17(134,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,bi)),Df._17(140,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(142,0,null,0,31,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(143,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,43,{_control:0}),Df._37(335544320,44,{_placeholderChild:0}),Df._37(335544320,45,{_labelChild:0}),Df._37(603979776,46,{_errorChildren:1}),Df._37(603979776,47,{_hintChildren:1}),Df._37(603979776,48,{_prefixChildren:1}),Df._37(603979776,49,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(152,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","is_transfer"],["placeholder","Is there a balance transfer ? "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,158)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,158)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,158)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedBalancesTransferChanges(e)&&u}return u},TC.b,TC.a)),Df._17(153,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(155,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(157,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(158,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,50,{options:1}),Df._37(603979776,51,{optionGroups:1}),Df._37(335544320,52,{customTrigger:0}),Df._36(2048,[[43,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(165,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,166)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,166)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(166,8437760,[[50,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(169,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,170)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,170)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(170,8437760,[[50,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._13(16777216,null,0,1,null,yi)),Df._17(176,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,wi)),Df._17(180,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Fi)),Df._17(183,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Si)),Df._17(186,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,qi)),Df._17(189,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,ki)),Df._17(192,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Di)),Df._17(195,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._13(16777216,null,0,1,null,Oi)),Df._17(198,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._13(16777216,null,0,1,null,Li)),Df._17(204,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(206,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(207,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,125,{_control:0}),Df._37(335544320,126,{_placeholderChild:0}),Df._37(335544320,127,{_labelChild:0}),Df._37(603979776,128,{_errorChildren:1}),Df._37(603979776,129,{_hintChildren:1}),Df._37(603979776,130,{_prefixChildren:1}),Df._37(603979776,131,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(216,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","emi_level"],["matInput",""],["placeholder","EMI Comfort Level"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,217)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,217).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,217)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,217)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,218).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,218).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,218).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,225)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,225)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,225)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,6)&&u}return u},null,null)),Df._17(217,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(218,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(219,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(222,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(224,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(225,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[125,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Ai)),Df._17(229,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Ui)),Df._17(234,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(236,0,null,null,34,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(237,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(239,0,null,0,30,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(241,0,null,null,27,"div",[["class","pb-0 text-sm-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(243,0,null,null,24,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(244,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,176,{_control:0}),Df._37(335544320,177,{_placeholderChild:0}),Df._37(335544320,178,{_labelChild:0}),Df._37(603979776,179,{_errorChildren:1}),Df._37(603979776,180,{_hintChildren:1}),Df._37(603979776,181,{_prefixChildren:1}),Df._37(603979776,182,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(253,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(254,16384,[[178,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(257,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","loandetails_remarks"],["matInput",""],["placeholder","Remarks"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,258)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,258).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,258)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,258)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,265)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,265)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,265)._onInput()&&u}return u},null,null)),Df._17(258,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(259,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(262,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(264,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(265,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[176,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(272,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(273,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(276,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.submitLoanDetails()&&u}return u},Vy.b,Vy.a)),Df._17(277,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.loanDetailsForm);l(n,46,0,"");l(n,49,0,"loan_amount");l(n,52,0,"Loan Amount Applied for ? ","","number");l(n,56,0,""!=e.loanDetailsForm.controls.loan_amount.value);l(n,77,0,"loan_tenure");l(n,80,0,"No of Months","number");l(n,96,0,"sub_product");l(n,99,0,"Sub Product");l(n,106,0,e.m_endUseofLoad);l(n,122,0,"");l(n,124,0,"end_use");l(n,127,0,"What is the end use","","");l(n,134,0,e.m_endUseForLoan);l(n,140,0,e.isOtherPurpose);l(n,153,0,"");l(n,155,0,"is_transfer");l(n,158,0,"Is there a balance transfer ? ","");l(n,166,0,"yes");l(n,170,0,"no");l(n,176,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,180,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,183,0,3==e.loanDetailsForm.controls.lender.value);l(n,186,0,"yes"==e.loanDetailsForm.controls.is_transfer.value);l(n,189,0,e.loanDetailsForm.controls.topup_amount.value>0);l(n,192,0,1==e.loanDetailsForm.controls.end_use_topup.value);l(n,195,0,"no"==e.loanDetailsForm.controls.is_transfer.value);l(n,198,0,"no"==e.loanDetailsForm.controls.is_transfer.value);l(n,204,0,e.isOtherSource);l(n,219,0,"");l(n,222,0,"emi_level");l(n,225,0,"EMI Comfort Level","","number");l(n,229,0,""!=e.loanDetailsForm.controls.emi_level.value);l(n,234,0,e.mortageCardAccess);l(n,259,0,"");l(n,262,0,"loandetails_remarks");l(n,265,0,"Remarks","");l(n,277,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,33,1,[Df._32(n,34)._control.errorState,Df._32(n,34)._control.errorState,Df._32(n,34)._canLabelFloat,Df._32(n,34)._shouldLabelFloat(),Df._32(n,34)._hideControlPlaceholder(),Df._32(n,34)._control.disabled,Df._32(n,34)._control.focused,"primary"==Df._32(n,34).color,"accent"==Df._32(n,34).color,"warn"==Df._32(n,34).color,Df._32(n,34)._shouldForward("untouched"),Df._32(n,34)._shouldForward("touched"),Df._32(n,34)._shouldForward("pristine"),Df._32(n,34)._shouldForward("dirty"),Df._32(n,34)._shouldForward("valid"),Df._32(n,34)._shouldForward("invalid"),Df._32(n,34)._shouldForward("pending")]);l(n,43,1,[Df._32(n,46).required?"":null,Df._32(n,51).ngClassUntouched,Df._32(n,51).ngClassTouched,Df._32(n,51).ngClassPristine,Df._32(n,51).ngClassDirty,Df._32(n,51).ngClassValid,Df._32(n,51).ngClassInvalid,Df._32(n,51).ngClassPending,Df._32(n,52)._isServer,Df._32(n,52).id,Df._32(n,52).placeholder,Df._32(n,52).disabled,Df._32(n,52).required,Df._32(n,52).readonly,Df._32(n,52)._ariaDescribedby||null,Df._32(n,52).errorState,Df._32(n,52).required.toString()]);l(n,59,1,[Df._32(n,60)._control.errorState,Df._32(n,60)._control.errorState,Df._32(n,60)._canLabelFloat,Df._32(n,60)._shouldLabelFloat(),Df._32(n,60)._hideControlPlaceholder(),Df._32(n,60)._control.disabled,Df._32(n,60)._control.focused,"primary"==Df._32(n,60).color,"accent"==Df._32(n,60).color,"warn"==Df._32(n,60).color,Df._32(n,60)._shouldForward("untouched"),Df._32(n,60)._shouldForward("touched"),Df._32(n,60)._shouldForward("pristine"),Df._32(n,60)._shouldForward("dirty"),Df._32(n,60)._shouldForward("valid"),Df._32(n,60)._shouldForward("invalid"),Df._32(n,60)._shouldForward("pending")]);l(n,73,1,[Df._32(n,79).ngClassUntouched,Df._32(n,79).ngClassTouched,Df._32(n,79).ngClassPristine,Df._32(n,79).ngClassDirty,Df._32(n,79).ngClassValid,Df._32(n,79).ngClassInvalid,Df._32(n,79).ngClassPending,Df._32(n,80)._isServer,Df._32(n,80).id,Df._32(n,80).placeholder,Df._32(n,80).disabled,Df._32(n,80).required,Df._32(n,80).readonly,Df._32(n,80)._ariaDescribedby||null,Df._32(n,80).errorState,Df._32(n,80).required.toString()]);l(n,84,1,[Df._32(n,85)._control.errorState,Df._32(n,85)._control.errorState,Df._32(n,85)._canLabelFloat,Df._32(n,85)._shouldLabelFloat(),Df._32(n,85)._hideControlPlaceholder(),Df._32(n,85)._control.disabled,Df._32(n,85)._control.focused,"primary"==Df._32(n,85).color,"accent"==Df._32(n,85).color,"warn"==Df._32(n,85).color,Df._32(n,85)._shouldForward("untouched"),Df._32(n,85)._shouldForward("touched"),Df._32(n,85)._shouldForward("pristine"),Df._32(n,85)._shouldForward("dirty"),Df._32(n,85)._shouldForward("valid"),Df._32(n,85)._shouldForward("invalid"),Df._32(n,85)._shouldForward("pending")]);l(n,94,1,[Df._32(n,98).ngClassUntouched,Df._32(n,98).ngClassTouched,Df._32(n,98).ngClassPristine,Df._32(n,98).ngClassDirty,Df._32(n,98).ngClassValid,Df._32(n,98).ngClassInvalid,Df._32(n,98).ngClassPending,Df._32(n,99).id,Df._32(n,99).tabIndex,Df._32(n,99)._ariaLabel,Df._32(n,99).ariaLabelledby,Df._32(n,99).required.toString(),Df._32(n,99).disabled.toString(),Df._32(n,99).errorState,Df._32(n,99).panelOpen?Df._32(n,99)._optionIds:null,Df._32(n,99).multiple,Df._32(n,99)._ariaDescribedby||null,Df._32(n,99)._getAriaActiveDescendant(),Df._32(n,99).disabled,Df._32(n,99).errorState,Df._32(n,99).required]);l(n,110,1,[Df._32(n,111)._control.errorState,Df._32(n,111)._control.errorState,Df._32(n,111)._canLabelFloat,Df._32(n,111)._shouldLabelFloat(),Df._32(n,111)._hideControlPlaceholder(),Df._32(n,111)._control.disabled,Df._32(n,111)._control.focused,"primary"==Df._32(n,111).color,"accent"==Df._32(n,111).color,"warn"==Df._32(n,111).color,Df._32(n,111)._shouldForward("untouched"),Df._32(n,111)._shouldForward("touched"),Df._32(n,111)._shouldForward("pristine"),Df._32(n,111)._shouldForward("dirty"),Df._32(n,111)._shouldForward("valid"),Df._32(n,111)._shouldForward("invalid"),Df._32(n,111)._shouldForward("pending")]);l(n,120,1,[Df._32(n,122).required?"":null,Df._32(n,126).ngClassUntouched,Df._32(n,126).ngClassTouched,Df._32(n,126).ngClassPristine,Df._32(n,126).ngClassDirty,Df._32(n,126).ngClassValid,Df._32(n,126).ngClassInvalid,Df._32(n,126).ngClassPending,Df._32(n,127).id,Df._32(n,127).tabIndex,Df._32(n,127)._ariaLabel,Df._32(n,127).ariaLabelledby,Df._32(n,127).required.toString(),Df._32(n,127).disabled.toString(),Df._32(n,127).errorState,Df._32(n,127).panelOpen?Df._32(n,127)._optionIds:null,Df._32(n,127).multiple,Df._32(n,127)._ariaDescribedby||null,Df._32(n,127)._getAriaActiveDescendant(),Df._32(n,127).disabled,Df._32(n,127).errorState,Df._32(n,127).required]);l(n,142,1,[Df._32(n,143)._control.errorState,Df._32(n,143)._control.errorState,Df._32(n,143)._canLabelFloat,Df._32(n,143)._shouldLabelFloat(),Df._32(n,143)._hideControlPlaceholder(),Df._32(n,143)._control.disabled,Df._32(n,143)._control.focused,"primary"==Df._32(n,143).color,"accent"==Df._32(n,143).color,"warn"==Df._32(n,143).color,Df._32(n,143)._shouldForward("untouched"),Df._32(n,143)._shouldForward("touched"),Df._32(n,143)._shouldForward("pristine"),Df._32(n,143)._shouldForward("dirty"),Df._32(n,143)._shouldForward("valid"),Df._32(n,143)._shouldForward("invalid"),Df._32(n,143)._shouldForward("pending")]);l(n,152,1,[Df._32(n,153).required?"":null,Df._32(n,157).ngClassUntouched,Df._32(n,157).ngClassTouched,Df._32(n,157).ngClassPristine,Df._32(n,157).ngClassDirty,Df._32(n,157).ngClassValid,Df._32(n,157).ngClassInvalid,Df._32(n,157).ngClassPending,Df._32(n,158).id,Df._32(n,158).tabIndex,Df._32(n,158)._ariaLabel,Df._32(n,158).ariaLabelledby,Df._32(n,158).required.toString(),Df._32(n,158).disabled.toString(),Df._32(n,158).errorState,Df._32(n,158).panelOpen?Df._32(n,158)._optionIds:null,Df._32(n,158).multiple,Df._32(n,158)._ariaDescribedby||null,Df._32(n,158)._getAriaActiveDescendant(),Df._32(n,158).disabled,Df._32(n,158).errorState,Df._32(n,158).required]);l(n,165,0,Df._32(n,166)._getTabIndex(),Df._32(n,166).selected,Df._32(n,166).multiple,Df._32(n,166).active,Df._32(n,166).id,Df._32(n,166).selected.toString(),Df._32(n,166).disabled.toString(),Df._32(n,166).disabled);l(n,169,0,Df._32(n,170)._getTabIndex(),Df._32(n,170).selected,Df._32(n,170).multiple,Df._32(n,170).active,Df._32(n,170).id,Df._32(n,170).selected.toString(),Df._32(n,170).disabled.toString(),Df._32(n,170).disabled);l(n,206,1,[Df._32(n,207)._control.errorState,Df._32(n,207)._control.errorState,Df._32(n,207)._canLabelFloat,Df._32(n,207)._shouldLabelFloat(),Df._32(n,207)._hideControlPlaceholder(),Df._32(n,207)._control.disabled,Df._32(n,207)._control.focused,"primary"==Df._32(n,207).color,"accent"==Df._32(n,207).color,"warn"==Df._32(n,207).color,Df._32(n,207)._shouldForward("untouched"),Df._32(n,207)._shouldForward("touched"),Df._32(n,207)._shouldForward("pristine"),Df._32(n,207)._shouldForward("dirty"),Df._32(n,207)._shouldForward("valid"),Df._32(n,207)._shouldForward("invalid"),Df._32(n,207)._shouldForward("pending")]);l(n,216,1,[Df._32(n,219).required?"":null,Df._32(n,224).ngClassUntouched,Df._32(n,224).ngClassTouched,Df._32(n,224).ngClassPristine,Df._32(n,224).ngClassDirty,Df._32(n,224).ngClassValid,Df._32(n,224).ngClassInvalid,Df._32(n,224).ngClassPending,Df._32(n,225)._isServer,Df._32(n,225).id,Df._32(n,225).placeholder,Df._32(n,225).disabled,Df._32(n,225).required,Df._32(n,225).readonly,Df._32(n,225)._ariaDescribedby||null,Df._32(n,225).errorState,Df._32(n,225).required.toString()]);l(n,243,1,[Df._32(n,244)._control.errorState,Df._32(n,244)._control.errorState,Df._32(n,244)._canLabelFloat,Df._32(n,244)._shouldLabelFloat(),Df._32(n,244)._hideControlPlaceholder(),Df._32(n,244)._control.disabled,Df._32(n,244)._control.focused,"primary"==Df._32(n,244).color,"accent"==Df._32(n,244).color,"warn"==Df._32(n,244).color,Df._32(n,244)._shouldForward("untouched"),Df._32(n,244)._shouldForward("touched"),Df._32(n,244)._shouldForward("pristine"),Df._32(n,244)._shouldForward("dirty"),Df._32(n,244)._shouldForward("valid"),Df._32(n,244)._shouldForward("invalid"),Df._32(n,244)._shouldForward("pending")]);l(n,257,1,[Df._32(n,259).required?"":null,Df._32(n,264).ngClassUntouched,Df._32(n,264).ngClassTouched,Df._32(n,264).ngClassPristine,Df._32(n,264).ngClassDirty,Df._32(n,264).ngClassValid,Df._32(n,264).ngClassInvalid,Df._32(n,264).ngClassPending,Df._32(n,265)._isServer,Df._32(n,265).id,Df._32(n,265).placeholder,Df._32(n,265).disabled,Df._32(n,265).required,Df._32(n,265).readonly,Df._32(n,265)._ariaDescribedby||null,Df._32(n,265).errorState,Df._32(n,265).required.toString()])})}function Bi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,51,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,11,{_control:0}),Df._37(335544320,12,{_placeholderChild:0}),Df._37(335544320,13,{_labelChild:0}),Df._37(603979776,14,{_errorChildren:1}),Df._37(603979776,15,{_hintChildren:1}),Df._37(603979776,16,{_prefixChildren:1}),Df._37(603979776,17,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,3,2,"mat-label",[["style","font-size: 16px"]],null,null,null,null,null)),Df._17(13,16384,[[13,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Enter year from Which Financials Provided"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(16,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_starting_year"],["matInput",""],["placeholder","YYYY eg.2018"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(17,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(18,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[11,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(26,0,null,5,2,"mat-error",[["align","end"],["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),Df._17(27,16384,[[14,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,[" Invalid year format"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(32,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,18,{_control:0}),Df._37(335544320,19,{_placeholderChild:0}),Df._37(335544320,20,{_labelChild:0}),Df._37(603979776,21,{_errorChildren:1}),Df._37(603979776,22,{_hintChildren:1}),Df._37(603979776,23,{_prefixChildren:1}),Df._37(603979776,24,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(41,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_no_of_year"],["matInput",""],["placeholder","Number of Financial Years"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,42)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,42).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,42)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,42)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,43).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,43).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,43).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,48)._onInput()&&u}if("change"===n){u=!1!==t.dynamicalFinYear(e)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(42,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(43,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(45,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(47,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(48,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[18,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"financial_starting_year");l(n,23,0,"YYYY eg.2018","number");l(n,45,0,"financial_no_of_year");l(n,48,0,"Number of Financial Years","number")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,16,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()]);l(n,26,0,Df._32(n,27).id);l(n,31,1,[Df._32(n,32)._control.errorState,Df._32(n,32)._control.errorState,Df._32(n,32)._canLabelFloat,Df._32(n,32)._shouldLabelFloat(),Df._32(n,32)._hideControlPlaceholder(),Df._32(n,32)._control.disabled,Df._32(n,32)._control.focused,"primary"==Df._32(n,32).color,"accent"==Df._32(n,32).color,"warn"==Df._32(n,32).color,Df._32(n,32)._shouldForward("untouched"),Df._32(n,32)._shouldForward("touched"),Df._32(n,32)._shouldForward("pristine"),Df._32(n,32)._shouldForward("dirty"),Df._32(n,32)._shouldForward("valid"),Df._32(n,32)._shouldForward("invalid"),Df._32(n,32)._shouldForward("pending")]);l(n,41,1,[Df._32(n,47).ngClassUntouched,Df._32(n,47).ngClassTouched,Df._32(n,47).ngClassPristine,Df._32(n,47).ngClassDirty,Df._32(n,47).ngClassValid,Df._32(n,47).ngClassInvalid,Df._32(n,47).ngClassPending,Df._32(n,48)._isServer,Df._32(n,48).id,Df._32(n,48).placeholder,Df._32(n,48).disabled,Df._32(n,48).required,Df._32(n,48).readonly,Df._32(n,48)._ariaDescribedby||null,Df._32(n,48).errorState,Df._32(n,48).required.toString()])})}function Mi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[29,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.FY_annualSalesInwords[n.parent.context.index])})}function Ki(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n No difference in Sales in FY "])),(l()(),Df._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(3,null,[" "," "])),(l()(),Df._39(-1,null,[" over Sales in FY "])),(l()(),Df._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(6,null,[" "," "])),(l()(),Df._39(-1,null,[" \n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value)})}function Hi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n Increase in Sales in FY "])),(l()(),Df._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(3,null,[" "," "])),(l()(),Df._39(-1,null,[" over Sales in FY "])),(l()(),Df._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(6,null,[" "," "])),(l()(),Df._39(-1,null,[" "])),(l()(),Df._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),Df._39(9,null,[" "," % "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_annualsales_variation").value)})}function Gi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n Decrease in Sales in FY "])),(l()(),Df._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(3,null,[" "," "])),(l()(),Df._39(-1,null,[" over Sales in FY "])),(l()(),Df._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(6,null,[""," "])),(l()(),Df._39(-1,null,[" "])),(l()(),Df._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),Df._39(9,null,[" "," % "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_annualsales_variation").value.replace("-",""))})}function Yi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"p",[["class","info"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ki)),Df._17(3,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Hi)),Df._17(6,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Gi)),Df._17(9,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,0==n.parent.parent.context.$implicit.get("financial_annualsales_variation").value);l(n,6,0,n.parent.parent.context.$implicit.get("financial_annualsales_variation").value>0);l(n,9,0,n.parent.parent.context.$implicit.get("financial_annualsales_variation").value<0)},null)}function zi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(4,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,32,{_control:0}),Df._37(335544320,33,{_placeholderChild:0}),Df._37(335544320,34,{_labelChild:0}),Df._37(603979776,35,{_errorChildren:1}),Df._37(603979776,36,{_hintChildren:1}),Df._37(603979776,37,{_prefixChildren:1}),Df._37(603979776,38,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(13,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_annualsales_variation"],["matInput",""],["placeholder","Sale Variation from Previous Year in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,14)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,14)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,14)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(14,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Df._36(2048,[[32,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Yi)),Df._17(24,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"financial_annualsales_variation");l(n,19,0,"Sale Variation from Previous Year in %","");l(n,24,0,""!=n.parent.context.$implicit.get("financial_annualsales_variation").value)},function(l,n){l(n,3,1,[Df._32(n,4)._control.errorState,Df._32(n,4)._control.errorState,Df._32(n,4)._canLabelFloat,Df._32(n,4)._shouldLabelFloat(),Df._32(n,4)._hideControlPlaceholder(),Df._32(n,4)._control.disabled,Df._32(n,4)._control.focused,"primary"==Df._32(n,4).color,"accent"==Df._32(n,4).color,"warn"==Df._32(n,4).color,Df._32(n,4)._shouldForward("untouched"),Df._32(n,4)._shouldForward("touched"),Df._32(n,4)._shouldForward("pristine"),Df._32(n,4)._shouldForward("dirty"),Df._32(n,4)._shouldForward("valid"),Df._32(n,4)._shouldForward("invalid"),Df._32(n,4)._shouldForward("pending")]);l(n,13,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()])})}function Qi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[53,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.FY_netProfitAmtInwords[n.parent.parent.context.index])})}function Ji(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,45,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,49,{_control:0}),Df._37(335544320,50,{_placeholderChild:0}),Df._37(335544320,51,{_labelChild:0}),Df._37(603979776,52,{_errorChildren:1}),Df._37(603979776,53,{_hintChildren:1}),Df._37(603979776,54,{_prefixChildren:1}),Df._37(603979776,55,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_net_profit"],["matInput",""],["placeholder","Net Profit Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculationForFinanicalStatement()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,2)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[49,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Qi)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(27,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,56,{_control:0}),Df._37(335544320,57,{_placeholderChild:0}),Df._37(335544320,58,{_labelChild:0}),Df._37(603979776,59,{_errorChildren:1}),Df._37(603979776,60,{_hintChildren:1}),Df._37(603979776,61,{_prefixChildren:1}),Df._37(603979776,62,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(36,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_margin_of_profit"],["matInput",""],["placeholder","Net Profit to Sales in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,42)._onInput()&&u}return u},null,null)),Df._17(37,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(39,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(41,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(42,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Df._36(2048,[[56,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"financial_net_profit");l(n,19,0,"Net Profit Amount","number");l(n,23,0,""!=n.parent.context.$implicit.get("financial_net_profit").value);l(n,39,0,"financial_margin_of_profit");l(n,42,0,"Net Profit to Sales in %","")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,26,1,[Df._32(n,27)._control.errorState,Df._32(n,27)._control.errorState,Df._32(n,27)._canLabelFloat,Df._32(n,27)._shouldLabelFloat(),Df._32(n,27)._hideControlPlaceholder(),Df._32(n,27)._control.disabled,Df._32(n,27)._control.focused,"primary"==Df._32(n,27).color,"accent"==Df._32(n,27).color,"warn"==Df._32(n,27).color,Df._32(n,27)._shouldForward("untouched"),Df._32(n,27)._shouldForward("touched"),Df._32(n,27)._shouldForward("pristine"),Df._32(n,27)._shouldForward("dirty"),Df._32(n,27)._shouldForward("valid"),Df._32(n,27)._shouldForward("invalid"),Df._32(n,27)._shouldForward("pending")]);l(n,36,1,[Df._32(n,41).ngClassUntouched,Df._32(n,41).ngClassTouched,Df._32(n,41).ngClassPristine,Df._32(n,41).ngClassDirty,Df._32(n,41).ngClassValid,Df._32(n,41).ngClassInvalid,Df._32(n,41).ngClassPending,Df._32(n,42)._isServer,Df._32(n,42).id,Df._32(n,42).placeholder,Df._32(n,42).disabled,Df._32(n,42).required,Df._32(n,42).readonly,Df._32(n,42)._ariaDescribedby||null,Df._32(n,42).errorState,Df._32(n,42).required.toString()])})}function Xi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[67,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["",""," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.FY_netLossAmtInwords[n.parent.parent.context.index])})}function Zi(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,45,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,63,{_control:0}),Df._37(335544320,64,{_placeholderChild:0}),Df._37(335544320,65,{_labelChild:0}),Df._37(603979776,66,{_errorChildren:1}),Df._37(603979776,67,{_hintChildren:1}),Df._37(603979776,68,{_prefixChildren:1}),Df._37(603979776,69,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_net_loss"],["matInput",""],["placeholder","Net Loss Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculationForFinanicalStatement()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,3)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[63,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Xi)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(27,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,70,{_control:0}),Df._37(335544320,71,{_placeholderChild:0}),Df._37(335544320,72,{_labelChild:0}),Df._37(603979776,73,{_errorChildren:1}),Df._37(603979776,74,{_hintChildren:1}),Df._37(603979776,75,{_prefixChildren:1}),Df._37(603979776,76,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(36,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_margin_of_loss"],["matInput",""],["placeholder","Net Loss to Sale in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,42)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(37,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(39,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(41,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(42,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Df._36(2048,[[70,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"financial_net_loss");l(n,19,0,"Net Loss Amount","number");l(n,23,0,""!=n.parent.context.$implicit.get("financial_net_loss").value);l(n,39,0,"financial_margin_of_loss");l(n,42,0,"Net Loss to Sale in %","")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,26,1,[Df._32(n,27)._control.errorState,Df._32(n,27)._control.errorState,Df._32(n,27)._canLabelFloat,Df._32(n,27)._shouldLabelFloat(),Df._32(n,27)._hideControlPlaceholder(),Df._32(n,27)._control.disabled,Df._32(n,27)._control.focused,"primary"==Df._32(n,27).color,"accent"==Df._32(n,27).color,"warn"==Df._32(n,27).color,Df._32(n,27)._shouldForward("untouched"),Df._32(n,27)._shouldForward("touched"),Df._32(n,27)._shouldForward("pristine"),Df._32(n,27)._shouldForward("dirty"),Df._32(n,27)._shouldForward("valid"),Df._32(n,27)._shouldForward("invalid"),Df._32(n,27)._shouldForward("pending")]);l(n,36,1,[Df._32(n,41).ngClassUntouched,Df._32(n,41).ngClassTouched,Df._32(n,41).ngClassPristine,Df._32(n,41).ngClassDirty,Df._32(n,41).ngClassValid,Df._32(n,41).ngClassInvalid,Df._32(n,41).ngClassPending,Df._32(n,42)._isServer,Df._32(n,42).id,Df._32(n,42).placeholder,Df._32(n,42).disabled,Df._32(n,42).required,Df._32(n,42).readonly,Df._32(n,42)._ariaDescribedby||null,Df._32(n,42).errorState,Df._32(n,42).required.toString()])})}function lo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n No difference in Profit in FY "])),(l()(),Df._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(3,null,[" "," "])),(l()(),Df._39(-1,null,[" over Profit in FY "])),(l()(),Df._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(6,null,[" "," "])),(l()(),Df._39(-1,null,[" \n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value)})}function no(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n Increase in Profit in FY "])),(l()(),Df._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(3,null,[" "," "])),(l()(),Df._39(-1,null,[" over Profit in FY "])),(l()(),Df._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(6,null,[" "," "])),(l()(),Df._39(-1,null,[" "])),(l()(),Df._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),Df._39(9,null,[" "," % "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_variation").value)})}function eo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n Decrease in Profit in FY "])),(l()(),Df._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(3,null,[" "," "])),(l()(),Df._39(-1,null,[" over Profit in FY "])),(l()(),Df._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(6,null,[" "," "])),(l()(),Df._39(-1,null,[" "])),(l()(),Df._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),Df._39(9,null,[" "," % "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_variation").value.replace("-",""))})}function uo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,12,"p",[["class","info"]],null,null,null,null,null)),Df._17(1,278528,null,0,rg.h,[Df.B,Df.C,Df.p,Df.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Df._34(2,{highlight:0}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,lo)),Df._17(5,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,no)),Df._17(8,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,eo)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"info",l(n,2,0,n.parent.parent.context.$implicit.controls.financial_variation.value>40||n.parent.parent.context.$implicit.controls.financial_variation.value<-40));l(n,5,0,0==n.parent.parent.context.$implicit.get("financial_variation").value);l(n,8,0,n.parent.parent.context.$implicit.get("financial_variation").value>0);l(n,11,0,n.parent.parent.context.$implicit.get("financial_variation").value<0)},null)}function to(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n No difference in Profit sales % in FY "])),(l()(),Df._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(3,null,[" "," "])),(l()(),Df._39(-1,null,[" over Profit sales % in FY "])),(l()(),Df._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(6,null,[" "," "])),(l()(),Df._39(-1,null,[" \n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value)})}function ao(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"span",[["class","greenhighlight"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n Increase in Profit sales % in FY "])),(l()(),Df._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(3,null,[" "," "])),(l()(),Df._39(-1,null,[" over Profit sales % in FY "])),(l()(),Df._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(6,null,[" "," "])),(l()(),Df._39(-1,null,[" "])),(l()(),Df._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),Df._39(9,null,[" "," % "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value)})}function io(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"span",[["class","highlight"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n Decrease in Profit sales % in FY "])),(l()(),Df._18(2,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(3,null,[" "," "])),(l()(),Df._39(-1,null,[" over Profit sales % in FY "])),(l()(),Df._18(5,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(6,null,[" "," "])),(l()(),Df._39(-1,null,[" "])),(l()(),Df._18(8,0,null,null,1,"b",[],null,null,null,null,null)),(l()(),Df._39(9,null,[" "," % "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,n.parent.parent.parent.context.$implicit.get("financial_year").value);l(n,6,0,e.financialForm.controls.date_per_financial.controls[n.parent.parent.parent.context.index-1].get("financial_year").value);l(n,9,0,n.parent.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value.replace("-",""))})}function oo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,12,"p",[["class","info"]],null,null,null,null,null)),Df._17(1,278528,null,0,rg.h,[Df.B,Df.C,Df.p,Df.P],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Df._34(2,{highlight:0}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,to)),Df._17(5,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ao)),Df._17(8,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,io)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,"info",l(n,2,0,n.parent.parent.context.$implicit.controls.financial_profit_to_sale_variation.value>40||n.parent.parent.context.$implicit.controls.financial_profit_to_sale_variation.value<-40));l(n,5,0,0==n.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value);l(n,8,0,n.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value>0);l(n,11,0,n.parent.parent.context.$implicit.get("financial_profit_to_sale_variation").value<0)},null)}function ro(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,52,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,77,{_control:0}),Df._37(335544320,78,{_placeholderChild:0}),Df._37(335544320,79,{_labelChild:0}),Df._37(603979776,80,{_errorChildren:1}),Df._37(603979776,81,{_hintChildren:1}),Df._37(603979776,82,{_prefixChildren:1}),Df._37(603979776,83,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_variation"],["matInput",""],["placeholder","Profit Variation from Previous Year in %"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,20)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(13,278528,null,0,rg.h,[Df.B,Df.C,Df.p,Df.P],{ngClass:[0,"ngClass"]},null),Df._34(14,{highlight:0}),Df._17(15,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(17,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(19,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(20,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Df._36(2048,[[77,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,uo)),Df._17(25,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(28,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(29,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,84,{_control:0}),Df._37(335544320,85,{_placeholderChild:0}),Df._37(335544320,86,{_labelChild:0}),Df._37(603979776,87,{_errorChildren:1}),Df._37(603979776,88,{_hintChildren:1}),Df._37(603979776,89,{_prefixChildren:1}),Df._37(603979776,90,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(38,0,null,1,9,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_profit_to_sale_variation"],["matInput",""],["placeholder","Variation of Profit % over sales"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,41)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,41).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,41)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,41)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,46)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(39,278528,null,0,rg.h,[Df.B,Df.C,Df.p,Df.P],{ngClass:[0,"ngClass"]},null),Df._34(40,{highlight:0}),Df._17(41,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(43,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(45,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(46,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Df._36(2048,[[84,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,oo)),Df._17(51,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,13,0,l(n,14,0,n.parent.context.$implicit.controls.financial_variation.value>40||n.parent.context.$implicit.controls.financial_variation.value<-40));l(n,17,0,"financial_variation");l(n,20,0,"Profit Variation from Previous Year in %","");l(n,25,0,0!=n.parent.context.index&&""!=n.parent.context.$implicit.get("financial_variation").value);l(n,39,0,l(n,40,0,n.parent.context.$implicit.controls.financial_profit_to_sale_variation.value>40||n.parent.context.$implicit.controls.financial_profit_to_sale_variation.value<-40));l(n,43,0,"financial_profit_to_sale_variation");l(n,46,0,"Variation of Profit % over sales","");l(n,51,0,0!=n.parent.context.index&&""!=n.parent.context.$implicit.get("financial_profit_to_sale_variation").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,19).ngClassUntouched,Df._32(n,19).ngClassTouched,Df._32(n,19).ngClassPristine,Df._32(n,19).ngClassDirty,Df._32(n,19).ngClassValid,Df._32(n,19).ngClassInvalid,Df._32(n,19).ngClassPending,Df._32(n,20)._isServer,Df._32(n,20).id,Df._32(n,20).placeholder,Df._32(n,20).disabled,Df._32(n,20).required,Df._32(n,20).readonly,Df._32(n,20)._ariaDescribedby||null,Df._32(n,20).errorState,Df._32(n,20).required.toString()]);l(n,28,1,[Df._32(n,29)._control.errorState,Df._32(n,29)._control.errorState,Df._32(n,29)._canLabelFloat,Df._32(n,29)._shouldLabelFloat(),Df._32(n,29)._hideControlPlaceholder(),Df._32(n,29)._control.disabled,Df._32(n,29)._control.focused,"primary"==Df._32(n,29).color,"accent"==Df._32(n,29).color,"warn"==Df._32(n,29).color,Df._32(n,29)._shouldForward("untouched"),Df._32(n,29)._shouldForward("touched"),Df._32(n,29)._shouldForward("pristine"),Df._32(n,29)._shouldForward("dirty"),Df._32(n,29)._shouldForward("valid"),Df._32(n,29)._shouldForward("invalid"),Df._32(n,29)._shouldForward("pending")]);l(n,38,1,[Df._32(n,45).ngClassUntouched,Df._32(n,45).ngClassTouched,Df._32(n,45).ngClassPristine,Df._32(n,45).ngClassDirty,Df._32(n,45).ngClassValid,Df._32(n,45).ngClassInvalid,Df._32(n,45).ngClassPending,Df._32(n,46)._isServer,Df._32(n,46).id,Df._32(n,46).placeholder,Df._32(n,46).disabled,Df._32(n,46).required,Df._32(n,46).readonly,Df._32(n,46)._ariaDescribedby||null,Df._32(n,46).errorState,Df._32(n,46).required.toString()])})}function _o(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,80,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,74,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,2,"mat-label",[["style","color:blue"]],null,null,null,null,null)),Df._17(9,16384,null,0,fy.f,[],null,null),(l()(),Df._39(10,null,["Financial Year : ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._18(13,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(14,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,25,{_control:0}),Df._37(335544320,26,{_placeholderChild:0}),Df._37(335544320,27,{_labelChild:0}),Df._37(603979776,28,{_errorChildren:1}),Df._37(603979776,29,{_hintChildren:1}),Df._37(603979776,30,{_prefixChildren:1}),Df._37(603979776,31,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_annual_sale"],["matInput",""],["placeholder","Annual Sale"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keypress"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,24)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,24).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,24)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,24)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,25).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,25).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,30)._onInput()&&u}if("change"===n){u=!1!==t.calculationForFinanicalStatement()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,1)&&u}return u},null,null)),Df._17(24,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(25,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(27,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(29,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(30,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[25,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Mi)),Df._17(34,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,zi)),Df._17(38,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(40,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(41,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,39,{_control:0}),Df._37(335544320,40,{_placeholderChild:0}),Df._37(335544320,41,{_labelChild:0}),Df._37(603979776,42,{_errorChildren:1}),Df._37(603979776,43,{_hintChildren:1}),Df._37(603979776,44,{_prefixChildren:1}),Df._37(603979776,45,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(50,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","finanical_profit_or_loss"],["placeholder","Is there Net Profit or Net Loss?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,54)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,54)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,54)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedProfitOrLossType(e,l.context.$implicit)&&u}return u},TC.b,TC.a)),Df._17(51,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(53,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(54,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,46,{options:1}),Df._37(603979776,47,{optionGroups:1}),Df._37(335544320,48,{customTrigger:0}),Df._36(2048,[[39,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(61,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,62)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,62)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(62,8437760,[[46,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Net Profit"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(65,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,66)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,66)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(66,8437760,[[46,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Net Loss"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ji)),Df._17(72,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Zi)),Df._17(75,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ro)),Df._17(78,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,27,0,"financial_annual_sale");l(n,30,0,"Annual Sale","number");l(n,34,0,""!=n.context.$implicit.get("financial_annual_sale").value);l(n,38,0,n.context.index>0);l(n,51,0,"finanical_profit_or_loss");l(n,54,0,"Is there Net Profit or Net Loss?");l(n,62,0,"1");l(n,66,0,"2");l(n,72,0,1==n.context.$implicit.get("finanical_profit_or_loss").value);l(n,75,0,2==n.context.$implicit.get("finanical_profit_or_loss").value);l(n,78,0,n.context.index>0)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,10,0,n.context.$implicit.get("financial_year").value);l(n,13,1,[Df._32(n,14)._control.errorState,Df._32(n,14)._control.errorState,Df._32(n,14)._canLabelFloat,Df._32(n,14)._shouldLabelFloat(),Df._32(n,14)._hideControlPlaceholder(),Df._32(n,14)._control.disabled,Df._32(n,14)._control.focused,"primary"==Df._32(n,14).color,"accent"==Df._32(n,14).color,"warn"==Df._32(n,14).color,Df._32(n,14)._shouldForward("untouched"),Df._32(n,14)._shouldForward("touched"),Df._32(n,14)._shouldForward("pristine"),Df._32(n,14)._shouldForward("dirty"),Df._32(n,14)._shouldForward("valid"),Df._32(n,14)._shouldForward("invalid"),Df._32(n,14)._shouldForward("pending")]);l(n,23,1,[Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending,Df._32(n,30)._isServer,Df._32(n,30).id,Df._32(n,30).placeholder,Df._32(n,30).disabled,Df._32(n,30).required,Df._32(n,30).readonly,Df._32(n,30)._ariaDescribedby||null,Df._32(n,30).errorState,Df._32(n,30).required.toString()]);l(n,40,1,[Df._32(n,41)._control.errorState,Df._32(n,41)._control.errorState,Df._32(n,41)._canLabelFloat,Df._32(n,41)._shouldLabelFloat(),Df._32(n,41)._hideControlPlaceholder(),Df._32(n,41)._control.disabled,Df._32(n,41)._control.focused,"primary"==Df._32(n,41).color,"accent"==Df._32(n,41).color,"warn"==Df._32(n,41).color,Df._32(n,41)._shouldForward("untouched"),Df._32(n,41)._shouldForward("touched"),Df._32(n,41)._shouldForward("pristine"),Df._32(n,41)._shouldForward("dirty"),Df._32(n,41)._shouldForward("valid"),Df._32(n,41)._shouldForward("invalid"),Df._32(n,41)._shouldForward("pending")]);l(n,50,1,[Df._32(n,53).ngClassUntouched,Df._32(n,53).ngClassTouched,Df._32(n,53).ngClassPristine,Df._32(n,53).ngClassDirty,Df._32(n,53).ngClassValid,Df._32(n,53).ngClassInvalid,Df._32(n,53).ngClassPending,Df._32(n,54).id,Df._32(n,54).tabIndex,Df._32(n,54)._ariaLabel,Df._32(n,54).ariaLabelledby,Df._32(n,54).required.toString(),Df._32(n,54).disabled.toString(),Df._32(n,54).errorState,Df._32(n,54).panelOpen?Df._32(n,54)._optionIds:null,Df._32(n,54).multiple,Df._32(n,54)._ariaDescribedby||null,Df._32(n,54)._getAriaActiveDescendant(),Df._32(n,54).disabled,Df._32(n,54).errorState,Df._32(n,54).required]);l(n,61,0,Df._32(n,62)._getTabIndex(),Df._32(n,62).selected,Df._32(n,62).multiple,Df._32(n,62).active,Df._32(n,62).id,Df._32(n,62).selected.toString(),Df._32(n,62).disabled.toString(),Df._32(n,62).disabled);l(n,65,0,Df._32(n,66)._getTabIndex(),Df._32(n,66).selected,Df._32(n,66).multiple,Df._32(n,66).active,Df._32(n,66).id,Df._32(n,66).selected.toString(),Df._32(n,66).disabled.toString(),Df._32(n,66).disabled)})}function so(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"div",[["formArrayName","date_per_financial"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,_o)),Df._17(6,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,"date_per_financial");l(n,6,0,e.financialForm.controls.date_per_financial.controls)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending)})}function co(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,91,{_control:0}),Df._37(335544320,92,{_placeholderChild:0}),Df._37(335544320,93,{_labelChild:0}),Df._37(603979776,94,{_errorChildren:1}),Df._37(603979776,95,{_hintChildren:1}),Df._37(603979776,96,{_prefixChildren:1}),Df._37(603979776,97,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_reason"],["matInput",""],["placeholder","Comments on Financials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[91,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"financial_reason");l(n,16,0,"Comments on Financials")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function mo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,co)),Df._17(3,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,""!=e.financial_no_of_year&&e.customerCommentsFlag)},null)}function po(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[112,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesFrmInwords[n.parent.context.index])})}function fo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[119,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesToInwords[n.parent.context.index])})}function ho(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[126,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_SalesInwords[n.parent.context.index])})}function go(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[174,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[" "," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_marginProfitAmtInwords[n.parent.parent.context.index])})}function bo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,88,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,149,{_control:0}),Df._37(335544320,150,{_placeholderChild:0}),Df._37(335544320,151,{_labelChild:0}),Df._37(603979776,152,{_errorChildren:1}),Df._37(603979776,153,{_hintChildren:1}),Df._37(603979776,154,{_prefixChildren:1}),Df._37(603979776,155,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_range_from"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Profit % From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginProfit(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[149,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(24,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,156,{_control:0}),Df._37(335544320,157,{_placeholderChild:0}),Df._37(335544320,158,{_labelChild:0}),Df._37(603979776,159,{_errorChildren:1}),Df._37(603979776,160,{_hintChildren:1}),Df._37(603979776,161,{_prefixChildren:1}),Df._37(603979776,162,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(33,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_range_to"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Profit % To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,40)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginProfit(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),Df._17(34,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(35,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(37,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(39,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(40,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[156,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(44,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(45,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,163,{_control:0}),Df._37(335544320,164,{_placeholderChild:0}),Df._37(335544320,165,{_labelChild:0}),Df._37(603979776,166,{_errorChildren:1}),Df._37(603979776,167,{_hintChildren:1}),Df._37(603979776,168,{_prefixChildren:1}),Df._37(603979776,169,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(54,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_margin_percent"],["matInput",""],["placeholder","Net Profit % Considered"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,61)._onInput()&&u}return u},null,null)),Df._17(55,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(56,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(58,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(60,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(61,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[163,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(66,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(67,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,170,{_control:0}),Df._37(335544320,171,{_placeholderChild:0}),Df._37(335544320,172,{_labelChild:0}),Df._37(603979776,173,{_errorChildren:1}),Df._37(603979776,174,{_hintChildren:1}),Df._37(603979776,175,{_prefixChildren:1}),Df._37(603979776,176,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(76,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_profit_margin"],["matInput",""],["placeholder","Net Profit Amount Considered"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,77)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,77).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,77)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,77)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,82)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,82)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,82)._onInput()&&u}return u},null,null)),Df._17(77,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(79,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(81,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(82,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Df._36(2048,[[170,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,go)),Df._17(86,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_profit_range_from");l(n,19,0,"Net Profit % From","number");l(n,37,0,"estimate_profit_range_to");l(n,40,0,"Net Profit % To","number");l(n,58,0,"estimate_profit_margin_percent");l(n,61,0,"Net Profit % Considered","number","");l(n,79,0,"estimate_profit_margin");l(n,82,0,"Net Profit Amount Considered","");l(n,86,0,""!=n.parent.context.$implicit.get("estimate_profit_margin").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,23,1,[Df._32(n,24)._control.errorState,Df._32(n,24)._control.errorState,Df._32(n,24)._canLabelFloat,Df._32(n,24)._shouldLabelFloat(),Df._32(n,24)._hideControlPlaceholder(),Df._32(n,24)._control.disabled,Df._32(n,24)._control.focused,"primary"==Df._32(n,24).color,"accent"==Df._32(n,24).color,"warn"==Df._32(n,24).color,Df._32(n,24)._shouldForward("untouched"),Df._32(n,24)._shouldForward("touched"),Df._32(n,24)._shouldForward("pristine"),Df._32(n,24)._shouldForward("dirty"),Df._32(n,24)._shouldForward("valid"),Df._32(n,24)._shouldForward("invalid"),Df._32(n,24)._shouldForward("pending")]);l(n,33,1,[Df._32(n,39).ngClassUntouched,Df._32(n,39).ngClassTouched,Df._32(n,39).ngClassPristine,Df._32(n,39).ngClassDirty,Df._32(n,39).ngClassValid,Df._32(n,39).ngClassInvalid,Df._32(n,39).ngClassPending,Df._32(n,40)._isServer,Df._32(n,40).id,Df._32(n,40).placeholder,Df._32(n,40).disabled,Df._32(n,40).required,Df._32(n,40).readonly,Df._32(n,40)._ariaDescribedby||null,Df._32(n,40).errorState,Df._32(n,40).required.toString()]);l(n,44,1,[Df._32(n,45)._control.errorState,Df._32(n,45)._control.errorState,Df._32(n,45)._canLabelFloat,Df._32(n,45)._shouldLabelFloat(),Df._32(n,45)._hideControlPlaceholder(),Df._32(n,45)._control.disabled,Df._32(n,45)._control.focused,"primary"==Df._32(n,45).color,"accent"==Df._32(n,45).color,"warn"==Df._32(n,45).color,Df._32(n,45)._shouldForward("untouched"),Df._32(n,45)._shouldForward("touched"),Df._32(n,45)._shouldForward("pristine"),Df._32(n,45)._shouldForward("dirty"),Df._32(n,45)._shouldForward("valid"),Df._32(n,45)._shouldForward("invalid"),Df._32(n,45)._shouldForward("pending")]);l(n,54,1,[Df._32(n,60).ngClassUntouched,Df._32(n,60).ngClassTouched,Df._32(n,60).ngClassPristine,Df._32(n,60).ngClassDirty,Df._32(n,60).ngClassValid,Df._32(n,60).ngClassInvalid,Df._32(n,60).ngClassPending,Df._32(n,61)._isServer,Df._32(n,61).id,Df._32(n,61).placeholder,Df._32(n,61).disabled,Df._32(n,61).required,Df._32(n,61).readonly,Df._32(n,61)._ariaDescribedby||null,Df._32(n,61).errorState,Df._32(n,61).required.toString()]);l(n,66,1,[Df._32(n,67)._control.errorState,Df._32(n,67)._control.errorState,Df._32(n,67)._canLabelFloat,Df._32(n,67)._shouldLabelFloat(),Df._32(n,67)._hideControlPlaceholder(),Df._32(n,67)._control.disabled,Df._32(n,67)._control.focused,"primary"==Df._32(n,67).color,"accent"==Df._32(n,67).color,"warn"==Df._32(n,67).color,Df._32(n,67)._shouldForward("untouched"),Df._32(n,67)._shouldForward("touched"),Df._32(n,67)._shouldForward("pristine"),Df._32(n,67)._shouldForward("dirty"),Df._32(n,67)._shouldForward("valid"),Df._32(n,67)._shouldForward("invalid"),Df._32(n,67)._shouldForward("pending")]);l(n,76,1,[Df._32(n,81).ngClassUntouched,Df._32(n,81).ngClassTouched,Df._32(n,81).ngClassPristine,Df._32(n,81).ngClassDirty,Df._32(n,81).ngClassValid,Df._32(n,81).ngClassInvalid,Df._32(n,81).ngClassPending,Df._32(n,82)._isServer,Df._32(n,82).id,Df._32(n,82).placeholder,Df._32(n,82).disabled,Df._32(n,82).required,Df._32(n,82).readonly,Df._32(n,82)._ariaDescribedby||null,Df._32(n,82).errorState,Df._32(n,82).required.toString()])})}function vo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[181,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtFrmInwords[n.parent.parent.context.index])})}function yo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[188,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtToInwords[n.parent.parent.context.index])})}function Co(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[202,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_netProfitAmtInwords[n.parent.parent.context.index])})}function wo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,94,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,177,{_control:0}),Df._37(335544320,178,{_placeholderChild:0}),Df._37(335544320,179,{_labelChild:0}),Df._37(603979776,180,{_errorChildren:1}),Df._37(603979776,181,{_hintChildren:1}),Df._37(603979776,182,{_prefixChildren:1}),Df._37(603979776,183,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit_from"],["matInput",""],["placeholder","Net Profit Amount From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateProfitAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,7)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[177,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,vo)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(27,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,184,{_control:0}),Df._37(335544320,185,{_placeholderChild:0}),Df._37(335544320,186,{_labelChild:0}),Df._37(603979776,187,{_errorChildren:1}),Df._37(603979776,188,{_hintChildren:1}),Df._37(603979776,189,{_prefixChildren:1}),Df._37(603979776,190,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(36,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit_to"],["matInput",""],["placeholder","Net Profit Amount To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,43)._onInput()&&u}if("change"===n){u=!1!==t.calculateProfitAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,8)&&u}return u},null,null)),Df._17(37,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(38,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(40,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(42,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(43,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[184,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,yo)),Df._17(47,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(51,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,191,{_control:0}),Df._37(335544320,192,{_placeholderChild:0}),Df._37(335544320,193,{_labelChild:0}),Df._37(603979776,194,{_errorChildren:1}),Df._37(603979776,195,{_hintChildren:1}),Df._37(603979776,196,{_prefixChildren:1}),Df._37(603979776,197,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(60,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit_percent"],["matInput",""],["placeholder","Considered Net Profit"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,66)._onInput()&&u}return u},null,null)),Df._17(61,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(63,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(65,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(66,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Df._36(2048,[[191,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(71,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,198,{_control:0}),Df._37(335544320,199,{_placeholderChild:0}),Df._37(335544320,200,{_labelChild:0}),Df._37(603979776,201,{_errorChildren:1}),Df._37(603979776,202,{_hintChildren:1}),Df._37(603979776,203,{_prefixChildren:1}),Df._37(603979776,204,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(80,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_profit"],["matInput",""],["placeholder","Considered Profit Amount"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,81)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,82).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,82).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,82).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,87)._onInput()&&u}return u},null,null)),Df._17(81,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(82,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(84,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(86,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(87,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[198,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Co)),Df._17(91,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_net_profit_from");l(n,19,0,"Net Profit Amount From","number");l(n,23,0,""!=n.parent.context.$implicit.get("estimate_net_profit_from").value);l(n,40,0,"estimate_net_profit_to");l(n,43,0,"Net Profit Amount To","number");l(n,47,0,""!=n.parent.context.$implicit.get("estimate_net_profit_to").value);l(n,63,0,"estimate_net_profit_percent");l(n,66,0,"Considered Net Profit","");l(n,84,0,"estimate_net_profit");l(n,87,0,"Considered Profit Amount","number","");l(n,91,0,""!=n.parent.context.$implicit.get("estimate_net_profit").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,26,1,[Df._32(n,27)._control.errorState,Df._32(n,27)._control.errorState,Df._32(n,27)._canLabelFloat,Df._32(n,27)._shouldLabelFloat(),Df._32(n,27)._hideControlPlaceholder(),Df._32(n,27)._control.disabled,Df._32(n,27)._control.focused,"primary"==Df._32(n,27).color,"accent"==Df._32(n,27).color,"warn"==Df._32(n,27).color,Df._32(n,27)._shouldForward("untouched"),Df._32(n,27)._shouldForward("touched"),Df._32(n,27)._shouldForward("pristine"),Df._32(n,27)._shouldForward("dirty"),Df._32(n,27)._shouldForward("valid"),Df._32(n,27)._shouldForward("invalid"),Df._32(n,27)._shouldForward("pending")]);l(n,36,1,[Df._32(n,42).ngClassUntouched,Df._32(n,42).ngClassTouched,Df._32(n,42).ngClassPristine,Df._32(n,42).ngClassDirty,Df._32(n,42).ngClassValid,Df._32(n,42).ngClassInvalid,Df._32(n,42).ngClassPending,Df._32(n,43)._isServer,Df._32(n,43).id,Df._32(n,43).placeholder,Df._32(n,43).disabled,Df._32(n,43).required,Df._32(n,43).readonly,Df._32(n,43)._ariaDescribedby||null,Df._32(n,43).errorState,Df._32(n,43).required.toString()]);l(n,50,1,[Df._32(n,51)._control.errorState,Df._32(n,51)._control.errorState,Df._32(n,51)._canLabelFloat,Df._32(n,51)._shouldLabelFloat(),Df._32(n,51)._hideControlPlaceholder(),Df._32(n,51)._control.disabled,Df._32(n,51)._control.focused,"primary"==Df._32(n,51).color,"accent"==Df._32(n,51).color,"warn"==Df._32(n,51).color,Df._32(n,51)._shouldForward("untouched"),Df._32(n,51)._shouldForward("touched"),Df._32(n,51)._shouldForward("pristine"),Df._32(n,51)._shouldForward("dirty"),Df._32(n,51)._shouldForward("valid"),Df._32(n,51)._shouldForward("invalid"),Df._32(n,51)._shouldForward("pending")]);l(n,60,1,[Df._32(n,65).ngClassUntouched,Df._32(n,65).ngClassTouched,Df._32(n,65).ngClassPristine,Df._32(n,65).ngClassDirty,Df._32(n,65).ngClassValid,Df._32(n,65).ngClassInvalid,Df._32(n,65).ngClassPending,Df._32(n,66)._isServer,Df._32(n,66).id,Df._32(n,66).placeholder,Df._32(n,66).disabled,Df._32(n,66).required,Df._32(n,66).readonly,Df._32(n,66)._ariaDescribedby||null,Df._32(n,66).errorState,Df._32(n,66).required.toString()]);l(n,70,1,[Df._32(n,71)._control.errorState,Df._32(n,71)._control.errorState,Df._32(n,71)._canLabelFloat,Df._32(n,71)._shouldLabelFloat(),Df._32(n,71)._hideControlPlaceholder(),Df._32(n,71)._control.disabled,Df._32(n,71)._control.focused,"primary"==Df._32(n,71).color,"accent"==Df._32(n,71).color,"warn"==Df._32(n,71).color,Df._32(n,71)._shouldForward("untouched"),Df._32(n,71)._shouldForward("touched"),Df._32(n,71)._shouldForward("pristine"),Df._32(n,71)._shouldForward("dirty"),Df._32(n,71)._shouldForward("valid"),Df._32(n,71)._shouldForward("invalid"),Df._32(n,71)._shouldForward("pending")]);l(n,80,1,[Df._32(n,86).ngClassUntouched,Df._32(n,86).ngClassTouched,Df._32(n,86).ngClassPristine,Df._32(n,86).ngClassDirty,Df._32(n,86).ngClassValid,Df._32(n,86).ngClassInvalid,Df._32(n,86).ngClassPending,Df._32(n,87)._isServer,Df._32(n,87).id,Df._32(n,87).placeholder,Df._32(n,87).disabled,Df._32(n,87).required,Df._32(n,87).readonly,Df._32(n,87)._ariaDescribedby||null,Df._32(n,87).errorState,Df._32(n,87).required.toString()])})}function Fo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[230,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_marginLossAmtInwords[n.parent.parent.context.index])})}function xo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,89,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,205,{_control:0}),Df._37(335544320,206,{_placeholderChild:0}),Df._37(335544320,207,{_labelChild:0}),Df._37(603979776,208,{_errorChildren:1}),Df._37(603979776,209,{_hintChildren:1}),Df._37(603979776,210,{_prefixChildren:1}),Df._37(603979776,211,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_range_from"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Loss % From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginLoss(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[205,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(24,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,212,{_control:0}),Df._37(335544320,213,{_placeholderChild:0}),Df._37(335544320,214,{_labelChild:0}),Df._37(603979776,215,{_errorChildren:1}),Df._37(603979776,216,{_hintChildren:1}),Df._37(603979776,217,{_prefixChildren:1}),Df._37(603979776,218,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(33,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_range_to"],["matInput",""],["max","100"],["min","0"],["placeholder","Net Loss % To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,40)._onInput()&&u}if("change"===n){u=!1!==t.calculateMarginLoss(l.parent.context.index,l.parent.context.$implicit)&&u}return u},null,null)),Df._17(34,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(35,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(37,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(39,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(40,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[212,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(44,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(45,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,219,{_control:0}),Df._37(335544320,220,{_placeholderChild:0}),Df._37(335544320,221,{_labelChild:0}),Df._37(603979776,222,{_errorChildren:1}),Df._37(603979776,223,{_hintChildren:1}),Df._37(603979776,224,{_prefixChildren:1}),Df._37(603979776,225,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(54,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_margin_percent"],["matInput",""],["placeholder","Net Profit % Considered"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,55)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,56).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,56).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,56).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,61)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,61)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,61)._onInput()&&u}return u},null,null)),Df._17(55,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(56,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(58,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(60,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(61,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[219,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(67,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(68,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,226,{_control:0}),Df._37(335544320,227,{_placeholderChild:0}),Df._37(335544320,228,{_labelChild:0}),Df._37(603979776,229,{_errorChildren:1}),Df._37(603979776,230,{_hintChildren:1}),Df._37(603979776,231,{_prefixChildren:1}),Df._37(603979776,232,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(77,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_loss_margin"],["matInput",""],["placeholder","Net Loss Amount Considered"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,78)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,78).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,78)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,78)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,83)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,83)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,83)._onInput()&&u}return u},null,null)),Df._17(78,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(80,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(82,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(83,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Df._36(2048,[[226,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Fo)),Df._17(87,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_loss_range_from");l(n,19,0,"Net Loss % From","number");l(n,37,0,"estimate_loss_range_to");l(n,40,0,"Net Loss % To","number");l(n,58,0,"estimate_loss_margin_percent");l(n,61,0,"Net Profit % Considered","number","");l(n,80,0,"estimate_loss_margin");l(n,83,0,"Net Loss Amount Considered","");l(n,87,0,""!=n.parent.context.$implicit.get("estimate_loss_margin").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,23,1,[Df._32(n,24)._control.errorState,Df._32(n,24)._control.errorState,Df._32(n,24)._canLabelFloat,Df._32(n,24)._shouldLabelFloat(),Df._32(n,24)._hideControlPlaceholder(),Df._32(n,24)._control.disabled,Df._32(n,24)._control.focused,"primary"==Df._32(n,24).color,"accent"==Df._32(n,24).color,"warn"==Df._32(n,24).color,Df._32(n,24)._shouldForward("untouched"),Df._32(n,24)._shouldForward("touched"),Df._32(n,24)._shouldForward("pristine"),Df._32(n,24)._shouldForward("dirty"),Df._32(n,24)._shouldForward("valid"),Df._32(n,24)._shouldForward("invalid"),Df._32(n,24)._shouldForward("pending")]);l(n,33,1,[Df._32(n,39).ngClassUntouched,Df._32(n,39).ngClassTouched,Df._32(n,39).ngClassPristine,Df._32(n,39).ngClassDirty,Df._32(n,39).ngClassValid,Df._32(n,39).ngClassInvalid,Df._32(n,39).ngClassPending,Df._32(n,40)._isServer,Df._32(n,40).id,Df._32(n,40).placeholder,Df._32(n,40).disabled,Df._32(n,40).required,Df._32(n,40).readonly,Df._32(n,40)._ariaDescribedby||null,Df._32(n,40).errorState,Df._32(n,40).required.toString()]);l(n,44,1,[Df._32(n,45)._control.errorState,Df._32(n,45)._control.errorState,Df._32(n,45)._canLabelFloat,Df._32(n,45)._shouldLabelFloat(),Df._32(n,45)._hideControlPlaceholder(),Df._32(n,45)._control.disabled,Df._32(n,45)._control.focused,"primary"==Df._32(n,45).color,"accent"==Df._32(n,45).color,"warn"==Df._32(n,45).color,Df._32(n,45)._shouldForward("untouched"),Df._32(n,45)._shouldForward("touched"),Df._32(n,45)._shouldForward("pristine"),Df._32(n,45)._shouldForward("dirty"),Df._32(n,45)._shouldForward("valid"),Df._32(n,45)._shouldForward("invalid"),Df._32(n,45)._shouldForward("pending")]);l(n,54,1,[Df._32(n,60).ngClassUntouched,Df._32(n,60).ngClassTouched,Df._32(n,60).ngClassPristine,Df._32(n,60).ngClassDirty,Df._32(n,60).ngClassValid,Df._32(n,60).ngClassInvalid,Df._32(n,60).ngClassPending,Df._32(n,61)._isServer,Df._32(n,61).id,Df._32(n,61).placeholder,Df._32(n,61).disabled,Df._32(n,61).required,Df._32(n,61).readonly,Df._32(n,61)._ariaDescribedby||null,Df._32(n,61).errorState,Df._32(n,61).required.toString()]);l(n,67,1,[Df._32(n,68)._control.errorState,Df._32(n,68)._control.errorState,Df._32(n,68)._canLabelFloat,Df._32(n,68)._shouldLabelFloat(),Df._32(n,68)._hideControlPlaceholder(),Df._32(n,68)._control.disabled,Df._32(n,68)._control.focused,"primary"==Df._32(n,68).color,"accent"==Df._32(n,68).color,"warn"==Df._32(n,68).color,Df._32(n,68)._shouldForward("untouched"),Df._32(n,68)._shouldForward("touched"),Df._32(n,68)._shouldForward("pristine"),Df._32(n,68)._shouldForward("dirty"),Df._32(n,68)._shouldForward("valid"),Df._32(n,68)._shouldForward("invalid"),Df._32(n,68)._shouldForward("pending")]);l(n,77,1,[Df._32(n,82).ngClassUntouched,Df._32(n,82).ngClassTouched,Df._32(n,82).ngClassPristine,Df._32(n,82).ngClassDirty,Df._32(n,82).ngClassValid,Df._32(n,82).ngClassInvalid,Df._32(n,82).ngClassPending,Df._32(n,83)._isServer,Df._32(n,83).id,Df._32(n,83).placeholder,Df._32(n,83).disabled,Df._32(n,83).required,Df._32(n,83).readonly,Df._32(n,83)._ariaDescribedby||null,Df._32(n,83).errorState,Df._32(n,83).required.toString()])})}function So(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[237,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtFrmInwords[n.parent.parent.context.index])})}function Io(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[244,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only "]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtToInwords[n.parent.parent.context.index])})}function qo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[258,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AV_netLossAmtInwords[n.parent.parent.context.index])})}function ko(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,94,"div",[["style","width:100%"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,233,{_control:0}),Df._37(335544320,234,{_placeholderChild:0}),Df._37(335544320,235,{_labelChild:0}),Df._37(603979776,236,{_errorChildren:1}),Df._37(603979776,237,{_hintChildren:1}),Df._37(603979776,238,{_prefixChildren:1}),Df._37(603979776,239,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss_from"],["matInput",""],["placeholder","Net Loss Amount From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("change"===n){u=!1!==t.calculateLossAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,9)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[233,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,So)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(27,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,240,{_control:0}),Df._37(335544320,241,{_placeholderChild:0}),Df._37(335544320,242,{_labelChild:0}),Df._37(603979776,243,{_errorChildren:1}),Df._37(603979776,244,{_hintChildren:1}),Df._37(603979776,245,{_prefixChildren:1}),Df._37(603979776,246,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(36,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss_to"],["matInput",""],["placeholder","Net Loss Amount To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,37)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,38).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,38).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,38).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,43)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,43)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,43)._onInput()&&u}if("change"===n){u=!1!==t.calculateLossAmount(l.parent.context.index,l.parent.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,10)&&u}return u},null,null)),Df._17(37,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(38,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(40,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(42,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(43,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[240,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Io)),Df._17(47,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(51,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,247,{_control:0}),Df._37(335544320,248,{_placeholderChild:0}),Df._37(335544320,249,{_labelChild:0}),Df._37(603979776,250,{_errorChildren:1}),Df._37(603979776,251,{_hintChildren:1}),Df._37(603979776,252,{_prefixChildren:1}),Df._37(603979776,253,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(60,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss_percent"],["matInput",""],["placeholder","Considered Net Loss"],["readonly",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,66)._onInput()&&u}return u},null,null)),Df._17(61,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(63,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(65,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(66,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Df._36(2048,[[247,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(71,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,254,{_control:0}),Df._37(335544320,255,{_placeholderChild:0}),Df._37(335544320,256,{_labelChild:0}),Df._37(603979776,257,{_errorChildren:1}),Df._37(603979776,258,{_hintChildren:1}),Df._37(603979776,259,{_prefixChildren:1}),Df._37(603979776,260,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(80,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_net_loss"],["matInput",""],["placeholder","Considered Loss Amount"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,81)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,82).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,82).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,82).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,87)._onInput()&&u}return u},null,null)),Df._17(81,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(82,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(84,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(86,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(87,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[254,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,qo)),Df._17(91,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"estimate_net_loss_from");l(n,19,0,"Net Loss Amount From","number");l(n,23,0,""!=n.parent.context.$implicit.get("estimate_net_loss_from").value);l(n,40,0,"estimate_net_loss_to");l(n,43,0,"Net Loss Amount To","number");l(n,47,0,""!=n.parent.context.$implicit.get("estimate_net_loss_to").value);l(n,63,0,"estimate_net_loss_percent");l(n,66,0,"Considered Net Loss","");l(n,84,0,"estimate_net_loss");l(n,87,0,"Considered Loss Amount","number","");l(n,91,0,""!=n.parent.context.$implicit.get("estimate_net_loss").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,26,1,[Df._32(n,27)._control.errorState,Df._32(n,27)._control.errorState,Df._32(n,27)._canLabelFloat,Df._32(n,27)._shouldLabelFloat(),Df._32(n,27)._hideControlPlaceholder(),Df._32(n,27)._control.disabled,Df._32(n,27)._control.focused,"primary"==Df._32(n,27).color,"accent"==Df._32(n,27).color,"warn"==Df._32(n,27).color,Df._32(n,27)._shouldForward("untouched"),Df._32(n,27)._shouldForward("touched"),Df._32(n,27)._shouldForward("pristine"),Df._32(n,27)._shouldForward("dirty"),Df._32(n,27)._shouldForward("valid"),Df._32(n,27)._shouldForward("invalid"),Df._32(n,27)._shouldForward("pending")]);l(n,36,1,[Df._32(n,42).ngClassUntouched,Df._32(n,42).ngClassTouched,Df._32(n,42).ngClassPristine,Df._32(n,42).ngClassDirty,Df._32(n,42).ngClassValid,Df._32(n,42).ngClassInvalid,Df._32(n,42).ngClassPending,Df._32(n,43)._isServer,Df._32(n,43).id,Df._32(n,43).placeholder,Df._32(n,43).disabled,Df._32(n,43).required,Df._32(n,43).readonly,Df._32(n,43)._ariaDescribedby||null,Df._32(n,43).errorState,Df._32(n,43).required.toString()]);l(n,50,1,[Df._32(n,51)._control.errorState,Df._32(n,51)._control.errorState,Df._32(n,51)._canLabelFloat,Df._32(n,51)._shouldLabelFloat(),Df._32(n,51)._hideControlPlaceholder(),Df._32(n,51)._control.disabled,Df._32(n,51)._control.focused,"primary"==Df._32(n,51).color,"accent"==Df._32(n,51).color,"warn"==Df._32(n,51).color,Df._32(n,51)._shouldForward("untouched"),Df._32(n,51)._shouldForward("touched"),Df._32(n,51)._shouldForward("pristine"),Df._32(n,51)._shouldForward("dirty"),Df._32(n,51)._shouldForward("valid"),Df._32(n,51)._shouldForward("invalid"),Df._32(n,51)._shouldForward("pending")]);l(n,60,1,[Df._32(n,65).ngClassUntouched,Df._32(n,65).ngClassTouched,Df._32(n,65).ngClassPristine,Df._32(n,65).ngClassDirty,Df._32(n,65).ngClassValid,Df._32(n,65).ngClassInvalid,Df._32(n,65).ngClassPending,Df._32(n,66)._isServer,Df._32(n,66).id,Df._32(n,66).placeholder,Df._32(n,66).disabled,Df._32(n,66).required,Df._32(n,66).readonly,Df._32(n,66)._ariaDescribedby||null,Df._32(n,66).errorState,Df._32(n,66).required.toString()]);l(n,70,1,[Df._32(n,71)._control.errorState,Df._32(n,71)._control.errorState,Df._32(n,71)._canLabelFloat,Df._32(n,71)._shouldLabelFloat(),Df._32(n,71)._hideControlPlaceholder(),Df._32(n,71)._control.disabled,Df._32(n,71)._control.focused,"primary"==Df._32(n,71).color,"accent"==Df._32(n,71).color,"warn"==Df._32(n,71).color,Df._32(n,71)._shouldForward("untouched"),Df._32(n,71)._shouldForward("touched"),Df._32(n,71)._shouldForward("pristine"),Df._32(n,71)._shouldForward("dirty"),Df._32(n,71)._shouldForward("valid"),Df._32(n,71)._shouldForward("invalid"),Df._32(n,71)._shouldForward("pending")]);l(n,80,1,[Df._32(n,86).ngClassUntouched,Df._32(n,86).ngClassTouched,Df._32(n,86).ngClassPristine,Df._32(n,86).ngClassDirty,Df._32(n,86).ngClassValid,Df._32(n,86).ngClassInvalid,Df._32(n,86).ngClassPending,Df._32(n,87)._isServer,Df._32(n,87).id,Df._32(n,87).placeholder,Df._32(n,87).disabled,Df._32(n,87).required,Df._32(n,87).readonly,Df._32(n,87)._ariaDescribedby||null,Df._32(n,87).errorState,Df._32(n,87).required.toString()])})}function Po(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,261,{_control:0}),Df._37(335544320,262,{_placeholderChild:0}),Df._37(335544320,263,{_labelChild:0}),Df._37(603979776,264,{_errorChildren:1}),Df._37(603979776,265,{_hintChildren:1}),Df._37(603979776,266,{_prefixChildren:1}),Df._37(603979776,267,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_reason_for_loss"],["matInput",""],["placeholder","What is the reason for the Loss?"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,18)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(18,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[261,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"estimate_reason_for_loss");l(n,18,0,"What is the reason for the Loss?")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending,Df._32(n,18)._isServer,Df._32(n,18).id,Df._32(n,18).placeholder,Df._32(n,18).disabled,Df._32(n,18).required,Df._32(n,18).readonly,Df._32(n,18)._ariaDescribedby||null,Df._32(n,18).errorState,Df._32(n,18).required.toString()])})}function Do(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,160,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,154,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(9,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,108,{_control:0}),Df._37(335544320,109,{_placeholderChild:0}),Df._37(335544320,110,{_labelChild:0}),Df._37(603979776,111,{_errorChildren:1}),Df._37(603979776,112,{_hintChildren:1}),Df._37(603979776,113,{_prefixChildren:1}),Df._37(603979776,114,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(18,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_sales_from"],["matInput",""],["placeholder","Annual Sales From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,19)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,20).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,20).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,25)._onInput()&&u}if("change"===n){u=!1!==t.calculateSalesAverage(l.context.index,l.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,11)&&u}return u},null,null)),Df._17(19,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(20,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[108,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,po)),Df._17(29,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(33,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,115,{_control:0}),Df._37(335544320,116,{_placeholderChild:0}),Df._37(335544320,117,{_labelChild:0}),Df._37(603979776,118,{_errorChildren:1}),Df._37(603979776,119,{_hintChildren:1}),Df._37(603979776,120,{_prefixChildren:1}),Df._37(603979776,121,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(42,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_sales_to"],["matInput",""],["placeholder","Annual Sales To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,43)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,44).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,44).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,44).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,49)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,49)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,49)._onInput()&&u}if("change"===n){u=!1!==t.confirmAlert(l.context.index,l.context.$implicit)&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index,12)&&u}return u},null,null)),Df._17(43,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(44,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(46,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(48,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(49,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[115,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,fo)),Df._17(53,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(56,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(57,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,122,{_control:0}),Df._37(335544320,123,{_placeholderChild:0}),Df._37(335544320,124,{_labelChild:0}),Df._37(603979776,125,{_errorChildren:1}),Df._37(603979776,126,{_hintChildren:1}),Df._37(603979776,127,{_prefixChildren:1}),Df._37(603979776,128,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(66,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimate_sales_average"],["matInput",""],["placeholder","Consider Sales Average"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,67)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,67).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,67)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,67)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,68).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,68).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,68).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,73)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,73)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,73)._onInput()&&u}return u},null,null)),Df._17(67,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(68,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(70,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(72,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(73,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[122,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,ho)),Df._17(77,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(80,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(81,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,129,{_control:0}),Df._37(335544320,130,{_placeholderChild:0}),Df._37(335544320,131,{_labelChild:0}),Df._37(603979776,132,{_errorChildren:1}),Df._37(603979776,133,{_hintChildren:1}),Df._37(603979776,134,{_prefixChildren:1}),Df._37(603979776,135,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(90,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","estimate_profit_or_loss"],["placeholder","Was there Net Profit or Net Loss?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,94)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,94)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,94)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(91,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(93,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(94,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,136,{options:1}),Df._37(603979776,137,{optionGroups:1}),Df._37(335544320,138,{customTrigger:0}),Df._36(2048,[[129,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(101,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","1"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,102)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,102)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(102,8437760,[[136,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Net Profit"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(105,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","2"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,106)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,106)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(106,8437760,[[136,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Net Loss"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(111,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(112,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,139,{_control:0}),Df._37(335544320,140,{_placeholderChild:0}),Df._37(335544320,141,{_labelChild:0}),Df._37(603979776,142,{_errorChildren:1}),Df._37(603979776,143,{_hintChildren:1}),Df._37(603979776,144,{_prefixChildren:1}),Df._37(603979776,145,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(121,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","estimate_net_margin_availablity"],["placeholder","Is there Net Margin information Available?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,125)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,125)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,125)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(122,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(124,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(125,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,146,{options:1}),Df._37(603979776,147,{optionGroups:1}),Df._37(335544320,148,{customTrigger:0}),Df._36(2048,[[139,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(132,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,133)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,133)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(133,8437760,[[146,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(136,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,137)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,137)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(137,8437760,[[146,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,bo)),Df._17(143,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,wo)),Df._17(146,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,xo)),Df._17(152,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ko)),Df._17(155,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Po)),Df._17(158,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,22,0,"estimate_sales_from");l(n,25,0,"Annual Sales From","number");l(n,29,0,""!=n.context.$implicit.get("estimate_sales_from").value);l(n,46,0,"estimate_sales_to");l(n,49,0,"Annual Sales To","number");l(n,53,0,""!=n.context.$implicit.get("estimate_sales_to").value);l(n,70,0,"estimate_sales_average");l(n,73,0,"Consider Sales Average","number","");l(n,77,0,""!=n.context.$implicit.get("estimate_sales_to").value);l(n,91,0,"estimate_profit_or_loss");l(n,94,0,"Was there Net Profit or Net Loss?");l(n,102,0,"1");l(n,106,0,"2");l(n,122,0,"estimate_net_margin_availablity");l(n,125,0,"Is there Net Margin information Available?");l(n,133,0,"yes");l(n,137,0,"no");l(n,143,0,1==n.context.$implicit.get("estimate_profit_or_loss").value&&"yes"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,146,0,1==n.context.$implicit.get("estimate_profit_or_loss").value&&"no"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,152,0,2==n.context.$implicit.get("estimate_profit_or_loss").value&&"yes"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,155,0,2==n.context.$implicit.get("estimate_profit_or_loss").value&&"no"==n.context.$implicit.get("estimate_net_margin_availablity").value);l(n,158,0,2==n.context.$implicit.get("estimate_profit_or_loss").value)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,8,1,[Df._32(n,9)._control.errorState,Df._32(n,9)._control.errorState,Df._32(n,9)._canLabelFloat,Df._32(n,9)._shouldLabelFloat(),Df._32(n,9)._hideControlPlaceholder(),Df._32(n,9)._control.disabled,Df._32(n,9)._control.focused,"primary"==Df._32(n,9).color,"accent"==Df._32(n,9).color,"warn"==Df._32(n,9).color,Df._32(n,9)._shouldForward("untouched"),Df._32(n,9)._shouldForward("touched"),Df._32(n,9)._shouldForward("pristine"),Df._32(n,9)._shouldForward("dirty"),Df._32(n,9)._shouldForward("valid"),Df._32(n,9)._shouldForward("invalid"),Df._32(n,9)._shouldForward("pending")]);l(n,18,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25)._isServer,Df._32(n,25).id,Df._32(n,25).placeholder,Df._32(n,25).disabled,Df._32(n,25).required,Df._32(n,25).readonly,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25).errorState,Df._32(n,25).required.toString()]);l(n,32,1,[Df._32(n,33)._control.errorState,Df._32(n,33)._control.errorState,Df._32(n,33)._canLabelFloat,Df._32(n,33)._shouldLabelFloat(),Df._32(n,33)._hideControlPlaceholder(),Df._32(n,33)._control.disabled,Df._32(n,33)._control.focused,"primary"==Df._32(n,33).color,"accent"==Df._32(n,33).color,"warn"==Df._32(n,33).color,Df._32(n,33)._shouldForward("untouched"),Df._32(n,33)._shouldForward("touched"),Df._32(n,33)._shouldForward("pristine"),Df._32(n,33)._shouldForward("dirty"),Df._32(n,33)._shouldForward("valid"),Df._32(n,33)._shouldForward("invalid"),Df._32(n,33)._shouldForward("pending")]);l(n,42,1,[Df._32(n,48).ngClassUntouched,Df._32(n,48).ngClassTouched,Df._32(n,48).ngClassPristine,Df._32(n,48).ngClassDirty,Df._32(n,48).ngClassValid,Df._32(n,48).ngClassInvalid,Df._32(n,48).ngClassPending,Df._32(n,49)._isServer,Df._32(n,49).id,Df._32(n,49).placeholder,Df._32(n,49).disabled,Df._32(n,49).required,Df._32(n,49).readonly,Df._32(n,49)._ariaDescribedby||null,Df._32(n,49).errorState,Df._32(n,49).required.toString()]);l(n,56,1,[Df._32(n,57)._control.errorState,Df._32(n,57)._control.errorState,Df._32(n,57)._canLabelFloat,Df._32(n,57)._shouldLabelFloat(),Df._32(n,57)._hideControlPlaceholder(),Df._32(n,57)._control.disabled,Df._32(n,57)._control.focused,"primary"==Df._32(n,57).color,"accent"==Df._32(n,57).color,"warn"==Df._32(n,57).color,Df._32(n,57)._shouldForward("untouched"),Df._32(n,57)._shouldForward("touched"),Df._32(n,57)._shouldForward("pristine"),Df._32(n,57)._shouldForward("dirty"),Df._32(n,57)._shouldForward("valid"),Df._32(n,57)._shouldForward("invalid"),Df._32(n,57)._shouldForward("pending")]);l(n,66,1,[Df._32(n,72).ngClassUntouched,Df._32(n,72).ngClassTouched,Df._32(n,72).ngClassPristine,Df._32(n,72).ngClassDirty,Df._32(n,72).ngClassValid,Df._32(n,72).ngClassInvalid,Df._32(n,72).ngClassPending,Df._32(n,73)._isServer,Df._32(n,73).id,Df._32(n,73).placeholder,Df._32(n,73).disabled,Df._32(n,73).required,Df._32(n,73).readonly,Df._32(n,73)._ariaDescribedby||null,Df._32(n,73).errorState,Df._32(n,73).required.toString()]);l(n,80,1,[Df._32(n,81)._control.errorState,Df._32(n,81)._control.errorState,Df._32(n,81)._canLabelFloat,Df._32(n,81)._shouldLabelFloat(),Df._32(n,81)._hideControlPlaceholder(),Df._32(n,81)._control.disabled,Df._32(n,81)._control.focused,"primary"==Df._32(n,81).color,"accent"==Df._32(n,81).color,"warn"==Df._32(n,81).color,Df._32(n,81)._shouldForward("untouched"),Df._32(n,81)._shouldForward("touched"),Df._32(n,81)._shouldForward("pristine"),Df._32(n,81)._shouldForward("dirty"),Df._32(n,81)._shouldForward("valid"),Df._32(n,81)._shouldForward("invalid"),Df._32(n,81)._shouldForward("pending")]);l(n,90,1,[Df._32(n,93).ngClassUntouched,Df._32(n,93).ngClassTouched,Df._32(n,93).ngClassPristine,Df._32(n,93).ngClassDirty,Df._32(n,93).ngClassValid,Df._32(n,93).ngClassInvalid,Df._32(n,93).ngClassPending,Df._32(n,94).id,Df._32(n,94).tabIndex,Df._32(n,94)._ariaLabel,Df._32(n,94).ariaLabelledby,Df._32(n,94).required.toString(),Df._32(n,94).disabled.toString(),Df._32(n,94).errorState,Df._32(n,94).panelOpen?Df._32(n,94)._optionIds:null,Df._32(n,94).multiple,Df._32(n,94)._ariaDescribedby||null,Df._32(n,94)._getAriaActiveDescendant(),Df._32(n,94).disabled,Df._32(n,94).errorState,Df._32(n,94).required]);l(n,101,0,Df._32(n,102)._getTabIndex(),Df._32(n,102).selected,Df._32(n,102).multiple,Df._32(n,102).active,Df._32(n,102).id,Df._32(n,102).selected.toString(),Df._32(n,102).disabled.toString(),Df._32(n,102).disabled);l(n,105,0,Df._32(n,106)._getTabIndex(),Df._32(n,106).selected,Df._32(n,106).multiple,Df._32(n,106).active,Df._32(n,106).id,Df._32(n,106).selected.toString(),Df._32(n,106).disabled.toString(),Df._32(n,106).disabled);l(n,111,1,[Df._32(n,112)._control.errorState,Df._32(n,112)._control.errorState,Df._32(n,112)._canLabelFloat,Df._32(n,112)._shouldLabelFloat(),Df._32(n,112)._hideControlPlaceholder(),Df._32(n,112)._control.disabled,Df._32(n,112)._control.focused,"primary"==Df._32(n,112).color,"accent"==Df._32(n,112).color,"warn"==Df._32(n,112).color,Df._32(n,112)._shouldForward("untouched"),Df._32(n,112)._shouldForward("touched"),Df._32(n,112)._shouldForward("pristine"),Df._32(n,112)._shouldForward("dirty"),Df._32(n,112)._shouldForward("valid"),Df._32(n,112)._shouldForward("invalid"),Df._32(n,112)._shouldForward("pending")]);l(n,121,1,[Df._32(n,124).ngClassUntouched,Df._32(n,124).ngClassTouched,Df._32(n,124).ngClassPristine,Df._32(n,124).ngClassDirty,Df._32(n,124).ngClassValid,Df._32(n,124).ngClassInvalid,Df._32(n,124).ngClassPending,Df._32(n,125).id,Df._32(n,125).tabIndex,Df._32(n,125)._ariaLabel,Df._32(n,125).ariaLabelledby,Df._32(n,125).required.toString(),Df._32(n,125).disabled.toString(),Df._32(n,125).errorState,Df._32(n,125).panelOpen?Df._32(n,125)._optionIds:null,Df._32(n,125).multiple,Df._32(n,125)._ariaDescribedby||null,Df._32(n,125)._getAriaActiveDescendant(),Df._32(n,125).disabled,Df._32(n,125).errorState,Df._32(n,125).required]);l(n,132,0,Df._32(n,133)._getTabIndex(),Df._32(n,133).selected,Df._32(n,133).multiple,Df._32(n,133).active,Df._32(n,133).id,Df._32(n,133).selected.toString(),Df._32(n,133).disabled.toString(),Df._32(n,133).disabled);l(n,136,0,Df._32(n,137)._getTabIndex(),Df._32(n,137).selected,Df._32(n,137).multiple,Df._32(n,137).active,Df._32(n,137).id,Df._32(n,137).selected.toString(),Df._32(n,137).disabled.toString(),Df._32(n,137).disabled)})}function To(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[306,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Oo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,299,{_control:0}),Df._37(335544320,300,{_placeholderChild:0}),Df._37(335544320,301,{_labelChild:0}),Df._37(603979776,302,{_errorChildren:1}),Df._37(603979776,303,{_hintChildren:1}),Df._37(603979776,304,{_prefixChildren:1}),Df._37(603979776,305,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,14,"mat-select",[["class","mat-select"],["formControlName","working_capital_facilities_availed"],["multiple",""],["placeholder","Working Capital Facilities availed"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,15)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,15)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,15)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(12,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(14,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(15,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"]},null),Df._37(603979776,306,{options:1}),Df._37(603979776,307,{optionGroups:1}),Df._37(335544320,308,{customTrigger:0}),Df._36(2048,[[299,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,To)),Df._17(23,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,12,0,"working_capital_facilities_availed");l(n,15,0,"Working Capital Facilities availed","");l(n,23,0,e.av)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,14).ngClassUntouched,Df._32(n,14).ngClassTouched,Df._32(n,14).ngClassPristine,Df._32(n,14).ngClassDirty,Df._32(n,14).ngClassValid,Df._32(n,14).ngClassInvalid,Df._32(n,14).ngClassPending,Df._32(n,15).id,Df._32(n,15).tabIndex,Df._32(n,15)._ariaLabel,Df._32(n,15).ariaLabelledby,Df._32(n,15).required.toString(),Df._32(n,15).disabled.toString(),Df._32(n,15).errorState,Df._32(n,15).panelOpen?Df._32(n,15)._optionIds:null,Df._32(n,15).multiple,Df._32(n,15)._ariaDescribedby||null,Df._32(n,15)._getAriaActiveDescendant(),Df._32(n,15).disabled,Df._32(n,15).errorState,Df._32(n,15).required])})}function Lo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,309,{_control:0}),Df._37(335544320,310,{_placeholderChild:0}),Df._37(335544320,311,{_labelChild:0}),Df._37(603979776,312,{_errorChildren:1}),Df._37(603979776,313,{_hintChildren:1}),Df._37(603979776,314,{_prefixChildren:1}),Df._37(603979776,315,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_working_capital_facilities_availed"],["matInput",""],["placeholder","Details of Facility"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[309,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"reason_for_working_capital_facilities_availed");l(n,16,0,"Details of Facility")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Ao(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(1,0,null,null,11,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,7,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(8,0,null,3,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(9,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(10,0,["",""])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(14,0,null,null,282,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(15,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(17,0,null,1,278,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,19).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,19).onReset()&&u}return u},null,null)),Df._17(18,16384,null,0,Jf.B,[],null,null),Df._17(19,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(21,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,53,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(24,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(26,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(27,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(29,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(30,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Data As Per Financial Statements"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(37,0,null,0,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,1,{_control:0}),Df._37(335544320,2,{_placeholderChild:0}),Df._37(335544320,3,{_labelChild:0}),Df._37(603979776,4,{_errorChildren:1}),Df._37(603979776,5,{_hintChildren:1}),Df._37(603979776,6,{_prefixChildren:1}),Df._37(603979776,7,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(47,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_financial_statements"],["placeholder","Financial Statements Available ?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,51)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,51)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,51)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedStatement(e.value)&&u}return u},TC.b,TC.a)),Df._17(48,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(50,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(51,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,8,{options:1}),Df._37(603979776,9,{optionGroups:1}),Df._37(335544320,10,{customTrigger:0}),Df._36(2048,[[1,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(58,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,59)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,59)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(59,8437760,[[8,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(62,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,63)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,63)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(63,8437760,[[8,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Bi)),Df._17(69,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,so)),Df._17(72,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,mo)),Df._17(75,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(78,0,null,null,57,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(79,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(81,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(82,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(84,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(85,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(87,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Financial As Per Customers"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(92,0,null,0,33,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(93,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(95,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(96,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,98,{_control:0}),Df._37(335544320,99,{_placeholderChild:0}),Df._37(335544320,100,{_labelChild:0}),Df._37(603979776,101,{_errorChildren:1}),Df._37(603979776,102,{_hintChildren:1}),Df._37(603979776,103,{_prefixChildren:1}),Df._37(603979776,104,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(105,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_financial_customer"],["placeholder","Same as Financial Statements ?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,109)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,109)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,109)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedFinancialCustomer(e.value)&&u}return u},TC.b,TC.a)),Df._17(106,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(108,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(109,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,105,{options:1}),Df._37(603979776,106,{optionGroups:1}),Df._37(335544320,107,{customTrigger:0}),Df._36(2048,[[98,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(116,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,117)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,117)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(117,8437760,[[105,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(120,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,121)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,121)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(121,8437760,[[105,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(127,0,null,0,7,"div",[["formArrayName","estimated_value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(128,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(130,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Do)),Df._17(133,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(137,0,null,null,121,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(138,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(140,0,null,0,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(141,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(143,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(144,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(146,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Working Capital Details"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(151,0,null,0,106,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(152,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(154,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(155,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,268,{_control:0}),Df._37(335544320,269,{_placeholderChild:0}),Df._37(335544320,270,{_labelChild:0}),Df._37(603979776,271,{_errorChildren:1}),Df._37(603979776,272,{_hintChildren:1}),Df._37(603979776,273,{_prefixChildren:1}),Df._37(603979776,274,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(164,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),Df._17(165,16384,[[269,4]],0,fy.g,[],null,null),(l()(),Df._39(-1,null,["\n In case of Credit Sales, what is the average no of days taken to receive the money?\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(168,0,null,1,8,"input",[["autocomplete","off"],["class","large mat-input-element mat-form-field-autofill-control"],["formControlName","receive_the_money_in_days"],["matInput",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,169)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,169).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,169)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,169)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,170).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,170).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,170).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,175)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,175)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,175)._onInput()&&u}return u},null,null)),Df._17(169,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(170,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(172,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(174,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(175,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{type:[0,"type"]},null),Df._36(2048,[[268,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(179,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(180,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,275,{_control:0}),Df._37(335544320,276,{_placeholderChild:0}),Df._37(335544320,277,{_labelChild:0}),Df._37(603979776,278,{_errorChildren:1}),Df._37(603979776,279,{_hintChildren:1}),Df._37(603979776,280,{_prefixChildren:1}),Df._37(603979776,281,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(189,0,null,1,8,"input",[["autocomplete","off"],["class","large mat-input-element mat-form-field-autofill-control"],["formControlName","pay_the_money_in_days"],["matInput",""],["placeholder","In case of Credit Purchase, what is the average no of days taken to pay the money?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,190)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,190).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,190)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,190)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,191).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,191).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,191).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,196)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,196)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,196)._onInput()&&u}return u},null,null)),Df._17(190,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(191,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(193,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(195,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(196,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[275,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(200,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(201,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,282,{_control:0}),Df._37(335544320,283,{_placeholderChild:0}),Df._37(335544320,284,{_labelChild:0}),Df._37(603979776,285,{_errorChildren:1}),Df._37(603979776,286,{_hintChildren:1}),Df._37(603979776,287,{_prefixChildren:1}),Df._37(603979776,288,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(210,0,null,1,8,"input",[["autocomplete","off"],["class","large mat-input-element mat-form-field-autofill-control"],["formControlName","unsold_stock_lies_in_days"],["matInput",""],["placeholder","What is the average no of days for which stock lies unsold during the year?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,211)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,211).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,211)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,211)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,212).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,212).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,212).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,217)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,217)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,217)._onInput()&&u}return u},null,null)),Df._17(211,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(212,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(214,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(216,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(217,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[282,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(221,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(222,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,289,{_control:0}),Df._37(335544320,290,{_placeholderChild:0}),Df._37(335544320,291,{_labelChild:0}),Df._37(603979776,292,{_errorChildren:1}),Df._37(603979776,293,{_hintChildren:1}),Df._37(603979776,294,{_prefixChildren:1}),Df._37(603979776,295,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(231,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_there_working_capital_available"],["placeholder","Is there Working Capital Facilities?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,235)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,235)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,235)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(232,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(234,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(235,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,296,{options:1}),Df._37(603979776,297,{optionGroups:1}),Df._37(335544320,298,{customTrigger:0}),Df._36(2048,[[289,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(242,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,243)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,243)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(243,8437760,[[296,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(246,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,247)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,247)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(247,8437760,[[296,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Oo)),Df._17(253,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Lo)),Df._17(256,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(260,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(261,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(263,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(264,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,316,{_control:0}),Df._37(335544320,317,{_placeholderChild:0}),Df._37(335544320,318,{_labelChild:0}),Df._37(603979776,319,{_errorChildren:1}),Df._37(603979776,320,{_hintChildren:1}),Df._37(603979776,321,{_prefixChildren:1}),Df._37(603979776,322,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(273,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(274,16384,[[318,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(277,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","financial_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,278)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,278).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,278)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,278)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,283)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,283)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,283)._onInput()&&u}return u},null,null)),Df._17(278,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(280,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(282,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(283,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[316,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(288,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(289,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(291,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.submitDetails()&&u}return u},Vy.b,Vy.a)),Df._17(292,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,19,0,e.financialForm);l(n,48,0,"is_financial_statements");l(n,51,0,"Financial Statements Available ?");l(n,59,0,"yes");l(n,63,0,"no");l(n,69,0,e.isDisplay);l(n,72,0,""!=e.financial_no_of_year);l(n,75,0,e.isDisplay);l(n,106,0,"is_financial_customer");l(n,109,0,"Same as Financial Statements ?");l(n,117,0,"yes");l(n,121,0,"no");l(n,128,0,"estimated_value");l(n,133,0,e.financialForm.controls.estimated_value.controls);l(n,172,0,"receive_the_money_in_days");l(n,175,0,"number");l(n,193,0,"pay_the_money_in_days");l(n,196,0,"In case of Credit Purchase, what is the average no of days taken to pay the money?","number");l(n,214,0,"unsold_stock_lies_in_days");l(n,217,0,"What is the average no of days for which stock lies unsold during the year?","number");l(n,232,0,"is_there_working_capital_available");l(n,235,0,"Is there Working Capital Facilities?");l(n,243,0,"yes");l(n,247,0,"no");l(n,253,0,"yes"==e.financialForm.controls.is_there_working_capital_available.value);l(n,256,0,"yes"==e.financialForm.controls.is_there_working_capital_available.value&&""!=e.financialForm.controls.working_capital_facilities_availed.value);l(n,280,0,"financial_remarks");l(n,283,0,"Remarks");l(n,292,0,"optblue","")},function(l,n){var e=n.component;l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,10,0,e.formDetails.form_name);l(n,14,0,Df._32(n,15).statusbarPadding,Df._32(n,15)._hasRefresher);l(n,17,0,Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending);l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,1,[Df._32(n,50).ngClassUntouched,Df._32(n,50).ngClassTouched,Df._32(n,50).ngClassPristine,Df._32(n,50).ngClassDirty,Df._32(n,50).ngClassValid,Df._32(n,50).ngClassInvalid,Df._32(n,50).ngClassPending,Df._32(n,51).id,Df._32(n,51).tabIndex,Df._32(n,51)._ariaLabel,Df._32(n,51).ariaLabelledby,Df._32(n,51).required.toString(),Df._32(n,51).disabled.toString(),Df._32(n,51).errorState,Df._32(n,51).panelOpen?Df._32(n,51)._optionIds:null,Df._32(n,51).multiple,Df._32(n,51)._ariaDescribedby||null,Df._32(n,51)._getAriaActiveDescendant(),Df._32(n,51).disabled,Df._32(n,51).errorState,Df._32(n,51).required]);l(n,58,0,Df._32(n,59)._getTabIndex(),Df._32(n,59).selected,Df._32(n,59).multiple,Df._32(n,59).active,Df._32(n,59).id,Df._32(n,59).selected.toString(),Df._32(n,59).disabled.toString(),Df._32(n,59).disabled);l(n,62,0,Df._32(n,63)._getTabIndex(),Df._32(n,63).selected,Df._32(n,63).multiple,Df._32(n,63).active,Df._32(n,63).id,Df._32(n,63).selected.toString(),Df._32(n,63).disabled.toString(),Df._32(n,63).disabled);l(n,95,1,[Df._32(n,96)._control.errorState,Df._32(n,96)._control.errorState,Df._32(n,96)._canLabelFloat,Df._32(n,96)._shouldLabelFloat(),Df._32(n,96)._hideControlPlaceholder(),Df._32(n,96)._control.disabled,Df._32(n,96)._control.focused,"primary"==Df._32(n,96).color,"accent"==Df._32(n,96).color,"warn"==Df._32(n,96).color,Df._32(n,96)._shouldForward("untouched"),Df._32(n,96)._shouldForward("touched"),Df._32(n,96)._shouldForward("pristine"),Df._32(n,96)._shouldForward("dirty"),Df._32(n,96)._shouldForward("valid"),Df._32(n,96)._shouldForward("invalid"),Df._32(n,96)._shouldForward("pending")]);l(n,105,1,[Df._32(n,108).ngClassUntouched,Df._32(n,108).ngClassTouched,Df._32(n,108).ngClassPristine,Df._32(n,108).ngClassDirty,Df._32(n,108).ngClassValid,Df._32(n,108).ngClassInvalid,Df._32(n,108).ngClassPending,Df._32(n,109).id,Df._32(n,109).tabIndex,Df._32(n,109)._ariaLabel,Df._32(n,109).ariaLabelledby,Df._32(n,109).required.toString(),Df._32(n,109).disabled.toString(),Df._32(n,109).errorState,Df._32(n,109).panelOpen?Df._32(n,109)._optionIds:null,Df._32(n,109).multiple,Df._32(n,109)._ariaDescribedby||null,Df._32(n,109)._getAriaActiveDescendant(),Df._32(n,109).disabled,Df._32(n,109).errorState,Df._32(n,109).required]);l(n,116,0,Df._32(n,117)._getTabIndex(),Df._32(n,117).selected,Df._32(n,117).multiple,Df._32(n,117).active,Df._32(n,117).id,Df._32(n,117).selected.toString(),Df._32(n,117).disabled.toString(),Df._32(n,117).disabled);l(n,120,0,Df._32(n,121)._getTabIndex(),Df._32(n,121).selected,Df._32(n,121).multiple,Df._32(n,121).active,Df._32(n,121).id,Df._32(n,121).selected.toString(),Df._32(n,121).disabled.toString(),Df._32(n,121).disabled);l(n,127,0,Df._32(n,130).ngClassUntouched,Df._32(n,130).ngClassTouched,Df._32(n,130).ngClassPristine,Df._32(n,130).ngClassDirty,Df._32(n,130).ngClassValid,Df._32(n,130).ngClassInvalid,Df._32(n,130).ngClassPending);l(n,154,1,[Df._32(n,155)._control.errorState,Df._32(n,155)._control.errorState,Df._32(n,155)._canLabelFloat,Df._32(n,155)._shouldLabelFloat(),Df._32(n,155)._hideControlPlaceholder(),Df._32(n,155)._control.disabled,Df._32(n,155)._control.focused,"primary"==Df._32(n,155).color,"accent"==Df._32(n,155).color,"warn"==Df._32(n,155).color,Df._32(n,155)._shouldForward("untouched"),Df._32(n,155)._shouldForward("touched"),Df._32(n,155)._shouldForward("pristine"),Df._32(n,155)._shouldForward("dirty"),Df._32(n,155)._shouldForward("valid"),Df._32(n,155)._shouldForward("invalid"),Df._32(n,155)._shouldForward("pending")]);l(n,168,1,[Df._32(n,174).ngClassUntouched,Df._32(n,174).ngClassTouched,Df._32(n,174).ngClassPristine,Df._32(n,174).ngClassDirty,Df._32(n,174).ngClassValid,Df._32(n,174).ngClassInvalid,Df._32(n,174).ngClassPending,Df._32(n,175)._isServer,Df._32(n,175).id,Df._32(n,175).placeholder,Df._32(n,175).disabled,Df._32(n,175).required,Df._32(n,175).readonly,Df._32(n,175)._ariaDescribedby||null,Df._32(n,175).errorState,Df._32(n,175).required.toString()]);l(n,179,1,[Df._32(n,180)._control.errorState,Df._32(n,180)._control.errorState,Df._32(n,180)._canLabelFloat,Df._32(n,180)._shouldLabelFloat(),Df._32(n,180)._hideControlPlaceholder(),Df._32(n,180)._control.disabled,Df._32(n,180)._control.focused,"primary"==Df._32(n,180).color,"accent"==Df._32(n,180).color,"warn"==Df._32(n,180).color,Df._32(n,180)._shouldForward("untouched"),Df._32(n,180)._shouldForward("touched"),Df._32(n,180)._shouldForward("pristine"),Df._32(n,180)._shouldForward("dirty"),Df._32(n,180)._shouldForward("valid"),Df._32(n,180)._shouldForward("invalid"),Df._32(n,180)._shouldForward("pending")]);l(n,189,1,[Df._32(n,195).ngClassUntouched,Df._32(n,195).ngClassTouched,Df._32(n,195).ngClassPristine,Df._32(n,195).ngClassDirty,Df._32(n,195).ngClassValid,Df._32(n,195).ngClassInvalid,Df._32(n,195).ngClassPending,Df._32(n,196)._isServer,Df._32(n,196).id,Df._32(n,196).placeholder,Df._32(n,196).disabled,Df._32(n,196).required,Df._32(n,196).readonly,Df._32(n,196)._ariaDescribedby||null,Df._32(n,196).errorState,Df._32(n,196).required.toString()]);l(n,200,1,[Df._32(n,201)._control.errorState,Df._32(n,201)._control.errorState,Df._32(n,201)._canLabelFloat,Df._32(n,201)._shouldLabelFloat(),Df._32(n,201)._hideControlPlaceholder(),Df._32(n,201)._control.disabled,Df._32(n,201)._control.focused,"primary"==Df._32(n,201).color,"accent"==Df._32(n,201).color,"warn"==Df._32(n,201).color,Df._32(n,201)._shouldForward("untouched"),Df._32(n,201)._shouldForward("touched"),Df._32(n,201)._shouldForward("pristine"),Df._32(n,201)._shouldForward("dirty"),Df._32(n,201)._shouldForward("valid"),Df._32(n,201)._shouldForward("invalid"),Df._32(n,201)._shouldForward("pending")]);l(n,210,1,[Df._32(n,216).ngClassUntouched,Df._32(n,216).ngClassTouched,Df._32(n,216).ngClassPristine,Df._32(n,216).ngClassDirty,Df._32(n,216).ngClassValid,Df._32(n,216).ngClassInvalid,Df._32(n,216).ngClassPending,Df._32(n,217)._isServer,Df._32(n,217).id,Df._32(n,217).placeholder,Df._32(n,217).disabled,Df._32(n,217).required,Df._32(n,217).readonly,Df._32(n,217)._ariaDescribedby||null,Df._32(n,217).errorState,Df._32(n,217).required.toString()]);l(n,221,1,[Df._32(n,222)._control.errorState,Df._32(n,222)._control.errorState,Df._32(n,222)._canLabelFloat,Df._32(n,222)._shouldLabelFloat(),Df._32(n,222)._hideControlPlaceholder(),Df._32(n,222)._control.disabled,Df._32(n,222)._control.focused,"primary"==Df._32(n,222).color,"accent"==Df._32(n,222).color,"warn"==Df._32(n,222).color,Df._32(n,222)._shouldForward("untouched"),Df._32(n,222)._shouldForward("touched"),Df._32(n,222)._shouldForward("pristine"),Df._32(n,222)._shouldForward("dirty"),Df._32(n,222)._shouldForward("valid"),Df._32(n,222)._shouldForward("invalid"),Df._32(n,222)._shouldForward("pending")]);l(n,231,1,[Df._32(n,234).ngClassUntouched,Df._32(n,234).ngClassTouched,Df._32(n,234).ngClassPristine,Df._32(n,234).ngClassDirty,Df._32(n,234).ngClassValid,Df._32(n,234).ngClassInvalid,Df._32(n,234).ngClassPending,Df._32(n,235).id,Df._32(n,235).tabIndex,Df._32(n,235)._ariaLabel,Df._32(n,235).ariaLabelledby,Df._32(n,235).required.toString(),Df._32(n,235).disabled.toString(),Df._32(n,235).errorState,Df._32(n,235).panelOpen?Df._32(n,235)._optionIds:null,Df._32(n,235).multiple,Df._32(n,235)._ariaDescribedby||null,Df._32(n,235)._getAriaActiveDescendant(),Df._32(n,235).disabled,Df._32(n,235).errorState,Df._32(n,235).required]);l(n,242,0,Df._32(n,243)._getTabIndex(),Df._32(n,243).selected,Df._32(n,243).multiple,Df._32(n,243).active,Df._32(n,243).id,Df._32(n,243).selected.toString(),Df._32(n,243).disabled.toString(),Df._32(n,243).disabled);l(n,246,0,Df._32(n,247)._getTabIndex(),Df._32(n,247).selected,Df._32(n,247).multiple,Df._32(n,247).active,Df._32(n,247).id,Df._32(n,247).selected.toString(),Df._32(n,247).disabled.toString(),Df._32(n,247).disabled);l(n,263,1,[Df._32(n,264)._control.errorState,Df._32(n,264)._control.errorState,Df._32(n,264)._canLabelFloat,Df._32(n,264)._shouldLabelFloat(),Df._32(n,264)._hideControlPlaceholder(),Df._32(n,264)._control.disabled,Df._32(n,264)._control.focused,"primary"==Df._32(n,264).color,"accent"==Df._32(n,264).color,"warn"==Df._32(n,264).color,Df._32(n,264)._shouldForward("untouched"),Df._32(n,264)._shouldForward("touched"),Df._32(n,264)._shouldForward("pristine"),Df._32(n,264)._shouldForward("dirty"),Df._32(n,264)._shouldForward("valid"),Df._32(n,264)._shouldForward("invalid"),Df._32(n,264)._shouldForward("pending")]);l(n,277,1,[Df._32(n,282).ngClassUntouched,Df._32(n,282).ngClassTouched,Df._32(n,282).ngClassPristine,Df._32(n,282).ngClassDirty,Df._32(n,282).ngClassValid,Df._32(n,282).ngClassInvalid,Df._32(n,282).ngClassPending,Df._32(n,283)._isServer,Df._32(n,283).id,Df._32(n,283).placeholder,Df._32(n,283).disabled,Df._32(n,283).required,Df._32(n,283).readonly,Df._32(n,283)._ariaDescribedby||null,Df._32(n,283).errorState,Df._32(n,283).required.toString()])})}function Vo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function jo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[10,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function No(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,13,{_control:0}),Df._37(335544320,14,{_placeholderChild:0}),Df._37(335544320,15,{_labelChild:0}),Df._37(603979776,16,{_errorChildren:1}),Df._37(603979776,17,{_hintChildren:1}),Df._37(603979776,18,{_prefixChildren:1}),Df._37(603979776,19,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[15,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Address"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(14,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address"],["matInput",""],["placeholder","Rental Info Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,15)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,20)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,20)._onInput()&&u}return u},null,null)),Df._17(15,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(17,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(19,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(20,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[13,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,7,3,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(24,16384,[[17,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._18(25,0,null,null,1,"i",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.Toview()&&u}return u},null,null)),(l()(),Df._39(-1,null,["Rental Info Details"])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,17,0,"address");l(n,20,0,"Rental Info Details");l(n,24,0,"end")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,14,1,[Df._32(n,19).ngClassUntouched,Df._32(n,19).ngClassTouched,Df._32(n,19).ngClassPristine,Df._32(n,19).ngClassDirty,Df._32(n,19).ngClassValid,Df._32(n,19).ngClassInvalid,Df._32(n,19).ngClassPending,Df._32(n,20)._isServer,Df._32(n,20).id,Df._32(n,20).placeholder,Df._32(n,20).disabled,Df._32(n,20).required,Df._32(n,20).readonly,Df._32(n,20)._ariaDescribedby||null,Df._32(n,20).errorState,Df._32(n,20).required.toString()]);l(n,23,0,"end"==Df._32(n,24).align,Df._32(n,24).id,null)})}function Wo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,20,{_control:0}),Df._37(335544320,21,{_placeholderChild:0}),Df._37(335544320,22,{_labelChild:0}),Df._37(603979776,23,{_errorChildren:1}),Df._37(603979776,24,{_hintChildren:1}),Df._37(603979776,25,{_prefixChildren:1}),Df._37(603979776,26,{_suffixChildren:1}),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_source"],["matInput",""],["placeholder","Specify Others Source"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[20,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_source");l(n,16,0,"Specify Others Source")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Eo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[34,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Ro(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,DC.d,DC.a)),Df._17(1,49152,[[35,4]],0,hy.s,[],{label:[0,"label"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Eo)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,Df._32(n,1).disabled,Df._32(n,1).disabled.toString(),Df._32(n,1)._labelId)})}function Uo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,37,{_control:0}),Df._37(335544320,38,{_placeholderChild:0}),Df._37(335544320,39,{_labelChild:0}),Df._37(603979776,40,{_errorChildren:1}),Df._37(603979776,41,{_hintChildren:1}),Df._37(603979776,42,{_prefixChildren:1}),Df._37(603979776,43,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_income_earned_by"],["matInput",""],["placeholder","Specify Income Earned By"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[37,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_income_earned_by");l(n,16,0,"Specify Income Earned By")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function $o(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[48,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," ",""]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.amtInWords[n.parent.context.index])})}function Bo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[58,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.frequency_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Mo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,61,{_control:0}),Df._37(335544320,62,{_placeholderChild:0}),Df._37(335544320,63,{_labelChild:0}),Df._37(603979776,64,{_errorChildren:1}),Df._37(603979776,65,{_hintChildren:1}),Df._37(603979776,66,{_prefixChildren:1}),Df._37(603979776,67,{_suffixChildren:1}),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_frequency"],["matInput",""],["placeholder","Specify Others Frequency"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[61,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_frequency");l(n,16,0,"Specify Others Frequency")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Ko(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addIncomeDetails()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Ho(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,146,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(6,null,["Income Details ",""])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(8,0,null,null,137,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),Df._17(9,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(12,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,3,{_control:0}),Df._37(335544320,4,{_placeholderChild:0}),Df._37(335544320,5,{_labelChild:0}),Df._37(603979776,6,{_errorChildren:1}),Df._37(603979776,7,{_hintChildren:1}),Df._37(603979776,8,{_prefixChildren:1}),Df._37(603979776,9,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","source"],["placeholder","Source"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,26)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(23,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(25,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(26,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,10,{options:1}),Df._37(603979776,11,{optionGroups:1}),Df._37(335544320,12,{customTrigger:0}),Df._36(2048,[[3,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,jo)),Df._17(33,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,No)),Df._17(38,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Wo)),Df._17(41,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(44,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,27,{_control:0}),Df._37(335544320,28,{_placeholderChild:0}),Df._37(335544320,29,{_labelChild:0}),Df._37(603979776,30,{_errorChildren:1}),Df._37(603979776,31,{_hintChildren:1}),Df._37(603979776,32,{_prefixChildren:1}),Df._37(603979776,33,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(53,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","income_earned_by"],["multiple",""],["placeholder","Income Earned By"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,58)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,58)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,58)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getOtherOrganisationOwner(e.value,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(55,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(57,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(58,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),Df._37(603979776,34,{options:1}),Df._37(603979776,35,{optionGroups:1}),Df._37(335544320,36,{customTrigger:0}),Df._36(2048,[[27,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ro)),Df._17(65,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Uo)),Df._17(70,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(72,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(73,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,44,{_control:0}),Df._37(335544320,45,{_placeholderChild:0}),Df._37(335544320,46,{_labelChild:0}),Df._37(603979776,47,{_errorChildren:1}),Df._37(603979776,48,{_hintChildren:1}),Df._37(603979776,49,{_prefixChildren:1}),Df._37(603979776,50,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(82,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","amount"],["matInput",""],["placeholder","Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,83)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,83).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,83)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,83)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,84).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,84).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,84).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,89)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,89)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,89)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index)&&u}return u},null,null)),Df._17(83,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(84,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(86,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(88,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(89,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[44,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,$o)),Df._17(93,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(96,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(97,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,51,{_control:0}),Df._37(335544320,52,{_placeholderChild:0}),Df._37(335544320,53,{_labelChild:0}),Df._37(603979776,54,{_errorChildren:1}),Df._37(603979776,55,{_hintChildren:1}),Df._37(603979776,56,{_prefixChildren:1}),Df._37(603979776,57,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(106,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","frequency"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,111)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,111)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,111)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(108,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(110,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(111,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,58,{options:1}),Df._37(603979776,59,{optionGroups:1}),Df._37(335544320,60,{customTrigger:0}),Df._36(2048,[[51,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Bo)),Df._17(118,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Mo)),Df._17(123,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(125,0,null,null,19,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(126,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,68,{_buttons:1}),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(129,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(130,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(132,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteIncomeDetails(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(134,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(135,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(138,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(139,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ko)),Df._17(142,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,23,0,"source");l(n,26,0,"Source");l(n,33,0,e.sourceIncome);l(n,38,0,"5"==n.context.$implicit.get("source").value);l(n,41,0,"1"==n.context.$implicit.get("source").value);l(n,55,0,"income_earned_by");l(n,58,0,"Income Earned By","",e.compareObjects);l(n,65,0,e.mergeCompanyApplicant);l(n,70,0,e.isOrganisationOwner[n.context.index]);l(n,86,0,"amount");l(n,89,0,"Amount","number");l(n,93,0,""!=n.context.$implicit.get("amount").value);l(n,108,0,"frequency");l(n,111,0,"Frequency");l(n,118,0,e.frequencyData);l(n,123,0,1==n.context.$implicit.get("frequency").value);l(n,135,0,"optblue","md-trash");l(n,142,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,11,1,[Df._32(n,12)._control.errorState,Df._32(n,12)._control.errorState,Df._32(n,12)._canLabelFloat,Df._32(n,12)._shouldLabelFloat(),Df._32(n,12)._hideControlPlaceholder(),Df._32(n,12)._control.disabled,Df._32(n,12)._control.focused,"primary"==Df._32(n,12).color,"accent"==Df._32(n,12).color,"warn"==Df._32(n,12).color,Df._32(n,12)._shouldForward("untouched"),Df._32(n,12)._shouldForward("touched"),Df._32(n,12)._shouldForward("pristine"),Df._32(n,12)._shouldForward("dirty"),Df._32(n,12)._shouldForward("valid"),Df._32(n,12)._shouldForward("invalid"),Df._32(n,12)._shouldForward("pending")]);l(n,21,1,[Df._32(n,25).ngClassUntouched,Df._32(n,25).ngClassTouched,Df._32(n,25).ngClassPristine,Df._32(n,25).ngClassDirty,Df._32(n,25).ngClassValid,Df._32(n,25).ngClassInvalid,Df._32(n,25).ngClassPending,Df._32(n,26).id,Df._32(n,26).tabIndex,Df._32(n,26)._ariaLabel,Df._32(n,26).ariaLabelledby,Df._32(n,26).required.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).errorState,Df._32(n,26).panelOpen?Df._32(n,26)._optionIds:null,Df._32(n,26).multiple,Df._32(n,26)._ariaDescribedby||null,Df._32(n,26)._getAriaActiveDescendant(),Df._32(n,26).disabled,Df._32(n,26).errorState,Df._32(n,26).required]);l(n,43,1,[Df._32(n,44)._control.errorState,Df._32(n,44)._control.errorState,Df._32(n,44)._canLabelFloat,Df._32(n,44)._shouldLabelFloat(),Df._32(n,44)._hideControlPlaceholder(),Df._32(n,44)._control.disabled,Df._32(n,44)._control.focused,"primary"==Df._32(n,44).color,"accent"==Df._32(n,44).color,"warn"==Df._32(n,44).color,Df._32(n,44)._shouldForward("untouched"),Df._32(n,44)._shouldForward("touched"),Df._32(n,44)._shouldForward("pristine"),Df._32(n,44)._shouldForward("dirty"),Df._32(n,44)._shouldForward("valid"),Df._32(n,44)._shouldForward("invalid"),Df._32(n,44)._shouldForward("pending")]);l(n,53,1,[Df._32(n,57).ngClassUntouched,Df._32(n,57).ngClassTouched,Df._32(n,57).ngClassPristine,Df._32(n,57).ngClassDirty,Df._32(n,57).ngClassValid,Df._32(n,57).ngClassInvalid,Df._32(n,57).ngClassPending,Df._32(n,58).id,Df._32(n,58).tabIndex,Df._32(n,58)._ariaLabel,Df._32(n,58).ariaLabelledby,Df._32(n,58).required.toString(),Df._32(n,58).disabled.toString(),Df._32(n,58).errorState,Df._32(n,58).panelOpen?Df._32(n,58)._optionIds:null,Df._32(n,58).multiple,Df._32(n,58)._ariaDescribedby||null,Df._32(n,58)._getAriaActiveDescendant(),Df._32(n,58).disabled,Df._32(n,58).errorState,Df._32(n,58).required]);l(n,72,1,[Df._32(n,73)._control.errorState,Df._32(n,73)._control.errorState,Df._32(n,73)._canLabelFloat,Df._32(n,73)._shouldLabelFloat(),Df._32(n,73)._hideControlPlaceholder(),Df._32(n,73)._control.disabled,Df._32(n,73)._control.focused,"primary"==Df._32(n,73).color,"accent"==Df._32(n,73).color,"warn"==Df._32(n,73).color,Df._32(n,73)._shouldForward("untouched"),Df._32(n,73)._shouldForward("touched"),Df._32(n,73)._shouldForward("pristine"),Df._32(n,73)._shouldForward("dirty"),Df._32(n,73)._shouldForward("valid"),Df._32(n,73)._shouldForward("invalid"),Df._32(n,73)._shouldForward("pending")]);l(n,82,1,[Df._32(n,88).ngClassUntouched,Df._32(n,88).ngClassTouched,Df._32(n,88).ngClassPristine,Df._32(n,88).ngClassDirty,Df._32(n,88).ngClassValid,Df._32(n,88).ngClassInvalid,Df._32(n,88).ngClassPending,Df._32(n,89)._isServer,Df._32(n,89).id,Df._32(n,89).placeholder,Df._32(n,89).disabled,Df._32(n,89).required,Df._32(n,89).readonly,Df._32(n,89)._ariaDescribedby||null,Df._32(n,89).errorState,Df._32(n,89).required.toString()]);l(n,96,1,[Df._32(n,97)._control.errorState,Df._32(n,97)._control.errorState,Df._32(n,97)._canLabelFloat,Df._32(n,97)._shouldLabelFloat(),Df._32(n,97)._hideControlPlaceholder(),Df._32(n,97)._control.disabled,Df._32(n,97)._control.focused,"primary"==Df._32(n,97).color,"accent"==Df._32(n,97).color,"warn"==Df._32(n,97).color,Df._32(n,97)._shouldForward("untouched"),Df._32(n,97)._shouldForward("touched"),Df._32(n,97)._shouldForward("pristine"),Df._32(n,97)._shouldForward("dirty"),Df._32(n,97)._shouldForward("valid"),Df._32(n,97)._shouldForward("invalid"),Df._32(n,97)._shouldForward("pending")]);l(n,106,1,[Df._32(n,110).ngClassUntouched,Df._32(n,110).ngClassTouched,Df._32(n,110).ngClassPristine,Df._32(n,110).ngClassDirty,Df._32(n,110).ngClassValid,Df._32(n,110).ngClassInvalid,Df._32(n,110).ngClassPending,Df._32(n,111).id,Df._32(n,111).tabIndex,Df._32(n,111)._ariaLabel,Df._32(n,111).ariaLabelledby,Df._32(n,111).required.toString(),Df._32(n,111).disabled.toString(),Df._32(n,111).errorState,Df._32(n,111).panelOpen?Df._32(n,111)._optionIds:null,Df._32(n,111).multiple,Df._32(n,111)._ariaDescribedby||null,Df._32(n,111)._getAriaActiveDescendant(),Df._32(n,111).disabled,Df._32(n,111).errorState,Df._32(n,111).required]);l(n,134,0,Df._32(n,135)._hidden)})}function Go(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(3,0,null,0,7,"div",[["formArrayName","income_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(4,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ho)),Df._17(9,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"income_details");l(n,9,0,e.otherIncomeForm.get("income_details").controls)},function(l,n){l(n,3,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending)})}function Yo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Vo)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,71,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,67,"form",[["class","address"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,22,"mat-card",[["class","mat-card"],["style","width: 100%"]],null,null,null,dy.d,dy.a)),Df._17(32,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(34,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Other Income"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(37,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","other_income"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.checkotherDetails(e.value)&&u}return u},null,null)),Df._17(38,1064960,null,1,tC.b,[Df.i],null,{change:"change"}),Df._37(603979776,2,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(41,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(43,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(45,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","Yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,46)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(46,4440064,[[2,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n      \n "])),(l()(),Df._18(49,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","No"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,50)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(50,4440064,[[2,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Go)),Df._17(56,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(58,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(59,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(61,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(62,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,69,{_control:0}),Df._37(335544320,70,{_placeholderChild:0}),Df._37(335544320,71,{_labelChild:0}),Df._37(603979776,72,{_errorChildren:1}),Df._37(603979776,73,{_hintChildren:1}),Df._37(603979776,74,{_prefixChildren:1}),Df._37(603979776,75,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(71,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","otherincome_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,72)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,72).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,72)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,72)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,77)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,77)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,77)._onInput()&&u}return u},null,null)),Df._17(72,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(74,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(76,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(77,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[69,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(82,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(83,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(86,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitOtherIncome(t.otherIncomeForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(87,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.otherIncomeForm);l(n,41,0,"other_income");l(n,46,0,"Yes");l(n,50,0,"No");l(n,56,0,"Yes"==e.otherIncomeForm.controls.other_income.value);l(n,74,0,"otherincome_remarks");l(n,77,0,"Remarks");l(n,87,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,37,0,Df._32(n,43).ngClassUntouched,Df._32(n,43).ngClassTouched,Df._32(n,43).ngClassPristine,Df._32(n,43).ngClassDirty,Df._32(n,43).ngClassValid,Df._32(n,43).ngClassInvalid,Df._32(n,43).ngClassPending);l(n,45,0,Df._32(n,46).checked,Df._32(n,46).disabled,Df._32(n,46).id);l(n,49,0,Df._32(n,50).checked,Df._32(n,50).disabled,Df._32(n,50).id);l(n,61,1,[Df._32(n,62)._control.errorState,Df._32(n,62)._control.errorState,Df._32(n,62)._canLabelFloat,Df._32(n,62)._shouldLabelFloat(),Df._32(n,62)._hideControlPlaceholder(),Df._32(n,62)._control.disabled,Df._32(n,62)._control.focused,"primary"==Df._32(n,62).color,"accent"==Df._32(n,62).color,"warn"==Df._32(n,62).color,Df._32(n,62)._shouldForward("untouched"),Df._32(n,62)._shouldForward("touched"),Df._32(n,62)._shouldForward("pristine"),Df._32(n,62)._shouldForward("dirty"),Df._32(n,62)._shouldForward("valid"),Df._32(n,62)._shouldForward("invalid"),Df._32(n,62)._shouldForward("pending")]);l(n,71,1,[Df._32(n,76).ngClassUntouched,Df._32(n,76).ngClassTouched,Df._32(n,76).ngClassPristine,Df._32(n,76).ngClassDirty,Df._32(n,76).ngClassValid,Df._32(n,76).ngClassInvalid,Df._32(n,76).ngClassPending,Df._32(n,77)._isServer,Df._32(n,77).id,Df._32(n,77).placeholder,Df._32(n,77).disabled,Df._32(n,77).required,Df._32(n,77).readonly,Df._32(n,77)._ariaDescribedby||null,Df._32(n,77).errorState,Df._32(n,77).required.toString()])})}function zo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[23,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Qo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[40,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Jo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,43,{_control:0}),Df._37(335544320,44,{_placeholderChild:0}),Df._37(335544320,45,{_labelChild:0}),Df._37(603979776,46,{_errorChildren:1}),Df._37(603979776,47,{_hintChildren:1}),Df._37(603979776,48,{_prefixChildren:1}),Df._37(603979776,49,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[43,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Xo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[78,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Zo(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),Df._17(3,16384,null,0,fy.f,[],null,null),(l()(),Df._39(-1,null,["No.of days of Credit Provided by Supplier "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(7,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,91,{_control:0}),Df._37(335544320,92,{_placeholderChild:0}),Df._37(335544320,93,{_labelChild:0}),Df._37(603979776,94,{_errorChildren:1}),Df._37(603979776,95,{_hintChildren:1}),Df._37(603979776,96,{_prefixChildren:1}),Df._37(603979776,97,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}return u},null,null)),Df._17(17,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(18,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[91,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(28,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,98,{_control:0}),Df._37(335544320,99,{_placeholderChild:0}),Df._37(335544320,100,{_labelChild:0}),Df._37(603979776,101,{_errorChildren:1}),Df._37(603979776,102,{_hintChildren:1}),Df._37(603979776,103,{_prefixChildren:1}),Df._37(603979776,104,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,44)._onInput()&&u}return u},null,null)),Df._17(38,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(39,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(41,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(43,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(44,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[98,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"manufacturing_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"manufacturing_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[Df._32(n,7)._control.errorState,Df._32(n,7)._control.errorState,Df._32(n,7)._canLabelFloat,Df._32(n,7)._shouldLabelFloat(),Df._32(n,7)._hideControlPlaceholder(),Df._32(n,7)._control.disabled,Df._32(n,7)._control.focused,"primary"==Df._32(n,7).color,"accent"==Df._32(n,7).color,"warn"==Df._32(n,7).color,Df._32(n,7)._shouldForward("untouched"),Df._32(n,7)._shouldForward("touched"),Df._32(n,7)._shouldForward("pristine"),Df._32(n,7)._shouldForward("dirty"),Df._32(n,7)._shouldForward("valid"),Df._32(n,7)._shouldForward("invalid"),Df._32(n,7)._shouldForward("pending")]);l(n,16,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()]);l(n,27,1,[Df._32(n,28)._control.errorState,Df._32(n,28)._control.errorState,Df._32(n,28)._canLabelFloat,Df._32(n,28)._shouldLabelFloat(),Df._32(n,28)._hideControlPlaceholder(),Df._32(n,28)._control.disabled,Df._32(n,28)._control.focused,"primary"==Df._32(n,28).color,"accent"==Df._32(n,28).color,"warn"==Df._32(n,28).color,Df._32(n,28)._shouldForward("untouched"),Df._32(n,28)._shouldForward("touched"),Df._32(n,28)._shouldForward("pristine"),Df._32(n,28)._shouldForward("dirty"),Df._32(n,28)._shouldForward("valid"),Df._32(n,28)._shouldForward("invalid"),Df._32(n,28)._shouldForward("pending")]);l(n,37,1,[Df._32(n,43).ngClassUntouched,Df._32(n,43).ngClassTouched,Df._32(n,43).ngClassPristine,Df._32(n,43).ngClassDirty,Df._32(n,43).ngClassValid,Df._32(n,43).ngClassInvalid,Df._32(n,43).ngClassPending,Df._32(n,44)._isServer,Df._32(n,44).id,Df._32(n,44).placeholder,Df._32(n,44).disabled,Df._32(n,44).required,Df._32(n,44).readonly,Df._32(n,44)._ariaDescribedby||null,Df._32(n,44).errorState,Df._32(n,44).required.toString()])})}function lr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRawMaterials(l.parent.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function nr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoreRawMaterials(e);u=!1}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function er(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,292,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.g,[],null,null),(l()(),Df._39(7,null,["Raw Material #",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,263,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(10,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,259,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(15,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_raw_material_name"],["matInput",""],["placeholder","Raw Material Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,25)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,25)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,25)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,30)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,30)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,30)._onInput()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(27,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(29,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(30,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(35,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(44,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_supplier_name"],["matInput",""],["placeholder","Supplier Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,45)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,45).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,45)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,45)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,50)._onInput()&&u}return u},null,null)),Df._17(45,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[9,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(54,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(55,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,16,{_control:0}),Df._37(335544320,17,{_placeholderChild:0}),Df._37(335544320,18,{_labelChild:0}),Df._37(603979776,19,{_errorChildren:1}),Df._37(603979776,20,{_hintChildren:1}),Df._37(603979776,21,{_prefixChildren:1}),Df._37(603979776,22,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(64,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,69)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,69)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,69)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(66,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(68,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(69,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,23,{options:1}),Df._37(603979776,24,{optionGroups:1}),Df._37(335544320,25,{customTrigger:0}),Df._36(2048,[[16,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,zo)),Df._17(76,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(80,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(81,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,26,{_control:0}),Df._37(335544320,27,{_placeholderChild:0}),Df._37(335544320,28,{_labelChild:0}),Df._37(603979776,29,{_errorChildren:1}),Df._37(603979776,30,{_hintChildren:1}),Df._37(603979776,31,{_prefixChildren:1}),Df._37(603979776,32,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(90,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_name"],["matInput",""],["placeholder","Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,91)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,91).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,91)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,91)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,96)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,96)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,96)._onInput()&&u}return u},null,null)),Df._17(91,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(93,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(95,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(96,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[26,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(100,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(101,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,33,{_control:0}),Df._37(335544320,34,{_placeholderChild:0}),Df._37(335544320,35,{_labelChild:0}),Df._37(603979776,36,{_errorChildren:1}),Df._37(603979776,37,{_hintChildren:1}),Df._37(603979776,38,{_prefixChildren:1}),Df._37(603979776,39,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(110,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,114)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,114)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,114)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,1)&&u}return u},TC.b,TC.a)),Df._17(111,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(113,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(114,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,40,{options:1}),Df._37(603979776,41,{optionGroups:1}),Df._37(335544320,42,{customTrigger:0}),Df._36(2048,[[33,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(121,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,122)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,122)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(122,8437760,[[40,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Qo)),Df._17(126,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Jo)),Df._17(132,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(134,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(135,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,50,{_control:0}),Df._37(335544320,51,{_placeholderChild:0}),Df._37(335544320,52,{_labelChild:0}),Df._37(603979776,53,{_errorChildren:1}),Df._37(603979776,54,{_hintChildren:1}),Df._37(603979776,55,{_prefixChildren:1}),Df._37(603979776,56,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(144,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["placeholder","Contact Person Mobile Number"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,145)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,145).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,145)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,145)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,146).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,146).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,146).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,153)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,153)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,153)._onInput()&&u}return u},null,null)),Df._17(145,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(146,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(147,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(150,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(152,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(153,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[50,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(156,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(157,16384,[[53,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid Mobile Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(161,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(162,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,57,{_control:0}),Df._37(335544320,58,{_placeholderChild:0}),Df._37(335544320,59,{_labelChild:0}),Df._37(603979776,60,{_errorChildren:1}),Df._37(603979776,61,{_hintChildren:1}),Df._37(603979776,62,{_prefixChildren:1}),Df._37(603979776,63,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(171,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["placeholder","STD Code"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,172)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,172).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,172)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,172)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,173).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,173).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,173).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,178)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,178)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,178)._onInput()&&u}return u},null,null)),Df._17(172,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(173,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(175,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(177,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(178,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[57,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(181,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(182,16384,[[60,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid STD Code Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(187,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(188,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,64,{_control:0}),Df._37(335544320,65,{_placeholderChild:0}),Df._37(335544320,66,{_labelChild:0}),Df._37(603979776,67,{_errorChildren:1}),Df._37(603979776,68,{_hintChildren:1}),Df._37(603979776,69,{_prefixChildren:1}),Df._37(603979776,70,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(197,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["placeholder","Contact Person Landline Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,198)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,198).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,198)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,198)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,199).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,199).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,199).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,204)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,204)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,204)._onInput()&&u}return u},null,null)),Df._17(198,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(199,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(201,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(203,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(204,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[64,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(207,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(208,16384,[[67,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid LandLine Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(212,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(213,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,71,{_control:0}),Df._37(335544320,72,{_placeholderChild:0}),Df._37(335544320,73,{_labelChild:0}),Df._37(603979776,74,{_errorChildren:1}),Df._37(603979776,75,{_hintChildren:1}),Df._37(603979776,76,{_prefixChildren:1}),Df._37(603979776,77,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(222,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,227)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,227)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,227)._onBlur()&&u}if("selectionChange"===n){t.selectedPaymentTerms(l.context.$implicit,e.value,1);u=!1!==t.checkCard(e.value,1,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(224,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(226,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(227,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,78,{options:1}),Df._37(603979776,79,{optionGroups:1}),Df._37(335544320,80,{customTrigger:0}),Df._36(2048,[[71,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Xo)),Df._17(234,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(238,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(239,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,81,{_control:0}),Df._37(335544320,82,{_placeholderChild:0}),Df._37(335544320,83,{_labelChild:0}),Df._37(603979776,84,{_errorChildren:1}),Df._37(603979776,85,{_hintChildren:1}),Df._37(603979776,86,{_prefixChildren:1}),Df._37(603979776,87,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(248,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,252)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,252)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,252)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(249,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(251,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(252,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,88,{options:1}),Df._37(603979776,89,{optionGroups:1}),Df._37(335544320,90,{customTrigger:0}),Df._36(2048,[[81,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(259,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,260)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,260)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(260,8437760,[[88,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Payment made in Cash."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(263,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,264)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,264)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(264,8437760,[[88,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Payment made through Banking\n channels."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Zo)),Df._17(270,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(274,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(275,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,105,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(278,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(279,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,lr)),Df._17(282,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(285,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(286,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,nr)),Df._17(289,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,27,0,"manufacturing_raw_material_name");l(n,30,0,"Raw Material Name");l(n,47,0,"manufacturing_supplier_name");l(n,50,0,"Supplier Name");l(n,66,0,"person_title_name");l(n,69,0,"Title");l(n,76,0,e.m_titleList);l(n,93,0,"manufacturing_contact_person_name");l(n,96,0,"Contact Person Name");l(n,111,0,"person_designation");l(n,114,0,"Contact Person Designation");l(n,126,0,e.m_companyRelationShipList);l(n,132,0,1==n.context.$implicit.get("person_designation").value);l(n,147,0,"10");l(n,150,0,"manufacturing_contact_person_mobile_number");l(n,153,0,"Contact Person Mobile Number","number");l(n,175,0,"person_stdcode");l(n,178,0,"STD Code","number");l(n,201,0,"person_landline");l(n,204,0,"Contact Person Landline Number","number");l(n,224,0,"manufacturing_payment_type");l(n,227,0,"Payment Terms");l(n,234,0,e.m_paymentList);l(n,249,0,"manufacturing_payment_mode");l(n,252,0,"Payment Mode");l(n,260,0,"Payment made in Cash.");l(n,264,0,"Payment made through Banking channels.");l(n,270,0,3==n.context.$implicit.get("manufacturing_payment_type").value);l(n,282,0,n.parent.context.$implicit.controls.main_raw_materials.controls.length>1);l(n,289,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[Df._32(n,15)._control.errorState,Df._32(n,15)._control.errorState,Df._32(n,15)._canLabelFloat,Df._32(n,15)._shouldLabelFloat(),Df._32(n,15)._hideControlPlaceholder(),Df._32(n,15)._control.disabled,Df._32(n,15)._control.focused,"primary"==Df._32(n,15).color,"accent"==Df._32(n,15).color,"warn"==Df._32(n,15).color,Df._32(n,15)._shouldForward("untouched"),Df._32(n,15)._shouldForward("touched"),Df._32(n,15)._shouldForward("pristine"),Df._32(n,15)._shouldForward("dirty"),Df._32(n,15)._shouldForward("valid"),Df._32(n,15)._shouldForward("invalid"),Df._32(n,15)._shouldForward("pending")]);l(n,24,1,[Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending,Df._32(n,30)._isServer,Df._32(n,30).id,Df._32(n,30).placeholder,Df._32(n,30).disabled,Df._32(n,30).required,Df._32(n,30).readonly,Df._32(n,30)._ariaDescribedby||null,Df._32(n,30).errorState,Df._32(n,30).required.toString()]);l(n,34,1,[Df._32(n,35)._control.errorState,Df._32(n,35)._control.errorState,Df._32(n,35)._canLabelFloat,Df._32(n,35)._shouldLabelFloat(),Df._32(n,35)._hideControlPlaceholder(),Df._32(n,35)._control.disabled,Df._32(n,35)._control.focused,"primary"==Df._32(n,35).color,"accent"==Df._32(n,35).color,"warn"==Df._32(n,35).color,Df._32(n,35)._shouldForward("untouched"),Df._32(n,35)._shouldForward("touched"),Df._32(n,35)._shouldForward("pristine"),Df._32(n,35)._shouldForward("dirty"),Df._32(n,35)._shouldForward("valid"),Df._32(n,35)._shouldForward("invalid"),Df._32(n,35)._shouldForward("pending")]);l(n,44,1,[Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50)._isServer,Df._32(n,50).id,Df._32(n,50).placeholder,Df._32(n,50).disabled,Df._32(n,50).required,Df._32(n,50).readonly,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50).errorState,Df._32(n,50).required.toString()]);l(n,54,1,[Df._32(n,55)._control.errorState,Df._32(n,55)._control.errorState,Df._32(n,55)._canLabelFloat,Df._32(n,55)._shouldLabelFloat(),Df._32(n,55)._hideControlPlaceholder(),Df._32(n,55)._control.disabled,Df._32(n,55)._control.focused,"primary"==Df._32(n,55).color,"accent"==Df._32(n,55).color,"warn"==Df._32(n,55).color,Df._32(n,55)._shouldForward("untouched"),Df._32(n,55)._shouldForward("touched"),Df._32(n,55)._shouldForward("pristine"),Df._32(n,55)._shouldForward("dirty"),Df._32(n,55)._shouldForward("valid"),Df._32(n,55)._shouldForward("invalid"),Df._32(n,55)._shouldForward("pending")]);l(n,64,1,[Df._32(n,68).ngClassUntouched,Df._32(n,68).ngClassTouched,Df._32(n,68).ngClassPristine,Df._32(n,68).ngClassDirty,Df._32(n,68).ngClassValid,Df._32(n,68).ngClassInvalid,Df._32(n,68).ngClassPending,Df._32(n,69).id,Df._32(n,69).tabIndex,Df._32(n,69)._ariaLabel,Df._32(n,69).ariaLabelledby,Df._32(n,69).required.toString(),Df._32(n,69).disabled.toString(),Df._32(n,69).errorState,Df._32(n,69).panelOpen?Df._32(n,69)._optionIds:null,Df._32(n,69).multiple,Df._32(n,69)._ariaDescribedby||null,Df._32(n,69)._getAriaActiveDescendant(),Df._32(n,69).disabled,Df._32(n,69).errorState,Df._32(n,69).required]);l(n,80,1,[Df._32(n,81)._control.errorState,Df._32(n,81)._control.errorState,Df._32(n,81)._canLabelFloat,Df._32(n,81)._shouldLabelFloat(),Df._32(n,81)._hideControlPlaceholder(),Df._32(n,81)._control.disabled,Df._32(n,81)._control.focused,"primary"==Df._32(n,81).color,"accent"==Df._32(n,81).color,"warn"==Df._32(n,81).color,Df._32(n,81)._shouldForward("untouched"),Df._32(n,81)._shouldForward("touched"),Df._32(n,81)._shouldForward("pristine"),Df._32(n,81)._shouldForward("dirty"),Df._32(n,81)._shouldForward("valid"),Df._32(n,81)._shouldForward("invalid"),Df._32(n,81)._shouldForward("pending")]);l(n,90,1,[Df._32(n,95).ngClassUntouched,Df._32(n,95).ngClassTouched,Df._32(n,95).ngClassPristine,Df._32(n,95).ngClassDirty,Df._32(n,95).ngClassValid,Df._32(n,95).ngClassInvalid,Df._32(n,95).ngClassPending,Df._32(n,96)._isServer,Df._32(n,96).id,Df._32(n,96).placeholder,Df._32(n,96).disabled,Df._32(n,96).required,Df._32(n,96).readonly,Df._32(n,96)._ariaDescribedby||null,Df._32(n,96).errorState,Df._32(n,96).required.toString()]);l(n,100,1,[Df._32(n,101)._control.errorState,Df._32(n,101)._control.errorState,Df._32(n,101)._canLabelFloat,Df._32(n,101)._shouldLabelFloat(),Df._32(n,101)._hideControlPlaceholder(),Df._32(n,101)._control.disabled,Df._32(n,101)._control.focused,"primary"==Df._32(n,101).color,"accent"==Df._32(n,101).color,"warn"==Df._32(n,101).color,Df._32(n,101)._shouldForward("untouched"),Df._32(n,101)._shouldForward("touched"),Df._32(n,101)._shouldForward("pristine"),Df._32(n,101)._shouldForward("dirty"),Df._32(n,101)._shouldForward("valid"),Df._32(n,101)._shouldForward("invalid"),Df._32(n,101)._shouldForward("pending")]);l(n,110,1,[Df._32(n,113).ngClassUntouched,Df._32(n,113).ngClassTouched,Df._32(n,113).ngClassPristine,Df._32(n,113).ngClassDirty,Df._32(n,113).ngClassValid,Df._32(n,113).ngClassInvalid,Df._32(n,113).ngClassPending,Df._32(n,114).id,Df._32(n,114).tabIndex,Df._32(n,114)._ariaLabel,Df._32(n,114).ariaLabelledby,Df._32(n,114).required.toString(),Df._32(n,114).disabled.toString(),Df._32(n,114).errorState,Df._32(n,114).panelOpen?Df._32(n,114)._optionIds:null,Df._32(n,114).multiple,Df._32(n,114)._ariaDescribedby||null,Df._32(n,114)._getAriaActiveDescendant(),Df._32(n,114).disabled,Df._32(n,114).errorState,Df._32(n,114).required]);l(n,121,0,Df._32(n,122)._getTabIndex(),Df._32(n,122).selected,Df._32(n,122).multiple,Df._32(n,122).active,Df._32(n,122).id,Df._32(n,122).selected.toString(),Df._32(n,122).disabled.toString(),Df._32(n,122).disabled);l(n,134,1,[Df._32(n,135)._control.errorState,Df._32(n,135)._control.errorState,Df._32(n,135)._canLabelFloat,Df._32(n,135)._shouldLabelFloat(),Df._32(n,135)._hideControlPlaceholder(),Df._32(n,135)._control.disabled,Df._32(n,135)._control.focused,"primary"==Df._32(n,135).color,"accent"==Df._32(n,135).color,"warn"==Df._32(n,135).color,Df._32(n,135)._shouldForward("untouched"),Df._32(n,135)._shouldForward("touched"),Df._32(n,135)._shouldForward("pristine"),Df._32(n,135)._shouldForward("dirty"),Df._32(n,135)._shouldForward("valid"),Df._32(n,135)._shouldForward("invalid"),Df._32(n,135)._shouldForward("pending")]);l(n,144,1,[Df._32(n,147).maxlength?Df._32(n,147).maxlength:null,Df._32(n,152).ngClassUntouched,Df._32(n,152).ngClassTouched,Df._32(n,152).ngClassPristine,Df._32(n,152).ngClassDirty,Df._32(n,152).ngClassValid,Df._32(n,152).ngClassInvalid,Df._32(n,152).ngClassPending,Df._32(n,153)._isServer,Df._32(n,153).id,Df._32(n,153).placeholder,Df._32(n,153).disabled,Df._32(n,153).required,Df._32(n,153).readonly,Df._32(n,153)._ariaDescribedby||null,Df._32(n,153).errorState,Df._32(n,153).required.toString()]);l(n,156,0,Df._32(n,157).id);l(n,161,1,[Df._32(n,162)._control.errorState,Df._32(n,162)._control.errorState,Df._32(n,162)._canLabelFloat,Df._32(n,162)._shouldLabelFloat(),Df._32(n,162)._hideControlPlaceholder(),Df._32(n,162)._control.disabled,Df._32(n,162)._control.focused,"primary"==Df._32(n,162).color,"accent"==Df._32(n,162).color,"warn"==Df._32(n,162).color,Df._32(n,162)._shouldForward("untouched"),Df._32(n,162)._shouldForward("touched"),Df._32(n,162)._shouldForward("pristine"),Df._32(n,162)._shouldForward("dirty"),Df._32(n,162)._shouldForward("valid"),Df._32(n,162)._shouldForward("invalid"),Df._32(n,162)._shouldForward("pending")]);l(n,171,1,[Df._32(n,177).ngClassUntouched,Df._32(n,177).ngClassTouched,Df._32(n,177).ngClassPristine,Df._32(n,177).ngClassDirty,Df._32(n,177).ngClassValid,Df._32(n,177).ngClassInvalid,Df._32(n,177).ngClassPending,Df._32(n,178)._isServer,Df._32(n,178).id,Df._32(n,178).placeholder,Df._32(n,178).disabled,Df._32(n,178).required,Df._32(n,178).readonly,Df._32(n,178)._ariaDescribedby||null,Df._32(n,178).errorState,Df._32(n,178).required.toString()]);l(n,181,0,Df._32(n,182).id);l(n,187,1,[Df._32(n,188)._control.errorState,Df._32(n,188)._control.errorState,Df._32(n,188)._canLabelFloat,Df._32(n,188)._shouldLabelFloat(),Df._32(n,188)._hideControlPlaceholder(),Df._32(n,188)._control.disabled,Df._32(n,188)._control.focused,"primary"==Df._32(n,188).color,"accent"==Df._32(n,188).color,"warn"==Df._32(n,188).color,Df._32(n,188)._shouldForward("untouched"),Df._32(n,188)._shouldForward("touched"),Df._32(n,188)._shouldForward("pristine"),Df._32(n,188)._shouldForward("dirty"),Df._32(n,188)._shouldForward("valid"),Df._32(n,188)._shouldForward("invalid"),Df._32(n,188)._shouldForward("pending")]);l(n,197,1,[Df._32(n,203).ngClassUntouched,Df._32(n,203).ngClassTouched,Df._32(n,203).ngClassPristine,Df._32(n,203).ngClassDirty,Df._32(n,203).ngClassValid,Df._32(n,203).ngClassInvalid,Df._32(n,203).ngClassPending,Df._32(n,204)._isServer,Df._32(n,204).id,Df._32(n,204).placeholder,Df._32(n,204).disabled,Df._32(n,204).required,Df._32(n,204).readonly,Df._32(n,204)._ariaDescribedby||null,Df._32(n,204).errorState,Df._32(n,204).required.toString()]);l(n,207,0,Df._32(n,208).id);l(n,212,1,[Df._32(n,213)._control.errorState,Df._32(n,213)._control.errorState,Df._32(n,213)._canLabelFloat,Df._32(n,213)._shouldLabelFloat(),Df._32(n,213)._hideControlPlaceholder(),Df._32(n,213)._control.disabled,Df._32(n,213)._control.focused,"primary"==Df._32(n,213).color,"accent"==Df._32(n,213).color,"warn"==Df._32(n,213).color,Df._32(n,213)._shouldForward("untouched"),Df._32(n,213)._shouldForward("touched"),Df._32(n,213)._shouldForward("pristine"),Df._32(n,213)._shouldForward("dirty"),Df._32(n,213)._shouldForward("valid"),Df._32(n,213)._shouldForward("invalid"),Df._32(n,213)._shouldForward("pending")]);l(n,222,1,[Df._32(n,226).ngClassUntouched,Df._32(n,226).ngClassTouched,Df._32(n,226).ngClassPristine,Df._32(n,226).ngClassDirty,Df._32(n,226).ngClassValid,Df._32(n,226).ngClassInvalid,Df._32(n,226).ngClassPending,Df._32(n,227).id,Df._32(n,227).tabIndex,Df._32(n,227)._ariaLabel,Df._32(n,227).ariaLabelledby,Df._32(n,227).required.toString(),Df._32(n,227).disabled.toString(),Df._32(n,227).errorState,Df._32(n,227).panelOpen?Df._32(n,227)._optionIds:null,Df._32(n,227).multiple,Df._32(n,227)._ariaDescribedby||null,Df._32(n,227)._getAriaActiveDescendant(),Df._32(n,227).disabled,Df._32(n,227).errorState,Df._32(n,227).required]);l(n,238,1,[Df._32(n,239)._control.errorState,Df._32(n,239)._control.errorState,Df._32(n,239)._canLabelFloat,Df._32(n,239)._shouldLabelFloat(),Df._32(n,239)._hideControlPlaceholder(),Df._32(n,239)._control.disabled,Df._32(n,239)._control.focused,"primary"==Df._32(n,239).color,"accent"==Df._32(n,239).color,"warn"==Df._32(n,239).color,Df._32(n,239)._shouldForward("untouched"),Df._32(n,239)._shouldForward("touched"),Df._32(n,239)._shouldForward("pristine"),Df._32(n,239)._shouldForward("dirty"),Df._32(n,239)._shouldForward("valid"),Df._32(n,239)._shouldForward("invalid"),Df._32(n,239)._shouldForward("pending")]);l(n,248,1,[Df._32(n,251).ngClassUntouched,Df._32(n,251).ngClassTouched,Df._32(n,251).ngClassPristine,Df._32(n,251).ngClassDirty,Df._32(n,251).ngClassValid,Df._32(n,251).ngClassInvalid,Df._32(n,251).ngClassPending,Df._32(n,252).id,Df._32(n,252).tabIndex,Df._32(n,252)._ariaLabel,Df._32(n,252).ariaLabelledby,Df._32(n,252).required.toString(),Df._32(n,252).disabled.toString(),Df._32(n,252).errorState,Df._32(n,252).panelOpen?Df._32(n,252)._optionIds:null,Df._32(n,252).multiple,Df._32(n,252)._ariaDescribedby||null,Df._32(n,252)._getAriaActiveDescendant(),Df._32(n,252).disabled,Df._32(n,252).errorState,Df._32(n,252).required]);l(n,259,0,Df._32(n,260)._getTabIndex(),Df._32(n,260).selected,Df._32(n,260).multiple,Df._32(n,260).active,Df._32(n,260).id,Df._32(n,260).selected.toString(),Df._32(n,260).disabled.toString(),Df._32(n,260).disabled);l(n,263,0,Df._32(n,264)._getTabIndex(),Df._32(n,264).selected,Df._32(n,264).multiple,Df._32(n,264).active,Df._32(n,264).id,Df._32(n,264).selected.toString(),Df._32(n,264).disabled.toString(),Df._32(n,264).disabled)})}function ur(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,24,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,106,{_control:0}),Df._37(335544320,107,{_placeholderChild:0}),Df._37(335544320,108,{_labelChild:0}),Df._37(603979776,109,{_errorChildren:1}),Df._37(603979776,110,{_hintChildren:1}),Df._37(603979776,111,{_prefixChildren:1}),Df._37(603979776,112,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_raw_materials_total_payments_percent_on_credit"],["matInput",""],["maxlength","3"],["placeholder","What % of Total Purchase is Done on Credit?"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,21)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(15,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(18,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(20,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(21,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[106,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"3");l(n,18,0,"main_raw_materials_total_payments_percent_on_credit");l(n,21,0,"What % of Total Purchase is Done on Credit?","number")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,15).maxlength?Df._32(n,15).maxlength:null,Df._32(n,20).ngClassUntouched,Df._32(n,20).ngClassTouched,Df._32(n,20).ngClassPristine,Df._32(n,20).ngClassDirty,Df._32(n,20).ngClassValid,Df._32(n,20).ngClassInvalid,Df._32(n,20).ngClassPending,Df._32(n,21)._isServer,Df._32(n,21).id,Df._32(n,21).placeholder,Df._32(n,21).disabled,Df._32(n,21).required,Df._32(n,21).readonly,Df._32(n,21)._ariaDescribedby||null,Df._32(n,21).errorState,Df._32(n,21).required.toString()])})}function tr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,7,"div",[["formArrayName","main_raw_materials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(8,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,er)),Df._17(11,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ur)),Df._17(15,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"main_raw_materials");l(n,11,0,n.context.$implicit.controls.main_raw_materials.controls);l(n,15,0,e.mfgCreditCardFlag)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,0,Df._32(n,8).ngClassUntouched,Df._32(n,8).ngClassTouched,Df._32(n,8).ngClassPristine,Df._32(n,8).ngClassDirty,Df._32(n,8).ngClassValid,Df._32(n,8).ngClassInvalid,Df._32(n,8).ngClassPending)})}function ar(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Manufacturing Product Details"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(10,0,null,0,7,"div",[["formArrayName","manufacturing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(11,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(13,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,tr)),Df._17(16,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"manufacturing_details");l(n,16,0,e.supplierInfoForm.controls.manufacturing_details.controls)},function(l,n){l(n,10,0,Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending)})}function ir(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[120,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function or(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[137,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function rr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[154,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function _r(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,157,{_control:0}),Df._37(335544320,158,{_placeholderChild:0}),Df._37(335544320,159,{_labelChild:0}),Df._37(603979776,160,{_errorChildren:1}),Df._37(603979776,161,{_hintChildren:1}),Df._37(603979776,162,{_prefixChildren:1}),Df._37(603979776,163,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[157,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function dr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[192,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function sr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),Df._17(3,16384,null,0,fy.f,[],null,null),(l()(),Df._39(-1,null,["No.of days of Credit Provided by Supplier "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(7,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,205,{_control:0}),Df._37(335544320,206,{_placeholderChild:0}),Df._37(335544320,207,{_labelChild:0}),Df._37(603979776,208,{_errorChildren:1}),Df._37(603979776,209,{_hintChildren:1}),Df._37(603979776,210,{_prefixChildren:1}),Df._37(603979776,211,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}return u},null,null)),Df._17(17,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(18,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[205,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(28,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,212,{_control:0}),Df._37(335544320,213,{_placeholderChild:0}),Df._37(335544320,214,{_labelChild:0}),Df._37(603979776,215,{_errorChildren:1}),Df._37(603979776,216,{_hintChildren:1}),Df._37(603979776,217,{_prefixChildren:1}),Df._37(603979776,218,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,44)._onInput()&&u}return u},null,null)),Df._17(38,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(39,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(41,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(43,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(44,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[212,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"trade_product_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"trade_product_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[Df._32(n,7)._control.errorState,Df._32(n,7)._control.errorState,Df._32(n,7)._canLabelFloat,Df._32(n,7)._shouldLabelFloat(),Df._32(n,7)._hideControlPlaceholder(),Df._32(n,7)._control.disabled,Df._32(n,7)._control.focused,"primary"==Df._32(n,7).color,"accent"==Df._32(n,7).color,"warn"==Df._32(n,7).color,Df._32(n,7)._shouldForward("untouched"),Df._32(n,7)._shouldForward("touched"),Df._32(n,7)._shouldForward("pristine"),Df._32(n,7)._shouldForward("dirty"),Df._32(n,7)._shouldForward("valid"),Df._32(n,7)._shouldForward("invalid"),Df._32(n,7)._shouldForward("pending")]);l(n,16,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()]);l(n,27,1,[Df._32(n,28)._control.errorState,Df._32(n,28)._control.errorState,Df._32(n,28)._canLabelFloat,Df._32(n,28)._shouldLabelFloat(),Df._32(n,28)._hideControlPlaceholder(),Df._32(n,28)._control.disabled,Df._32(n,28)._control.focused,"primary"==Df._32(n,28).color,"accent"==Df._32(n,28).color,"warn"==Df._32(n,28).color,Df._32(n,28)._shouldForward("untouched"),Df._32(n,28)._shouldForward("touched"),Df._32(n,28)._shouldForward("pristine"),Df._32(n,28)._shouldForward("dirty"),Df._32(n,28)._shouldForward("valid"),Df._32(n,28)._shouldForward("invalid"),Df._32(n,28)._shouldForward("pending")]);l(n,37,1,[Df._32(n,43).ngClassUntouched,Df._32(n,43).ngClassTouched,Df._32(n,43).ngClassPristine,Df._32(n,43).ngClassDirty,Df._32(n,43).ngClassValid,Df._32(n,43).ngClassInvalid,Df._32(n,43).ngClassPending,Df._32(n,44)._isServer,Df._32(n,44).id,Df._32(n,44).placeholder,Df._32(n,44).disabled,Df._32(n,44).required,Df._32(n,44).readonly,Df._32(n,44)._ariaDescribedby||null,Df._32(n,44).errorState,Df._32(n,44).required.toString()])})}function cr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeTradingProduct(l.parent.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function mr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoretradeProduct(e);u=!1}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function pr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,300,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.g,[],null,null),(l()(),Df._39(7,null,["Trading Product #",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,271,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(10,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,267,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(15,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,113,{_control:0}),Df._37(335544320,114,{_placeholderChild:0}),Df._37(335544320,115,{_labelChild:0}),Df._37(603979776,116,{_errorChildren:1}),Df._37(603979776,117,{_hintChildren:1}),Df._37(603979776,118,{_prefixChildren:1}),Df._37(603979776,119,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","trade_product_name"],["placeholder","Trading Product Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,29)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(26,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(28,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(29,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,120,{options:1}),Df._37(603979776,121,{optionGroups:1}),Df._37(335544320,122,{customTrigger:0}),Df._36(2048,[[113,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ir)),Df._17(36,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(40,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(41,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,123,{_control:0}),Df._37(335544320,124,{_placeholderChild:0}),Df._37(335544320,125,{_labelChild:0}),Df._37(603979776,126,{_errorChildren:1}),Df._37(603979776,127,{_hintChildren:1}),Df._37(603979776,128,{_prefixChildren:1}),Df._37(603979776,129,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(50,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_supplier_name"],["matInput",""],["placeholder","Supplier Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,56)._onInput()&&u}return u},null,null)),Df._17(51,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(53,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(55,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(56,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[123,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(60,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(61,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,130,{_control:0}),Df._37(335544320,131,{_placeholderChild:0}),Df._37(335544320,132,{_labelChild:0}),Df._37(603979776,133,{_errorChildren:1}),Df._37(603979776,134,{_hintChildren:1}),Df._37(603979776,135,{_prefixChildren:1}),Df._37(603979776,136,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(70,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,75)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(72,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(74,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(75,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,137,{options:1}),Df._37(603979776,138,{optionGroups:1}),Df._37(335544320,139,{customTrigger:0}),Df._36(2048,[[130,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,or)),Df._17(82,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(86,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(87,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,140,{_control:0}),Df._37(335544320,141,{_placeholderChild:0}),Df._37(335544320,142,{_labelChild:0}),Df._37(603979776,143,{_errorChildren:1}),Df._37(603979776,144,{_hintChildren:1}),Df._37(603979776,145,{_prefixChildren:1}),Df._37(603979776,146,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(96,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_name"],["matInput",""],["maxlength","10"],["placeholder","Contact Person Name"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,97)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,104)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,104)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,104)._onInput()&&u}return u},null,null)),Df._17(97,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(98,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.n]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(101,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(103,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(104,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[140,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(108,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(109,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,147,{_control:0}),Df._37(335544320,148,{_placeholderChild:0}),Df._37(335544320,149,{_labelChild:0}),Df._37(603979776,150,{_errorChildren:1}),Df._37(603979776,151,{_hintChildren:1}),Df._37(603979776,152,{_prefixChildren:1}),Df._37(603979776,153,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(118,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,122)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,122)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,122)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,2)&&u}return u},TC.b,TC.a)),Df._17(119,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(121,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(122,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,154,{options:1}),Df._37(603979776,155,{optionGroups:1}),Df._37(335544320,156,{customTrigger:0}),Df._36(2048,[[147,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(129,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,130)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,130)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(130,8437760,[[154,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,rr)),Df._17(134,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,_r)),Df._17(140,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(142,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(143,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,164,{_control:0}),Df._37(335544320,165,{_placeholderChild:0}),Df._37(335544320,166,{_labelChild:0}),Df._37(603979776,167,{_errorChildren:1}),Df._37(603979776,168,{_hintChildren:1}),Df._37(603979776,169,{_prefixChildren:1}),Df._37(603979776,170,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(152,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["placeholder","Contact Person Mobile Number"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,153)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,153).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,153)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,153)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,154).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,154).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,154).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,161)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,161)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,161)._onInput()&&u}return u},null,null)),Df._17(153,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(154,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(155,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(158,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(160,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(161,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[164,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(164,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(165,16384,[[167,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid Mobile Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(169,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(170,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,171,{_control:0}),Df._37(335544320,172,{_placeholderChild:0}),Df._37(335544320,173,{_labelChild:0}),Df._37(603979776,174,{_errorChildren:1}),Df._37(603979776,175,{_hintChildren:1}),Df._37(603979776,176,{_prefixChildren:1}),Df._37(603979776,177,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(179,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["placeholder","STD Code"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,180)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,180).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,180)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,180)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,181).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,181).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,181).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,186)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,186)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,186)._onInput()&&u}return u},null,null)),Df._17(180,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(181,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(183,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(185,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(186,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[171,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(189,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(190,16384,[[174,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid STD Code Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(195,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(196,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,178,{_control:0}),Df._37(335544320,179,{_placeholderChild:0}),Df._37(335544320,180,{_labelChild:0}),Df._37(603979776,181,{_errorChildren:1}),Df._37(603979776,182,{_hintChildren:1}),Df._37(603979776,183,{_prefixChildren:1}),Df._37(603979776,184,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(205,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["placeholder","Contact Person Landline Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,206)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,206).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,206)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,206)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,207).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,207).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,207).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,212)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,212)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,212)._onInput()&&u}return u},null,null)),Df._17(206,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(207,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(209,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(211,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(212,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[178,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(215,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(216,16384,[[181,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid LandLine Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(220,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(221,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,185,{_control:0}),Df._37(335544320,186,{_placeholderChild:0}),Df._37(335544320,187,{_labelChild:0}),Df._37(603979776,188,{_errorChildren:1}),Df._37(603979776,189,{_hintChildren:1}),Df._37(603979776,190,{_prefixChildren:1}),Df._37(603979776,191,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(230,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,235)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,235)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,235)._onBlur()&&u}if("selectionChange"===n){t.selectedPaymentTerms(l.context.$implicit,e.value,2);u=!1!==t.checkCard(e.value,2,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(232,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(234,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(235,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,192,{options:1}),Df._37(603979776,193,{optionGroups:1}),Df._37(335544320,194,{customTrigger:0}),Df._36(2048,[[185,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,dr)),Df._17(242,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(246,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(247,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,195,{_control:0}),Df._37(335544320,196,{_placeholderChild:0}),Df._37(335544320,197,{_labelChild:0}),Df._37(603979776,198,{_errorChildren:1}),Df._37(603979776,199,{_hintChildren:1}),Df._37(603979776,200,{_prefixChildren:1}),Df._37(603979776,201,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(256,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,260)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,260)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,260)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(257,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(259,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(260,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,202,{options:1}),Df._37(603979776,203,{optionGroups:1}),Df._37(335544320,204,{customTrigger:0}),Df._36(2048,[[195,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(267,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,268)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,268)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(268,8437760,[[202,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Payment made in Cash."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(271,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment made through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,272)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,272)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(272,8437760,[[202,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Payment made through Banking\n channels."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,sr)),Df._17(278,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(282,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(283,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,219,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(286,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(287,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,cr)),Df._17(290,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(293,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(294,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,mr)),Df._17(297,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,26,0,"trade_product_name");l(n,29,0,"Trading Product Name");l(n,36,0,e.business_tradingProducts);l(n,53,0,"trade_supplier_name");l(n,56,0,"Supplier Name");l(n,72,0,"person_title_name");l(n,75,0,"Title");l(n,82,0,e.m_titleList);l(n,98,0,"10");l(n,101,0,"trade_product_contact_person_name");l(n,104,0,"Contact Person Name");l(n,119,0,"person_designation");l(n,122,0,"Contact Person Designation");l(n,134,0,e.m_companyRelationShipList);l(n,140,0,1==n.context.$implicit.get("person_designation").value);l(n,155,0,"10");l(n,158,0,"trade_product_contact_person_mobile_number");l(n,161,0,"Contact Person Mobile Number","number");l(n,183,0,"person_stdcode");l(n,186,0,"STD Code","number");l(n,209,0,"person_landline");l(n,212,0,"Contact Person Landline Number","number");l(n,232,0,"trade_product_payment_type");l(n,235,0,"Payment Terms");l(n,242,0,e.m_paymentList);l(n,257,0,"trade_product_payment_mode");l(n,260,0,"Payment Mode");l(n,268,0,"Payment made in Cash.");l(n,272,0,"Payment made through Banking channels.");l(n,278,0,3==n.context.$implicit.get("trade_product_payment_type").value);l(n,290,0,n.parent.context.$implicit.controls.trading_products.controls.length>1);l(n,297,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[Df._32(n,15)._control.errorState,Df._32(n,15)._control.errorState,Df._32(n,15)._canLabelFloat,Df._32(n,15)._shouldLabelFloat(),Df._32(n,15)._hideControlPlaceholder(),Df._32(n,15)._control.disabled,Df._32(n,15)._control.focused,"primary"==Df._32(n,15).color,"accent"==Df._32(n,15).color,"warn"==Df._32(n,15).color,Df._32(n,15)._shouldForward("untouched"),Df._32(n,15)._shouldForward("touched"),Df._32(n,15)._shouldForward("pristine"),Df._32(n,15)._shouldForward("dirty"),Df._32(n,15)._shouldForward("valid"),Df._32(n,15)._shouldForward("invalid"),Df._32(n,15)._shouldForward("pending")]);l(n,24,1,[Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending,Df._32(n,29).id,Df._32(n,29).tabIndex,Df._32(n,29)._ariaLabel,Df._32(n,29).ariaLabelledby,Df._32(n,29).required.toString(),Df._32(n,29).disabled.toString(),Df._32(n,29).errorState,Df._32(n,29).panelOpen?Df._32(n,29)._optionIds:null,Df._32(n,29).multiple,Df._32(n,29)._ariaDescribedby||null,Df._32(n,29)._getAriaActiveDescendant(),Df._32(n,29).disabled,Df._32(n,29).errorState,Df._32(n,29).required]);l(n,40,1,[Df._32(n,41)._control.errorState,Df._32(n,41)._control.errorState,Df._32(n,41)._canLabelFloat,Df._32(n,41)._shouldLabelFloat(),Df._32(n,41)._hideControlPlaceholder(),Df._32(n,41)._control.disabled,Df._32(n,41)._control.focused,"primary"==Df._32(n,41).color,"accent"==Df._32(n,41).color,"warn"==Df._32(n,41).color,Df._32(n,41)._shouldForward("untouched"),Df._32(n,41)._shouldForward("touched"),Df._32(n,41)._shouldForward("pristine"),Df._32(n,41)._shouldForward("dirty"),Df._32(n,41)._shouldForward("valid"),Df._32(n,41)._shouldForward("invalid"),Df._32(n,41)._shouldForward("pending")]);l(n,50,1,[Df._32(n,55).ngClassUntouched,Df._32(n,55).ngClassTouched,Df._32(n,55).ngClassPristine,Df._32(n,55).ngClassDirty,Df._32(n,55).ngClassValid,Df._32(n,55).ngClassInvalid,Df._32(n,55).ngClassPending,Df._32(n,56)._isServer,Df._32(n,56).id,Df._32(n,56).placeholder,Df._32(n,56).disabled,Df._32(n,56).required,Df._32(n,56).readonly,Df._32(n,56)._ariaDescribedby||null,Df._32(n,56).errorState,Df._32(n,56).required.toString()]);l(n,60,1,[Df._32(n,61)._control.errorState,Df._32(n,61)._control.errorState,Df._32(n,61)._canLabelFloat,Df._32(n,61)._shouldLabelFloat(),Df._32(n,61)._hideControlPlaceholder(),Df._32(n,61)._control.disabled,Df._32(n,61)._control.focused,"primary"==Df._32(n,61).color,"accent"==Df._32(n,61).color,"warn"==Df._32(n,61).color,Df._32(n,61)._shouldForward("untouched"),Df._32(n,61)._shouldForward("touched"),Df._32(n,61)._shouldForward("pristine"),Df._32(n,61)._shouldForward("dirty"),Df._32(n,61)._shouldForward("valid"),Df._32(n,61)._shouldForward("invalid"),Df._32(n,61)._shouldForward("pending")]);l(n,70,1,[Df._32(n,74).ngClassUntouched,Df._32(n,74).ngClassTouched,Df._32(n,74).ngClassPristine,Df._32(n,74).ngClassDirty,Df._32(n,74).ngClassValid,Df._32(n,74).ngClassInvalid,Df._32(n,74).ngClassPending,Df._32(n,75).id,Df._32(n,75).tabIndex,Df._32(n,75)._ariaLabel,Df._32(n,75).ariaLabelledby,Df._32(n,75).required.toString(),Df._32(n,75).disabled.toString(),Df._32(n,75).errorState,Df._32(n,75).panelOpen?Df._32(n,75)._optionIds:null,Df._32(n,75).multiple,Df._32(n,75)._ariaDescribedby||null,Df._32(n,75)._getAriaActiveDescendant(),Df._32(n,75).disabled,Df._32(n,75).errorState,Df._32(n,75).required]);l(n,86,1,[Df._32(n,87)._control.errorState,Df._32(n,87)._control.errorState,Df._32(n,87)._canLabelFloat,Df._32(n,87)._shouldLabelFloat(),Df._32(n,87)._hideControlPlaceholder(),Df._32(n,87)._control.disabled,Df._32(n,87)._control.focused,"primary"==Df._32(n,87).color,"accent"==Df._32(n,87).color,"warn"==Df._32(n,87).color,Df._32(n,87)._shouldForward("untouched"),Df._32(n,87)._shouldForward("touched"),Df._32(n,87)._shouldForward("pristine"),Df._32(n,87)._shouldForward("dirty"),Df._32(n,87)._shouldForward("valid"),Df._32(n,87)._shouldForward("invalid"),Df._32(n,87)._shouldForward("pending")]);l(n,96,1,[Df._32(n,98).maxlength?Df._32(n,98).maxlength:null,Df._32(n,103).ngClassUntouched,Df._32(n,103).ngClassTouched,Df._32(n,103).ngClassPristine,Df._32(n,103).ngClassDirty,Df._32(n,103).ngClassValid,Df._32(n,103).ngClassInvalid,Df._32(n,103).ngClassPending,Df._32(n,104)._isServer,Df._32(n,104).id,Df._32(n,104).placeholder,Df._32(n,104).disabled,Df._32(n,104).required,Df._32(n,104).readonly,Df._32(n,104)._ariaDescribedby||null,Df._32(n,104).errorState,Df._32(n,104).required.toString()]);l(n,108,1,[Df._32(n,109)._control.errorState,Df._32(n,109)._control.errorState,Df._32(n,109)._canLabelFloat,Df._32(n,109)._shouldLabelFloat(),Df._32(n,109)._hideControlPlaceholder(),Df._32(n,109)._control.disabled,Df._32(n,109)._control.focused,"primary"==Df._32(n,109).color,"accent"==Df._32(n,109).color,"warn"==Df._32(n,109).color,Df._32(n,109)._shouldForward("untouched"),Df._32(n,109)._shouldForward("touched"),Df._32(n,109)._shouldForward("pristine"),Df._32(n,109)._shouldForward("dirty"),Df._32(n,109)._shouldForward("valid"),Df._32(n,109)._shouldForward("invalid"),Df._32(n,109)._shouldForward("pending")]);l(n,118,1,[Df._32(n,121).ngClassUntouched,Df._32(n,121).ngClassTouched,Df._32(n,121).ngClassPristine,Df._32(n,121).ngClassDirty,Df._32(n,121).ngClassValid,Df._32(n,121).ngClassInvalid,Df._32(n,121).ngClassPending,Df._32(n,122).id,Df._32(n,122).tabIndex,Df._32(n,122)._ariaLabel,Df._32(n,122).ariaLabelledby,Df._32(n,122).required.toString(),Df._32(n,122).disabled.toString(),Df._32(n,122).errorState,Df._32(n,122).panelOpen?Df._32(n,122)._optionIds:null,Df._32(n,122).multiple,Df._32(n,122)._ariaDescribedby||null,Df._32(n,122)._getAriaActiveDescendant(),Df._32(n,122).disabled,Df._32(n,122).errorState,Df._32(n,122).required]);l(n,129,0,Df._32(n,130)._getTabIndex(),Df._32(n,130).selected,Df._32(n,130).multiple,Df._32(n,130).active,Df._32(n,130).id,Df._32(n,130).selected.toString(),Df._32(n,130).disabled.toString(),Df._32(n,130).disabled);l(n,142,1,[Df._32(n,143)._control.errorState,Df._32(n,143)._control.errorState,Df._32(n,143)._canLabelFloat,Df._32(n,143)._shouldLabelFloat(),Df._32(n,143)._hideControlPlaceholder(),Df._32(n,143)._control.disabled,Df._32(n,143)._control.focused,"primary"==Df._32(n,143).color,"accent"==Df._32(n,143).color,"warn"==Df._32(n,143).color,Df._32(n,143)._shouldForward("untouched"),Df._32(n,143)._shouldForward("touched"),Df._32(n,143)._shouldForward("pristine"),Df._32(n,143)._shouldForward("dirty"),Df._32(n,143)._shouldForward("valid"),Df._32(n,143)._shouldForward("invalid"),Df._32(n,143)._shouldForward("pending")]);l(n,152,1,[Df._32(n,155).maxlength?Df._32(n,155).maxlength:null,Df._32(n,160).ngClassUntouched,Df._32(n,160).ngClassTouched,Df._32(n,160).ngClassPristine,Df._32(n,160).ngClassDirty,Df._32(n,160).ngClassValid,Df._32(n,160).ngClassInvalid,Df._32(n,160).ngClassPending,Df._32(n,161)._isServer,Df._32(n,161).id,Df._32(n,161).placeholder,Df._32(n,161).disabled,Df._32(n,161).required,Df._32(n,161).readonly,Df._32(n,161)._ariaDescribedby||null,Df._32(n,161).errorState,Df._32(n,161).required.toString()]);l(n,164,0,Df._32(n,165).id);l(n,169,1,[Df._32(n,170)._control.errorState,Df._32(n,170)._control.errorState,Df._32(n,170)._canLabelFloat,Df._32(n,170)._shouldLabelFloat(),Df._32(n,170)._hideControlPlaceholder(),Df._32(n,170)._control.disabled,Df._32(n,170)._control.focused,"primary"==Df._32(n,170).color,"accent"==Df._32(n,170).color,"warn"==Df._32(n,170).color,Df._32(n,170)._shouldForward("untouched"),Df._32(n,170)._shouldForward("touched"),Df._32(n,170)._shouldForward("pristine"),Df._32(n,170)._shouldForward("dirty"),Df._32(n,170)._shouldForward("valid"),Df._32(n,170)._shouldForward("invalid"),Df._32(n,170)._shouldForward("pending")]);l(n,179,1,[Df._32(n,185).ngClassUntouched,Df._32(n,185).ngClassTouched,Df._32(n,185).ngClassPristine,Df._32(n,185).ngClassDirty,Df._32(n,185).ngClassValid,Df._32(n,185).ngClassInvalid,Df._32(n,185).ngClassPending,Df._32(n,186)._isServer,Df._32(n,186).id,Df._32(n,186).placeholder,Df._32(n,186).disabled,Df._32(n,186).required,Df._32(n,186).readonly,Df._32(n,186)._ariaDescribedby||null,Df._32(n,186).errorState,Df._32(n,186).required.toString()]);l(n,189,0,Df._32(n,190).id);l(n,195,1,[Df._32(n,196)._control.errorState,Df._32(n,196)._control.errorState,Df._32(n,196)._canLabelFloat,Df._32(n,196)._shouldLabelFloat(),Df._32(n,196)._hideControlPlaceholder(),Df._32(n,196)._control.disabled,Df._32(n,196)._control.focused,"primary"==Df._32(n,196).color,"accent"==Df._32(n,196).color,"warn"==Df._32(n,196).color,Df._32(n,196)._shouldForward("untouched"),Df._32(n,196)._shouldForward("touched"),Df._32(n,196)._shouldForward("pristine"),Df._32(n,196)._shouldForward("dirty"),Df._32(n,196)._shouldForward("valid"),Df._32(n,196)._shouldForward("invalid"),Df._32(n,196)._shouldForward("pending")]);l(n,205,1,[Df._32(n,211).ngClassUntouched,Df._32(n,211).ngClassTouched,Df._32(n,211).ngClassPristine,Df._32(n,211).ngClassDirty,Df._32(n,211).ngClassValid,Df._32(n,211).ngClassInvalid,Df._32(n,211).ngClassPending,Df._32(n,212)._isServer,Df._32(n,212).id,Df._32(n,212).placeholder,Df._32(n,212).disabled,Df._32(n,212).required,Df._32(n,212).readonly,Df._32(n,212)._ariaDescribedby||null,Df._32(n,212).errorState,Df._32(n,212).required.toString()]);l(n,215,0,Df._32(n,216).id);l(n,220,1,[Df._32(n,221)._control.errorState,Df._32(n,221)._control.errorState,Df._32(n,221)._canLabelFloat,Df._32(n,221)._shouldLabelFloat(),Df._32(n,221)._hideControlPlaceholder(),Df._32(n,221)._control.disabled,Df._32(n,221)._control.focused,"primary"==Df._32(n,221).color,"accent"==Df._32(n,221).color,"warn"==Df._32(n,221).color,Df._32(n,221)._shouldForward("untouched"),Df._32(n,221)._shouldForward("touched"),Df._32(n,221)._shouldForward("pristine"),Df._32(n,221)._shouldForward("dirty"),Df._32(n,221)._shouldForward("valid"),Df._32(n,221)._shouldForward("invalid"),Df._32(n,221)._shouldForward("pending")]);l(n,230,1,[Df._32(n,234).ngClassUntouched,Df._32(n,234).ngClassTouched,Df._32(n,234).ngClassPristine,Df._32(n,234).ngClassDirty,Df._32(n,234).ngClassValid,Df._32(n,234).ngClassInvalid,Df._32(n,234).ngClassPending,Df._32(n,235).id,Df._32(n,235).tabIndex,Df._32(n,235)._ariaLabel,Df._32(n,235).ariaLabelledby,Df._32(n,235).required.toString(),Df._32(n,235).disabled.toString(),Df._32(n,235).errorState,Df._32(n,235).panelOpen?Df._32(n,235)._optionIds:null,Df._32(n,235).multiple,Df._32(n,235)._ariaDescribedby||null,Df._32(n,235)._getAriaActiveDescendant(),Df._32(n,235).disabled,Df._32(n,235).errorState,Df._32(n,235).required]);l(n,246,1,[Df._32(n,247)._control.errorState,Df._32(n,247)._control.errorState,Df._32(n,247)._canLabelFloat,Df._32(n,247)._shouldLabelFloat(),Df._32(n,247)._hideControlPlaceholder(),Df._32(n,247)._control.disabled,Df._32(n,247)._control.focused,"primary"==Df._32(n,247).color,"accent"==Df._32(n,247).color,"warn"==Df._32(n,247).color,Df._32(n,247)._shouldForward("untouched"),Df._32(n,247)._shouldForward("touched"),Df._32(n,247)._shouldForward("pristine"),Df._32(n,247)._shouldForward("dirty"),Df._32(n,247)._shouldForward("valid"),Df._32(n,247)._shouldForward("invalid"),Df._32(n,247)._shouldForward("pending")]);l(n,256,1,[Df._32(n,259).ngClassUntouched,Df._32(n,259).ngClassTouched,Df._32(n,259).ngClassPristine,Df._32(n,259).ngClassDirty,Df._32(n,259).ngClassValid,Df._32(n,259).ngClassInvalid,Df._32(n,259).ngClassPending,Df._32(n,260).id,Df._32(n,260).tabIndex,Df._32(n,260)._ariaLabel,Df._32(n,260).ariaLabelledby,Df._32(n,260).required.toString(),Df._32(n,260).disabled.toString(),Df._32(n,260).errorState,Df._32(n,260).panelOpen?Df._32(n,260)._optionIds:null,Df._32(n,260).multiple,Df._32(n,260)._ariaDescribedby||null,Df._32(n,260)._getAriaActiveDescendant(),Df._32(n,260).disabled,Df._32(n,260).errorState,Df._32(n,260).required]);l(n,267,0,Df._32(n,268)._getTabIndex(),Df._32(n,268).selected,Df._32(n,268).multiple,Df._32(n,268).active,Df._32(n,268).id,Df._32(n,268).selected.toString(),Df._32(n,268).disabled.toString(),Df._32(n,268).disabled);l(n,271,0,Df._32(n,272)._getTabIndex(),Df._32(n,272).selected,Df._32(n,272).multiple,Df._32(n,272).active,Df._32(n,272).id,Df._32(n,272).selected.toString(),Df._32(n,272).disabled.toString(),Df._32(n,272).disabled)})}function fr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,220,{_control:0}),Df._37(335544320,221,{_placeholderChild:0}),Df._37(335544320,222,{_labelChild:0}),Df._37(603979776,223,{_errorChildren:1}),Df._37(603979776,224,{_hintChildren:1}),Df._37(603979776,225,{_prefixChildren:1}),Df._37(603979776,226,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trading_products_total_payments_percent_on_credit"],["matInput",""],["placeholder","What % of Total Purchase is done on Credit?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[220,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"trading_products_total_payments_percent_on_credit");l(n,19,0,"What % of Total Purchase is done on Credit?","number")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()])})}function hr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,7,"div",[["formArrayName","trading_products"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(8,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,pr)),Df._17(11,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,fr)),Df._17(15,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"trading_products");l(n,11,0,n.context.$implicit.controls.trading_products.controls);l(n,15,0,e.trdCreditCardFlag)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,0,Df._32(n,8).ngClassUntouched,Df._32(n,8).ngClassTouched,Df._32(n,8).ngClassPristine,Df._32(n,8).ngClassDirty,Df._32(n,8).ngClassValid,Df._32(n,8).ngClassInvalid,Df._32(n,8).ngClassPending)})}function gr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Trading Product Details"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(10,0,null,0,7,"div",[["formArrayName","trade_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(11,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(13,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,hr)),Df._17(16,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"trade_details");l(n,16,0,e.supplierInfoForm.controls.trade_details.controls)},function(l,n){l(n,10,0,Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending)})}function br(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,12,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(3,0,null,0,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Service Provider Product Details"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(10,0,null,0,1,"div",[["style","text-align: center; margin: 12px;"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["Service Provider Details Not applicable here !!"])),(l()(),Df._39(-1,0,["\n "]))],null,null)}function vr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,56,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,53,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,4).onReset()&&u}return u},null,null)),Df._17(3,16384,null,0,Jf.B,[],null,null),Df._17(4,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,46,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ar)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,gr)),Df._17(14,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,br)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(19,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(20,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(22,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(23,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,227,{_control:0}),Df._37(335544320,228,{_placeholderChild:0}),Df._37(335544320,229,{_labelChild:0}),Df._37(603979776,230,{_errorChildren:1}),Df._37(603979776,231,{_hintChildren:1}),Df._37(603979776,232,{_prefixChildren:1}),Df._37(603979776,233,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(32,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(33,16384,[[229,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(36,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","supplier_info_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,42)._onInput()&&u}return u},null,null)),Df._17(37,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(39,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(41,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(42,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[227,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(47,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(48,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveSupplierInfo(t.supplierInfoForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(51,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.supplierInfoForm);l(n,11,0,e.manufacturingForm);l(n,14,0,e.tradingForm);l(n,17,0,e.serviceProviderForm);l(n,39,0,"supplier_info_form_remark");l(n,42,0,"Remarks");l(n,51,0,"optblue","")},function(l,n){l(n,2,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending);l(n,22,1,[Df._32(n,23)._control.errorState,Df._32(n,23)._control.errorState,Df._32(n,23)._canLabelFloat,Df._32(n,23)._shouldLabelFloat(),Df._32(n,23)._hideControlPlaceholder(),Df._32(n,23)._control.disabled,Df._32(n,23)._control.focused,"primary"==Df._32(n,23).color,"accent"==Df._32(n,23).color,"warn"==Df._32(n,23).color,Df._32(n,23)._shouldForward("untouched"),Df._32(n,23)._shouldForward("touched"),Df._32(n,23)._shouldForward("pristine"),Df._32(n,23)._shouldForward("dirty"),Df._32(n,23)._shouldForward("valid"),Df._32(n,23)._shouldForward("invalid"),Df._32(n,23)._shouldForward("pending")]);l(n,36,1,[Df._32(n,41).ngClassUntouched,Df._32(n,41).ngClassTouched,Df._32(n,41).ngClassPristine,Df._32(n,41).ngClassDirty,Df._32(n,41).ngClassValid,Df._32(n,41).ngClassInvalid,Df._32(n,41).ngClassPending,Df._32(n,42)._isServer,Df._32(n,42).id,Df._32(n,42).placeholder,Df._32(n,42).disabled,Df._32(n,42).required,Df._32(n,42).readonly,Df._32(n,42)._ariaDescribedby||null,Df._32(n,42).errorState,Df._32(n,42).required.toString()])})}function yr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(3,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(5,0,null,0,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),Df._39(8,null,[" "," "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.component.errorMessage)})}function Cr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(16,0,null,3,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(17,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(18,0,["",""])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(22,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,vr)),Df._17(26,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,yr)),Df._17(29,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,26,0,e.noRecordsFound);l(n,29,0,!e.noRecordsFound)},function(l,n){var e=n.component;l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,18,0,e.formDetails.form_name);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher)})}function wr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Personal Info Category"]))],null,null)}function Fr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[30,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function xr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[40,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function Sr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,132,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,126,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,6).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,6).onReset()&&u}return u},null,null)),Df._17(6,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(8,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(10,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(11,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(20,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_ans"],["matInput",""],["placeholder","Name"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,21)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,21).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,21)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,21)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,28)._onInput()&&u}return u},null,null)),Df._17(21,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(22,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(25,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(27,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(28,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(33,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(42,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","age_ans"],["matInput",""],["placeholder","Age"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,43)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,50)._onInput()&&u}return u},null,null)),Df._17(43,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(44,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[9,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(54,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(55,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,16,{_control:0}),Df._37(335544320,17,{_placeholderChild:0}),Df._37(335544320,18,{_labelChild:0}),Df._37(603979776,19,{_errorChildren:1}),Df._37(603979776,20,{_hintChildren:1}),Df._37(603979776,21,{_prefixChildren:1}),Df._37(603979776,22,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(64,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","entity_ans"],["matInput",""],["placeholder","Entity"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,65)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,65).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,65)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,65)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,72)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,72)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,72)._onInput()&&u}return u},null,null)),Df._17(65,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(66,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(69,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(71,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(72,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[16,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(76,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(77,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,23,{_control:0}),Df._37(335544320,24,{_placeholderChild:0}),Df._37(335544320,25,{_labelChild:0}),Df._37(603979776,26,{_errorChildren:1}),Df._37(603979776,27,{_hintChildren:1}),Df._37(603979776,28,{_prefixChildren:1}),Df._37(603979776,29,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(86,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","qualification_ans"],["placeholder","Educational Qualification"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,93)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(88,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(90,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(92,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(93,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,30,{options:1}),Df._37(603979776,31,{optionGroups:1}),Df._37(335544320,32,{customTrigger:0}),Df._36(2048,[[23,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Fr)),Df._17(100,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(104,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(105,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,33,{_control:0}),Df._37(335544320,34,{_placeholderChild:0}),Df._37(335544320,35,{_labelChild:0}),Df._37(603979776,36,{_errorChildren:1}),Df._37(603979776,37,{_hintChildren:1}),Df._37(603979776,38,{_prefixChildren:1}),Df._37(603979776,39,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(114,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","earning_ans"],["placeholder","Earning Status"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,121)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,121)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,121)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(116,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(118,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(120,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(121,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,40,{options:1}),Df._37(603979776,41,{optionGroups:1}),Df._37(335544320,42,{customTrigger:0}),Df._36(2048,[[33,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,xr)),Df._17(128,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "]))],function(l,n){var e=n.component;l(n,1,0,"mainItem");l(n,6,0,n.context.$implicit);l(n,22,0,"");l(n,25,0,"name_ans");l(n,28,0,"Name","","text");l(n,44,0,"");l(n,47,0,"age_ans");l(n,50,0,"Age","","text");l(n,66,0,"");l(n,69,0,"entity_ans");l(n,72,0,"Entity","","text");l(n,88,0,"");l(n,90,0,"qualification_ans");l(n,93,0,"Educational Qualification","");l(n,100,0,e.qualifications);l(n,116,0,"");l(n,118,0,"earning_ans");l(n,121,0,"Earning Status","");l(n,128,0,e.earningStatus)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,0,Df._32(n,8).ngClassUntouched,Df._32(n,8).ngClassTouched,Df._32(n,8).ngClassPristine,Df._32(n,8).ngClassDirty,Df._32(n,8).ngClassValid,Df._32(n,8).ngClassInvalid,Df._32(n,8).ngClassPending);l(n,10,1,[Df._32(n,11)._control.errorState,Df._32(n,11)._control.errorState,Df._32(n,11)._canLabelFloat,Df._32(n,11)._shouldLabelFloat(),Df._32(n,11)._hideControlPlaceholder(),Df._32(n,11)._control.disabled,Df._32(n,11)._control.focused,"primary"==Df._32(n,11).color,"accent"==Df._32(n,11).color,"warn"==Df._32(n,11).color,Df._32(n,11)._shouldForward("untouched"),Df._32(n,11)._shouldForward("touched"),Df._32(n,11)._shouldForward("pristine"),Df._32(n,11)._shouldForward("dirty"),Df._32(n,11)._shouldForward("valid"),Df._32(n,11)._shouldForward("invalid"),Df._32(n,11)._shouldForward("pending")]);l(n,20,1,[Df._32(n,22).required?"":null,Df._32(n,27).ngClassUntouched,Df._32(n,27).ngClassTouched,Df._32(n,27).ngClassPristine,Df._32(n,27).ngClassDirty,Df._32(n,27).ngClassValid,Df._32(n,27).ngClassInvalid,Df._32(n,27).ngClassPending,Df._32(n,28)._isServer,Df._32(n,28).id,Df._32(n,28).placeholder,Df._32(n,28).disabled,Df._32(n,28).required,Df._32(n,28).readonly,Df._32(n,28)._ariaDescribedby||null,Df._32(n,28).errorState,Df._32(n,28).required.toString()]);l(n,32,1,[Df._32(n,33)._control.errorState,Df._32(n,33)._control.errorState,Df._32(n,33)._canLabelFloat,Df._32(n,33)._shouldLabelFloat(),Df._32(n,33)._hideControlPlaceholder(),Df._32(n,33)._control.disabled,Df._32(n,33)._control.focused,"primary"==Df._32(n,33).color,"accent"==Df._32(n,33).color,"warn"==Df._32(n,33).color,Df._32(n,33)._shouldForward("untouched"),Df._32(n,33)._shouldForward("touched"),Df._32(n,33)._shouldForward("pristine"),Df._32(n,33)._shouldForward("dirty"),Df._32(n,33)._shouldForward("valid"),Df._32(n,33)._shouldForward("invalid"),Df._32(n,33)._shouldForward("pending")]);l(n,42,1,[Df._32(n,44).required?"":null,Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50)._isServer,Df._32(n,50).id,Df._32(n,50).placeholder,Df._32(n,50).disabled,Df._32(n,50).required,Df._32(n,50).readonly,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50).errorState,Df._32(n,50).required.toString()]);l(n,54,1,[Df._32(n,55)._control.errorState,Df._32(n,55)._control.errorState,Df._32(n,55)._canLabelFloat,Df._32(n,55)._shouldLabelFloat(),Df._32(n,55)._hideControlPlaceholder(),Df._32(n,55)._control.disabled,Df._32(n,55)._control.focused,"primary"==Df._32(n,55).color,"accent"==Df._32(n,55).color,"warn"==Df._32(n,55).color,Df._32(n,55)._shouldForward("untouched"),Df._32(n,55)._shouldForward("touched"),Df._32(n,55)._shouldForward("pristine"),Df._32(n,55)._shouldForward("dirty"),Df._32(n,55)._shouldForward("valid"),Df._32(n,55)._shouldForward("invalid"),Df._32(n,55)._shouldForward("pending")]);l(n,64,1,[Df._32(n,66).required?"":null,Df._32(n,71).ngClassUntouched,Df._32(n,71).ngClassTouched,Df._32(n,71).ngClassPristine,Df._32(n,71).ngClassDirty,Df._32(n,71).ngClassValid,Df._32(n,71).ngClassInvalid,Df._32(n,71).ngClassPending,Df._32(n,72)._isServer,Df._32(n,72).id,Df._32(n,72).placeholder,Df._32(n,72).disabled,Df._32(n,72).required,Df._32(n,72).readonly,Df._32(n,72)._ariaDescribedby||null,Df._32(n,72).errorState,Df._32(n,72).required.toString()]);l(n,76,1,[Df._32(n,77)._control.errorState,Df._32(n,77)._control.errorState,Df._32(n,77)._canLabelFloat,Df._32(n,77)._shouldLabelFloat(),Df._32(n,77)._hideControlPlaceholder(),Df._32(n,77)._control.disabled,Df._32(n,77)._control.focused,"primary"==Df._32(n,77).color,"accent"==Df._32(n,77).color,"warn"==Df._32(n,77).color,Df._32(n,77)._shouldForward("untouched"),Df._32(n,77)._shouldForward("touched"),Df._32(n,77)._shouldForward("pristine"),Df._32(n,77)._shouldForward("dirty"),Df._32(n,77)._shouldForward("valid"),Df._32(n,77)._shouldForward("invalid"),Df._32(n,77)._shouldForward("pending")]);l(n,86,1,[Df._32(n,88).required?"":null,Df._32(n,92).ngClassUntouched,Df._32(n,92).ngClassTouched,Df._32(n,92).ngClassPristine,Df._32(n,92).ngClassDirty,Df._32(n,92).ngClassValid,Df._32(n,92).ngClassInvalid,Df._32(n,92).ngClassPending,Df._32(n,93).id,Df._32(n,93).tabIndex,Df._32(n,93)._ariaLabel,Df._32(n,93).ariaLabelledby,Df._32(n,93).required.toString(),Df._32(n,93).disabled.toString(),Df._32(n,93).errorState,Df._32(n,93).panelOpen?Df._32(n,93)._optionIds:null,Df._32(n,93).multiple,Df._32(n,93)._ariaDescribedby||null,Df._32(n,93)._getAriaActiveDescendant(),Df._32(n,93).disabled,Df._32(n,93).errorState,Df._32(n,93).required]);l(n,104,1,[Df._32(n,105)._control.errorState,Df._32(n,105)._control.errorState,Df._32(n,105)._canLabelFloat,Df._32(n,105)._shouldLabelFloat(),Df._32(n,105)._hideControlPlaceholder(),Df._32(n,105)._control.disabled,Df._32(n,105)._control.focused,"primary"==Df._32(n,105).color,"accent"==Df._32(n,105).color,"warn"==Df._32(n,105).color,Df._32(n,105)._shouldForward("untouched"),Df._32(n,105)._shouldForward("touched"),Df._32(n,105)._shouldForward("pristine"),Df._32(n,105)._shouldForward("dirty"),Df._32(n,105)._shouldForward("valid"),Df._32(n,105)._shouldForward("invalid"),Df._32(n,105)._shouldForward("pending")]);l(n,114,1,[Df._32(n,116).required?"":null,Df._32(n,120).ngClassUntouched,Df._32(n,120).ngClassTouched,Df._32(n,120).ngClassPristine,Df._32(n,120).ngClassDirty,Df._32(n,120).ngClassValid,Df._32(n,120).ngClassInvalid,Df._32(n,120).ngClassPending,Df._32(n,121).id,Df._32(n,121).tabIndex,Df._32(n,121)._ariaLabel,Df._32(n,121).ariaLabelledby,Df._32(n,121).required.toString(),Df._32(n,121).disabled.toString(),Df._32(n,121).errorState,Df._32(n,121).panelOpen?Df._32(n,121)._optionIds:null,Df._32(n,121).multiple,Df._32(n,121)._ariaDescribedby||null,Df._32(n,121)._getAriaActiveDescendant(),Df._32(n,121).disabled,Df._32(n,121).errorState,Df._32(n,121).required])})}function Ir(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[71,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function qr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[81,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit)})}function kr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[91,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Pr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,181,"div",[["class","text-xs-left"],["fxFlex","50"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,175,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(9,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["Co Applicant"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,167,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(13,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(15,0,null,null,163,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,160,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,18).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,18).onReset()&&u}return u},null,null)),Df._17(18,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(20,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(23,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,43,{_control:0}),Df._37(335544320,44,{_placeholderChild:0}),Df._37(335544320,45,{_labelChild:0}),Df._37(603979776,46,{_errorChildren:1}),Df._37(603979776,47,{_hintChildren:1}),Df._37(603979776,48,{_prefixChildren:1}),Df._37(603979776,49,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(33,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name_ans"],["matInput",""],["placeholder","Name"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,34)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,41)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,41)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,41)._onInput()&&u}return u},null,null)),Df._17(34,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(35,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(38,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(40,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(41,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[43,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(45,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(46,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,50,{_control:0}),Df._37(335544320,51,{_placeholderChild:0}),Df._37(335544320,52,{_labelChild:0}),Df._37(603979776,53,{_errorChildren:1}),Df._37(603979776,54,{_hintChildren:1}),Df._37(603979776,55,{_prefixChildren:1}),Df._37(603979776,56,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(56,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","age_ans"],["matInput",""],["placeholder","Age"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,57)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,57).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,57)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,57)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,64)._onInput()&&u}return u},null,null)),Df._17(57,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(58,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(61,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(63,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(64,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[50,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(68,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(69,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,57,{_control:0}),Df._37(335544320,58,{_placeholderChild:0}),Df._37(335544320,59,{_labelChild:0}),Df._37(603979776,60,{_errorChildren:1}),Df._37(603979776,61,{_hintChildren:1}),Df._37(603979776,62,{_prefixChildren:1}),Df._37(603979776,63,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(79,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","entity_ans"],["matInput",""],["placeholder","Entity"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,80)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,80).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,80)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,80)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,87)._onInput()&&u}return u},null,null)),Df._17(80,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(81,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(84,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(86,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(87,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[57,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(91,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(92,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,64,{_control:0}),Df._37(335544320,65,{_placeholderChild:0}),Df._37(335544320,66,{_labelChild:0}),Df._37(603979776,67,{_errorChildren:1}),Df._37(603979776,68,{_hintChildren:1}),Df._37(603979776,69,{_prefixChildren:1}),Df._37(603979776,70,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(102,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","qualification_ans"],["placeholder","Educational Qualification"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,109)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,109)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,109)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(104,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(106,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(108,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(109,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,71,{options:1}),Df._37(603979776,72,{optionGroups:1}),Df._37(335544320,73,{customTrigger:0}),Df._36(2048,[[64,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ir)),Df._17(116,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(120,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(121,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,74,{_control:0}),Df._37(335544320,75,{_placeholderChild:0}),Df._37(335544320,76,{_labelChild:0}),Df._37(603979776,77,{_errorChildren:1}),Df._37(603979776,78,{_hintChildren:1}),Df._37(603979776,79,{_prefixChildren:1}),Df._37(603979776,80,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(131,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","earning_ans"],["placeholder","Earning Status"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,138)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,138)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,138)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(133,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(135,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(137,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(138,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,81,{options:1}),Df._37(603979776,82,{optionGroups:1}),Df._37(335544320,83,{customTrigger:0}),Df._36(2048,[[74,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,qr)),Df._17(145,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(149,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(150,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,84,{_control:0}),Df._37(335544320,85,{_placeholderChild:0}),Df._37(335544320,86,{_labelChild:0}),Df._37(603979776,87,{_errorChildren:1}),Df._37(603979776,88,{_hintChildren:1}),Df._37(603979776,89,{_prefixChildren:1}),Df._37(603979776,90,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(160,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","relation_ans"],["placeholder","Relationship"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,167)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,167)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,167)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(162,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(164,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(166,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(167,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,91,{options:1}),Df._37(603979776,92,{optionGroups:1}),Df._37(335544320,93,{customTrigger:0}),Df._36(2048,[[84,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,kr)),Df._17(174,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._39(-1,null,["\n \n \n "]))],function(l,n){var e=n.component;l(n,1,0,"coItem");l(n,18,0,n.context.$implicit);l(n,35,0,"");l(n,38,0,"name_ans");l(n,41,0,"Name","","text");l(n,58,0,"");l(n,61,0,"age_ans");l(n,64,0,"Age","","text");l(n,81,0,"");l(n,84,0,"entity_ans");l(n,87,0,"Entity","","text");l(n,104,0,"");l(n,106,0,"qualification_ans");l(n,109,0,"Educational Qualification","");l(n,116,0,e.qualifications);l(n,133,0,"");l(n,135,0,"earning_ans");l(n,138,0,"Earning Status","");l(n,145,0,e.earningStatus);l(n,162,0,"");l(n,164,0,"relation_ans");l(n,167,0,"Relationship","");l(n,174,0,e.relationShipList)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,17,0,Df._32(n,20).ngClassUntouched,Df._32(n,20).ngClassTouched,Df._32(n,20).ngClassPristine,Df._32(n,20).ngClassDirty,Df._32(n,20).ngClassValid,Df._32(n,20).ngClassInvalid,Df._32(n,20).ngClassPending);l(n,22,1,[Df._32(n,23)._control.errorState,Df._32(n,23)._control.errorState,Df._32(n,23)._canLabelFloat,Df._32(n,23)._shouldLabelFloat(),Df._32(n,23)._hideControlPlaceholder(),Df._32(n,23)._control.disabled,Df._32(n,23)._control.focused,"primary"==Df._32(n,23).color,"accent"==Df._32(n,23).color,"warn"==Df._32(n,23).color,Df._32(n,23)._shouldForward("untouched"),Df._32(n,23)._shouldForward("touched"),Df._32(n,23)._shouldForward("pristine"),Df._32(n,23)._shouldForward("dirty"),Df._32(n,23)._shouldForward("valid"),Df._32(n,23)._shouldForward("invalid"),Df._32(n,23)._shouldForward("pending")]);l(n,33,1,[Df._32(n,35).required?"":null,Df._32(n,40).ngClassUntouched,Df._32(n,40).ngClassTouched,Df._32(n,40).ngClassPristine,Df._32(n,40).ngClassDirty,Df._32(n,40).ngClassValid,Df._32(n,40).ngClassInvalid,Df._32(n,40).ngClassPending,Df._32(n,41)._isServer,Df._32(n,41).id,Df._32(n,41).placeholder,Df._32(n,41).disabled,Df._32(n,41).required,Df._32(n,41).readonly,Df._32(n,41)._ariaDescribedby||null,Df._32(n,41).errorState,Df._32(n,41).required.toString()]);l(n,45,1,[Df._32(n,46)._control.errorState,Df._32(n,46)._control.errorState,Df._32(n,46)._canLabelFloat,Df._32(n,46)._shouldLabelFloat(),Df._32(n,46)._hideControlPlaceholder(),Df._32(n,46)._control.disabled,Df._32(n,46)._control.focused,"primary"==Df._32(n,46).color,"accent"==Df._32(n,46).color,"warn"==Df._32(n,46).color,Df._32(n,46)._shouldForward("untouched"),Df._32(n,46)._shouldForward("touched"),Df._32(n,46)._shouldForward("pristine"),Df._32(n,46)._shouldForward("dirty"),Df._32(n,46)._shouldForward("valid"),Df._32(n,46)._shouldForward("invalid"),Df._32(n,46)._shouldForward("pending")]);l(n,56,1,[Df._32(n,58).required?"":null,Df._32(n,63).ngClassUntouched,Df._32(n,63).ngClassTouched,Df._32(n,63).ngClassPristine,Df._32(n,63).ngClassDirty,Df._32(n,63).ngClassValid,Df._32(n,63).ngClassInvalid,Df._32(n,63).ngClassPending,Df._32(n,64)._isServer,Df._32(n,64).id,Df._32(n,64).placeholder,Df._32(n,64).disabled,Df._32(n,64).required,Df._32(n,64).readonly,Df._32(n,64)._ariaDescribedby||null,Df._32(n,64).errorState,Df._32(n,64).required.toString()]);l(n,68,1,[Df._32(n,69)._control.errorState,Df._32(n,69)._control.errorState,Df._32(n,69)._canLabelFloat,Df._32(n,69)._shouldLabelFloat(),Df._32(n,69)._hideControlPlaceholder(),Df._32(n,69)._control.disabled,Df._32(n,69)._control.focused,"primary"==Df._32(n,69).color,"accent"==Df._32(n,69).color,"warn"==Df._32(n,69).color,Df._32(n,69)._shouldForward("untouched"),Df._32(n,69)._shouldForward("touched"),Df._32(n,69)._shouldForward("pristine"),Df._32(n,69)._shouldForward("dirty"),Df._32(n,69)._shouldForward("valid"),Df._32(n,69)._shouldForward("invalid"),Df._32(n,69)._shouldForward("pending")]);l(n,79,1,[Df._32(n,81).required?"":null,Df._32(n,86).ngClassUntouched,Df._32(n,86).ngClassTouched,Df._32(n,86).ngClassPristine,Df._32(n,86).ngClassDirty,Df._32(n,86).ngClassValid,Df._32(n,86).ngClassInvalid,Df._32(n,86).ngClassPending,Df._32(n,87)._isServer,Df._32(n,87).id,Df._32(n,87).placeholder,Df._32(n,87).disabled,Df._32(n,87).required,Df._32(n,87).readonly,Df._32(n,87)._ariaDescribedby||null,Df._32(n,87).errorState,Df._32(n,87).required.toString()]);l(n,91,1,[Df._32(n,92)._control.errorState,Df._32(n,92)._control.errorState,Df._32(n,92)._canLabelFloat,Df._32(n,92)._shouldLabelFloat(),Df._32(n,92)._hideControlPlaceholder(),Df._32(n,92)._control.disabled,Df._32(n,92)._control.focused,"primary"==Df._32(n,92).color,"accent"==Df._32(n,92).color,"warn"==Df._32(n,92).color,Df._32(n,92)._shouldForward("untouched"),Df._32(n,92)._shouldForward("touched"),Df._32(n,92)._shouldForward("pristine"),Df._32(n,92)._shouldForward("dirty"),Df._32(n,92)._shouldForward("valid"),Df._32(n,92)._shouldForward("invalid"),Df._32(n,92)._shouldForward("pending")]);l(n,102,1,[Df._32(n,104).required?"":null,Df._32(n,108).ngClassUntouched,Df._32(n,108).ngClassTouched,Df._32(n,108).ngClassPristine,Df._32(n,108).ngClassDirty,Df._32(n,108).ngClassValid,Df._32(n,108).ngClassInvalid,Df._32(n,108).ngClassPending,Df._32(n,109).id,Df._32(n,109).tabIndex,Df._32(n,109)._ariaLabel,Df._32(n,109).ariaLabelledby,Df._32(n,109).required.toString(),Df._32(n,109).disabled.toString(),Df._32(n,109).errorState,Df._32(n,109).panelOpen?Df._32(n,109)._optionIds:null,Df._32(n,109).multiple,Df._32(n,109)._ariaDescribedby||null,Df._32(n,109)._getAriaActiveDescendant(),Df._32(n,109).disabled,Df._32(n,109).errorState,Df._32(n,109).required]);l(n,120,1,[Df._32(n,121)._control.errorState,Df._32(n,121)._control.errorState,Df._32(n,121)._canLabelFloat,Df._32(n,121)._shouldLabelFloat(),Df._32(n,121)._hideControlPlaceholder(),Df._32(n,121)._control.disabled,Df._32(n,121)._control.focused,"primary"==Df._32(n,121).color,"accent"==Df._32(n,121).color,"warn"==Df._32(n,121).color,Df._32(n,121)._shouldForward("untouched"),Df._32(n,121)._shouldForward("touched"),Df._32(n,121)._shouldForward("pristine"),Df._32(n,121)._shouldForward("dirty"),Df._32(n,121)._shouldForward("valid"),Df._32(n,121)._shouldForward("invalid"),Df._32(n,121)._shouldForward("pending")]);l(n,131,1,[Df._32(n,133).required?"":null,Df._32(n,137).ngClassUntouched,Df._32(n,137).ngClassTouched,Df._32(n,137).ngClassPristine,Df._32(n,137).ngClassDirty,Df._32(n,137).ngClassValid,Df._32(n,137).ngClassInvalid,Df._32(n,137).ngClassPending,Df._32(n,138).id,Df._32(n,138).tabIndex,Df._32(n,138)._ariaLabel,Df._32(n,138).ariaLabelledby,Df._32(n,138).required.toString(),Df._32(n,138).disabled.toString(),Df._32(n,138).errorState,Df._32(n,138).panelOpen?Df._32(n,138)._optionIds:null,Df._32(n,138).multiple,Df._32(n,138)._ariaDescribedby||null,Df._32(n,138)._getAriaActiveDescendant(),Df._32(n,138).disabled,Df._32(n,138).errorState,Df._32(n,138).required]);l(n,149,1,[Df._32(n,150)._control.errorState,Df._32(n,150)._control.errorState,Df._32(n,150)._canLabelFloat,Df._32(n,150)._shouldLabelFloat(),Df._32(n,150)._hideControlPlaceholder(),Df._32(n,150)._control.disabled,Df._32(n,150)._control.focused,"primary"==Df._32(n,150).color,"accent"==Df._32(n,150).color,"warn"==Df._32(n,150).color,Df._32(n,150)._shouldForward("untouched"),Df._32(n,150)._shouldForward("touched"),Df._32(n,150)._shouldForward("pristine"),Df._32(n,150)._shouldForward("dirty"),Df._32(n,150)._shouldForward("valid"),Df._32(n,150)._shouldForward("invalid"),Df._32(n,150)._shouldForward("pending")]);l(n,160,1,[Df._32(n,162).required?"":null,Df._32(n,166).ngClassUntouched,Df._32(n,166).ngClassTouched,Df._32(n,166).ngClassPristine,Df._32(n,166).ngClassDirty,Df._32(n,166).ngClassValid,Df._32(n,166).ngClassInvalid,Df._32(n,166).ngClassPending,Df._32(n,167).id,Df._32(n,167).tabIndex,Df._32(n,167)._ariaLabel,Df._32(n,167).ariaLabelledby,Df._32(n,167).required.toString(),Df._32(n,167).disabled.toString(),Df._32(n,167).errorState,Df._32(n,167).panelOpen?Df._32(n,167)._optionIds:null,Df._32(n,167).multiple,Df._32(n,167)._ariaDescribedby||null,Df._32(n,167)._getAriaActiveDescendant(),Df._32(n,167).disabled,Df._32(n,167).errorState,Df._32(n,167).required])})}function Dr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,87,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,2).onReset()&&u}return u},null,null)),Df._17(1,16384,null,0,Jf.B,[],null,null),Df._17(2,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(4,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(6,0,null,null,66,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(7,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(10,0,null,null,24,"div",[["fxLayout","row wrap"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(12,0,null,null,16,"div",[["class","text-xs-left"],["fxFlex","50"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(14,0,null,null,13,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(15,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(17,0,null,0,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(18,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["Main Applicant"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(21,0,null,0,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(22,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Sr)),Df._17(25,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Pr)),Df._17(33,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(36,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(38,0,null,null,32,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(39,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(41,0,null,0,28,"div",[["fxLayout","row"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,25,"div",[["class","pb-0 text-sm-left"],["fxFlex","60"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(45,0,null,null,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(46,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,94,{_control:0}),Df._37(335544320,95,{_placeholderChild:0}),Df._37(335544320,96,{_labelChild:0}),Df._37(603979776,97,{_errorChildren:1}),Df._37(603979776,98,{_hintChildren:1}),Df._37(603979776,99,{_prefixChildren:1}),Df._37(603979776,100,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(55,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(56,16384,[[96,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(59,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","personal_info_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,60)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,60).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,60)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,60)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,65)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,65)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,65)._onInput()&&u}return u},null,null)),Df._17(60,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(62,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(64,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(65,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[94,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(74,0,null,null,12,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(75,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(77,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(78,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(81,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitPersonalForm(t._personalForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(82,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e._personalForm);l(n,25,0,e.pdMainapplicant.controls);l(n,33,0,e.pdCoapplicant.controls);l(n,62,0,"personal_info_form_remark");l(n,65,0,"Remarks");l(n,82,0,"optblue","")},function(l,n){l(n,0,0,Df._32(n,4).ngClassUntouched,Df._32(n,4).ngClassTouched,Df._32(n,4).ngClassPristine,Df._32(n,4).ngClassDirty,Df._32(n,4).ngClassValid,Df._32(n,4).ngClassInvalid,Df._32(n,4).ngClassPending);l(n,45,1,[Df._32(n,46)._control.errorState,Df._32(n,46)._control.errorState,Df._32(n,46)._canLabelFloat,Df._32(n,46)._shouldLabelFloat(),Df._32(n,46)._hideControlPlaceholder(),Df._32(n,46)._control.disabled,Df._32(n,46)._control.focused,"primary"==Df._32(n,46).color,"accent"==Df._32(n,46).color,"warn"==Df._32(n,46).color,Df._32(n,46)._shouldForward("untouched"),Df._32(n,46)._shouldForward("touched"),Df._32(n,46)._shouldForward("pristine"),Df._32(n,46)._shouldForward("dirty"),Df._32(n,46)._shouldForward("valid"),Df._32(n,46)._shouldForward("invalid"),Df._32(n,46)._shouldForward("pending")]);l(n,59,1,[Df._32(n,64).ngClassUntouched,Df._32(n,64).ngClassTouched,Df._32(n,64).ngClassPristine,Df._32(n,64).ngClassDirty,Df._32(n,64).ngClassValid,Df._32(n,64).ngClassInvalid,Df._32(n,64).ngClassPending,Df._32(n,65)._isServer,Df._32(n,65).id,Df._32(n,65).placeholder,Df._32(n,65).disabled,Df._32(n,65).required,Df._32(n,65).readonly,Df._32(n,65)._ariaDescribedby||null,Df._32(n,65).errorState,Df._32(n,65).required.toString()]);l(n,74,0,"end"===Df._32(n,75).align)})}function Tr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,wr)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,5,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._13(16777216,null,1,1,null,Dr)),Df._17(25,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,25,0,e.loadDataStatus)},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher)})}function Or(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[33,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Lr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[36,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Ar(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[47,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.M_rawValueInWords[n.parent.parent.context.index])})}function Vr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,75,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","raw_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[19,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(24,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,26,{_control:0}),Df._37(335544320,27,{_placeholderChild:0}),Df._37(335544320,28,{_labelChild:0}),Df._37(603979776,29,{_errorChildren:1}),Df._37(603979776,30,{_hintChildren:1}),Df._37(603979776,31,{_prefixChildren:1}),Df._37(603979776,32,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(33,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","raw_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,38)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(35,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(37,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(38,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,33,{options:1}),Df._37(603979776,34,{optionGroups:1}),Df._37(335544320,35,{customTrigger:0}),Df._36(2048,[[26,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Or)),Df._17(45,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Lr)),Df._17(50,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(52,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(53,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,43,{_control:0}),Df._37(335544320,44,{_placeholderChild:0}),Df._37(335544320,45,{_labelChild:0}),Df._37(603979776,46,{_errorChildren:1}),Df._37(603979776,47,{_hintChildren:1}),Df._37(603979776,48,{_prefixChildren:1}),Df._37(603979776,49,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(62,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","raw_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,63)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,64).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,64).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,64).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,69)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,1,l.parent.context.index)&&u}return u},null,null)),Df._17(63,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(64,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(66,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(68,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(69,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[43,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,6,1,null,Ar)),Df._17(73,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,16,0,"raw_quantity");l(n,19,0,"Estimated Quantity","number");l(n,35,0,"raw_uom");l(n,38,0,"Unit of Mearsurement");l(n,45,0,e.uomData);l(n,50,0,1==n.parent.context.$implicit.get("raw_uom").value);l(n,66,0,"raw_value");l(n,69,0,"Estimated Value of Stock Observed","number");l(n,73,0,""!=n.parent.context.$implicit.get("raw_value").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,23,1,[Df._32(n,24)._control.errorState,Df._32(n,24)._control.errorState,Df._32(n,24)._canLabelFloat,Df._32(n,24)._shouldLabelFloat(),Df._32(n,24)._hideControlPlaceholder(),Df._32(n,24)._control.disabled,Df._32(n,24)._control.focused,"primary"==Df._32(n,24).color,"accent"==Df._32(n,24).color,"warn"==Df._32(n,24).color,Df._32(n,24)._shouldForward("untouched"),Df._32(n,24)._shouldForward("touched"),Df._32(n,24)._shouldForward("pristine"),Df._32(n,24)._shouldForward("dirty"),Df._32(n,24)._shouldForward("valid"),Df._32(n,24)._shouldForward("invalid"),Df._32(n,24)._shouldForward("pending")]);l(n,33,1,[Df._32(n,37).ngClassUntouched,Df._32(n,37).ngClassTouched,Df._32(n,37).ngClassPristine,Df._32(n,37).ngClassDirty,Df._32(n,37).ngClassValid,Df._32(n,37).ngClassInvalid,Df._32(n,37).ngClassPending,Df._32(n,38).id,Df._32(n,38).tabIndex,Df._32(n,38)._ariaLabel,Df._32(n,38).ariaLabelledby,Df._32(n,38).required.toString(),Df._32(n,38).disabled.toString(),Df._32(n,38).errorState,Df._32(n,38).panelOpen?Df._32(n,38)._optionIds:null,Df._32(n,38).multiple,Df._32(n,38)._ariaDescribedby||null,Df._32(n,38)._getAriaActiveDescendant(),Df._32(n,38).disabled,Df._32(n,38).errorState,Df._32(n,38).required]);l(n,52,1,[Df._32(n,53)._control.errorState,Df._32(n,53)._control.errorState,Df._32(n,53)._canLabelFloat,Df._32(n,53)._shouldLabelFloat(),Df._32(n,53)._hideControlPlaceholder(),Df._32(n,53)._control.disabled,Df._32(n,53)._control.focused,"primary"==Df._32(n,53).color,"accent"==Df._32(n,53).color,"warn"==Df._32(n,53).color,Df._32(n,53)._shouldForward("untouched"),Df._32(n,53)._shouldForward("touched"),Df._32(n,53)._shouldForward("pristine"),Df._32(n,53)._shouldForward("dirty"),Df._32(n,53)._shouldForward("valid"),Df._32(n,53)._shouldForward("invalid"),Df._32(n,53)._shouldForward("pending")]);l(n,62,1,[Df._32(n,68).ngClassUntouched,Df._32(n,68).ngClassTouched,Df._32(n,68).ngClassPristine,Df._32(n,68).ngClassDirty,Df._32(n,68).ngClassValid,Df._32(n,68).ngClassInvalid,Df._32(n,68).ngClassPending,Df._32(n,69)._isServer,Df._32(n,69).id,Df._32(n,69).placeholder,Df._32(n,69).disabled,Df._32(n,69).required,Df._32(n,69).readonly,Df._32(n,69)._ariaDescribedby||null,Df._32(n,69).errorState,Df._32(n,69).required.toString()])})}function jr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteRawMaterials(l.parent.context.index,1)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Nr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRawMaterials(1)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Wr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,90,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.g,[],null,null),(l()(),Df._39(7,null,["Raw Material #",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,57,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),Df._17(10,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(13,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","raw_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,28)._onInput()&&u}return u},null,null)),Df._17(23,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(25,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(27,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(28,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(33,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","stock_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,47)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,47)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,47)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,1,l.context.index)&&u}return u},TC.b,TC.a)),Df._17(44,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(46,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(47,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,16,{options:1}),Df._37(603979776,17,{optionGroups:1}),Df._37(335544320,18,{customTrigger:0}),Df._36(2048,[[9,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,55)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,55)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(55,8437760,[[16,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Add Stock Details"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(58,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,59)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,59)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(59,8437760,[[16,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No Stock Observed"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Vr)),Df._17(65,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(68,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(69,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(71,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(72,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,50,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(75,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(76,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,jr)),Df._17(79,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(82,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(83,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Nr)),Df._17(86,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"raw_name");l(n,28,0,"Name");l(n,44,0,"stock_observed");l(n,47,0,"Stock");l(n,55,0,"yes");l(n,59,0,"no");l(n,65,0,"yes"==n.context.$implicit.get("stock_observed").value);l(n,79,0,n.parent.context.$implicit.controls.manufacturing_raw_materials.controls.length>1);l(n,86,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[Df._32(n,13)._control.errorState,Df._32(n,13)._control.errorState,Df._32(n,13)._canLabelFloat,Df._32(n,13)._shouldLabelFloat(),Df._32(n,13)._hideControlPlaceholder(),Df._32(n,13)._control.disabled,Df._32(n,13)._control.focused,"primary"==Df._32(n,13).color,"accent"==Df._32(n,13).color,"warn"==Df._32(n,13).color,Df._32(n,13)._shouldForward("untouched"),Df._32(n,13)._shouldForward("touched"),Df._32(n,13)._shouldForward("pristine"),Df._32(n,13)._shouldForward("dirty"),Df._32(n,13)._shouldForward("valid"),Df._32(n,13)._shouldForward("invalid"),Df._32(n,13)._shouldForward("pending")]);l(n,22,1,[Df._32(n,27).ngClassUntouched,Df._32(n,27).ngClassTouched,Df._32(n,27).ngClassPristine,Df._32(n,27).ngClassDirty,Df._32(n,27).ngClassValid,Df._32(n,27).ngClassInvalid,Df._32(n,27).ngClassPending,Df._32(n,28)._isServer,Df._32(n,28).id,Df._32(n,28).placeholder,Df._32(n,28).disabled,Df._32(n,28).required,Df._32(n,28).readonly,Df._32(n,28)._ariaDescribedby||null,Df._32(n,28).errorState,Df._32(n,28).required.toString()]);l(n,32,1,[Df._32(n,33)._control.errorState,Df._32(n,33)._control.errorState,Df._32(n,33)._canLabelFloat,Df._32(n,33)._shouldLabelFloat(),Df._32(n,33)._hideControlPlaceholder(),Df._32(n,33)._control.disabled,Df._32(n,33)._control.focused,"primary"==Df._32(n,33).color,"accent"==Df._32(n,33).color,"warn"==Df._32(n,33).color,Df._32(n,33)._shouldForward("untouched"),Df._32(n,33)._shouldForward("touched"),Df._32(n,33)._shouldForward("pristine"),Df._32(n,33)._shouldForward("dirty"),Df._32(n,33)._shouldForward("valid"),Df._32(n,33)._shouldForward("invalid"),Df._32(n,33)._shouldForward("pending")]);l(n,43,1,[Df._32(n,46).ngClassUntouched,Df._32(n,46).ngClassTouched,Df._32(n,46).ngClassPristine,Df._32(n,46).ngClassDirty,Df._32(n,46).ngClassValid,Df._32(n,46).ngClassInvalid,Df._32(n,46).ngClassPending,Df._32(n,47).id,Df._32(n,47).tabIndex,Df._32(n,47)._ariaLabel,Df._32(n,47).ariaLabelledby,Df._32(n,47).required.toString(),Df._32(n,47).disabled.toString(),Df._32(n,47).errorState,Df._32(n,47).panelOpen?Df._32(n,47)._optionIds:null,Df._32(n,47).multiple,Df._32(n,47)._ariaDescribedby||null,Df._32(n,47)._getAriaActiveDescendant(),Df._32(n,47).disabled,Df._32(n,47).errorState,Df._32(n,47).required]);l(n,54,0,Df._32(n,55)._getTabIndex(),Df._32(n,55).selected,Df._32(n,55).multiple,Df._32(n,55).active,Df._32(n,55).id,Df._32(n,55).selected.toString(),Df._32(n,55).disabled.toString(),Df._32(n,55).disabled);l(n,58,0,Df._32(n,59)._getTabIndex(),Df._32(n,59).selected,Df._32(n,59).multiple,Df._32(n,59).active,Df._32(n,59).id,Df._32(n,59).selected.toString(),Df._32(n,59).disabled.toString(),Df._32(n,59).disabled);l(n,68,0,"end"===Df._32(n,69).align)})}function Er(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,61,{_control:0}),Df._37(335544320,62,{_placeholderChild:0}),Df._37(335544320,63,{_labelChild:0}),Df._37(603979776,64,{_errorChildren:1}),Df._37(603979776,65,{_hintChildren:1}),Df._37(603979776,66,{_prefixChildren:1}),Df._37(603979776,67,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,5,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[63,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,[" "])),(l()(),Df._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Please comment on the stock level observed?"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(17,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rawmaterial_remarks"],["matInput",""],["placeholder","Please comment on the stock level observed"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}return u},null,null)),Df._17(18,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[61,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,20,0,"rawmaterial_remarks");l(n,23,0,"Please comment on the stock level observed")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,17,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()])})}function Rr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,42,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,34,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(5,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,51,{_control:0}),Df._37(335544320,52,{_placeholderChild:0}),Df._37(335544320,53,{_labelChild:0}),Df._37(603979776,54,{_errorChildren:1}),Df._37(603979776,55,{_hintChildren:1}),Df._37(603979776,56,{_prefixChildren:1}),Df._37(603979776,57,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(14,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),Df._17(15,16384,[[52,4]],0,fy.g,[],null,null),(l()(),Df._39(-1,null,["Is the stock of Raw Materials observed, sufficient considering the size of operations"])),(l()(),Df._18(17,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_raw"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,23)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],null,null),Df._37(603979776,58,{options:1}),Df._37(603979776,59,{optionGroups:1}),Df._37(335544320,60,{customTrigger:0}),Df._36(2048,[[51,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,31)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(31,8437760,[[58,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(34,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,35)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,35)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(35,8437760,[[58,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Er)),Df._17(41,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"is_sufficiant_raw"),l(n,23,0);l(n,31,0,"yes");l(n,35,0,"no");l(n,41,0,"no"==n.parent.context.$implicit.get("is_sufficiant_raw").value)},function(l,n){l(n,4,1,[Df._32(n,5)._control.errorState,Df._32(n,5)._control.errorState,Df._32(n,5)._canLabelFloat,Df._32(n,5)._shouldLabelFloat(),Df._32(n,5)._hideControlPlaceholder(),Df._32(n,5)._control.disabled,Df._32(n,5)._control.focused,"primary"==Df._32(n,5).color,"accent"==Df._32(n,5).color,"warn"==Df._32(n,5).color,Df._32(n,5)._shouldForward("untouched"),Df._32(n,5)._shouldForward("touched"),Df._32(n,5)._shouldForward("pristine"),Df._32(n,5)._shouldForward("dirty"),Df._32(n,5)._shouldForward("valid"),Df._32(n,5)._shouldForward("invalid"),Df._32(n,5)._shouldForward("pending")]);l(n,19,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23).id,Df._32(n,23).tabIndex,Df._32(n,23)._ariaLabel,Df._32(n,23).ariaLabelledby,Df._32(n,23).required.toString(),Df._32(n,23).disabled.toString(),Df._32(n,23).errorState,Df._32(n,23).panelOpen?Df._32(n,23)._optionIds:null,Df._32(n,23).multiple,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23)._getAriaActiveDescendant(),Df._32(n,23).disabled,Df._32(n,23).errorState,Df._32(n,23).required]);l(n,30,0,Df._32(n,31)._getTabIndex(),Df._32(n,31).selected,Df._32(n,31).multiple,Df._32(n,31).active,Df._32(n,31).id,Df._32(n,31).selected.toString(),Df._32(n,31).disabled.toString(),Df._32(n,31).disabled);l(n,34,0,Df._32(n,35)._getTabIndex(),Df._32(n,35).selected,Df._32(n,35).multiple,Df._32(n,35).active,Df._32(n,35).id,Df._32(n,35).selected.toString(),Df._32(n,35).disabled.toString(),Df._32(n,35).disabled)})}function Ur(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[99,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function $r(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,102,{_control:0}),Df._37(335544320,103,{_placeholderChild:0}),Df._37(335544320,104,{_labelChild:0}),Df._37(603979776,105,{_errorChildren:1}),Df._37(603979776,106,{_hintChildren:1}),Df._37(603979776,107,{_prefixChildren:1}),Df._37(603979776,108,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[102,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"goods_other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Br(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[113,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.M_goodsValueInWords[n.parent.parent.context.index])})}function Mr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,77,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,85,{_control:0}),Df._37(335544320,86,{_placeholderChild:0}),Df._37(335544320,87,{_labelChild:0}),Df._37(603979776,88,{_errorChildren:1}),Df._37(603979776,89,{_hintChildren:1}),Df._37(603979776,90,{_prefixChildren:1}),Df._37(603979776,91,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[85,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(24,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,92,{_control:0}),Df._37(335544320,93,{_placeholderChild:0}),Df._37(335544320,94,{_labelChild:0}),Df._37(603979776,95,{_errorChildren:1}),Df._37(603979776,96,{_hintChildren:1}),Df._37(603979776,97,{_prefixChildren:1}),Df._37(603979776,98,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(33,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","goods_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,38)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(35,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(37,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(38,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,99,{options:1}),Df._37(603979776,100,{optionGroups:1}),Df._37(335544320,101,{customTrigger:0}),Df._36(2048,[[92,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ur)),Df._17(45,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,$r)),Df._17(50,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(52,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(53,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,109,{_control:0}),Df._37(335544320,110,{_placeholderChild:0}),Df._37(335544320,111,{_labelChild:0}),Df._37(603979776,112,{_errorChildren:1}),Df._37(603979776,113,{_hintChildren:1}),Df._37(603979776,114,{_prefixChildren:1}),Df._37(603979776,115,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(62,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,63)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,64).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,64).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,64).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,69)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,2,l.parent.context.index)&&u}return u},null,null)),Df._17(63,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(64,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(66,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(68,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(69,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[109,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,6,1,null,Br)),Df._17(73,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"goods_quantity");l(n,19,0,"Estimated Quantity","number");l(n,35,0,"goods_uom");l(n,38,0,"Unit of Mearsurement");l(n,45,0,e.uomData);l(n,50,0,1==n.parent.context.$implicit.get("goods_uom").value);l(n,66,0,"goods_value");l(n,69,0,"Estimated Value of Stock Observed","number");l(n,73,0,""!=n.parent.context.$implicit.get("goods_value").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,23,1,[Df._32(n,24)._control.errorState,Df._32(n,24)._control.errorState,Df._32(n,24)._canLabelFloat,Df._32(n,24)._shouldLabelFloat(),Df._32(n,24)._hideControlPlaceholder(),Df._32(n,24)._control.disabled,Df._32(n,24)._control.focused,"primary"==Df._32(n,24).color,"accent"==Df._32(n,24).color,"warn"==Df._32(n,24).color,Df._32(n,24)._shouldForward("untouched"),Df._32(n,24)._shouldForward("touched"),Df._32(n,24)._shouldForward("pristine"),Df._32(n,24)._shouldForward("dirty"),Df._32(n,24)._shouldForward("valid"),Df._32(n,24)._shouldForward("invalid"),Df._32(n,24)._shouldForward("pending")]);l(n,33,1,[Df._32(n,37).ngClassUntouched,Df._32(n,37).ngClassTouched,Df._32(n,37).ngClassPristine,Df._32(n,37).ngClassDirty,Df._32(n,37).ngClassValid,Df._32(n,37).ngClassInvalid,Df._32(n,37).ngClassPending,Df._32(n,38).id,Df._32(n,38).tabIndex,Df._32(n,38)._ariaLabel,Df._32(n,38).ariaLabelledby,Df._32(n,38).required.toString(),Df._32(n,38).disabled.toString(),Df._32(n,38).errorState,Df._32(n,38).panelOpen?Df._32(n,38)._optionIds:null,Df._32(n,38).multiple,Df._32(n,38)._ariaDescribedby||null,Df._32(n,38)._getAriaActiveDescendant(),Df._32(n,38).disabled,Df._32(n,38).errorState,Df._32(n,38).required]);l(n,52,1,[Df._32(n,53)._control.errorState,Df._32(n,53)._control.errorState,Df._32(n,53)._canLabelFloat,Df._32(n,53)._shouldLabelFloat(),Df._32(n,53)._hideControlPlaceholder(),Df._32(n,53)._control.disabled,Df._32(n,53)._control.focused,"primary"==Df._32(n,53).color,"accent"==Df._32(n,53).color,"warn"==Df._32(n,53).color,Df._32(n,53)._shouldForward("untouched"),Df._32(n,53)._shouldForward("touched"),Df._32(n,53)._shouldForward("pristine"),Df._32(n,53)._shouldForward("dirty"),Df._32(n,53)._shouldForward("valid"),Df._32(n,53)._shouldForward("invalid"),Df._32(n,53)._shouldForward("pending")]);l(n,62,1,[Df._32(n,68).ngClassUntouched,Df._32(n,68).ngClassTouched,Df._32(n,68).ngClassPristine,Df._32(n,68).ngClassDirty,Df._32(n,68).ngClassValid,Df._32(n,68).ngClassInvalid,Df._32(n,68).ngClassPending,Df._32(n,69)._isServer,Df._32(n,69).id,Df._32(n,69).placeholder,Df._32(n,69).disabled,Df._32(n,69).required,Df._32(n,69).readonly,Df._32(n,69)._ariaDescribedby||null,Df._32(n,69).errorState,Df._32(n,69).required.toString()])})}function Kr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteGoods(l.parent.context.index,1)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Hr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addGoods(1)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Gr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,89,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.g,[],null,null),(l()(),Df._39(7,null,["Finished Goods #",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,56,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),Df._17(10,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(13,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,68,{_control:0}),Df._37(335544320,69,{_placeholderChild:0}),Df._37(335544320,70,{_labelChild:0}),Df._37(603979776,71,{_errorChildren:1}),Df._37(603979776,72,{_hintChildren:1}),Df._37(603979776,73,{_prefixChildren:1}),Df._37(603979776,74,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","goods_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,28)._onInput()&&u}return u},null,null)),Df._17(23,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(25,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(27,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(28,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[68,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(33,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,75,{_control:0}),Df._37(335544320,76,{_placeholderChild:0}),Df._37(335544320,77,{_labelChild:0}),Df._37(603979776,78,{_errorChildren:1}),Df._37(603979776,79,{_hintChildren:1}),Df._37(603979776,80,{_prefixChildren:1}),Df._37(603979776,81,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(42,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","goods_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,46)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,2,l.context.index)&&u}return u},TC.b,TC.a)),Df._17(43,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(45,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(46,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,82,{options:1}),Df._37(603979776,83,{optionGroups:1}),Df._37(335544320,84,{customTrigger:0}),Df._36(2048,[[75,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,54)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(54,8437760,[[82,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Add Stock Details"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,58)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(58,8437760,[[82,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No Stock Observed"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Mr)),Df._17(64,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(67,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(68,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(71,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,116,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(74,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(75,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Kr)),Df._17(78,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(81,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(82,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Hr)),Df._17(85,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"goods_name");l(n,28,0,"Name");l(n,43,0,"goods_observed");l(n,46,0,"Stock");l(n,54,0,"yes");l(n,58,0,"no");l(n,64,0,"yes"==n.context.$implicit.get("goods_observed").value);l(n,78,0,n.parent.context.$implicit.controls.manufacturing_finished_goods.controls.length>1);l(n,85,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[Df._32(n,13)._control.errorState,Df._32(n,13)._control.errorState,Df._32(n,13)._canLabelFloat,Df._32(n,13)._shouldLabelFloat(),Df._32(n,13)._hideControlPlaceholder(),Df._32(n,13)._control.disabled,Df._32(n,13)._control.focused,"primary"==Df._32(n,13).color,"accent"==Df._32(n,13).color,"warn"==Df._32(n,13).color,Df._32(n,13)._shouldForward("untouched"),Df._32(n,13)._shouldForward("touched"),Df._32(n,13)._shouldForward("pristine"),Df._32(n,13)._shouldForward("dirty"),Df._32(n,13)._shouldForward("valid"),Df._32(n,13)._shouldForward("invalid"),Df._32(n,13)._shouldForward("pending")]);l(n,22,1,[Df._32(n,27).ngClassUntouched,Df._32(n,27).ngClassTouched,Df._32(n,27).ngClassPristine,Df._32(n,27).ngClassDirty,Df._32(n,27).ngClassValid,Df._32(n,27).ngClassInvalid,Df._32(n,27).ngClassPending,Df._32(n,28)._isServer,Df._32(n,28).id,Df._32(n,28).placeholder,Df._32(n,28).disabled,Df._32(n,28).required,Df._32(n,28).readonly,Df._32(n,28)._ariaDescribedby||null,Df._32(n,28).errorState,Df._32(n,28).required.toString()]);l(n,32,1,[Df._32(n,33)._control.errorState,Df._32(n,33)._control.errorState,Df._32(n,33)._canLabelFloat,Df._32(n,33)._shouldLabelFloat(),Df._32(n,33)._hideControlPlaceholder(),Df._32(n,33)._control.disabled,Df._32(n,33)._control.focused,"primary"==Df._32(n,33).color,"accent"==Df._32(n,33).color,"warn"==Df._32(n,33).color,Df._32(n,33)._shouldForward("untouched"),Df._32(n,33)._shouldForward("touched"),Df._32(n,33)._shouldForward("pristine"),Df._32(n,33)._shouldForward("dirty"),Df._32(n,33)._shouldForward("valid"),Df._32(n,33)._shouldForward("invalid"),Df._32(n,33)._shouldForward("pending")]);l(n,42,1,[Df._32(n,45).ngClassUntouched,Df._32(n,45).ngClassTouched,Df._32(n,45).ngClassPristine,Df._32(n,45).ngClassDirty,Df._32(n,45).ngClassValid,Df._32(n,45).ngClassInvalid,Df._32(n,45).ngClassPending,Df._32(n,46).id,Df._32(n,46).tabIndex,Df._32(n,46)._ariaLabel,Df._32(n,46).ariaLabelledby,Df._32(n,46).required.toString(),Df._32(n,46).disabled.toString(),Df._32(n,46).errorState,Df._32(n,46).panelOpen?Df._32(n,46)._optionIds:null,Df._32(n,46).multiple,Df._32(n,46)._ariaDescribedby||null,Df._32(n,46)._getAriaActiveDescendant(),Df._32(n,46).disabled,Df._32(n,46).errorState,Df._32(n,46).required]);l(n,53,0,Df._32(n,54)._getTabIndex(),Df._32(n,54).selected,Df._32(n,54).multiple,Df._32(n,54).active,Df._32(n,54).id,Df._32(n,54).selected.toString(),Df._32(n,54).disabled.toString(),Df._32(n,54).disabled);l(n,57,0,Df._32(n,58)._getTabIndex(),Df._32(n,58).selected,Df._32(n,58).multiple,Df._32(n,58).active,Df._32(n,58).id,Df._32(n,58).selected.toString(),Df._32(n,58).disabled.toString(),Df._32(n,58).disabled);l(n,67,0,"end"===Df._32(n,68).align)})}function Yr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,27,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,7,"div",[["formArrayName","manufacturing_raw_materials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(8,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Wr)),Df._17(11,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Rr)),Df._17(15,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(19,0,null,null,7,"div",[["formArrayName","manufacturing_finished_goods"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(20,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(22,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Gr)),Df._17(25,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"manufacturing_raw_materials");l(n,11,0,n.context.$implicit.controls.manufacturing_raw_materials.controls);l(n,15,0,e.RMCommentCard);l(n,20,0,"manufacturing_finished_goods");l(n,25,0,n.context.$implicit.controls.manufacturing_finished_goods.controls)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,0,Df._32(n,8).ngClassUntouched,Df._32(n,8).ngClassTouched,Df._32(n,8).ngClassPristine,Df._32(n,8).ngClassDirty,Df._32(n,8).ngClassValid,Df._32(n,8).ngClassInvalid,Df._32(n,8).ngClassPending);l(n,19,0,Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending)})}function zr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Manufacturing Stock Details"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,7,"div",[["formArrayName","manufacturing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(9,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(11,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Yr)),Df._17(14,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"manufacturing_details");l(n,14,0,e.stockForm.controls.manufacturing_details.controls)},function(l,n){l(n,8,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending)})}function Qr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[148,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Jr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,151,{_control:0}),Df._37(335544320,152,{_placeholderChild:0}),Df._37(335544320,153,{_labelChild:0}),Df._37(603979776,154,{_errorChildren:1}),Df._37(603979776,155,{_hintChildren:1}),Df._37(603979776,156,{_prefixChildren:1}),Df._37(603979776,157,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[151,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"traded_goods_other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Xr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[162,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.R_tradedGoodsValueInWords[n.parent.parent.context.index])})}function Zr(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,76,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,134,{_control:0}),Df._37(335544320,135,{_placeholderChild:0}),Df._37(335544320,136,{_labelChild:0}),Df._37(603979776,137,{_errorChildren:1}),Df._37(603979776,138,{_hintChildren:1}),Df._37(603979776,139,{_prefixChildren:1}),Df._37(603979776,140,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[134,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(24,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,141,{_control:0}),Df._37(335544320,142,{_placeholderChild:0}),Df._37(335544320,143,{_labelChild:0}),Df._37(603979776,144,{_errorChildren:1}),Df._37(603979776,145,{_hintChildren:1}),Df._37(603979776,146,{_prefixChildren:1}),Df._37(603979776,147,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(33,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","traded_goods_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,38)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(35,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(37,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(38,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,148,{options:1}),Df._37(603979776,149,{optionGroups:1}),Df._37(335544320,150,{customTrigger:0}),Df._36(2048,[[141,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Qr)),Df._17(45,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Jr)),Df._17(50,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(52,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(53,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,158,{_control:0}),Df._37(335544320,159,{_placeholderChild:0}),Df._37(335544320,160,{_labelChild:0}),Df._37(603979776,161,{_errorChildren:1}),Df._37(603979776,162,{_hintChildren:1}),Df._37(603979776,163,{_prefixChildren:1}),Df._37(603979776,164,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(62,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimated_traded_goods_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,63)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,64).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,64).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,64).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,69)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,3,l.parent.context.index)&&u}return u},null,null)),Df._17(63,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(64,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(66,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(68,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(69,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[158,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,6,1,null,Xr)),Df._17(73,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"traded_goods_quantity");l(n,19,0,"Estimated Quantity","number");l(n,35,0,"traded_goods_uom");l(n,38,0,"Unit of Mearsurement");l(n,45,0,e.uomData);l(n,50,0,1==n.parent.context.$implicit.get("traded_goods_uom").value);l(n,66,0,"estimated_traded_goods_value");l(n,69,0,"Estimated Value of Stock Observed","number");l(n,73,0,""!=n.parent.context.$implicit.get("estimated_traded_goods_value").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,23,1,[Df._32(n,24)._control.errorState,Df._32(n,24)._control.errorState,Df._32(n,24)._canLabelFloat,Df._32(n,24)._shouldLabelFloat(),Df._32(n,24)._hideControlPlaceholder(),Df._32(n,24)._control.disabled,Df._32(n,24)._control.focused,"primary"==Df._32(n,24).color,"accent"==Df._32(n,24).color,"warn"==Df._32(n,24).color,Df._32(n,24)._shouldForward("untouched"),Df._32(n,24)._shouldForward("touched"),Df._32(n,24)._shouldForward("pristine"),Df._32(n,24)._shouldForward("dirty"),Df._32(n,24)._shouldForward("valid"),Df._32(n,24)._shouldForward("invalid"),Df._32(n,24)._shouldForward("pending")]);l(n,33,1,[Df._32(n,37).ngClassUntouched,Df._32(n,37).ngClassTouched,Df._32(n,37).ngClassPristine,Df._32(n,37).ngClassDirty,Df._32(n,37).ngClassValid,Df._32(n,37).ngClassInvalid,Df._32(n,37).ngClassPending,Df._32(n,38).id,Df._32(n,38).tabIndex,Df._32(n,38)._ariaLabel,Df._32(n,38).ariaLabelledby,Df._32(n,38).required.toString(),Df._32(n,38).disabled.toString(),Df._32(n,38).errorState,Df._32(n,38).panelOpen?Df._32(n,38)._optionIds:null,Df._32(n,38).multiple,Df._32(n,38)._ariaDescribedby||null,Df._32(n,38)._getAriaActiveDescendant(),Df._32(n,38).disabled,Df._32(n,38).errorState,Df._32(n,38).required]);l(n,52,1,[Df._32(n,53)._control.errorState,Df._32(n,53)._control.errorState,Df._32(n,53)._canLabelFloat,Df._32(n,53)._shouldLabelFloat(),Df._32(n,53)._hideControlPlaceholder(),Df._32(n,53)._control.disabled,Df._32(n,53)._control.focused,"primary"==Df._32(n,53).color,"accent"==Df._32(n,53).color,"warn"==Df._32(n,53).color,Df._32(n,53)._shouldForward("untouched"),Df._32(n,53)._shouldForward("touched"),Df._32(n,53)._shouldForward("pristine"),Df._32(n,53)._shouldForward("dirty"),Df._32(n,53)._shouldForward("valid"),Df._32(n,53)._shouldForward("invalid"),Df._32(n,53)._shouldForward("pending")]);l(n,62,1,[Df._32(n,68).ngClassUntouched,Df._32(n,68).ngClassTouched,Df._32(n,68).ngClassPristine,Df._32(n,68).ngClassDirty,Df._32(n,68).ngClassValid,Df._32(n,68).ngClassInvalid,Df._32(n,68).ngClassPending,Df._32(n,69)._isServer,Df._32(n,69).id,Df._32(n,69).placeholder,Df._32(n,69).disabled,Df._32(n,69).required,Df._32(n,69).readonly,Df._32(n,69)._ariaDescribedby||null,Df._32(n,69).errorState,Df._32(n,69).required.toString()])})}function l_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteTradedGoods(l.parent.context.index,1)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function n_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addTradedGoods(1)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function e_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,89,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.g,[],null,null),(l()(),Df._39(7,null,["Traded Goods #",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,56,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),Df._17(10,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(13,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,117,{_control:0}),Df._37(335544320,118,{_placeholderChild:0}),Df._37(335544320,119,{_labelChild:0}),Df._37(603979776,120,{_errorChildren:1}),Df._37(603979776,121,{_hintChildren:1}),Df._37(603979776,122,{_prefixChildren:1}),Df._37(603979776,123,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,28)._onInput()&&u}return u},null,null)),Df._17(23,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(25,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(27,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(28,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[117,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(33,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,124,{_control:0}),Df._37(335544320,125,{_placeholderChild:0}),Df._37(335544320,126,{_labelChild:0}),Df._37(603979776,127,{_errorChildren:1}),Df._37(603979776,128,{_hintChildren:1}),Df._37(603979776,129,{_prefixChildren:1}),Df._37(603979776,130,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(42,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","traded_goods_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,46)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,3,l.context.index)&&u}return u},TC.b,TC.a)),Df._17(43,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(45,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(46,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,131,{options:1}),Df._37(603979776,132,{optionGroups:1}),Df._37(335544320,133,{customTrigger:0}),Df._36(2048,[[124,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,54)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(54,8437760,[[131,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Add Stock Details"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,58)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(58,8437760,[[131,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No Stock Observed"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Zr)),Df._17(64,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(67,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(68,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(71,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,165,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(74,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(75,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,l_)),Df._17(78,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(81,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(82,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,n_)),Df._17(85,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"traded_goods_name");l(n,28,0,"Name");l(n,43,0,"traded_goods_observed");l(n,46,0,"Stock");l(n,54,0,"yes");l(n,58,0,"no");l(n,64,0,"yes"==n.context.$implicit.get("traded_goods_observed").value);l(n,78,0,n.parent.context.$implicit.controls.retail_traded_goods.controls.length>1);l(n,85,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[Df._32(n,13)._control.errorState,Df._32(n,13)._control.errorState,Df._32(n,13)._canLabelFloat,Df._32(n,13)._shouldLabelFloat(),Df._32(n,13)._hideControlPlaceholder(),Df._32(n,13)._control.disabled,Df._32(n,13)._control.focused,"primary"==Df._32(n,13).color,"accent"==Df._32(n,13).color,"warn"==Df._32(n,13).color,Df._32(n,13)._shouldForward("untouched"),Df._32(n,13)._shouldForward("touched"),Df._32(n,13)._shouldForward("pristine"),Df._32(n,13)._shouldForward("dirty"),Df._32(n,13)._shouldForward("valid"),Df._32(n,13)._shouldForward("invalid"),Df._32(n,13)._shouldForward("pending")]);l(n,22,1,[Df._32(n,27).ngClassUntouched,Df._32(n,27).ngClassTouched,Df._32(n,27).ngClassPristine,Df._32(n,27).ngClassDirty,Df._32(n,27).ngClassValid,Df._32(n,27).ngClassInvalid,Df._32(n,27).ngClassPending,Df._32(n,28)._isServer,Df._32(n,28).id,Df._32(n,28).placeholder,Df._32(n,28).disabled,Df._32(n,28).required,Df._32(n,28).readonly,Df._32(n,28)._ariaDescribedby||null,Df._32(n,28).errorState,Df._32(n,28).required.toString()]);l(n,32,1,[Df._32(n,33)._control.errorState,Df._32(n,33)._control.errorState,Df._32(n,33)._canLabelFloat,Df._32(n,33)._shouldLabelFloat(),Df._32(n,33)._hideControlPlaceholder(),Df._32(n,33)._control.disabled,Df._32(n,33)._control.focused,"primary"==Df._32(n,33).color,"accent"==Df._32(n,33).color,"warn"==Df._32(n,33).color,Df._32(n,33)._shouldForward("untouched"),Df._32(n,33)._shouldForward("touched"),Df._32(n,33)._shouldForward("pristine"),Df._32(n,33)._shouldForward("dirty"),Df._32(n,33)._shouldForward("valid"),Df._32(n,33)._shouldForward("invalid"),Df._32(n,33)._shouldForward("pending")]);l(n,42,1,[Df._32(n,45).ngClassUntouched,Df._32(n,45).ngClassTouched,Df._32(n,45).ngClassPristine,Df._32(n,45).ngClassDirty,Df._32(n,45).ngClassValid,Df._32(n,45).ngClassInvalid,Df._32(n,45).ngClassPending,Df._32(n,46).id,Df._32(n,46).tabIndex,Df._32(n,46)._ariaLabel,Df._32(n,46).ariaLabelledby,Df._32(n,46).required.toString(),Df._32(n,46).disabled.toString(),Df._32(n,46).errorState,Df._32(n,46).panelOpen?Df._32(n,46)._optionIds:null,Df._32(n,46).multiple,Df._32(n,46)._ariaDescribedby||null,Df._32(n,46)._getAriaActiveDescendant(),Df._32(n,46).disabled,Df._32(n,46).errorState,Df._32(n,46).required]);l(n,53,0,Df._32(n,54)._getTabIndex(),Df._32(n,54).selected,Df._32(n,54).multiple,Df._32(n,54).active,Df._32(n,54).id,Df._32(n,54).selected.toString(),Df._32(n,54).disabled.toString(),Df._32(n,54).disabled);l(n,57,0,Df._32(n,58)._getTabIndex(),Df._32(n,58).selected,Df._32(n,58).multiple,Df._32(n,58).active,Df._32(n,58).id,Df._32(n,58).selected.toString(),Df._32(n,58).disabled.toString(),Df._32(n,58).disabled);l(n,67,0,"end"===Df._32(n,68).align)})}function u_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,13,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,7,"div",[["formArrayName","retail_traded_goods"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(8,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,e_)),Df._17(11,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"retail_traded_goods");l(n,11,0,n.context.$implicit.controls.retail_traded_goods.controls)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,0,Df._32(n,8).ngClassUntouched,Df._32(n,8).ngClassTouched,Df._32(n,8).ngClassPristine,Df._32(n,8).ngClassDirty,Df._32(n,8).ngClassValid,Df._32(n,8).ngClassInvalid,Df._32(n,8).ngClassPending)})}function t_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Retail Trading Details"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,7,"div",[["formArrayName","retail_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(9,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(11,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,u_)),Df._17(14,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"retail_details");l(n,14,0,e.stockForm.controls.retail_details.controls)},function(l,n){l(n,8,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending)})}function a_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[197,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,Df._21(1,"",n.context.$implicit.uom_id,""))},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function i_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,200,{_control:0}),Df._37(335544320,201,{_placeholderChild:0}),Df._37(335544320,202,{_labelChild:0}),Df._37(603979776,203,{_errorChildren:1}),Df._37(603979776,204,{_hintChildren:1}),Df._37(603979776,205,{_prefixChildren:1}),Df._37(603979776,206,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_other_uom"],["matInput",""],["placeholder","Specify UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[200,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"traded_goods_other_uom");l(n,16,0,"Specify UOM")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function o_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","start"],["class","mat-hint"],["style","font-size:70%"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[211,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"start")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.T_tradedGoodsValueInWords[n.parent.parent.context.index])})}function r_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,76,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,183,{_control:0}),Df._37(335544320,184,{_placeholderChild:0}),Df._37(335544320,185,{_labelChild:0}),Df._37(603979776,186,{_errorChildren:1}),Df._37(603979776,187,{_hintChildren:1}),Df._37(603979776,188,{_prefixChildren:1}),Df._37(603979776,189,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_quantity"],["matInput",""],["placeholder","Estimated Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[183,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(24,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,190,{_control:0}),Df._37(335544320,191,{_placeholderChild:0}),Df._37(335544320,192,{_labelChild:0}),Df._37(603979776,193,{_errorChildren:1}),Df._37(603979776,194,{_hintChildren:1}),Df._37(603979776,195,{_prefixChildren:1}),Df._37(603979776,196,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(33,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","traded_goods_uom"],["placeholder","Unit of Mearsurement"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,38)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(35,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(37,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(38,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,197,{options:1}),Df._37(603979776,198,{optionGroups:1}),Df._37(335544320,199,{customTrigger:0}),Df._36(2048,[[190,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,a_)),Df._17(45,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,i_)),Df._17(50,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(52,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(53,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,207,{_control:0}),Df._37(335544320,208,{_placeholderChild:0}),Df._37(335544320,209,{_labelChild:0}),Df._37(603979776,210,{_errorChildren:1}),Df._37(603979776,211,{_hintChildren:1}),Df._37(603979776,212,{_prefixChildren:1}),Df._37(603979776,213,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(62,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","estimated_traded_goods_value"],["matInput",""],["placeholder","Estimated Value of Stock Observed"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,63)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,64).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,64).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,64).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,69)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,69)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,69)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,4,l.parent.context.index)&&u}return u},null,null)),Df._17(63,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(64,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(66,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(68,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(69,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[207,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,6,1,null,o_)),Df._17(73,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"traded_goods_quantity");l(n,19,0,"Estimated Quantity","number");l(n,35,0,"traded_goods_uom");l(n,38,0,"Unit of Mearsurement");l(n,45,0,e.uomData);l(n,50,0,1==n.parent.context.$implicit.get("traded_goods_uom").value);l(n,66,0,"estimated_traded_goods_value");l(n,69,0,"Estimated Value of Stock Observed","number");l(n,73,0,""!=n.parent.context.$implicit.get("estimated_traded_goods_value").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,23,1,[Df._32(n,24)._control.errorState,Df._32(n,24)._control.errorState,Df._32(n,24)._canLabelFloat,Df._32(n,24)._shouldLabelFloat(),Df._32(n,24)._hideControlPlaceholder(),Df._32(n,24)._control.disabled,Df._32(n,24)._control.focused,"primary"==Df._32(n,24).color,"accent"==Df._32(n,24).color,"warn"==Df._32(n,24).color,Df._32(n,24)._shouldForward("untouched"),Df._32(n,24)._shouldForward("touched"),Df._32(n,24)._shouldForward("pristine"),Df._32(n,24)._shouldForward("dirty"),Df._32(n,24)._shouldForward("valid"),Df._32(n,24)._shouldForward("invalid"),Df._32(n,24)._shouldForward("pending")]);l(n,33,1,[Df._32(n,37).ngClassUntouched,Df._32(n,37).ngClassTouched,Df._32(n,37).ngClassPristine,Df._32(n,37).ngClassDirty,Df._32(n,37).ngClassValid,Df._32(n,37).ngClassInvalid,Df._32(n,37).ngClassPending,Df._32(n,38).id,Df._32(n,38).tabIndex,Df._32(n,38)._ariaLabel,Df._32(n,38).ariaLabelledby,Df._32(n,38).required.toString(),Df._32(n,38).disabled.toString(),Df._32(n,38).errorState,Df._32(n,38).panelOpen?Df._32(n,38)._optionIds:null,Df._32(n,38).multiple,Df._32(n,38)._ariaDescribedby||null,Df._32(n,38)._getAriaActiveDescendant(),Df._32(n,38).disabled,Df._32(n,38).errorState,Df._32(n,38).required]);l(n,52,1,[Df._32(n,53)._control.errorState,Df._32(n,53)._control.errorState,Df._32(n,53)._canLabelFloat,Df._32(n,53)._shouldLabelFloat(),Df._32(n,53)._hideControlPlaceholder(),Df._32(n,53)._control.disabled,Df._32(n,53)._control.focused,"primary"==Df._32(n,53).color,"accent"==Df._32(n,53).color,"warn"==Df._32(n,53).color,Df._32(n,53)._shouldForward("untouched"),Df._32(n,53)._shouldForward("touched"),Df._32(n,53)._shouldForward("pristine"),Df._32(n,53)._shouldForward("dirty"),Df._32(n,53)._shouldForward("valid"),Df._32(n,53)._shouldForward("invalid"),Df._32(n,53)._shouldForward("pending")]);l(n,62,1,[Df._32(n,68).ngClassUntouched,Df._32(n,68).ngClassTouched,Df._32(n,68).ngClassPristine,Df._32(n,68).ngClassDirty,Df._32(n,68).ngClassValid,Df._32(n,68).ngClassInvalid,Df._32(n,68).ngClassPending,Df._32(n,69)._isServer,Df._32(n,69).id,Df._32(n,69).placeholder,Df._32(n,69).disabled,Df._32(n,69).required,Df._32(n,69).readonly,Df._32(n,69)._ariaDescribedby||null,Df._32(n,69).errorState,Df._32(n,69).required.toString()])})}function __(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteTradedGoods(l.parent.context.index,2)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function d_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addTradedGoods(2)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function s_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,89,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.g,[],null,null),(l()(),Df._39(7,null,["Traded Goods #",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,56,"mat-card-content",[["class","matcard mat-card-content"]],null,null,null,null,null)),Df._17(10,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(13,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,166,{_control:0}),Df._37(335544320,167,{_placeholderChild:0}),Df._37(335544320,168,{_labelChild:0}),Df._37(603979776,169,{_errorChildren:1}),Df._37(603979776,170,{_hintChildren:1}),Df._37(603979776,171,{_prefixChildren:1}),Df._37(603979776,172,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(22,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","traded_goods_name"],["matInput",""],["placeholder","Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,28)._onInput()&&u}return u},null,null)),Df._17(23,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(25,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(27,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(28,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[166,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(33,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,173,{_control:0}),Df._37(335544320,174,{_placeholderChild:0}),Df._37(335544320,175,{_labelChild:0}),Df._37(603979776,176,{_errorChildren:1}),Df._37(603979776,177,{_hintChildren:1}),Df._37(603979776,178,{_prefixChildren:1}),Df._37(603979776,179,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(42,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","traded_goods_observed"],["placeholder","Stock"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,46)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkComments(e.value,4,l.context.index)&&u}return u},TC.b,TC.a)),Df._17(43,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(45,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(46,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,180,{options:1}),Df._37(603979776,181,{optionGroups:1}),Df._37(335544320,182,{customTrigger:0}),Df._36(2048,[[173,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,54)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(54,8437760,[[180,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Add Stock Details"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,58)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(58,8437760,[[180,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No stock observed"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,r_)),Df._17(64,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(67,0,null,null,21,"mat-card-actions",[["class","mat-card-actions"]],[[2,"mat-card-actions-align-end",null]],null,null,null,null)),Df._17(68,16384,null,0,sy.b,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(71,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,214,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(74,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(75,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,__)),Df._17(78,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(81,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(82,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,d_)),Df._17(85,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"traded_goods_name");l(n,28,0,"Name");l(n,43,0,"traded_goods_observed");l(n,46,0,"Stock");l(n,54,0,"yes");l(n,58,0,"no");l(n,64,0,"yes"==n.context.$implicit.get("traded_goods_observed").value);l(n,78,0,n.parent.context.$implicit.controls.trading_traded_goods.controls.length>1);l(n,85,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,12,1,[Df._32(n,13)._control.errorState,Df._32(n,13)._control.errorState,Df._32(n,13)._canLabelFloat,Df._32(n,13)._shouldLabelFloat(),Df._32(n,13)._hideControlPlaceholder(),Df._32(n,13)._control.disabled,Df._32(n,13)._control.focused,"primary"==Df._32(n,13).color,"accent"==Df._32(n,13).color,"warn"==Df._32(n,13).color,Df._32(n,13)._shouldForward("untouched"),Df._32(n,13)._shouldForward("touched"),Df._32(n,13)._shouldForward("pristine"),Df._32(n,13)._shouldForward("dirty"),Df._32(n,13)._shouldForward("valid"),Df._32(n,13)._shouldForward("invalid"),Df._32(n,13)._shouldForward("pending")]);l(n,22,1,[Df._32(n,27).ngClassUntouched,Df._32(n,27).ngClassTouched,Df._32(n,27).ngClassPristine,Df._32(n,27).ngClassDirty,Df._32(n,27).ngClassValid,Df._32(n,27).ngClassInvalid,Df._32(n,27).ngClassPending,Df._32(n,28)._isServer,Df._32(n,28).id,Df._32(n,28).placeholder,Df._32(n,28).disabled,Df._32(n,28).required,Df._32(n,28).readonly,Df._32(n,28)._ariaDescribedby||null,Df._32(n,28).errorState,Df._32(n,28).required.toString()]);l(n,32,1,[Df._32(n,33)._control.errorState,Df._32(n,33)._control.errorState,Df._32(n,33)._canLabelFloat,Df._32(n,33)._shouldLabelFloat(),Df._32(n,33)._hideControlPlaceholder(),Df._32(n,33)._control.disabled,Df._32(n,33)._control.focused,"primary"==Df._32(n,33).color,"accent"==Df._32(n,33).color,"warn"==Df._32(n,33).color,Df._32(n,33)._shouldForward("untouched"),Df._32(n,33)._shouldForward("touched"),Df._32(n,33)._shouldForward("pristine"),Df._32(n,33)._shouldForward("dirty"),Df._32(n,33)._shouldForward("valid"),Df._32(n,33)._shouldForward("invalid"),Df._32(n,33)._shouldForward("pending")]);l(n,42,1,[Df._32(n,45).ngClassUntouched,Df._32(n,45).ngClassTouched,Df._32(n,45).ngClassPristine,Df._32(n,45).ngClassDirty,Df._32(n,45).ngClassValid,Df._32(n,45).ngClassInvalid,Df._32(n,45).ngClassPending,Df._32(n,46).id,Df._32(n,46).tabIndex,Df._32(n,46)._ariaLabel,Df._32(n,46).ariaLabelledby,Df._32(n,46).required.toString(),Df._32(n,46).disabled.toString(),Df._32(n,46).errorState,Df._32(n,46).panelOpen?Df._32(n,46)._optionIds:null,Df._32(n,46).multiple,Df._32(n,46)._ariaDescribedby||null,Df._32(n,46)._getAriaActiveDescendant(),Df._32(n,46).disabled,Df._32(n,46).errorState,Df._32(n,46).required]);l(n,53,0,Df._32(n,54)._getTabIndex(),Df._32(n,54).selected,Df._32(n,54).multiple,Df._32(n,54).active,Df._32(n,54).id,Df._32(n,54).selected.toString(),Df._32(n,54).disabled.toString(),Df._32(n,54).disabled);l(n,57,0,Df._32(n,58)._getTabIndex(),Df._32(n,58).selected,Df._32(n,58).multiple,Df._32(n,58).active,Df._32(n,58).id,Df._32(n,58).selected.toString(),Df._32(n,58).disabled.toString(),Df._32(n,58).disabled);l(n,67,0,"end"===Df._32(n,68).align)})}function c_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,13,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,7,"div",[["formArrayName","trading_traded_goods"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(8,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,s_)),Df._17(11,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,6,0,"trading_traded_goods");l(n,11,0,n.context.$implicit.controls.trading_traded_goods.controls)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,0,Df._32(n,8).ngClassUntouched,Df._32(n,8).ngClassTouched,Df._32(n,8).ngClassPristine,Df._32(n,8).ngClassDirty,Df._32(n,8).ngClassValid,Df._32(n,8).ngClassInvalid,Df._32(n,8).ngClassPending)})}function m_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,15,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(3,16384,null,0,sy.h,[],null,null),(l()(),Df._18(4,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Wholesale Trading Details"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,7,"div",[["formArrayName","trade_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(8,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(10,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,c_)),Df._17(13,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,8,0,"trade_details");l(n,13,0,e.stockForm.controls.trade_details.controls)},function(l,n){l(n,7,0,Df._32(n,10).ngClassUntouched,Df._32(n,10).ngClassTouched,Df._32(n,10).ngClassPristine,Df._32(n,10).ngClassDirty,Df._32(n,10).ngClassValid,Df._32(n,10).ngClassInvalid,Df._32(n,10).ngClassPending)})}function p_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,225,{_control:0}),Df._37(335544320,226,{_placeholderChild:0}),Df._37(335544320,227,{_labelChild:0}),Df._37(603979776,228,{_errorChildren:1}),Df._37(603979776,229,{_hintChildren:1}),Df._37(603979776,230,{_prefixChildren:1}),Df._37(603979776,231,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,3,5,"mat-label",[],null,null,null,null,null)),Df._17(11,16384,[[227,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,[" "])),(l()(),Df._18(13,0,null,null,1,"i",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Please comment on the stock level observed?"])),(l()(),Df._39(-1,null,[" "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(17,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","finished_and_traded_goods_remarks"],["matInput",""],["placeholder","Please comment on the stock level observed"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}return u},null,null)),Df._17(18,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[225,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,20,0,"finished_and_traded_goods_remarks");l(n,23,0,"Please comment on the stock level observed")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,17,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()])})}function f_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,46,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,38,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(5,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,215,{_control:0}),Df._37(335544320,216,{_placeholderChild:0}),Df._37(335544320,217,{_labelChild:0}),Df._37(603979776,218,{_errorChildren:1}),Df._37(603979776,219,{_hintChildren:1}),Df._37(603979776,220,{_prefixChildren:1}),Df._37(603979776,221,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(14,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),Df._17(15,16384,[[216,4]],0,fy.g,[],null,null),(l()(),Df._39(-1,null,["Is the stock of finished / traded goods observed, sufficient considering the size of operations"])),(l()(),Df._18(17,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","is_sufficiant_finished_and_traded_goods"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,23)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],null,null),Df._37(603979776,222,{options:1}),Df._37(603979776,223,{optionGroups:1}),Df._37(335544320,224,{customTrigger:0}),Df._36(2048,[[215,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,31)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(31,8437760,[[222,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(34,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,35)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,35)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(35,8437760,[[222,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(38,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,39)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,39)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(39,8437760,[[222,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,p_)),Df._17(45,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,20,0,"is_sufficiant_finished_and_traded_goods"),l(n,23,0);l(n,35,0,"yes");l(n,39,0,"no");l(n,45,0,"no"==e.stockForm.controls.is_sufficiant_finished_and_traded_goods.value)},function(l,n){l(n,4,1,[Df._32(n,5)._control.errorState,Df._32(n,5)._control.errorState,Df._32(n,5)._canLabelFloat,Df._32(n,5)._shouldLabelFloat(),Df._32(n,5)._hideControlPlaceholder(),Df._32(n,5)._control.disabled,Df._32(n,5)._control.focused,"primary"==Df._32(n,5).color,"accent"==Df._32(n,5).color,"warn"==Df._32(n,5).color,Df._32(n,5)._shouldForward("untouched"),Df._32(n,5)._shouldForward("touched"),Df._32(n,5)._shouldForward("pristine"),Df._32(n,5)._shouldForward("dirty"),Df._32(n,5)._shouldForward("valid"),Df._32(n,5)._shouldForward("invalid"),Df._32(n,5)._shouldForward("pending")]);l(n,19,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23).id,Df._32(n,23).tabIndex,Df._32(n,23)._ariaLabel,Df._32(n,23).ariaLabelledby,Df._32(n,23).required.toString(),Df._32(n,23).disabled.toString(),Df._32(n,23).errorState,Df._32(n,23).panelOpen?Df._32(n,23)._optionIds:null,Df._32(n,23).multiple,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23)._getAriaActiveDescendant(),Df._32(n,23).disabled,Df._32(n,23).errorState,Df._32(n,23).required]);l(n,30,0,Df._32(n,31)._getTabIndex(),Df._32(n,31).selected,Df._32(n,31).multiple,Df._32(n,31).active,Df._32(n,31).id,Df._32(n,31).selected.toString(),Df._32(n,31).disabled.toString(),Df._32(n,31).disabled);l(n,34,0,Df._32(n,35)._getTabIndex(),Df._32(n,35).selected,Df._32(n,35).multiple,Df._32(n,35).active,Df._32(n,35).id,Df._32(n,35).selected.toString(),Df._32(n,35).disabled.toString(),Df._32(n,35).disabled);l(n,38,0,Df._32(n,39)._getTabIndex(),Df._32(n,39).selected,Df._32(n,39).multiple,Df._32(n,39).active,Df._32(n,39).id,Df._32(n,39).selected.toString(),Df._32(n,39).disabled.toString(),Df._32(n,39).disabled)})}function h_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,m_)),Df._17(4,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,f_)),Df._17(7,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.tradingForm);l(n,7,0,e.TGCommentCard)},null)}function g_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Service Provider Details"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,1,"div",[["style","text-align: center; margin: 12px;"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["Service Provider Details Not applicable here !!"])),(l()(),Df._39(-1,0,["\n "]))],null,null)}function b_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,63,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,60,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,4).onReset()&&u}return u},null,null)),Df._17(3,16384,null,0,Jf.B,[],null,null),Df._17(4,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,53,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,zr)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,t_)),Df._17(14,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,h_)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,g_)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(23,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(25,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(26,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,232,{_control:0}),Df._37(335544320,233,{_placeholderChild:0}),Df._37(335544320,234,{_labelChild:0}),Df._37(603979776,235,{_errorChildren:1}),Df._37(603979776,236,{_hintChildren:1}),Df._37(603979776,237,{_prefixChildren:1}),Df._37(603979776,238,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(35,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(36,16384,[[234,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(39,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","stock_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,40)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,45)._onInput()&&u}return u},null,null)),Df._17(40,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(42,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(44,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(45,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[232,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,10,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Df._17(51,16384,null,0,xy.e,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(53,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(54,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(56,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveStockInfo(t.stockForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(57,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.stockForm);l(n,11,0,e.manufacturingForm);l(n,14,0,e.retailForm);l(n,17,0,e.tradingForm||e.TGCommentCard);l(n,20,0,e.serviceProviderForm);l(n,42,0,"stock_remarks");l(n,45,0,"Remarks");l(n,57,0,"optblue","")},function(l,n){l(n,2,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending);l(n,25,1,[Df._32(n,26)._control.errorState,Df._32(n,26)._control.errorState,Df._32(n,26)._canLabelFloat,Df._32(n,26)._shouldLabelFloat(),Df._32(n,26)._hideControlPlaceholder(),Df._32(n,26)._control.disabled,Df._32(n,26)._control.focused,"primary"==Df._32(n,26).color,"accent"==Df._32(n,26).color,"warn"==Df._32(n,26).color,Df._32(n,26)._shouldForward("untouched"),Df._32(n,26)._shouldForward("touched"),Df._32(n,26)._shouldForward("pristine"),Df._32(n,26)._shouldForward("dirty"),Df._32(n,26)._shouldForward("valid"),Df._32(n,26)._shouldForward("invalid"),Df._32(n,26)._shouldForward("pending")]);l(n,39,1,[Df._32(n,44).ngClassUntouched,Df._32(n,44).ngClassTouched,Df._32(n,44).ngClassPristine,Df._32(n,44).ngClassDirty,Df._32(n,44).ngClassValid,Df._32(n,44).ngClassInvalid,Df._32(n,44).ngClassPending,Df._32(n,45)._isServer,Df._32(n,45).id,Df._32(n,45).placeholder,Df._32(n,45).disabled,Df._32(n,45).required,Df._32(n,45).readonly,Df._32(n,45)._ariaDescribedby||null,Df._32(n,45).errorState,Df._32(n,45).required.toString()])})}function v_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),Df._39(3,null,[" "," "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){l(n,3,0,n.component.errorMessage)})}function y_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,v_)),Df._17(4,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,4,0,!n.component.noRecordsFound)},null)}function C_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,y_)),Df._17(3,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,!n.component.noRecordsFound)},null)}function w_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(16,0,null,3,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(17,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(18,0,["",""])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(22,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,b_)),Df._17(26,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,C_)),Df._17(29,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,26,0,e.noRecordsFound);l(n,29,0,!e.noRecordsFound)},function(l,n){var e=n.component;l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,18,0,e.formDetails.form_name);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher)})}function F_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formDetails.form_name)})}function x_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function S_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function I_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[43,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function q_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,46,{_control:0}),Df._37(335544320,47,{_placeholderChild:0}),Df._37(335544320,48,{_labelChild:0}),Df._37(603979776,49,{_errorChildren:1}),Df._37(603979776,50,{_hintChildren:1}),Df._37(603979776,51,{_prefixChildren:1}),Df._37(603979776,52,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[46,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function k_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[81,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function P_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),Df._17(3,16384,null,0,fy.f,[],null,null),(l()(),Df._39(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(7,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,94,{_control:0}),Df._37(335544320,95,{_placeholderChild:0}),Df._37(335544320,96,{_labelChild:0}),Df._37(603979776,97,{_errorChildren:1}),Df._37(603979776,98,{_hintChildren:1}),Df._37(603979776,99,{_prefixChildren:1}),Df._37(603979776,100,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}return u},null,null)),Df._17(17,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(18,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[94,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(28,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,101,{_control:0}),Df._37(335544320,102,{_placeholderChild:0}),Df._37(335544320,103,{_labelChild:0}),Df._37(603979776,104,{_errorChildren:1}),Df._37(603979776,105,{_hintChildren:1}),Df._37(603979776,106,{_prefixChildren:1}),Df._37(603979776,107,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,44)._onInput()&&u}return u},null,null)),Df._17(38,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(39,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(41,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(43,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(44,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[101,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"manufacturing_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"manufacturing_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[Df._32(n,7)._control.errorState,Df._32(n,7)._control.errorState,Df._32(n,7)._canLabelFloat,Df._32(n,7)._shouldLabelFloat(),Df._32(n,7)._hideControlPlaceholder(),Df._32(n,7)._control.disabled,Df._32(n,7)._control.focused,"primary"==Df._32(n,7).color,"accent"==Df._32(n,7).color,"warn"==Df._32(n,7).color,Df._32(n,7)._shouldForward("untouched"),Df._32(n,7)._shouldForward("touched"),Df._32(n,7)._shouldForward("pristine"),Df._32(n,7)._shouldForward("dirty"),Df._32(n,7)._shouldForward("valid"),Df._32(n,7)._shouldForward("invalid"),Df._32(n,7)._shouldForward("pending")]);l(n,16,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()]);l(n,27,1,[Df._32(n,28)._control.errorState,Df._32(n,28)._control.errorState,Df._32(n,28)._canLabelFloat,Df._32(n,28)._shouldLabelFloat(),Df._32(n,28)._hideControlPlaceholder(),Df._32(n,28)._control.disabled,Df._32(n,28)._control.focused,"primary"==Df._32(n,28).color,"accent"==Df._32(n,28).color,"warn"==Df._32(n,28).color,Df._32(n,28)._shouldForward("untouched"),Df._32(n,28)._shouldForward("touched"),Df._32(n,28)._shouldForward("pristine"),Df._32(n,28)._shouldForward("dirty"),Df._32(n,28)._shouldForward("valid"),Df._32(n,28)._shouldForward("invalid"),Df._32(n,28)._shouldForward("pending")]);l(n,37,1,[Df._32(n,43).ngClassUntouched,Df._32(n,43).ngClassTouched,Df._32(n,43).ngClassPristine,Df._32(n,43).ngClassDirty,Df._32(n,43).ngClassValid,Df._32(n,43).ngClassInvalid,Df._32(n,43).ngClassPending,Df._32(n,44)._isServer,Df._32(n,44).id,Df._32(n,44).placeholder,Df._32(n,44).disabled,Df._32(n,44).required,Df._32(n,44).readonly,Df._32(n,44)._ariaDescribedby||null,Df._32(n,44).errorState,Df._32(n,44).required.toString()])})}function D_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRawMaterials(l.parent.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function T_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoreRawMaterials(e);u=!1}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function O_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,298,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.g,[],null,null),(l()(),Df._39(7,null,["Product #",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,288,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(10,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,265,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(15,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","manufacturing_product_name"],["placeholder","Manufacturing Product Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,29)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(26,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(28,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(29,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,x_)),Df._17(36,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(40,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(41,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(50,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_client_name"],["matInput",""],["placeholder","Client Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,56)._onInput()&&u}return u},null,null)),Df._17(51,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(53,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(55,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(56,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[12,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(60,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(61,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(70,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,75)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(72,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(74,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(75,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,26,{options:1}),Df._37(603979776,27,{optionGroups:1}),Df._37(335544320,28,{customTrigger:0}),Df._36(2048,[[19,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,S_)),Df._17(82,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(86,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(87,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,29,{_control:0}),Df._37(335544320,30,{_placeholderChild:0}),Df._37(335544320,31,{_labelChild:0}),Df._37(603979776,32,{_errorChildren:1}),Df._37(603979776,33,{_hintChildren:1}),Df._37(603979776,34,{_prefixChildren:1}),Df._37(603979776,35,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(96,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_name"],["matInput",""],["placeholder","Client Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,97)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,102)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,102)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,102)._onInput()&&u}return u},null,null)),Df._17(97,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(99,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(101,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(102,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[29,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(106,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(107,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(116,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,120)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,120)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,120)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,1)&&u}return u},TC.b,TC.a)),Df._17(117,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(119,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(120,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,43,{options:1}),Df._37(603979776,44,{optionGroups:1}),Df._37(335544320,45,{customTrigger:0}),Df._36(2048,[[36,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(127,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,128)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,128)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(128,8437760,[[43,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,I_)),Df._17(132,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,q_)),Df._17(138,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(140,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(141,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,53,{_control:0}),Df._37(335544320,54,{_placeholderChild:0}),Df._37(335544320,55,{_labelChild:0}),Df._37(603979776,56,{_errorChildren:1}),Df._37(603979776,57,{_hintChildren:1}),Df._37(603979776,58,{_prefixChildren:1}),Df._37(603979776,59,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(150,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturing_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,151)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,151).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,151)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,151)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,152).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,152).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,152).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,159)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,159)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,159)._onInput()&&u}return u},null,null)),Df._17(151,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(152,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(153,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(156,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(158,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(159,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[53,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(162,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(163,16384,[[56,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid Mobile Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(167,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(168,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,60,{_control:0}),Df._37(335544320,61,{_placeholderChild:0}),Df._37(335544320,62,{_labelChild:0}),Df._37(603979776,63,{_errorChildren:1}),Df._37(603979776,64,{_hintChildren:1}),Df._37(603979776,65,{_prefixChildren:1}),Df._37(603979776,66,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(177,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["placeholder","STD Code"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,178)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,178).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,178)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,178)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,179).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,179).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,179).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,184)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,184)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,184)._onInput()&&u}return u},null,null)),Df._17(178,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(179,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(181,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(183,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(184,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[60,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(187,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(188,16384,[[63,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid STD Code Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(193,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(194,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,67,{_control:0}),Df._37(335544320,68,{_placeholderChild:0}),Df._37(335544320,69,{_labelChild:0}),Df._37(603979776,70,{_errorChildren:1}),Df._37(603979776,71,{_hintChildren:1}),Df._37(603979776,72,{_prefixChildren:1}),Df._37(603979776,73,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(203,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["placeholder","Client Contact Person Landline Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,204)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,204).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,204)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,204)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,205).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,205).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,205).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,210)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,210)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,210)._onInput()&&u}return u},null,null)),Df._17(204,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(205,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(207,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(209,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(210,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[67,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(213,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(214,16384,[[70,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid LandLine Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(218,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(219,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,74,{_control:0}),Df._37(335544320,75,{_placeholderChild:0}),Df._37(335544320,76,{_labelChild:0}),Df._37(603979776,77,{_errorChildren:1}),Df._37(603979776,78,{_hintChildren:1}),Df._37(603979776,79,{_prefixChildren:1}),Df._37(603979776,80,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(228,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,233)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,233)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,233)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkCard(e.value,1,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(230,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(232,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(233,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,81,{options:1}),Df._37(603979776,82,{optionGroups:1}),Df._37(335544320,83,{customTrigger:0}),Df._36(2048,[[74,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,k_)),Df._17(240,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(244,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(245,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,84,{_control:0}),Df._37(335544320,85,{_placeholderChild:0}),Df._37(335544320,86,{_labelChild:0}),Df._37(603979776,87,{_errorChildren:1}),Df._37(603979776,88,{_hintChildren:1}),Df._37(603979776,89,{_prefixChildren:1}),Df._37(603979776,90,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(254,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","manufacturing_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,258)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,258)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,258)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(255,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(257,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(258,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,91,{options:1}),Df._37(603979776,92,{optionGroups:1}),Df._37(335544320,93,{customTrigger:0}),Df._36(2048,[[84,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(265,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,266)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,266)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(266,8437760,[[91,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Payment received in\n Cash."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(269,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,270)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,270)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(270,8437760,[[91,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Payment\n received through Banking channels."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,P_)),Df._17(276,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(279,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(280,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,108,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(283,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(284,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,D_)),Df._17(287,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(290,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(291,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,T_)),Df._17(294,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,26,0,"manufacturing_product_name");l(n,29,0,"Manufacturing Product Name");l(n,36,0,e.m_manufacturingProducts[0]);l(n,53,0,"manufacturing_client_name");l(n,56,0,"Client Name");l(n,72,0,"person_title_name");l(n,75,0,"Title");l(n,82,0,e.titleList);l(n,99,0,"manufacturing_contact_person_name");l(n,102,0,"Client Contact Person Name");l(n,117,0,"person_designation");l(n,120,0,"Contact Person Designation");l(n,132,0,e.companyRelationShipList);l(n,138,0,1==n.context.$implicit.get("person_designation").value);l(n,153,0,"10");l(n,156,0,"manufacturing_contact_person_mobile_number");l(n,159,0,"Client Contact Person Mobile Number","number");l(n,181,0,"person_stdcode");l(n,184,0,"STD Code","number");l(n,207,0,"person_landline");l(n,210,0,"Client Contact Person Landline Number","number");l(n,230,0,"manufacturing_payment_type");l(n,233,0,"Payment Terms");l(n,240,0,e.m_paymentType);l(n,255,0,"manufacturing_payment_mode");l(n,258,0,"Payment Mode");l(n,266,0,"Payment received in Cash.");l(n,270,0,"Payment received through Banking channels.");l(n,276,0,3==n.context.$implicit.get("manufacturing_payment_type").value);l(n,287,0,n.parent.context.$implicit.controls.main_raw_materials.controls.length>1);l(n,294,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[Df._32(n,15)._control.errorState,Df._32(n,15)._control.errorState,Df._32(n,15)._canLabelFloat,Df._32(n,15)._shouldLabelFloat(),Df._32(n,15)._hideControlPlaceholder(),Df._32(n,15)._control.disabled,Df._32(n,15)._control.focused,"primary"==Df._32(n,15).color,"accent"==Df._32(n,15).color,"warn"==Df._32(n,15).color,Df._32(n,15)._shouldForward("untouched"),Df._32(n,15)._shouldForward("touched"),Df._32(n,15)._shouldForward("pristine"),Df._32(n,15)._shouldForward("dirty"),Df._32(n,15)._shouldForward("valid"),Df._32(n,15)._shouldForward("invalid"),Df._32(n,15)._shouldForward("pending")]);l(n,24,1,[Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending,Df._32(n,29).id,Df._32(n,29).tabIndex,Df._32(n,29)._ariaLabel,Df._32(n,29).ariaLabelledby,Df._32(n,29).required.toString(),Df._32(n,29).disabled.toString(),Df._32(n,29).errorState,Df._32(n,29).panelOpen?Df._32(n,29)._optionIds:null,Df._32(n,29).multiple,Df._32(n,29)._ariaDescribedby||null,Df._32(n,29)._getAriaActiveDescendant(),Df._32(n,29).disabled,Df._32(n,29).errorState,Df._32(n,29).required]);l(n,40,1,[Df._32(n,41)._control.errorState,Df._32(n,41)._control.errorState,Df._32(n,41)._canLabelFloat,Df._32(n,41)._shouldLabelFloat(),Df._32(n,41)._hideControlPlaceholder(),Df._32(n,41)._control.disabled,Df._32(n,41)._control.focused,"primary"==Df._32(n,41).color,"accent"==Df._32(n,41).color,"warn"==Df._32(n,41).color,Df._32(n,41)._shouldForward("untouched"),Df._32(n,41)._shouldForward("touched"),Df._32(n,41)._shouldForward("pristine"),Df._32(n,41)._shouldForward("dirty"),Df._32(n,41)._shouldForward("valid"),Df._32(n,41)._shouldForward("invalid"),Df._32(n,41)._shouldForward("pending")]);l(n,50,1,[Df._32(n,55).ngClassUntouched,Df._32(n,55).ngClassTouched,Df._32(n,55).ngClassPristine,Df._32(n,55).ngClassDirty,Df._32(n,55).ngClassValid,Df._32(n,55).ngClassInvalid,Df._32(n,55).ngClassPending,Df._32(n,56)._isServer,Df._32(n,56).id,Df._32(n,56).placeholder,Df._32(n,56).disabled,Df._32(n,56).required,Df._32(n,56).readonly,Df._32(n,56)._ariaDescribedby||null,Df._32(n,56).errorState,Df._32(n,56).required.toString()]);l(n,60,1,[Df._32(n,61)._control.errorState,Df._32(n,61)._control.errorState,Df._32(n,61)._canLabelFloat,Df._32(n,61)._shouldLabelFloat(),Df._32(n,61)._hideControlPlaceholder(),Df._32(n,61)._control.disabled,Df._32(n,61)._control.focused,"primary"==Df._32(n,61).color,"accent"==Df._32(n,61).color,"warn"==Df._32(n,61).color,Df._32(n,61)._shouldForward("untouched"),Df._32(n,61)._shouldForward("touched"),Df._32(n,61)._shouldForward("pristine"),Df._32(n,61)._shouldForward("dirty"),Df._32(n,61)._shouldForward("valid"),Df._32(n,61)._shouldForward("invalid"),Df._32(n,61)._shouldForward("pending")]);l(n,70,1,[Df._32(n,74).ngClassUntouched,Df._32(n,74).ngClassTouched,Df._32(n,74).ngClassPristine,Df._32(n,74).ngClassDirty,Df._32(n,74).ngClassValid,Df._32(n,74).ngClassInvalid,Df._32(n,74).ngClassPending,Df._32(n,75).id,Df._32(n,75).tabIndex,Df._32(n,75)._ariaLabel,Df._32(n,75).ariaLabelledby,Df._32(n,75).required.toString(),Df._32(n,75).disabled.toString(),Df._32(n,75).errorState,Df._32(n,75).panelOpen?Df._32(n,75)._optionIds:null,Df._32(n,75).multiple,Df._32(n,75)._ariaDescribedby||null,Df._32(n,75)._getAriaActiveDescendant(),Df._32(n,75).disabled,Df._32(n,75).errorState,Df._32(n,75).required]);l(n,86,1,[Df._32(n,87)._control.errorState,Df._32(n,87)._control.errorState,Df._32(n,87)._canLabelFloat,Df._32(n,87)._shouldLabelFloat(),Df._32(n,87)._hideControlPlaceholder(),Df._32(n,87)._control.disabled,Df._32(n,87)._control.focused,"primary"==Df._32(n,87).color,"accent"==Df._32(n,87).color,"warn"==Df._32(n,87).color,Df._32(n,87)._shouldForward("untouched"),Df._32(n,87)._shouldForward("touched"),Df._32(n,87)._shouldForward("pristine"),Df._32(n,87)._shouldForward("dirty"),Df._32(n,87)._shouldForward("valid"),Df._32(n,87)._shouldForward("invalid"),Df._32(n,87)._shouldForward("pending")]);l(n,96,1,[Df._32(n,101).ngClassUntouched,Df._32(n,101).ngClassTouched,Df._32(n,101).ngClassPristine,Df._32(n,101).ngClassDirty,Df._32(n,101).ngClassValid,Df._32(n,101).ngClassInvalid,Df._32(n,101).ngClassPending,Df._32(n,102)._isServer,Df._32(n,102).id,Df._32(n,102).placeholder,Df._32(n,102).disabled,Df._32(n,102).required,Df._32(n,102).readonly,Df._32(n,102)._ariaDescribedby||null,Df._32(n,102).errorState,Df._32(n,102).required.toString()]);l(n,106,1,[Df._32(n,107)._control.errorState,Df._32(n,107)._control.errorState,Df._32(n,107)._canLabelFloat,Df._32(n,107)._shouldLabelFloat(),Df._32(n,107)._hideControlPlaceholder(),Df._32(n,107)._control.disabled,Df._32(n,107)._control.focused,"primary"==Df._32(n,107).color,"accent"==Df._32(n,107).color,"warn"==Df._32(n,107).color,Df._32(n,107)._shouldForward("untouched"),Df._32(n,107)._shouldForward("touched"),Df._32(n,107)._shouldForward("pristine"),Df._32(n,107)._shouldForward("dirty"),Df._32(n,107)._shouldForward("valid"),Df._32(n,107)._shouldForward("invalid"),Df._32(n,107)._shouldForward("pending")]);l(n,116,1,[Df._32(n,119).ngClassUntouched,Df._32(n,119).ngClassTouched,Df._32(n,119).ngClassPristine,Df._32(n,119).ngClassDirty,Df._32(n,119).ngClassValid,Df._32(n,119).ngClassInvalid,Df._32(n,119).ngClassPending,Df._32(n,120).id,Df._32(n,120).tabIndex,Df._32(n,120)._ariaLabel,Df._32(n,120).ariaLabelledby,Df._32(n,120).required.toString(),Df._32(n,120).disabled.toString(),Df._32(n,120).errorState,Df._32(n,120).panelOpen?Df._32(n,120)._optionIds:null,Df._32(n,120).multiple,Df._32(n,120)._ariaDescribedby||null,Df._32(n,120)._getAriaActiveDescendant(),Df._32(n,120).disabled,Df._32(n,120).errorState,Df._32(n,120).required]);l(n,127,0,Df._32(n,128)._getTabIndex(),Df._32(n,128).selected,Df._32(n,128).multiple,Df._32(n,128).active,Df._32(n,128).id,Df._32(n,128).selected.toString(),Df._32(n,128).disabled.toString(),Df._32(n,128).disabled);l(n,140,1,[Df._32(n,141)._control.errorState,Df._32(n,141)._control.errorState,Df._32(n,141)._canLabelFloat,Df._32(n,141)._shouldLabelFloat(),Df._32(n,141)._hideControlPlaceholder(),Df._32(n,141)._control.disabled,Df._32(n,141)._control.focused,"primary"==Df._32(n,141).color,"accent"==Df._32(n,141).color,"warn"==Df._32(n,141).color,Df._32(n,141)._shouldForward("untouched"),Df._32(n,141)._shouldForward("touched"),Df._32(n,141)._shouldForward("pristine"),Df._32(n,141)._shouldForward("dirty"),Df._32(n,141)._shouldForward("valid"),Df._32(n,141)._shouldForward("invalid"),Df._32(n,141)._shouldForward("pending")]);l(n,150,1,[Df._32(n,153).maxlength?Df._32(n,153).maxlength:null,Df._32(n,158).ngClassUntouched,Df._32(n,158).ngClassTouched,Df._32(n,158).ngClassPristine,Df._32(n,158).ngClassDirty,Df._32(n,158).ngClassValid,Df._32(n,158).ngClassInvalid,Df._32(n,158).ngClassPending,Df._32(n,159)._isServer,Df._32(n,159).id,Df._32(n,159).placeholder,Df._32(n,159).disabled,Df._32(n,159).required,Df._32(n,159).readonly,Df._32(n,159)._ariaDescribedby||null,Df._32(n,159).errorState,Df._32(n,159).required.toString()]);l(n,162,0,Df._32(n,163).id);l(n,167,1,[Df._32(n,168)._control.errorState,Df._32(n,168)._control.errorState,Df._32(n,168)._canLabelFloat,Df._32(n,168)._shouldLabelFloat(),Df._32(n,168)._hideControlPlaceholder(),Df._32(n,168)._control.disabled,Df._32(n,168)._control.focused,"primary"==Df._32(n,168).color,"accent"==Df._32(n,168).color,"warn"==Df._32(n,168).color,Df._32(n,168)._shouldForward("untouched"),Df._32(n,168)._shouldForward("touched"),Df._32(n,168)._shouldForward("pristine"),Df._32(n,168)._shouldForward("dirty"),Df._32(n,168)._shouldForward("valid"),Df._32(n,168)._shouldForward("invalid"),Df._32(n,168)._shouldForward("pending")]);l(n,177,1,[Df._32(n,183).ngClassUntouched,Df._32(n,183).ngClassTouched,Df._32(n,183).ngClassPristine,Df._32(n,183).ngClassDirty,Df._32(n,183).ngClassValid,Df._32(n,183).ngClassInvalid,Df._32(n,183).ngClassPending,Df._32(n,184)._isServer,Df._32(n,184).id,Df._32(n,184).placeholder,Df._32(n,184).disabled,Df._32(n,184).required,Df._32(n,184).readonly,Df._32(n,184)._ariaDescribedby||null,Df._32(n,184).errorState,Df._32(n,184).required.toString()]);l(n,187,0,Df._32(n,188).id);l(n,193,1,[Df._32(n,194)._control.errorState,Df._32(n,194)._control.errorState,Df._32(n,194)._canLabelFloat,Df._32(n,194)._shouldLabelFloat(),Df._32(n,194)._hideControlPlaceholder(),Df._32(n,194)._control.disabled,Df._32(n,194)._control.focused,"primary"==Df._32(n,194).color,"accent"==Df._32(n,194).color,"warn"==Df._32(n,194).color,Df._32(n,194)._shouldForward("untouched"),Df._32(n,194)._shouldForward("touched"),Df._32(n,194)._shouldForward("pristine"),Df._32(n,194)._shouldForward("dirty"),Df._32(n,194)._shouldForward("valid"),Df._32(n,194)._shouldForward("invalid"),Df._32(n,194)._shouldForward("pending")]);l(n,203,1,[Df._32(n,209).ngClassUntouched,Df._32(n,209).ngClassTouched,Df._32(n,209).ngClassPristine,Df._32(n,209).ngClassDirty,Df._32(n,209).ngClassValid,Df._32(n,209).ngClassInvalid,Df._32(n,209).ngClassPending,Df._32(n,210)._isServer,Df._32(n,210).id,Df._32(n,210).placeholder,Df._32(n,210).disabled,Df._32(n,210).required,Df._32(n,210).readonly,Df._32(n,210)._ariaDescribedby||null,Df._32(n,210).errorState,Df._32(n,210).required.toString()]);l(n,213,0,Df._32(n,214).id);l(n,218,1,[Df._32(n,219)._control.errorState,Df._32(n,219)._control.errorState,Df._32(n,219)._canLabelFloat,Df._32(n,219)._shouldLabelFloat(),Df._32(n,219)._hideControlPlaceholder(),Df._32(n,219)._control.disabled,Df._32(n,219)._control.focused,"primary"==Df._32(n,219).color,"accent"==Df._32(n,219).color,"warn"==Df._32(n,219).color,Df._32(n,219)._shouldForward("untouched"),Df._32(n,219)._shouldForward("touched"),Df._32(n,219)._shouldForward("pristine"),Df._32(n,219)._shouldForward("dirty"),Df._32(n,219)._shouldForward("valid"),Df._32(n,219)._shouldForward("invalid"),Df._32(n,219)._shouldForward("pending")]);l(n,228,1,[Df._32(n,232).ngClassUntouched,Df._32(n,232).ngClassTouched,Df._32(n,232).ngClassPristine,Df._32(n,232).ngClassDirty,Df._32(n,232).ngClassValid,Df._32(n,232).ngClassInvalid,Df._32(n,232).ngClassPending,Df._32(n,233).id,Df._32(n,233).tabIndex,Df._32(n,233)._ariaLabel,Df._32(n,233).ariaLabelledby,Df._32(n,233).required.toString(),Df._32(n,233).disabled.toString(),Df._32(n,233).errorState,Df._32(n,233).panelOpen?Df._32(n,233)._optionIds:null,Df._32(n,233).multiple,Df._32(n,233)._ariaDescribedby||null,Df._32(n,233)._getAriaActiveDescendant(),Df._32(n,233).disabled,Df._32(n,233).errorState,Df._32(n,233).required]);l(n,244,1,[Df._32(n,245)._control.errorState,Df._32(n,245)._control.errorState,Df._32(n,245)._canLabelFloat,Df._32(n,245)._shouldLabelFloat(),Df._32(n,245)._hideControlPlaceholder(),Df._32(n,245)._control.disabled,Df._32(n,245)._control.focused,"primary"==Df._32(n,245).color,"accent"==Df._32(n,245).color,"warn"==Df._32(n,245).color,Df._32(n,245)._shouldForward("untouched"),Df._32(n,245)._shouldForward("touched"),Df._32(n,245)._shouldForward("pristine"),Df._32(n,245)._shouldForward("dirty"),Df._32(n,245)._shouldForward("valid"),Df._32(n,245)._shouldForward("invalid"),Df._32(n,245)._shouldForward("pending")]);l(n,254,1,[Df._32(n,257).ngClassUntouched,Df._32(n,257).ngClassTouched,Df._32(n,257).ngClassPristine,Df._32(n,257).ngClassDirty,Df._32(n,257).ngClassValid,Df._32(n,257).ngClassInvalid,Df._32(n,257).ngClassPending,Df._32(n,258).id,Df._32(n,258).tabIndex,Df._32(n,258)._ariaLabel,Df._32(n,258).ariaLabelledby,Df._32(n,258).required.toString(),Df._32(n,258).disabled.toString(),Df._32(n,258).errorState,Df._32(n,258).panelOpen?Df._32(n,258)._optionIds:null,Df._32(n,258).multiple,Df._32(n,258)._ariaDescribedby||null,Df._32(n,258)._getAriaActiveDescendant(),Df._32(n,258).disabled,Df._32(n,258).errorState,Df._32(n,258).required]);l(n,265,0,Df._32(n,266)._getTabIndex(),Df._32(n,266).selected,Df._32(n,266).multiple,Df._32(n,266).active,Df._32(n,266).id,Df._32(n,266).selected.toString(),Df._32(n,266).disabled.toString(),Df._32(n,266).disabled);l(n,269,0,Df._32(n,270)._getTabIndex(),Df._32(n,270).selected,Df._32(n,270).multiple,Df._32(n,270).active,Df._32(n,270).id,Df._32(n,270).selected.toString(),Df._32(n,270).disabled.toString(),Df._32(n,270).disabled)})}function L_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,109,{_control:0}),Df._37(335544320,110,{_placeholderChild:0}),Df._37(335544320,111,{_labelChild:0}),Df._37(603979776,112,{_errorChildren:1}),Df._37(603979776,113,{_hintChildren:1}),Df._37(603979776,114,{_prefixChildren:1}),Df._37(603979776,115,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","main_raw_materials_total_payments_percent_on_credit"],["matInput",""],["placeholder","What Percentage of Total Sales is done on Credit ?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[109,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"main_raw_materials_total_payments_percent_on_credit");l(n,19,0,"What Percentage of Total Sales is done on Credit ?","number")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()])})}function A_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,7,"div",[["formArrayName","main_raw_materials"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(8,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,O_)),Df._17(11,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,L_)),Df._17(15,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"main_raw_materials");l(n,11,0,n.context.$implicit.controls.main_raw_materials.controls);l(n,15,0,e.mfgCreditCardFlag)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,0,Df._32(n,8).ngClassUntouched,Df._32(n,8).ngClassTouched,Df._32(n,8).ngClassPristine,Df._32(n,8).ngClassDirty,Df._32(n,8).ngClassValid,Df._32(n,8).ngClassInvalid,Df._32(n,8).ngClassPending)})}function V_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Manufacturing Product Details"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,7,"div",[["formArrayName","manufacturing_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(9,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(11,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,A_)),Df._17(14,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"manufacturing_details");l(n,14,0,e.clientInfoForm.controls.manufacturing_details.controls)},function(l,n){l(n,8,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending)})}function j_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[123,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function N_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[140,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function W_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[157,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function E_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,160,{_control:0}),Df._37(335544320,161,{_placeholderChild:0}),Df._37(335544320,162,{_labelChild:0}),Df._37(603979776,163,{_errorChildren:1}),Df._37(603979776,164,{_hintChildren:1}),Df._37(603979776,165,{_prefixChildren:1}),Df._37(603979776,166,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[160,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function R_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[195,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function U_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),Df._17(3,16384,null,0,fy.f,[],null,null),(l()(),Df._39(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(7,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,208,{_control:0}),Df._37(335544320,209,{_placeholderChild:0}),Df._37(335544320,210,{_labelChild:0}),Df._37(603979776,211,{_errorChildren:1}),Df._37(603979776,212,{_hintChildren:1}),Df._37(603979776,213,{_prefixChildren:1}),Df._37(603979776,214,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}return u},null,null)),Df._17(17,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(18,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[208,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(28,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,215,{_control:0}),Df._37(335544320,216,{_placeholderChild:0}),Df._37(335544320,217,{_labelChild:0}),Df._37(603979776,218,{_errorChildren:1}),Df._37(603979776,219,{_hintChildren:1}),Df._37(603979776,220,{_prefixChildren:1}),Df._37(603979776,221,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,44)._onInput()&&u}return u},null,null)),Df._17(38,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(39,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(41,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(43,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(44,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[215,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"trade_product_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"trade_product_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[Df._32(n,7)._control.errorState,Df._32(n,7)._control.errorState,Df._32(n,7)._canLabelFloat,Df._32(n,7)._shouldLabelFloat(),Df._32(n,7)._hideControlPlaceholder(),Df._32(n,7)._control.disabled,Df._32(n,7)._control.focused,"primary"==Df._32(n,7).color,"accent"==Df._32(n,7).color,"warn"==Df._32(n,7).color,Df._32(n,7)._shouldForward("untouched"),Df._32(n,7)._shouldForward("touched"),Df._32(n,7)._shouldForward("pristine"),Df._32(n,7)._shouldForward("dirty"),Df._32(n,7)._shouldForward("valid"),Df._32(n,7)._shouldForward("invalid"),Df._32(n,7)._shouldForward("pending")]);l(n,16,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()]);l(n,27,1,[Df._32(n,28)._control.errorState,Df._32(n,28)._control.errorState,Df._32(n,28)._canLabelFloat,Df._32(n,28)._shouldLabelFloat(),Df._32(n,28)._hideControlPlaceholder(),Df._32(n,28)._control.disabled,Df._32(n,28)._control.focused,"primary"==Df._32(n,28).color,"accent"==Df._32(n,28).color,"warn"==Df._32(n,28).color,Df._32(n,28)._shouldForward("untouched"),Df._32(n,28)._shouldForward("touched"),Df._32(n,28)._shouldForward("pristine"),Df._32(n,28)._shouldForward("dirty"),Df._32(n,28)._shouldForward("valid"),Df._32(n,28)._shouldForward("invalid"),Df._32(n,28)._shouldForward("pending")]);l(n,37,1,[Df._32(n,43).ngClassUntouched,Df._32(n,43).ngClassTouched,Df._32(n,43).ngClassPristine,Df._32(n,43).ngClassDirty,Df._32(n,43).ngClassValid,Df._32(n,43).ngClassInvalid,Df._32(n,43).ngClassPending,Df._32(n,44)._isServer,Df._32(n,44).id,Df._32(n,44).placeholder,Df._32(n,44).disabled,Df._32(n,44).required,Df._32(n,44).readonly,Df._32(n,44)._ariaDescribedby||null,Df._32(n,44).errorState,Df._32(n,44).required.toString()])})}function $_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeTradingProduct(l.parent.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function B_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoretradeProduct(e);u=!1}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function M_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,300,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.g,[],null,null),(l()(),Df._39(7,null,["Trading Product #",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,290,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(10,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,267,"div",[["fxLayout","row nowrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(15,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,116,{_control:0}),Df._37(335544320,117,{_placeholderChild:0}),Df._37(335544320,118,{_labelChild:0}),Df._37(603979776,119,{_errorChildren:1}),Df._37(603979776,120,{_hintChildren:1}),Df._37(603979776,121,{_prefixChildren:1}),Df._37(603979776,122,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","trade_product_name"],["placeholder","Trading Product Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,30)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,30)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,30)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(27,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(29,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(30,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,123,{options:1}),Df._37(603979776,124,{optionGroups:1}),Df._37(335544320,125,{customTrigger:0}),Df._36(2048,[[116,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,j_)),Df._17(37,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(41,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(42,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,126,{_control:0}),Df._37(335544320,127,{_placeholderChild:0}),Df._37(335544320,128,{_labelChild:0}),Df._37(603979776,129,{_errorChildren:1}),Df._37(603979776,130,{_hintChildren:1}),Df._37(603979776,131,{_prefixChildren:1}),Df._37(603979776,132,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_client_name"],["matInput",""],["placeholder","Client Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,52)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,52).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,52)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,52)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,57)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,57)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,57)._onInput()&&u}return u},null,null)),Df._17(52,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(54,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(56,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(57,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[126,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(61,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(62,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,133,{_control:0}),Df._37(335544320,134,{_placeholderChild:0}),Df._37(335544320,135,{_labelChild:0}),Df._37(603979776,136,{_errorChildren:1}),Df._37(603979776,137,{_hintChildren:1}),Df._37(603979776,138,{_prefixChildren:1}),Df._37(603979776,139,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(71,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,76)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,76)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,76)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(73,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(75,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(76,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,140,{options:1}),Df._37(603979776,141,{optionGroups:1}),Df._37(335544320,142,{customTrigger:0}),Df._36(2048,[[133,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,N_)),Df._17(83,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(87,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(88,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,143,{_control:0}),Df._37(335544320,144,{_placeholderChild:0}),Df._37(335544320,145,{_labelChild:0}),Df._37(603979776,146,{_errorChildren:1}),Df._37(603979776,147,{_hintChildren:1}),Df._37(603979776,148,{_prefixChildren:1}),Df._37(603979776,149,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(97,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_name"],["matInput",""],["placeholder","Client Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,98)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,98).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,98)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,98)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,103)._onInput()&&u}return u},null,null)),Df._17(98,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(100,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(102,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(103,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[143,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(107,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(108,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,150,{_control:0}),Df._37(335544320,151,{_placeholderChild:0}),Df._37(335544320,152,{_labelChild:0}),Df._37(603979776,153,{_errorChildren:1}),Df._37(603979776,154,{_hintChildren:1}),Df._37(603979776,155,{_prefixChildren:1}),Df._37(603979776,156,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(117,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,121)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,121)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,121)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,2)&&u}return u},TC.b,TC.a)),Df._17(118,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(120,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(121,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,157,{options:1}),Df._37(603979776,158,{optionGroups:1}),Df._37(335544320,159,{customTrigger:0}),Df._36(2048,[[150,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(128,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,129)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,129)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(129,8437760,[[157,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,W_)),Df._17(133,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,E_)),Df._17(139,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(141,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(142,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,167,{_control:0}),Df._37(335544320,168,{_placeholderChild:0}),Df._37(335544320,169,{_labelChild:0}),Df._37(603979776,170,{_errorChildren:1}),Df._37(603979776,171,{_hintChildren:1}),Df._37(603979776,172,{_prefixChildren:1}),Df._37(603979776,173,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(151,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trade_product_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,152)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,152).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,152)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,152)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,153).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,153).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,153).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,160)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,160)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,160)._onInput()&&u}return u},null,null)),Df._17(152,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(153,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(154,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(157,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(159,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(160,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[167,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(163,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(164,16384,[[170,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid Mobile Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(168,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(169,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,174,{_control:0}),Df._37(335544320,175,{_placeholderChild:0}),Df._37(335544320,176,{_labelChild:0}),Df._37(603979776,177,{_errorChildren:1}),Df._37(603979776,178,{_hintChildren:1}),Df._37(603979776,179,{_prefixChildren:1}),Df._37(603979776,180,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(178,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["placeholder","STD Code"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,179)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,179).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,179)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,179)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,180).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,180).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,180).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,185)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,185)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,185)._onInput()&&u}return u},null,null)),Df._17(179,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(180,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(182,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(184,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(185,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[174,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(188,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(189,16384,[[177,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid STD Code Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(194,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(195,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,181,{_control:0}),Df._37(335544320,182,{_placeholderChild:0}),Df._37(335544320,183,{_labelChild:0}),Df._37(603979776,184,{_errorChildren:1}),Df._37(603979776,185,{_hintChildren:1}),Df._37(603979776,186,{_prefixChildren:1}),Df._37(603979776,187,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(204,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["placeholder","Client Contact Person Landline Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,205)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,205).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,205)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,205)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,206).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,206).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,206).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,211)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,211)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,211)._onInput()&&u}return u},null,null)),Df._17(205,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(206,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(208,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(210,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(211,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[181,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(214,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(215,16384,[[184,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid LandLine Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(219,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(220,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,188,{_control:0}),Df._37(335544320,189,{_placeholderChild:0}),Df._37(335544320,190,{_labelChild:0}),Df._37(603979776,191,{_errorChildren:1}),Df._37(603979776,192,{_hintChildren:1}),Df._37(603979776,193,{_prefixChildren:1}),Df._37(603979776,194,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(229,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,234)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,234)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,234)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkCard(e.value,2,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(231,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(233,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(234,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,195,{options:1}),Df._37(603979776,196,{optionGroups:1}),Df._37(335544320,197,{customTrigger:0}),Df._36(2048,[[188,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,R_)),Df._17(241,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(245,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(246,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,198,{_control:0}),Df._37(335544320,199,{_placeholderChild:0}),Df._37(335544320,200,{_labelChild:0}),Df._37(603979776,201,{_errorChildren:1}),Df._37(603979776,202,{_hintChildren:1}),Df._37(603979776,203,{_prefixChildren:1}),Df._37(603979776,204,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(255,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","trade_product_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,259)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,259)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,259)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(256,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(258,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(259,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,205,{options:1}),Df._37(603979776,206,{optionGroups:1}),Df._37(335544320,207,{customTrigger:0}),Df._36(2048,[[198,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(266,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,267)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,267)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(267,8437760,[[205,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Payment received in\n Cash."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(270,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,271)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,271)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(271,8437760,[[205,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Payment\n received through Banking channels."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,U_)),Df._17(278,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(281,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(282,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,222,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(285,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(286,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,$_)),Df._17(289,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(292,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(293,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,B_)),Df._17(296,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,27,0,"trade_product_name");l(n,30,0,"Trading Product Name");l(n,37,0,e.m_tradingProducts);l(n,54,0,"trade_client_name");l(n,57,0,"Client Name");l(n,73,0,"person_title_name");l(n,76,0,"Title");l(n,83,0,e.titleList);l(n,100,0,"trade_product_contact_person_name");l(n,103,0,"Client Contact Person Name");l(n,118,0,"person_designation");l(n,121,0,"Contact Person Designation");l(n,133,0,e.companyRelationShipList);l(n,139,0,1==n.context.$implicit.get("person_designation").value);l(n,154,0,"10");l(n,157,0,"trade_product_contact_person_mobile_number");l(n,160,0,"Client Contact Person Mobile Number","number");l(n,182,0,"person_stdcode");l(n,185,0,"STD Code","number");l(n,208,0,"person_landline");l(n,211,0,"Client Contact Person Landline Number","number");l(n,231,0,"trade_product_payment_type");l(n,234,0,"Payment Terms");l(n,241,0,e.m_paymentType);l(n,256,0,"trade_product_payment_mode");l(n,259,0,"Payment Mode");l(n,267,0,"Payment received in Cash.");l(n,271,0,"Payment received through Banking channels.");l(n,278,0,3==n.context.$implicit.get("trade_product_payment_type").value);l(n,289,0,n.parent.context.$implicit.controls.trading_products.controls.length>1);l(n,296,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[Df._32(n,15)._control.errorState,Df._32(n,15)._control.errorState,Df._32(n,15)._canLabelFloat,Df._32(n,15)._shouldLabelFloat(),Df._32(n,15)._hideControlPlaceholder(),Df._32(n,15)._control.disabled,Df._32(n,15)._control.focused,"primary"==Df._32(n,15).color,"accent"==Df._32(n,15).color,"warn"==Df._32(n,15).color,Df._32(n,15)._shouldForward("untouched"),Df._32(n,15)._shouldForward("touched"),Df._32(n,15)._shouldForward("pristine"),Df._32(n,15)._shouldForward("dirty"),Df._32(n,15)._shouldForward("valid"),Df._32(n,15)._shouldForward("invalid"),Df._32(n,15)._shouldForward("pending")]);l(n,25,1,[Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending,Df._32(n,30).id,Df._32(n,30).tabIndex,Df._32(n,30)._ariaLabel,Df._32(n,30).ariaLabelledby,Df._32(n,30).required.toString(),Df._32(n,30).disabled.toString(),Df._32(n,30).errorState,Df._32(n,30).panelOpen?Df._32(n,30)._optionIds:null,Df._32(n,30).multiple,Df._32(n,30)._ariaDescribedby||null,Df._32(n,30)._getAriaActiveDescendant(),Df._32(n,30).disabled,Df._32(n,30).errorState,Df._32(n,30).required]);l(n,41,1,[Df._32(n,42)._control.errorState,Df._32(n,42)._control.errorState,Df._32(n,42)._canLabelFloat,Df._32(n,42)._shouldLabelFloat(),Df._32(n,42)._hideControlPlaceholder(),Df._32(n,42)._control.disabled,Df._32(n,42)._control.focused,"primary"==Df._32(n,42).color,"accent"==Df._32(n,42).color,"warn"==Df._32(n,42).color,Df._32(n,42)._shouldForward("untouched"),Df._32(n,42)._shouldForward("touched"),Df._32(n,42)._shouldForward("pristine"),Df._32(n,42)._shouldForward("dirty"),Df._32(n,42)._shouldForward("valid"),Df._32(n,42)._shouldForward("invalid"),Df._32(n,42)._shouldForward("pending")]);l(n,51,1,[Df._32(n,56).ngClassUntouched,Df._32(n,56).ngClassTouched,Df._32(n,56).ngClassPristine,Df._32(n,56).ngClassDirty,Df._32(n,56).ngClassValid,Df._32(n,56).ngClassInvalid,Df._32(n,56).ngClassPending,Df._32(n,57)._isServer,Df._32(n,57).id,Df._32(n,57).placeholder,Df._32(n,57).disabled,Df._32(n,57).required,Df._32(n,57).readonly,Df._32(n,57)._ariaDescribedby||null,Df._32(n,57).errorState,Df._32(n,57).required.toString()]);l(n,61,1,[Df._32(n,62)._control.errorState,Df._32(n,62)._control.errorState,Df._32(n,62)._canLabelFloat,Df._32(n,62)._shouldLabelFloat(),Df._32(n,62)._hideControlPlaceholder(),Df._32(n,62)._control.disabled,Df._32(n,62)._control.focused,"primary"==Df._32(n,62).color,"accent"==Df._32(n,62).color,"warn"==Df._32(n,62).color,Df._32(n,62)._shouldForward("untouched"),Df._32(n,62)._shouldForward("touched"),Df._32(n,62)._shouldForward("pristine"),Df._32(n,62)._shouldForward("dirty"),Df._32(n,62)._shouldForward("valid"),Df._32(n,62)._shouldForward("invalid"),Df._32(n,62)._shouldForward("pending")]);l(n,71,1,[Df._32(n,75).ngClassUntouched,Df._32(n,75).ngClassTouched,Df._32(n,75).ngClassPristine,Df._32(n,75).ngClassDirty,Df._32(n,75).ngClassValid,Df._32(n,75).ngClassInvalid,Df._32(n,75).ngClassPending,Df._32(n,76).id,Df._32(n,76).tabIndex,Df._32(n,76)._ariaLabel,Df._32(n,76).ariaLabelledby,Df._32(n,76).required.toString(),Df._32(n,76).disabled.toString(),Df._32(n,76).errorState,Df._32(n,76).panelOpen?Df._32(n,76)._optionIds:null,Df._32(n,76).multiple,Df._32(n,76)._ariaDescribedby||null,Df._32(n,76)._getAriaActiveDescendant(),Df._32(n,76).disabled,Df._32(n,76).errorState,Df._32(n,76).required]);l(n,87,1,[Df._32(n,88)._control.errorState,Df._32(n,88)._control.errorState,Df._32(n,88)._canLabelFloat,Df._32(n,88)._shouldLabelFloat(),Df._32(n,88)._hideControlPlaceholder(),Df._32(n,88)._control.disabled,Df._32(n,88)._control.focused,"primary"==Df._32(n,88).color,"accent"==Df._32(n,88).color,"warn"==Df._32(n,88).color,Df._32(n,88)._shouldForward("untouched"),Df._32(n,88)._shouldForward("touched"),Df._32(n,88)._shouldForward("pristine"),Df._32(n,88)._shouldForward("dirty"),Df._32(n,88)._shouldForward("valid"),Df._32(n,88)._shouldForward("invalid"),Df._32(n,88)._shouldForward("pending")]);l(n,97,1,[Df._32(n,102).ngClassUntouched,Df._32(n,102).ngClassTouched,Df._32(n,102).ngClassPristine,Df._32(n,102).ngClassDirty,Df._32(n,102).ngClassValid,Df._32(n,102).ngClassInvalid,Df._32(n,102).ngClassPending,Df._32(n,103)._isServer,Df._32(n,103).id,Df._32(n,103).placeholder,Df._32(n,103).disabled,Df._32(n,103).required,Df._32(n,103).readonly,Df._32(n,103)._ariaDescribedby||null,Df._32(n,103).errorState,Df._32(n,103).required.toString()]);l(n,107,1,[Df._32(n,108)._control.errorState,Df._32(n,108)._control.errorState,Df._32(n,108)._canLabelFloat,Df._32(n,108)._shouldLabelFloat(),Df._32(n,108)._hideControlPlaceholder(),Df._32(n,108)._control.disabled,Df._32(n,108)._control.focused,"primary"==Df._32(n,108).color,"accent"==Df._32(n,108).color,"warn"==Df._32(n,108).color,Df._32(n,108)._shouldForward("untouched"),Df._32(n,108)._shouldForward("touched"),Df._32(n,108)._shouldForward("pristine"),Df._32(n,108)._shouldForward("dirty"),Df._32(n,108)._shouldForward("valid"),Df._32(n,108)._shouldForward("invalid"),Df._32(n,108)._shouldForward("pending")]);l(n,117,1,[Df._32(n,120).ngClassUntouched,Df._32(n,120).ngClassTouched,Df._32(n,120).ngClassPristine,Df._32(n,120).ngClassDirty,Df._32(n,120).ngClassValid,Df._32(n,120).ngClassInvalid,Df._32(n,120).ngClassPending,Df._32(n,121).id,Df._32(n,121).tabIndex,Df._32(n,121)._ariaLabel,Df._32(n,121).ariaLabelledby,Df._32(n,121).required.toString(),Df._32(n,121).disabled.toString(),Df._32(n,121).errorState,Df._32(n,121).panelOpen?Df._32(n,121)._optionIds:null,Df._32(n,121).multiple,Df._32(n,121)._ariaDescribedby||null,Df._32(n,121)._getAriaActiveDescendant(),Df._32(n,121).disabled,Df._32(n,121).errorState,Df._32(n,121).required]);l(n,128,0,Df._32(n,129)._getTabIndex(),Df._32(n,129).selected,Df._32(n,129).multiple,Df._32(n,129).active,Df._32(n,129).id,Df._32(n,129).selected.toString(),Df._32(n,129).disabled.toString(),Df._32(n,129).disabled);l(n,141,1,[Df._32(n,142)._control.errorState,Df._32(n,142)._control.errorState,Df._32(n,142)._canLabelFloat,Df._32(n,142)._shouldLabelFloat(),Df._32(n,142)._hideControlPlaceholder(),Df._32(n,142)._control.disabled,Df._32(n,142)._control.focused,"primary"==Df._32(n,142).color,"accent"==Df._32(n,142).color,"warn"==Df._32(n,142).color,Df._32(n,142)._shouldForward("untouched"),Df._32(n,142)._shouldForward("touched"),Df._32(n,142)._shouldForward("pristine"),Df._32(n,142)._shouldForward("dirty"),Df._32(n,142)._shouldForward("valid"),Df._32(n,142)._shouldForward("invalid"),Df._32(n,142)._shouldForward("pending")]);l(n,151,1,[Df._32(n,154).maxlength?Df._32(n,154).maxlength:null,Df._32(n,159).ngClassUntouched,Df._32(n,159).ngClassTouched,Df._32(n,159).ngClassPristine,Df._32(n,159).ngClassDirty,Df._32(n,159).ngClassValid,Df._32(n,159).ngClassInvalid,Df._32(n,159).ngClassPending,Df._32(n,160)._isServer,Df._32(n,160).id,Df._32(n,160).placeholder,Df._32(n,160).disabled,Df._32(n,160).required,Df._32(n,160).readonly,Df._32(n,160)._ariaDescribedby||null,Df._32(n,160).errorState,Df._32(n,160).required.toString()]);l(n,163,0,Df._32(n,164).id);l(n,168,1,[Df._32(n,169)._control.errorState,Df._32(n,169)._control.errorState,Df._32(n,169)._canLabelFloat,Df._32(n,169)._shouldLabelFloat(),Df._32(n,169)._hideControlPlaceholder(),Df._32(n,169)._control.disabled,Df._32(n,169)._control.focused,"primary"==Df._32(n,169).color,"accent"==Df._32(n,169).color,"warn"==Df._32(n,169).color,Df._32(n,169)._shouldForward("untouched"),Df._32(n,169)._shouldForward("touched"),Df._32(n,169)._shouldForward("pristine"),Df._32(n,169)._shouldForward("dirty"),Df._32(n,169)._shouldForward("valid"),Df._32(n,169)._shouldForward("invalid"),Df._32(n,169)._shouldForward("pending")]);l(n,178,1,[Df._32(n,184).ngClassUntouched,Df._32(n,184).ngClassTouched,Df._32(n,184).ngClassPristine,Df._32(n,184).ngClassDirty,Df._32(n,184).ngClassValid,Df._32(n,184).ngClassInvalid,Df._32(n,184).ngClassPending,Df._32(n,185)._isServer,Df._32(n,185).id,Df._32(n,185).placeholder,Df._32(n,185).disabled,Df._32(n,185).required,Df._32(n,185).readonly,Df._32(n,185)._ariaDescribedby||null,Df._32(n,185).errorState,Df._32(n,185).required.toString()]);l(n,188,0,Df._32(n,189).id);l(n,194,1,[Df._32(n,195)._control.errorState,Df._32(n,195)._control.errorState,Df._32(n,195)._canLabelFloat,Df._32(n,195)._shouldLabelFloat(),Df._32(n,195)._hideControlPlaceholder(),Df._32(n,195)._control.disabled,Df._32(n,195)._control.focused,"primary"==Df._32(n,195).color,"accent"==Df._32(n,195).color,"warn"==Df._32(n,195).color,Df._32(n,195)._shouldForward("untouched"),Df._32(n,195)._shouldForward("touched"),Df._32(n,195)._shouldForward("pristine"),Df._32(n,195)._shouldForward("dirty"),Df._32(n,195)._shouldForward("valid"),Df._32(n,195)._shouldForward("invalid"),Df._32(n,195)._shouldForward("pending")]);l(n,204,1,[Df._32(n,210).ngClassUntouched,Df._32(n,210).ngClassTouched,Df._32(n,210).ngClassPristine,Df._32(n,210).ngClassDirty,Df._32(n,210).ngClassValid,Df._32(n,210).ngClassInvalid,Df._32(n,210).ngClassPending,Df._32(n,211)._isServer,Df._32(n,211).id,Df._32(n,211).placeholder,Df._32(n,211).disabled,Df._32(n,211).required,Df._32(n,211).readonly,Df._32(n,211)._ariaDescribedby||null,Df._32(n,211).errorState,Df._32(n,211).required.toString()]);l(n,214,0,Df._32(n,215).id);l(n,219,1,[Df._32(n,220)._control.errorState,Df._32(n,220)._control.errorState,Df._32(n,220)._canLabelFloat,Df._32(n,220)._shouldLabelFloat(),Df._32(n,220)._hideControlPlaceholder(),Df._32(n,220)._control.disabled,Df._32(n,220)._control.focused,"primary"==Df._32(n,220).color,"accent"==Df._32(n,220).color,"warn"==Df._32(n,220).color,Df._32(n,220)._shouldForward("untouched"),Df._32(n,220)._shouldForward("touched"),Df._32(n,220)._shouldForward("pristine"),Df._32(n,220)._shouldForward("dirty"),Df._32(n,220)._shouldForward("valid"),Df._32(n,220)._shouldForward("invalid"),Df._32(n,220)._shouldForward("pending")]);l(n,229,1,[Df._32(n,233).ngClassUntouched,Df._32(n,233).ngClassTouched,Df._32(n,233).ngClassPristine,Df._32(n,233).ngClassDirty,Df._32(n,233).ngClassValid,Df._32(n,233).ngClassInvalid,Df._32(n,233).ngClassPending,Df._32(n,234).id,Df._32(n,234).tabIndex,Df._32(n,234)._ariaLabel,Df._32(n,234).ariaLabelledby,Df._32(n,234).required.toString(),Df._32(n,234).disabled.toString(),Df._32(n,234).errorState,Df._32(n,234).panelOpen?Df._32(n,234)._optionIds:null,Df._32(n,234).multiple,Df._32(n,234)._ariaDescribedby||null,Df._32(n,234)._getAriaActiveDescendant(),Df._32(n,234).disabled,Df._32(n,234).errorState,Df._32(n,234).required]);l(n,245,1,[Df._32(n,246)._control.errorState,Df._32(n,246)._control.errorState,Df._32(n,246)._canLabelFloat,Df._32(n,246)._shouldLabelFloat(),Df._32(n,246)._hideControlPlaceholder(),Df._32(n,246)._control.disabled,Df._32(n,246)._control.focused,"primary"==Df._32(n,246).color,"accent"==Df._32(n,246).color,"warn"==Df._32(n,246).color,Df._32(n,246)._shouldForward("untouched"),Df._32(n,246)._shouldForward("touched"),Df._32(n,246)._shouldForward("pristine"),Df._32(n,246)._shouldForward("dirty"),Df._32(n,246)._shouldForward("valid"),Df._32(n,246)._shouldForward("invalid"),Df._32(n,246)._shouldForward("pending")]);l(n,255,1,[Df._32(n,258).ngClassUntouched,Df._32(n,258).ngClassTouched,Df._32(n,258).ngClassPristine,Df._32(n,258).ngClassDirty,Df._32(n,258).ngClassValid,Df._32(n,258).ngClassInvalid,Df._32(n,258).ngClassPending,Df._32(n,259).id,Df._32(n,259).tabIndex,Df._32(n,259)._ariaLabel,Df._32(n,259).ariaLabelledby,Df._32(n,259).required.toString(),Df._32(n,259).disabled.toString(),Df._32(n,259).errorState,Df._32(n,259).panelOpen?Df._32(n,259)._optionIds:null,Df._32(n,259).multiple,Df._32(n,259)._ariaDescribedby||null,Df._32(n,259)._getAriaActiveDescendant(),Df._32(n,259).disabled,Df._32(n,259).errorState,Df._32(n,259).required]);l(n,266,0,Df._32(n,267)._getTabIndex(),Df._32(n,267).selected,Df._32(n,267).multiple,Df._32(n,267).active,Df._32(n,267).id,Df._32(n,267).selected.toString(),Df._32(n,267).disabled.toString(),Df._32(n,267).disabled);l(n,270,0,Df._32(n,271)._getTabIndex(),Df._32(n,271).selected,Df._32(n,271).multiple,Df._32(n,271).active,Df._32(n,271).id,Df._32(n,271).selected.toString(),Df._32(n,271).disabled.toString(),Df._32(n,271).disabled)})}function K_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,223,{_control:0}),Df._37(335544320,224,{_placeholderChild:0}),Df._37(335544320,225,{_labelChild:0}),Df._37(603979776,226,{_errorChildren:1}),Df._37(603979776,227,{_hintChildren:1}),Df._37(603979776,228,{_prefixChildren:1}),Df._37(603979776,229,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","trading_products_total_payments_percent_on_credit"],["matInput",""],["placeholder","What Percentage of Total Sales is done on Credit ?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[223,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"trading_products_total_payments_percent_on_credit");l(n,19,0,"What Percentage of Total Sales is done on Credit ?","number")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()])})}function H_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,7,"div",[["formArrayName","trading_products"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(8,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,M_)),Df._17(11,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,K_)),Df._17(15,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"trading_products");l(n,11,0,n.context.$implicit.controls.trading_products.controls);l(n,15,0,e.trdCreditCardFlag)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,0,Df._32(n,8).ngClassUntouched,Df._32(n,8).ngClassTouched,Df._32(n,8).ngClassPristine,Df._32(n,8).ngClassDirty,Df._32(n,8).ngClassValid,Df._32(n,8).ngClassInvalid,Df._32(n,8).ngClassPending)})}function G_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Trading Product Details"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,7,"div",[["formArrayName","trade_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(9,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(11,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,H_)),Df._17(14,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,9,0,"trade_details");l(n,14,0,e.clientInfoForm.controls.trade_details.controls)},function(l,n){l(n,8,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending)})}function Y_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[237,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.name)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function z_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[254,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Q_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[271,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function J_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,274,{_control:0}),Df._37(335544320,275,{_placeholderChild:0}),Df._37(335544320,276,{_labelChild:0}),Df._37(603979776,277,{_errorChildren:1}),Df._37(603979776,278,{_hintChildren:1}),Df._37(603979776,279,{_prefixChildren:1}),Df._37(603979776,280,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_person_designation"],["matInput",""],["placeholder","Specify Person Designation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[274,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_person_designation");l(n,16,0,"Specify Person Designation")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function X_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[309,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Z_(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,47,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),Df._17(3,16384,null,0,fy.f,[],null,null),(l()(),Df._39(-1,null,["No of days of Credit provided to Client for payment"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(7,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,322,{_control:0}),Df._37(335544320,323,{_placeholderChild:0}),Df._37(335544320,324,{_labelChild:0}),Df._37(603979776,325,{_errorChildren:1}),Df._37(603979776,326,{_hintChildren:1}),Df._37(603979776,327,{_prefixChildren:1}),Df._37(603979776,328,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_credit_days_from"],["matInput",""],["placeholder","Days From"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}return u},null,null)),Df._17(17,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(18,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[322,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(28,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,329,{_control:0}),Df._37(335544320,330,{_placeholderChild:0}),Df._37(335544320,331,{_labelChild:0}),Df._37(603979776,332,{_errorChildren:1}),Df._37(603979776,333,{_hintChildren:1}),Df._37(603979776,334,{_prefixChildren:1}),Df._37(603979776,335,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(37,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_credit_days_to"],["matInput",""],["placeholder","Days To"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,38)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,39).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,39).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,39).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,44)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,44)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,44)._onInput()&&u}return u},null,null)),Df._17(38,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(39,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(41,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(43,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(44,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[329,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"service_provider_product_credit_days_from");l(n,23,0,"Days From","number");l(n,41,0,"service_provider_product_credit_days_to");l(n,44,0,"Days To","number")},function(l,n){l(n,6,1,[Df._32(n,7)._control.errorState,Df._32(n,7)._control.errorState,Df._32(n,7)._canLabelFloat,Df._32(n,7)._shouldLabelFloat(),Df._32(n,7)._hideControlPlaceholder(),Df._32(n,7)._control.disabled,Df._32(n,7)._control.focused,"primary"==Df._32(n,7).color,"accent"==Df._32(n,7).color,"warn"==Df._32(n,7).color,Df._32(n,7)._shouldForward("untouched"),Df._32(n,7)._shouldForward("touched"),Df._32(n,7)._shouldForward("pristine"),Df._32(n,7)._shouldForward("dirty"),Df._32(n,7)._shouldForward("valid"),Df._32(n,7)._shouldForward("invalid"),Df._32(n,7)._shouldForward("pending")]);l(n,16,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()]);l(n,27,1,[Df._32(n,28)._control.errorState,Df._32(n,28)._control.errorState,Df._32(n,28)._canLabelFloat,Df._32(n,28)._shouldLabelFloat(),Df._32(n,28)._hideControlPlaceholder(),Df._32(n,28)._control.disabled,Df._32(n,28)._control.focused,"primary"==Df._32(n,28).color,"accent"==Df._32(n,28).color,"warn"==Df._32(n,28).color,Df._32(n,28)._shouldForward("untouched"),Df._32(n,28)._shouldForward("touched"),Df._32(n,28)._shouldForward("pristine"),Df._32(n,28)._shouldForward("dirty"),Df._32(n,28)._shouldForward("valid"),Df._32(n,28)._shouldForward("invalid"),Df._32(n,28)._shouldForward("pending")]);l(n,37,1,[Df._32(n,43).ngClassUntouched,Df._32(n,43).ngClassTouched,Df._32(n,43).ngClassPristine,Df._32(n,43).ngClassDirty,Df._32(n,43).ngClassValid,Df._32(n,43).ngClassInvalid,Df._32(n,43).ngClassPending,Df._32(n,44)._isServer,Df._32(n,44).id,Df._32(n,44).placeholder,Df._32(n,44).disabled,Df._32(n,44).required,Df._32(n,44).readonly,Df._32(n,44)._ariaDescribedby||null,Df._32(n,44).errorState,Df._32(n,44).required.toString()])})}function ld(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeServiceProduct(l.parent.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function nd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){l.component.addMoreServiceProduct(e);u=!1}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function ed(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,299,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.g,[],null,null),(l()(),Df._39(7,null,["Service Provided #",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(9,0,null,null,289,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(10,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,263,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(15,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,230,{_control:0}),Df._37(335544320,231,{_placeholderChild:0}),Df._37(335544320,232,{_labelChild:0}),Df._37(603979776,233,{_errorChildren:1}),Df._37(603979776,234,{_hintChildren:1}),Df._37(603979776,235,{_prefixChildren:1}),Df._37(603979776,236,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","service_provider_product_name"],["placeholder","Select the Service Provided"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,29)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,29)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,29)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(26,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(28,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(29,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,237,{options:1}),Df._37(603979776,238,{optionGroups:1}),Df._37(335544320,239,{customTrigger:0}),Df._36(2048,[[230,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Y_)),Df._17(36,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(40,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(41,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,240,{_control:0}),Df._37(335544320,241,{_placeholderChild:0}),Df._37(335544320,242,{_labelChild:0}),Df._37(603979776,243,{_errorChildren:1}),Df._37(603979776,244,{_hintChildren:1}),Df._37(603979776,245,{_prefixChildren:1}),Df._37(603979776,246,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(50,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_client_name"],["matInput",""],["placeholder","Client Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,51)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,51).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,51)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,51)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,56)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,56)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,56)._onInput()&&u}return u},null,null)),Df._17(51,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(53,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(55,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(56,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[240,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(60,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(61,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,247,{_control:0}),Df._37(335544320,248,{_placeholderChild:0}),Df._37(335544320,249,{_labelChild:0}),Df._37(603979776,250,{_errorChildren:1}),Df._37(603979776,251,{_hintChildren:1}),Df._37(603979776,252,{_prefixChildren:1}),Df._37(603979776,253,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(70,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","person_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,75)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(72,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(74,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(75,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,254,{options:1}),Df._37(603979776,255,{optionGroups:1}),Df._37(335544320,256,{customTrigger:0}),Df._36(2048,[[247,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,z_)),Df._17(82,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(86,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(87,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,257,{_control:0}),Df._37(335544320,258,{_placeholderChild:0}),Df._37(335544320,259,{_labelChild:0}),Df._37(603979776,260,{_errorChildren:1}),Df._37(603979776,261,{_hintChildren:1}),Df._37(603979776,262,{_prefixChildren:1}),Df._37(603979776,263,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(96,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_contact_person_name"],["matInput",""],["placeholder","Client Contact Person Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,97)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,97).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,97)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,97)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,102)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,102)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,102)._onInput()&&u}return u},null,null)),Df._17(97,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(99,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(101,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(102,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[257,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(106,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(107,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,264,{_control:0}),Df._37(335544320,265,{_placeholderChild:0}),Df._37(335544320,266,{_labelChild:0}),Df._37(603979776,267,{_errorChildren:1}),Df._37(603979776,268,{_hintChildren:1}),Df._37(603979776,269,{_prefixChildren:1}),Df._37(603979776,270,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(116,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","person_designation"],["placeholder","Contact Person Designation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,120)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,120)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,120)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedPersonDesignation(l.context.$implicit,e.value,3)&&u}return u},TC.b,TC.a)),Df._17(117,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(119,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(120,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,271,{options:1}),Df._37(603979776,272,{optionGroups:1}),Df._37(335544320,273,{customTrigger:0}),Df._36(2048,[[264,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(127,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,128)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,128)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(128,8437760,[[271,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Q_)),Df._17(132,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,J_)),Df._17(138,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(140,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(141,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,281,{_control:0}),Df._37(335544320,282,{_placeholderChild:0}),Df._37(335544320,283,{_labelChild:0}),Df._37(603979776,284,{_errorChildren:1}),Df._37(603979776,285,{_hintChildren:1}),Df._37(603979776,286,{_prefixChildren:1}),Df._37(603979776,287,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(150,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_provider_product_contact_person_mobile_number"],["matInput",""],["maxlength","10"],["placeholder","Client Contact Person Mobile Number"],["type","number"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,151)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,151).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,151)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,151)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,152).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,152).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,152).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,159)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,159)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,159)._onInput()&&u}return u},null,null)),Df._17(151,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(152,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(153,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(156,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(158,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(159,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[281,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(162,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(163,16384,[[284,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid Mobile Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(167,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(168,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,288,{_control:0}),Df._37(335544320,289,{_placeholderChild:0}),Df._37(335544320,290,{_labelChild:0}),Df._37(603979776,291,{_errorChildren:1}),Df._37(603979776,292,{_hintChildren:1}),Df._37(603979776,293,{_prefixChildren:1}),Df._37(603979776,294,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(177,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_stdcode"],["matInput",""],["placeholder","STD Code"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,178)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,178).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,178)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,178)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,179).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,179).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,179).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,184)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,184)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,184)._onInput()&&u}return u},null,null)),Df._17(178,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(179,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(181,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(183,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(184,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[288,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(187,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(188,16384,[[291,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid STD Code Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(193,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(194,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,295,{_control:0}),Df._37(335544320,296,{_placeholderChild:0}),Df._37(335544320,297,{_labelChild:0}),Df._37(603979776,298,{_errorChildren:1}),Df._37(603979776,299,{_hintChildren:1}),Df._37(603979776,300,{_prefixChildren:1}),Df._37(603979776,301,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(203,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_landline"],["matInput",""],["placeholder","Client Contact Person Landline Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,204)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,204).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,204)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,204)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,205).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,205).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,205).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,210)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,210)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,210)._onInput()&&u}return u},null,null)),Df._17(204,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(205,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(207,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(209,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(210,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[295,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(213,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(214,16384,[[298,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid LandLine Number."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(218,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(219,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,302,{_control:0}),Df._37(335544320,303,{_placeholderChild:0}),Df._37(335544320,304,{_labelChild:0}),Df._37(603979776,305,{_errorChildren:1}),Df._37(603979776,306,{_hintChildren:1}),Df._37(603979776,307,{_prefixChildren:1}),Df._37(603979776,308,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(228,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","service_provider_product_payment_type"],["placeholder","Payment Terms"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,233)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,233)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,233)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.checkCard(e.value,3,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(230,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(232,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(233,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,309,{options:1}),Df._37(603979776,310,{optionGroups:1}),Df._37(335544320,311,{customTrigger:0}),Df._36(2048,[[302,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,X_)),Df._17(240,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(244,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(245,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,312,{_control:0}),Df._37(335544320,313,{_placeholderChild:0}),Df._37(335544320,314,{_labelChild:0}),Df._37(603979776,315,{_errorChildren:1}),Df._37(603979776,316,{_hintChildren:1}),Df._37(603979776,317,{_prefixChildren:1}),Df._37(603979776,318,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(254,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","service_provider_product_payment_mode"],["placeholder","Payment Mode"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,258)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,258)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,258)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(255,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(257,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(258,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,319,{options:1}),Df._37(603979776,320,{optionGroups:1}),Df._37(335544320,321,{customTrigger:0}),Df._36(2048,[[312,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(265,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received in Cash."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,266)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,266)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(266,8437760,[[319,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Payment received in\n Cash."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(269,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Payment received through Banking channels."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,270)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,270)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(270,8437760,[[319,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Payment\n received through Banking channels."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Z_)),Df._17(278,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(280,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(281,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,336,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(284,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(285,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ld)),Df._17(288,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(291,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(292,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,nd)),Df._17(295,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,26,0,"service_provider_product_name");l(n,29,0,"Select the Service Provided");l(n,36,0,e.m_suplierProducts[0]);l(n,53,0,"service_provider_client_name");l(n,56,0,"Client Name");l(n,72,0,"person_title_name");l(n,75,0,"Title");l(n,82,0,e.titleList);l(n,99,0,"service_provider_product_contact_person_name");l(n,102,0,"Client Contact Person Name");l(n,117,0,"person_designation");l(n,120,0,"Contact Person Designation");l(n,132,0,e.companyRelationShipList);l(n,138,0,1==n.context.$implicit.get("person_designation").value);l(n,153,0,"10");l(n,156,0,"service_provider_product_contact_person_mobile_number");l(n,159,0,"Client Contact Person Mobile Number","number");l(n,181,0,"person_stdcode");l(n,184,0,"STD Code","number");l(n,207,0,"person_landline");l(n,210,0,"Client Contact Person Landline Number","number");l(n,230,0,"service_provider_product_payment_type");l(n,233,0,"Payment Terms");l(n,240,0,e.m_paymentType);l(n,255,0,"service_provider_product_payment_mode");l(n,258,0,"Payment Mode");l(n,266,0,"Payment received in Cash.");l(n,270,0,"Payment received through Banking channels.");l(n,278,0,3==n.context.$implicit.get("service_provider_product_payment_type").value);l(n,288,0,n.parent.context.$implicit.controls.service_products.controls.length>1);l(n,295,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,7,0,n.context.index+1);l(n,14,1,[Df._32(n,15)._control.errorState,Df._32(n,15)._control.errorState,Df._32(n,15)._canLabelFloat,Df._32(n,15)._shouldLabelFloat(),Df._32(n,15)._hideControlPlaceholder(),Df._32(n,15)._control.disabled,Df._32(n,15)._control.focused,"primary"==Df._32(n,15).color,"accent"==Df._32(n,15).color,"warn"==Df._32(n,15).color,Df._32(n,15)._shouldForward("untouched"),Df._32(n,15)._shouldForward("touched"),Df._32(n,15)._shouldForward("pristine"),Df._32(n,15)._shouldForward("dirty"),Df._32(n,15)._shouldForward("valid"),Df._32(n,15)._shouldForward("invalid"),Df._32(n,15)._shouldForward("pending")]);l(n,24,1,[Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending,Df._32(n,29).id,Df._32(n,29).tabIndex,Df._32(n,29)._ariaLabel,Df._32(n,29).ariaLabelledby,Df._32(n,29).required.toString(),Df._32(n,29).disabled.toString(),Df._32(n,29).errorState,Df._32(n,29).panelOpen?Df._32(n,29)._optionIds:null,Df._32(n,29).multiple,Df._32(n,29)._ariaDescribedby||null,Df._32(n,29)._getAriaActiveDescendant(),Df._32(n,29).disabled,Df._32(n,29).errorState,Df._32(n,29).required]);l(n,40,1,[Df._32(n,41)._control.errorState,Df._32(n,41)._control.errorState,Df._32(n,41)._canLabelFloat,Df._32(n,41)._shouldLabelFloat(),Df._32(n,41)._hideControlPlaceholder(),Df._32(n,41)._control.disabled,Df._32(n,41)._control.focused,"primary"==Df._32(n,41).color,"accent"==Df._32(n,41).color,"warn"==Df._32(n,41).color,Df._32(n,41)._shouldForward("untouched"),Df._32(n,41)._shouldForward("touched"),Df._32(n,41)._shouldForward("pristine"),Df._32(n,41)._shouldForward("dirty"),Df._32(n,41)._shouldForward("valid"),Df._32(n,41)._shouldForward("invalid"),Df._32(n,41)._shouldForward("pending")]);l(n,50,1,[Df._32(n,55).ngClassUntouched,Df._32(n,55).ngClassTouched,Df._32(n,55).ngClassPristine,Df._32(n,55).ngClassDirty,Df._32(n,55).ngClassValid,Df._32(n,55).ngClassInvalid,Df._32(n,55).ngClassPending,Df._32(n,56)._isServer,Df._32(n,56).id,Df._32(n,56).placeholder,Df._32(n,56).disabled,Df._32(n,56).required,Df._32(n,56).readonly,Df._32(n,56)._ariaDescribedby||null,Df._32(n,56).errorState,Df._32(n,56).required.toString()]);l(n,60,1,[Df._32(n,61)._control.errorState,Df._32(n,61)._control.errorState,Df._32(n,61)._canLabelFloat,Df._32(n,61)._shouldLabelFloat(),Df._32(n,61)._hideControlPlaceholder(),Df._32(n,61)._control.disabled,Df._32(n,61)._control.focused,"primary"==Df._32(n,61).color,"accent"==Df._32(n,61).color,"warn"==Df._32(n,61).color,Df._32(n,61)._shouldForward("untouched"),Df._32(n,61)._shouldForward("touched"),Df._32(n,61)._shouldForward("pristine"),Df._32(n,61)._shouldForward("dirty"),Df._32(n,61)._shouldForward("valid"),Df._32(n,61)._shouldForward("invalid"),Df._32(n,61)._shouldForward("pending")]);l(n,70,1,[Df._32(n,74).ngClassUntouched,Df._32(n,74).ngClassTouched,Df._32(n,74).ngClassPristine,Df._32(n,74).ngClassDirty,Df._32(n,74).ngClassValid,Df._32(n,74).ngClassInvalid,Df._32(n,74).ngClassPending,Df._32(n,75).id,Df._32(n,75).tabIndex,Df._32(n,75)._ariaLabel,Df._32(n,75).ariaLabelledby,Df._32(n,75).required.toString(),Df._32(n,75).disabled.toString(),Df._32(n,75).errorState,Df._32(n,75).panelOpen?Df._32(n,75)._optionIds:null,Df._32(n,75).multiple,Df._32(n,75)._ariaDescribedby||null,Df._32(n,75)._getAriaActiveDescendant(),Df._32(n,75).disabled,Df._32(n,75).errorState,Df._32(n,75).required]);l(n,86,1,[Df._32(n,87)._control.errorState,Df._32(n,87)._control.errorState,Df._32(n,87)._canLabelFloat,Df._32(n,87)._shouldLabelFloat(),Df._32(n,87)._hideControlPlaceholder(),Df._32(n,87)._control.disabled,Df._32(n,87)._control.focused,"primary"==Df._32(n,87).color,"accent"==Df._32(n,87).color,"warn"==Df._32(n,87).color,Df._32(n,87)._shouldForward("untouched"),Df._32(n,87)._shouldForward("touched"),Df._32(n,87)._shouldForward("pristine"),Df._32(n,87)._shouldForward("dirty"),Df._32(n,87)._shouldForward("valid"),Df._32(n,87)._shouldForward("invalid"),Df._32(n,87)._shouldForward("pending")]);l(n,96,1,[Df._32(n,101).ngClassUntouched,Df._32(n,101).ngClassTouched,Df._32(n,101).ngClassPristine,Df._32(n,101).ngClassDirty,Df._32(n,101).ngClassValid,Df._32(n,101).ngClassInvalid,Df._32(n,101).ngClassPending,Df._32(n,102)._isServer,Df._32(n,102).id,Df._32(n,102).placeholder,Df._32(n,102).disabled,Df._32(n,102).required,Df._32(n,102).readonly,Df._32(n,102)._ariaDescribedby||null,Df._32(n,102).errorState,Df._32(n,102).required.toString()]);l(n,106,1,[Df._32(n,107)._control.errorState,Df._32(n,107)._control.errorState,Df._32(n,107)._canLabelFloat,Df._32(n,107)._shouldLabelFloat(),Df._32(n,107)._hideControlPlaceholder(),Df._32(n,107)._control.disabled,Df._32(n,107)._control.focused,"primary"==Df._32(n,107).color,"accent"==Df._32(n,107).color,"warn"==Df._32(n,107).color,Df._32(n,107)._shouldForward("untouched"),Df._32(n,107)._shouldForward("touched"),Df._32(n,107)._shouldForward("pristine"),Df._32(n,107)._shouldForward("dirty"),Df._32(n,107)._shouldForward("valid"),Df._32(n,107)._shouldForward("invalid"),Df._32(n,107)._shouldForward("pending")]);l(n,116,1,[Df._32(n,119).ngClassUntouched,Df._32(n,119).ngClassTouched,Df._32(n,119).ngClassPristine,Df._32(n,119).ngClassDirty,Df._32(n,119).ngClassValid,Df._32(n,119).ngClassInvalid,Df._32(n,119).ngClassPending,Df._32(n,120).id,Df._32(n,120).tabIndex,Df._32(n,120)._ariaLabel,Df._32(n,120).ariaLabelledby,Df._32(n,120).required.toString(),Df._32(n,120).disabled.toString(),Df._32(n,120).errorState,Df._32(n,120).panelOpen?Df._32(n,120)._optionIds:null,Df._32(n,120).multiple,Df._32(n,120)._ariaDescribedby||null,Df._32(n,120)._getAriaActiveDescendant(),Df._32(n,120).disabled,Df._32(n,120).errorState,Df._32(n,120).required]);l(n,127,0,Df._32(n,128)._getTabIndex(),Df._32(n,128).selected,Df._32(n,128).multiple,Df._32(n,128).active,Df._32(n,128).id,Df._32(n,128).selected.toString(),Df._32(n,128).disabled.toString(),Df._32(n,128).disabled);l(n,140,1,[Df._32(n,141)._control.errorState,Df._32(n,141)._control.errorState,Df._32(n,141)._canLabelFloat,Df._32(n,141)._shouldLabelFloat(),Df._32(n,141)._hideControlPlaceholder(),Df._32(n,141)._control.disabled,Df._32(n,141)._control.focused,"primary"==Df._32(n,141).color,"accent"==Df._32(n,141).color,"warn"==Df._32(n,141).color,Df._32(n,141)._shouldForward("untouched"),Df._32(n,141)._shouldForward("touched"),Df._32(n,141)._shouldForward("pristine"),Df._32(n,141)._shouldForward("dirty"),Df._32(n,141)._shouldForward("valid"),Df._32(n,141)._shouldForward("invalid"),Df._32(n,141)._shouldForward("pending")]);l(n,150,1,[Df._32(n,153).maxlength?Df._32(n,153).maxlength:null,Df._32(n,158).ngClassUntouched,Df._32(n,158).ngClassTouched,Df._32(n,158).ngClassPristine,Df._32(n,158).ngClassDirty,Df._32(n,158).ngClassValid,Df._32(n,158).ngClassInvalid,Df._32(n,158).ngClassPending,Df._32(n,159)._isServer,Df._32(n,159).id,Df._32(n,159).placeholder,Df._32(n,159).disabled,Df._32(n,159).required,Df._32(n,159).readonly,Df._32(n,159)._ariaDescribedby||null,Df._32(n,159).errorState,Df._32(n,159).required.toString()]);l(n,162,0,Df._32(n,163).id);l(n,167,1,[Df._32(n,168)._control.errorState,Df._32(n,168)._control.errorState,Df._32(n,168)._canLabelFloat,Df._32(n,168)._shouldLabelFloat(),Df._32(n,168)._hideControlPlaceholder(),Df._32(n,168)._control.disabled,Df._32(n,168)._control.focused,"primary"==Df._32(n,168).color,"accent"==Df._32(n,168).color,"warn"==Df._32(n,168).color,Df._32(n,168)._shouldForward("untouched"),Df._32(n,168)._shouldForward("touched"),Df._32(n,168)._shouldForward("pristine"),Df._32(n,168)._shouldForward("dirty"),Df._32(n,168)._shouldForward("valid"),Df._32(n,168)._shouldForward("invalid"),Df._32(n,168)._shouldForward("pending")]);l(n,177,1,[Df._32(n,183).ngClassUntouched,Df._32(n,183).ngClassTouched,Df._32(n,183).ngClassPristine,Df._32(n,183).ngClassDirty,Df._32(n,183).ngClassValid,Df._32(n,183).ngClassInvalid,Df._32(n,183).ngClassPending,Df._32(n,184)._isServer,Df._32(n,184).id,Df._32(n,184).placeholder,Df._32(n,184).disabled,Df._32(n,184).required,Df._32(n,184).readonly,Df._32(n,184)._ariaDescribedby||null,Df._32(n,184).errorState,Df._32(n,184).required.toString()]);l(n,187,0,Df._32(n,188).id);l(n,193,1,[Df._32(n,194)._control.errorState,Df._32(n,194)._control.errorState,Df._32(n,194)._canLabelFloat,Df._32(n,194)._shouldLabelFloat(),Df._32(n,194)._hideControlPlaceholder(),Df._32(n,194)._control.disabled,Df._32(n,194)._control.focused,"primary"==Df._32(n,194).color,"accent"==Df._32(n,194).color,"warn"==Df._32(n,194).color,Df._32(n,194)._shouldForward("untouched"),Df._32(n,194)._shouldForward("touched"),Df._32(n,194)._shouldForward("pristine"),Df._32(n,194)._shouldForward("dirty"),Df._32(n,194)._shouldForward("valid"),Df._32(n,194)._shouldForward("invalid"),Df._32(n,194)._shouldForward("pending")]);l(n,203,1,[Df._32(n,209).ngClassUntouched,Df._32(n,209).ngClassTouched,Df._32(n,209).ngClassPristine,Df._32(n,209).ngClassDirty,Df._32(n,209).ngClassValid,Df._32(n,209).ngClassInvalid,Df._32(n,209).ngClassPending,Df._32(n,210)._isServer,Df._32(n,210).id,Df._32(n,210).placeholder,Df._32(n,210).disabled,Df._32(n,210).required,Df._32(n,210).readonly,Df._32(n,210)._ariaDescribedby||null,Df._32(n,210).errorState,Df._32(n,210).required.toString()]);l(n,213,0,Df._32(n,214).id);l(n,218,1,[Df._32(n,219)._control.errorState,Df._32(n,219)._control.errorState,Df._32(n,219)._canLabelFloat,Df._32(n,219)._shouldLabelFloat(),Df._32(n,219)._hideControlPlaceholder(),Df._32(n,219)._control.disabled,Df._32(n,219)._control.focused,"primary"==Df._32(n,219).color,"accent"==Df._32(n,219).color,"warn"==Df._32(n,219).color,Df._32(n,219)._shouldForward("untouched"),Df._32(n,219)._shouldForward("touched"),Df._32(n,219)._shouldForward("pristine"),Df._32(n,219)._shouldForward("dirty"),Df._32(n,219)._shouldForward("valid"),Df._32(n,219)._shouldForward("invalid"),Df._32(n,219)._shouldForward("pending")]);l(n,228,1,[Df._32(n,232).ngClassUntouched,Df._32(n,232).ngClassTouched,Df._32(n,232).ngClassPristine,Df._32(n,232).ngClassDirty,Df._32(n,232).ngClassValid,Df._32(n,232).ngClassInvalid,Df._32(n,232).ngClassPending,Df._32(n,233).id,Df._32(n,233).tabIndex,Df._32(n,233)._ariaLabel,Df._32(n,233).ariaLabelledby,Df._32(n,233).required.toString(),Df._32(n,233).disabled.toString(),Df._32(n,233).errorState,Df._32(n,233).panelOpen?Df._32(n,233)._optionIds:null,Df._32(n,233).multiple,Df._32(n,233)._ariaDescribedby||null,Df._32(n,233)._getAriaActiveDescendant(),Df._32(n,233).disabled,Df._32(n,233).errorState,Df._32(n,233).required]);l(n,244,1,[Df._32(n,245)._control.errorState,Df._32(n,245)._control.errorState,Df._32(n,245)._canLabelFloat,Df._32(n,245)._shouldLabelFloat(),Df._32(n,245)._hideControlPlaceholder(),Df._32(n,245)._control.disabled,Df._32(n,245)._control.focused,"primary"==Df._32(n,245).color,"accent"==Df._32(n,245).color,"warn"==Df._32(n,245).color,Df._32(n,245)._shouldForward("untouched"),Df._32(n,245)._shouldForward("touched"),Df._32(n,245)._shouldForward("pristine"),Df._32(n,245)._shouldForward("dirty"),Df._32(n,245)._shouldForward("valid"),Df._32(n,245)._shouldForward("invalid"),Df._32(n,245)._shouldForward("pending")]);l(n,254,1,[Df._32(n,257).ngClassUntouched,Df._32(n,257).ngClassTouched,Df._32(n,257).ngClassPristine,Df._32(n,257).ngClassDirty,Df._32(n,257).ngClassValid,Df._32(n,257).ngClassInvalid,Df._32(n,257).ngClassPending,Df._32(n,258).id,Df._32(n,258).tabIndex,Df._32(n,258)._ariaLabel,Df._32(n,258).ariaLabelledby,Df._32(n,258).required.toString(),Df._32(n,258).disabled.toString(),Df._32(n,258).errorState,Df._32(n,258).panelOpen?Df._32(n,258)._optionIds:null,Df._32(n,258).multiple,Df._32(n,258)._ariaDescribedby||null,Df._32(n,258)._getAriaActiveDescendant(),Df._32(n,258).disabled,Df._32(n,258).errorState,Df._32(n,258).required]);l(n,265,0,Df._32(n,266)._getTabIndex(),Df._32(n,266).selected,Df._32(n,266).multiple,Df._32(n,266).active,Df._32(n,266).id,Df._32(n,266).selected.toString(),Df._32(n,266).disabled.toString(),Df._32(n,266).disabled);l(n,269,0,Df._32(n,270)._getTabIndex(),Df._32(n,270).selected,Df._32(n,270).multiple,Df._32(n,270).active,Df._32(n,270).id,Df._32(n,270).selected.toString(),Df._32(n,270).disabled.toString(),Df._32(n,270).disabled)})}function ud(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,337,{_control:0}),Df._37(335544320,338,{_placeholderChild:0}),Df._37(335544320,339,{_labelChild:0}),Df._37(603979776,340,{_errorChildren:1}),Df._37(603979776,341,{_hintChildren:1}),Df._37(603979776,342,{_prefixChildren:1}),Df._37(603979776,343,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","service_products_total_payments_percent_on_credit"],["matInput",""],["placeholder","What Percentage of Total Sales is done on Credit ?"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[337,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,16,0,"service_products_total_payments_percent_on_credit");l(n,19,0,"What Percentage of Total Sales is done on Credit ?","number")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()])})}function td(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,16,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,7,"div",[["formArrayName","service_products"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(8,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ed)),Df._17(11,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ud)),Df._17(15,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,6,0,"service_products");l(n,11,0,n.context.$implicit.controls.service_products.controls);l(n,15,0,e.spCreditCardFlag)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,0,Df._32(n,8).ngClassUntouched,Df._32(n,8).ngClassTouched,Df._32(n,8).ngClassPristine,Df._32(n,8).ngClassDirty,Df._32(n,8).ngClassValid,Df._32(n,8).ngClassInvalid,Df._32(n,8).ngClassPending)})}function ad(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,17,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Service Provider Product Details"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(9,0,null,0,7,"div",[["formArrayName","service_provider_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(10,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(12,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,td)),Df._17(15,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,10,0,"service_provider_details");l(n,15,0,e.clientInfoForm.controls.service_provider_details.controls)},function(l,n){l(n,9,0,Df._32(n,12).ngClassUntouched,Df._32(n,12).ngClassTouched,Df._32(n,12).ngClassPristine,Df._32(n,12).ngClassDirty,Df._32(n,12).ngClassValid,Df._32(n,12).ngClassInvalid,Df._32(n,12).ngClassPending)})}function id(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,57,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,54,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,4).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,4).onReset()&&u}return u},null,null)),Df._17(3,16384,null,0,Jf.B,[],null,null),Df._17(4,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,47,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,V_)),Df._17(11,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,G_)),Df._17(14,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ad)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(19,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(20,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(22,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(23,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,344,{_control:0}),Df._37(335544320,345,{_placeholderChild:0}),Df._37(335544320,346,{_labelChild:0}),Df._37(603979776,347,{_errorChildren:1}),Df._37(603979776,348,{_hintChildren:1}),Df._37(603979776,349,{_prefixChildren:1}),Df._37(603979776,350,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(32,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(33,16384,[[346,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(36,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","supplier_info_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,37)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,37).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,37)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,37)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,42)._onInput()&&u}return u},null,null)),Df._17(37,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(39,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(41,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(42,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[344,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(48,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(49,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(51,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveClientInfo(t.clientInfoForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(52,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,e.clientInfoForm);l(n,11,0,e.manufacturingForm);l(n,14,0,e.tradingForm);l(n,17,0,e.serviceProviderForm);l(n,39,0,"supplier_info_form_remark");l(n,42,0,"Remarks");l(n,52,0,"optblue","")},function(l,n){l(n,2,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending);l(n,22,1,[Df._32(n,23)._control.errorState,Df._32(n,23)._control.errorState,Df._32(n,23)._canLabelFloat,Df._32(n,23)._shouldLabelFloat(),Df._32(n,23)._hideControlPlaceholder(),Df._32(n,23)._control.disabled,Df._32(n,23)._control.focused,"primary"==Df._32(n,23).color,"accent"==Df._32(n,23).color,"warn"==Df._32(n,23).color,Df._32(n,23)._shouldForward("untouched"),Df._32(n,23)._shouldForward("touched"),Df._32(n,23)._shouldForward("pristine"),Df._32(n,23)._shouldForward("dirty"),Df._32(n,23)._shouldForward("valid"),Df._32(n,23)._shouldForward("invalid"),Df._32(n,23)._shouldForward("pending")]);l(n,36,1,[Df._32(n,41).ngClassUntouched,Df._32(n,41).ngClassTouched,Df._32(n,41).ngClassPristine,Df._32(n,41).ngClassDirty,Df._32(n,41).ngClassValid,Df._32(n,41).ngClassInvalid,Df._32(n,41).ngClassPending,Df._32(n,42)._isServer,Df._32(n,42).id,Df._32(n,42).placeholder,Df._32(n,42).disabled,Df._32(n,42).required,Df._32(n,42).readonly,Df._32(n,42)._ariaDescribedby||null,Df._32(n,42).errorState,Df._32(n,42).required.toString()])})}function od(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,11,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,8,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(3,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(5,0,null,0,4,"div",[["fxLayout","row"],["fxLayoutAlign","start none"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,1,"div",[["style","margin: 12px; font-size: 18px;"]],null,null,null,null,null)),(l()(),Df._39(8,null,[" "," "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){l(n,8,0,n.component.errorMessage)})}function rd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,F_)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(22,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,id)),Df._17(26,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,od)),Df._17(29,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.noRecordsFound);l(n,29,0,!e.noRecordsFound)},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher)})}function _d(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function dd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,29,{_control:0}),Df._37(335544320,30,{_placeholderChild:0}),Df._37(335544320,31,{_labelChild:0}),Df._37(603979776,32,{_errorChildren:1}),Df._37(603979776,33,{_hintChildren:1}),Df._37(603979776,34,{_prefixChildren:1}),Df._37(603979776,35,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","nature_others"],["matInput",""],["placeholder","Nature property other"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[29,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"nature_others");l(n,16,0,"Nature property other")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function sd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,107,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,65,{_control:0}),Df._37(335544320,66,{_placeholderChild:0}),Df._37(335544320,67,{_labelChild:0}),Df._37(603979776,68,{_errorChildren:1}),Df._37(603979776,69,{_hintChildren:1}),Df._37(603979776,70,{_prefixChildren:1}),Df._37(603979776,71,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","date_agreement"],["matInput",""],["name","date_agreement"],["placeholder","Date of Agreement"],["type","date"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,18)._onInput()&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(18,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[65,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(22,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(23,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,72,{_control:0}),Df._37(335544320,73,{_placeholderChild:0}),Df._37(335544320,74,{_labelChild:0}),Df._37(603979776,75,{_errorChildren:1}),Df._37(603979776,76,{_hintChildren:1}),Df._37(603979776,77,{_prefixChildren:1}),Df._37(603979776,78,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","date_validity"],["matInput",""],["name","date_validity"],["placeholder","Validity"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,33)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,33).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,33)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,33)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,38)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,38)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,38)._onInput()&&u}return u},null,null)),Df._17(33,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(35,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(37,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(38,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[72,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(42,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(43,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,79,{_control:0}),Df._37(335544320,80,{_placeholderChild:0}),Df._37(335544320,81,{_labelChild:0}),Df._37(603979776,82,{_errorChildren:1}),Df._37(603979776,83,{_hintChildren:1}),Df._37(603979776,84,{_prefixChildren:1}),Df._37(603979776,85,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(52,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent_agreement"],["matInput",""],["name","rent_agreement"],["placeholder","Rent as per Agreement"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,53)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,53).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,53)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,53)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,54).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,54).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,54).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,59)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,59)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,59)._onInput()&&u}return u},null,null)),Df._17(53,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(54,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(56,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(58,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(59,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[79,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(63,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(64,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,86,{_control:0}),Df._37(335544320,87,{_placeholderChild:0}),Df._37(335544320,88,{_labelChild:0}),Df._37(603979776,89,{_errorChildren:1}),Df._37(603979776,90,{_hintChildren:1}),Df._37(603979776,91,{_prefixChildren:1}),Df._37(603979776,92,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(73,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","actual_rent"],["matInput",""],["name","actual_rent"],["placeholder","Actual Rent"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,74)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,74).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,74)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,74)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,75).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,75).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,75).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,80)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,80)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,80)._onInput()&&u}return u},null,null)),Df._17(74,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(75,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(77,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(79,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(80,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[86,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(84,0,null,null,22,"mat-list",[["class","mat-list"]],null,null,null,nC.d,nC.a)),Df._17(85,49152,null,0,eC.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(87,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Photo of agreement taken ?"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(90,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","photo_areegment"],["name","photo_areegment"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(91,1064960,null,1,tC.b,[Df.i],{name:[0,"name"]},null),Df._37(603979776,93,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(94,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(96,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(98,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,99)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(99,4440064,[[93,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(102,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,103)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(103,4440064,[[93,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,15,0,"date_agreement");l(n,18,0,"Date of Agreement","date");l(n,35,0,"date_validity");l(n,38,0,"Validity","text");l(n,56,0,"rent_agreement");l(n,59,0,"Rent as per Agreement","number");l(n,77,0,"actual_rent");l(n,80,0,"Actual Rent","number");l(n,91,0,"photo_areegment");l(n,94,0,"photo_areegment");l(n,99,0,"yes");l(n,103,0,"no")},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending,Df._32(n,18)._isServer,Df._32(n,18).id,Df._32(n,18).placeholder,Df._32(n,18).disabled,Df._32(n,18).required,Df._32(n,18).readonly,Df._32(n,18)._ariaDescribedby||null,Df._32(n,18).errorState,Df._32(n,18).required.toString()]);l(n,22,1,[Df._32(n,23)._control.errorState,Df._32(n,23)._control.errorState,Df._32(n,23)._canLabelFloat,Df._32(n,23)._shouldLabelFloat(),Df._32(n,23)._hideControlPlaceholder(),Df._32(n,23)._control.disabled,Df._32(n,23)._control.focused,"primary"==Df._32(n,23).color,"accent"==Df._32(n,23).color,"warn"==Df._32(n,23).color,Df._32(n,23)._shouldForward("untouched"),Df._32(n,23)._shouldForward("touched"),Df._32(n,23)._shouldForward("pristine"),Df._32(n,23)._shouldForward("dirty"),Df._32(n,23)._shouldForward("valid"),Df._32(n,23)._shouldForward("invalid"),Df._32(n,23)._shouldForward("pending")]);l(n,32,1,[Df._32(n,37).ngClassUntouched,Df._32(n,37).ngClassTouched,Df._32(n,37).ngClassPristine,Df._32(n,37).ngClassDirty,Df._32(n,37).ngClassValid,Df._32(n,37).ngClassInvalid,Df._32(n,37).ngClassPending,Df._32(n,38)._isServer,Df._32(n,38).id,Df._32(n,38).placeholder,Df._32(n,38).disabled,Df._32(n,38).required,Df._32(n,38).readonly,Df._32(n,38)._ariaDescribedby||null,Df._32(n,38).errorState,Df._32(n,38).required.toString()]);l(n,42,1,[Df._32(n,43)._control.errorState,Df._32(n,43)._control.errorState,Df._32(n,43)._canLabelFloat,Df._32(n,43)._shouldLabelFloat(),Df._32(n,43)._hideControlPlaceholder(),Df._32(n,43)._control.disabled,Df._32(n,43)._control.focused,"primary"==Df._32(n,43).color,"accent"==Df._32(n,43).color,"warn"==Df._32(n,43).color,Df._32(n,43)._shouldForward("untouched"),Df._32(n,43)._shouldForward("touched"),Df._32(n,43)._shouldForward("pristine"),Df._32(n,43)._shouldForward("dirty"),Df._32(n,43)._shouldForward("valid"),Df._32(n,43)._shouldForward("invalid"),Df._32(n,43)._shouldForward("pending")]);l(n,52,1,[Df._32(n,58).ngClassUntouched,Df._32(n,58).ngClassTouched,Df._32(n,58).ngClassPristine,Df._32(n,58).ngClassDirty,Df._32(n,58).ngClassValid,Df._32(n,58).ngClassInvalid,Df._32(n,58).ngClassPending,Df._32(n,59)._isServer,Df._32(n,59).id,Df._32(n,59).placeholder,Df._32(n,59).disabled,Df._32(n,59).required,Df._32(n,59).readonly,Df._32(n,59)._ariaDescribedby||null,Df._32(n,59).errorState,Df._32(n,59).required.toString()]);l(n,63,1,[Df._32(n,64)._control.errorState,Df._32(n,64)._control.errorState,Df._32(n,64)._canLabelFloat,Df._32(n,64)._shouldLabelFloat(),Df._32(n,64)._hideControlPlaceholder(),Df._32(n,64)._control.disabled,Df._32(n,64)._control.focused,"primary"==Df._32(n,64).color,"accent"==Df._32(n,64).color,"warn"==Df._32(n,64).color,Df._32(n,64)._shouldForward("untouched"),Df._32(n,64)._shouldForward("touched"),Df._32(n,64)._shouldForward("pristine"),Df._32(n,64)._shouldForward("dirty"),Df._32(n,64)._shouldForward("valid"),Df._32(n,64)._shouldForward("invalid"),Df._32(n,64)._shouldForward("pending")]);l(n,73,1,[Df._32(n,79).ngClassUntouched,Df._32(n,79).ngClassTouched,Df._32(n,79).ngClassPristine,Df._32(n,79).ngClassDirty,Df._32(n,79).ngClassValid,Df._32(n,79).ngClassInvalid,Df._32(n,79).ngClassPending,Df._32(n,80)._isServer,Df._32(n,80).id,Df._32(n,80).placeholder,Df._32(n,80).disabled,Df._32(n,80).required,Df._32(n,80).readonly,Df._32(n,80)._ariaDescribedby||null,Df._32(n,80).errorState,Df._32(n,80).required.toString()]);l(n,90,0,Df._32(n,96).ngClassUntouched,Df._32(n,96).ngClassTouched,Df._32(n,96).ngClassPristine,Df._32(n,96).ngClassDirty,Df._32(n,96).ngClassValid,Df._32(n,96).ngClassInvalid,Df._32(n,96).ngClassPending);l(n,98,0,Df._32(n,99).checked,Df._32(n,99).disabled,Df._32(n,99).id);l(n,102,0,Df._32(n,103).checked,Df._32(n,103).disabled,Df._32(n,103).id)})}function cd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,139,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),Df._39(6,null,["Details of the tenants ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(9,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,136,{_control:0}),Df._37(335544320,137,{_placeholderChild:0}),Df._37(335544320,138,{_labelChild:0}),Df._37(603979776,139,{_errorChildren:1}),Df._37(603979776,140,{_hintChildren:1}),Df._37(603979776,141,{_prefixChildren:1}),Df._37(603979776,142,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(18,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","name"],["matInput",""],["name","name"],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,24)._onInput()&&u}return u},null,null)),Df._17(19,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[136,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(28,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(29,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,143,{_control:0}),Df._37(335544320,144,{_placeholderChild:0}),Df._37(335544320,145,{_labelChild:0}),Df._37(603979776,146,{_errorChildren:1}),Df._37(603979776,147,{_hintChildren:1}),Df._37(603979776,148,{_prefixChildren:1}),Df._37(603979776,149,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(38,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","mobile_no"],["matInput",""],["maxlength","10"],["name","mobile_no"],["placeholder","Mobile No"],["type","tel"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,39)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,46)._onInput()&&u}return u},null,null)),Df._17(39,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(40,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.n]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(43,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(45,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(46,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[143,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(51,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,150,{_control:0}),Df._37(335544320,151,{_placeholderChild:0}),Df._37(335544320,152,{_labelChild:0}),Df._37(603979776,153,{_errorChildren:1}),Df._37(603979776,154,{_hintChildren:1}),Df._37(603979776,155,{_prefixChildren:1}),Df._37(603979776,156,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(60,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","tenants_seen"],["matInput",""],["name","tenants_seen"],["placeholder","Tenant Seen"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,61)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,61).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,61)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,61)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,66)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,66)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,66)._onInput()&&u}return u},null,null)),Df._17(61,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(63,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(65,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(66,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[150,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(71,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,157,{_control:0}),Df._37(335544320,158,{_placeholderChild:0}),Df._37(335544320,159,{_labelChild:0}),Df._37(603979776,160,{_errorChildren:1}),Df._37(603979776,161,{_hintChildren:1}),Df._37(603979776,162,{_prefixChildren:1}),Df._37(603979776,163,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(80,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","tenants_con_owner"],["matInput",""],["name","tenants_con_owner"],["placeholder","Tenant confirmed owner"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,81)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,81).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,81)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,81)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,86)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,86)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,86)._onInput()&&u}return u},null,null)),Df._17(81,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(83,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(85,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(86,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[157,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(90,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(91,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,164,{_control:0}),Df._37(335544320,165,{_placeholderChild:0}),Df._37(335544320,166,{_labelChild:0}),Df._37(603979776,167,{_errorChildren:1}),Df._37(603979776,168,{_hintChildren:1}),Df._37(603979776,169,{_prefixChildren:1}),Df._37(603979776,170,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(100,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent_paid"],["matInput",""],["name","rent_paid"],["placeholder","Rent Paid"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,101)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,101).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,101)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,101)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,106)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,106)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,106)._onInput()&&u}return u},null,null)),Df._17(101,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(103,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(105,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(106,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[164,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(110,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(111,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,171,{_control:0}),Df._37(335544320,172,{_placeholderChild:0}),Df._37(335544320,173,{_labelChild:0}),Df._37(603979776,174,{_errorChildren:1}),Df._37(603979776,175,{_hintChildren:1}),Df._37(603979776,176,{_prefixChildren:1}),Df._37(603979776,177,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(120,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","staying_since"],["matInput",""],["name","staying_since"],["placeholder","Staying since"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,121)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,121).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,121)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,121)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,126)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,126)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,126)._onInput()&&u}return u},null,null)),Df._17(121,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(123,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(125,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(126,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[171,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(130,0,null,null,8,"ion-col",[["class","col"],["text-right",""]],null,null,null,null,null)),Df._17(131,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(133,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteTenantsDetails(l.parent.context.index,l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(135,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-close"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(136,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,21,0,"name");l(n,24,0,"Name","text");l(n,40,0,"10");l(n,43,0,"mobile_no");l(n,46,0,"Mobile No","tel");l(n,63,0,"tenants_seen");l(n,66,0,"Tenant Seen","text");l(n,83,0,"tenants_con_owner");l(n,86,0,"Tenant confirmed owner","text");l(n,103,0,"rent_paid");l(n,106,0,"Rent Paid","text");l(n,123,0,"staying_since");l(n,126,0,"Staying since","text");l(n,136,0,"optblue","md-close")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,8,1,[Df._32(n,9)._control.errorState,Df._32(n,9)._control.errorState,Df._32(n,9)._canLabelFloat,Df._32(n,9)._shouldLabelFloat(),Df._32(n,9)._hideControlPlaceholder(),Df._32(n,9)._control.disabled,Df._32(n,9)._control.focused,"primary"==Df._32(n,9).color,"accent"==Df._32(n,9).color,"warn"==Df._32(n,9).color,Df._32(n,9)._shouldForward("untouched"),Df._32(n,9)._shouldForward("touched"),Df._32(n,9)._shouldForward("pristine"),Df._32(n,9)._shouldForward("dirty"),Df._32(n,9)._shouldForward("valid"),Df._32(n,9)._shouldForward("invalid"),Df._32(n,9)._shouldForward("pending")]);l(n,18,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24)._isServer,Df._32(n,24).id,Df._32(n,24).placeholder,Df._32(n,24).disabled,Df._32(n,24).required,Df._32(n,24).readonly,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24).errorState,Df._32(n,24).required.toString()]);l(n,28,1,[Df._32(n,29)._control.errorState,Df._32(n,29)._control.errorState,Df._32(n,29)._canLabelFloat,Df._32(n,29)._shouldLabelFloat(),Df._32(n,29)._hideControlPlaceholder(),Df._32(n,29)._control.disabled,Df._32(n,29)._control.focused,"primary"==Df._32(n,29).color,"accent"==Df._32(n,29).color,"warn"==Df._32(n,29).color,Df._32(n,29)._shouldForward("untouched"),Df._32(n,29)._shouldForward("touched"),Df._32(n,29)._shouldForward("pristine"),Df._32(n,29)._shouldForward("dirty"),Df._32(n,29)._shouldForward("valid"),Df._32(n,29)._shouldForward("invalid"),Df._32(n,29)._shouldForward("pending")]);l(n,38,1,[Df._32(n,40).maxlength?Df._32(n,40).maxlength:null,Df._32(n,45).ngClassUntouched,Df._32(n,45).ngClassTouched,Df._32(n,45).ngClassPristine,Df._32(n,45).ngClassDirty,Df._32(n,45).ngClassValid,Df._32(n,45).ngClassInvalid,Df._32(n,45).ngClassPending,Df._32(n,46)._isServer,Df._32(n,46).id,Df._32(n,46).placeholder,Df._32(n,46).disabled,Df._32(n,46).required,Df._32(n,46).readonly,Df._32(n,46)._ariaDescribedby||null,Df._32(n,46).errorState,Df._32(n,46).required.toString()]);l(n,50,1,[Df._32(n,51)._control.errorState,Df._32(n,51)._control.errorState,Df._32(n,51)._canLabelFloat,Df._32(n,51)._shouldLabelFloat(),Df._32(n,51)._hideControlPlaceholder(),Df._32(n,51)._control.disabled,Df._32(n,51)._control.focused,"primary"==Df._32(n,51).color,"accent"==Df._32(n,51).color,"warn"==Df._32(n,51).color,Df._32(n,51)._shouldForward("untouched"),Df._32(n,51)._shouldForward("touched"),Df._32(n,51)._shouldForward("pristine"),Df._32(n,51)._shouldForward("dirty"),Df._32(n,51)._shouldForward("valid"),Df._32(n,51)._shouldForward("invalid"),Df._32(n,51)._shouldForward("pending")]);l(n,60,1,[Df._32(n,65).ngClassUntouched,Df._32(n,65).ngClassTouched,Df._32(n,65).ngClassPristine,Df._32(n,65).ngClassDirty,Df._32(n,65).ngClassValid,Df._32(n,65).ngClassInvalid,Df._32(n,65).ngClassPending,Df._32(n,66)._isServer,Df._32(n,66).id,Df._32(n,66).placeholder,Df._32(n,66).disabled,Df._32(n,66).required,Df._32(n,66).readonly,Df._32(n,66)._ariaDescribedby||null,Df._32(n,66).errorState,Df._32(n,66).required.toString()]);l(n,70,1,[Df._32(n,71)._control.errorState,Df._32(n,71)._control.errorState,Df._32(n,71)._canLabelFloat,Df._32(n,71)._shouldLabelFloat(),Df._32(n,71)._hideControlPlaceholder(),Df._32(n,71)._control.disabled,Df._32(n,71)._control.focused,"primary"==Df._32(n,71).color,"accent"==Df._32(n,71).color,"warn"==Df._32(n,71).color,Df._32(n,71)._shouldForward("untouched"),Df._32(n,71)._shouldForward("touched"),Df._32(n,71)._shouldForward("pristine"),Df._32(n,71)._shouldForward("dirty"),Df._32(n,71)._shouldForward("valid"),Df._32(n,71)._shouldForward("invalid"),Df._32(n,71)._shouldForward("pending")]);l(n,80,1,[Df._32(n,85).ngClassUntouched,Df._32(n,85).ngClassTouched,Df._32(n,85).ngClassPristine,Df._32(n,85).ngClassDirty,Df._32(n,85).ngClassValid,Df._32(n,85).ngClassInvalid,Df._32(n,85).ngClassPending,Df._32(n,86)._isServer,Df._32(n,86).id,Df._32(n,86).placeholder,Df._32(n,86).disabled,Df._32(n,86).required,Df._32(n,86).readonly,Df._32(n,86)._ariaDescribedby||null,Df._32(n,86).errorState,Df._32(n,86).required.toString()]);l(n,90,1,[Df._32(n,91)._control.errorState,Df._32(n,91)._control.errorState,Df._32(n,91)._canLabelFloat,Df._32(n,91)._shouldLabelFloat(),Df._32(n,91)._hideControlPlaceholder(),Df._32(n,91)._control.disabled,Df._32(n,91)._control.focused,"primary"==Df._32(n,91).color,"accent"==Df._32(n,91).color,"warn"==Df._32(n,91).color,Df._32(n,91)._shouldForward("untouched"),Df._32(n,91)._shouldForward("touched"),Df._32(n,91)._shouldForward("pristine"),Df._32(n,91)._shouldForward("dirty"),Df._32(n,91)._shouldForward("valid"),Df._32(n,91)._shouldForward("invalid"),Df._32(n,91)._shouldForward("pending")]);l(n,100,1,[Df._32(n,105).ngClassUntouched,Df._32(n,105).ngClassTouched,Df._32(n,105).ngClassPristine,Df._32(n,105).ngClassDirty,Df._32(n,105).ngClassValid,Df._32(n,105).ngClassInvalid,Df._32(n,105).ngClassPending,Df._32(n,106)._isServer,Df._32(n,106).id,Df._32(n,106).placeholder,Df._32(n,106).disabled,Df._32(n,106).required,Df._32(n,106).readonly,Df._32(n,106)._ariaDescribedby||null,Df._32(n,106).errorState,Df._32(n,106).required.toString()]);l(n,110,1,[Df._32(n,111)._control.errorState,Df._32(n,111)._control.errorState,Df._32(n,111)._canLabelFloat,Df._32(n,111)._shouldLabelFloat(),Df._32(n,111)._hideControlPlaceholder(),Df._32(n,111)._control.disabled,Df._32(n,111)._control.focused,"primary"==Df._32(n,111).color,"accent"==Df._32(n,111).color,"warn"==Df._32(n,111).color,Df._32(n,111)._shouldForward("untouched"),Df._32(n,111)._shouldForward("touched"),Df._32(n,111)._shouldForward("pristine"),Df._32(n,111)._shouldForward("dirty"),Df._32(n,111)._shouldForward("valid"),Df._32(n,111)._shouldForward("invalid"),Df._32(n,111)._shouldForward("pending")]);l(n,120,1,[Df._32(n,125).ngClassUntouched,Df._32(n,125).ngClassTouched,Df._32(n,125).ngClassPristine,Df._32(n,125).ngClassDirty,Df._32(n,125).ngClassValid,Df._32(n,125).ngClassInvalid,Df._32(n,125).ngClassPending,Df._32(n,126)._isServer,Df._32(n,126).id,Df._32(n,126).placeholder,Df._32(n,126).disabled,Df._32(n,126).required,Df._32(n,126).readonly,Df._32(n,126)._ariaDescribedby||null,Df._32(n,126).errorState,Df._32(n,126).required.toString()]);l(n,135,0,Df._32(n,136)._hidden)})}function md(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addTenantsDetails(l.parent.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function pd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"button",[["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addrentalHome()&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add More"]))],function(l,n){l(n,1,0,"primary")},null)}function fd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,287,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,235,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(9,49152,null,0,sy.e,[],null,null),(l()(),Df._39(10,2,["Rentel Home Details ",""])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(13,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(22,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","complete_add"],["matInput",""],["name","complete_add"],["placeholder","Complete address of the property"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,23)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,23)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,23)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,28)._onInput()&&u}return u},null,null)),Df._17(23,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(25,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(27,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(28,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[36,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(32,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(33,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,43,{_control:0}),Df._37(335544320,44,{_placeholderChild:0}),Df._37(335544320,45,{_labelChild:0}),Df._37(603979776,46,{_errorChildren:1}),Df._37(603979776,47,{_hintChildren:1}),Df._37(603979776,48,{_prefixChildren:1}),Df._37(603979776,49,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(42,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","area_of_property"],["matInput",""],["name","area_of_property"],["placeholder","Area of the Property\n (in sq yd or Sq ft)"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,43)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,43).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,43)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,43)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,48)._onInput()&&u}return u},null,null)),Df._17(43,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(45,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(47,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(48,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[43,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(52,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(53,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,50,{_control:0}),Df._37(335544320,51,{_placeholderChild:0}),Df._37(335544320,52,{_labelChild:0}),Df._37(603979776,53,{_errorChildren:1}),Df._37(603979776,54,{_hintChildren:1}),Df._37(603979776,55,{_prefixChildren:1}),Df._37(603979776,56,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(62,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","structure_property"],["matInput",""],["name","structure_property"],["placeholder","Structure of the let out property"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,63)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,63).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,63)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,63)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,68)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,68)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,68)._onInput()&&u}return u},null,null)),Df._17(63,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(65,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(67,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(68,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[50,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(72,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(73,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,57,{_control:0}),Df._37(335544320,58,{_placeholderChild:0}),Df._37(335544320,59,{_labelChild:0}),Df._37(603979776,60,{_errorChildren:1}),Df._37(603979776,61,{_hintChildren:1}),Df._37(603979776,62,{_prefixChildren:1}),Df._37(603979776,63,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(82,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_room"],["matInput",""],["name","total_room"],["placeholder","Total rooms let out"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,83)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,83).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,83)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,83)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,88)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,88)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,88)._onInput()&&u}return u},null,null)),Df._17(83,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(85,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(87,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(88,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[57,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n\n\n \n \n "])),(l()(),Df._18(92,0,null,0,22,"mat-list",[["class","mat-list"]],null,null,null,nC.d,nC.a)),Df._17(93,49152,null,0,eC.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(95,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Is Rent agreement available"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(98,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","is_rent"],["name","is_rent"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(99,1064960,null,1,tC.b,[Df.i],{name:[0,"name"]},null),Df._37(603979776,64,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(102,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(104,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(106,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,107)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(107,4440064,[[64,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(110,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,111)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(111,4440064,[[64,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._13(16777216,null,0,1,null,sd)),Df._17(117,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(119,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(120,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,94,{_control:0}),Df._37(335544320,95,{_placeholderChild:0}),Df._37(335544320,96,{_labelChild:0}),Df._37(603979776,97,{_errorChildren:1}),Df._37(603979776,98,{_hintChildren:1}),Df._37(603979776,99,{_prefixChildren:1}),Df._37(603979776,100,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(129,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bank"],["matInput",""],["name","bank"],["placeholder","Bank"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,130)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,130).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,130)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,130)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,131).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,131).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,131).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,136)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,136)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,136)._onInput()&&u}return u},null,null)),Df._17(130,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(131,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(133,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(135,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(136,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[94,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(140,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(141,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,101,{_control:0}),Df._37(335544320,102,{_placeholderChild:0}),Df._37(335544320,103,{_labelChild:0}),Df._37(603979776,104,{_errorChildren:1}),Df._37(603979776,105,{_hintChildren:1}),Df._37(603979776,106,{_prefixChildren:1}),Df._37(603979776,107,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(150,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","cash"],["matInput",""],["name","cash"],["placeholder","Cash"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,151)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,151).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,151)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,151)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,152).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,152).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,152).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,157)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,157)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,157)._onInput()&&u}return u},null,null)),Df._17(151,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(152,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(154,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(156,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(157,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[101,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(161,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(162,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,108,{_control:0}),Df._37(335544320,109,{_placeholderChild:0}),Df._37(335544320,110,{_labelChild:0}),Df._37(603979776,111,{_errorChildren:1}),Df._37(603979776,112,{_hintChildren:1}),Df._37(603979776,113,{_prefixChildren:1}),Df._37(603979776,114,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(171,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rent_each_floor"],["matInput",""],["name","rent_each_floor"],["placeholder","Rent received from each floor and or Rooms"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,172)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,172).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,172)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,172)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,177)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,177)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,177)._onInput()&&u}return u},null,null)),Df._17(172,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(174,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(176,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(177,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[108,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(181,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(182,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,115,{_control:0}),Df._37(335544320,116,{_placeholderChild:0}),Df._37(335544320,117,{_labelChild:0}),Df._37(603979776,118,{_errorChildren:1}),Df._37(603979776,119,{_hintChildren:1}),Df._37(603979776,120,{_prefixChildren:1}),Df._37(603979776,121,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(191,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","total_rent"],["matInput",""],["name","total_rent"],["placeholder","Total rent received"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,192)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,192).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,192)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,192)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,197)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,197)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,197)._onInput()&&u}return u},null,null)),Df._17(192,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(194,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(196,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(197,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[115,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(201,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(202,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,122,{_control:0}),Df._37(335544320,123,{_placeholderChild:0}),Df._37(335544320,124,{_labelChild:0}),Df._37(603979776,125,{_errorChildren:1}),Df._37(603979776,126,{_hintChildren:1}),Df._37(603979776,127,{_prefixChildren:1}),Df._37(603979776,128,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(211,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","related_doc_owner"],["matInput",""],["name","related_doc_owner"],["placeholder","Property Paper or other related document to prove ownership"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,212)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,212).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,212)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,212)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,217)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,217)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,217)._onInput()&&u}return u},null,null)),Df._17(212,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(214,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(216,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(217,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[122,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(221,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(222,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,129,{_control:0}),Df._37(335544320,130,{_placeholderChild:0}),Df._37(335544320,131,{_labelChild:0}),Df._37(603979776,132,{_errorChildren:1}),Df._37(603979776,133,{_hintChildren:1}),Df._37(603979776,134,{_prefixChildren:1}),Df._37(603979776,135,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(231,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","third_party_check"],["matInput",""],["name","third_party_check"],["placeholder","Third party check of prevailing rent in the neighbour hood"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,232)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,232).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,232)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,232)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,237)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,237)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,237)._onInput()&&u}return u},null,null)),Df._17(232,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(234,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(236,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(237,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[129,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(242,0,null,null,23,"div",[["formArrayName","details_tenants"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(243,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(245,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(247,0,null,null,17,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(248,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n\n \n "])),(l()(),Df._13(16777216,null,0,1,null,cd)),Df._17(251,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(253,0,null,0,10,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(254,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,178,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(257,0,null,null,5,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),Df._17(258,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,md)),Df._17(261,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(267,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(268,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(270,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(271,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,pd)),Df._17(275,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(278,0,null,null,7,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(279,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(282,0,null,null,2,"button",[["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleterentalHome(l.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(283,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Remove"])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,[" \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"complete_add");l(n,28,0,"Complete address of the property","text");l(n,45,0,"area_of_property");l(n,48,0,"Area of the Property\n (in sq yd or Sq ft)","text");l(n,65,0,"structure_property");l(n,68,0,"Structure of the let out property","text");l(n,85,0,"total_room");l(n,88,0,"Total rooms let out","text");l(n,99,0,"is_rent");l(n,102,0,"is_rent");l(n,107,0,"yes");l(n,111,0,"no");l(n,117,0,"yes"==n.context.$implicit.get("is_rent").value);l(n,133,0,"bank");l(n,136,0,"Bank","number");l(n,154,0,"cash");l(n,157,0,"Cash","number");l(n,174,0,"rent_each_floor");l(n,177,0,"Rent received from each floor and or Rooms","text");l(n,194,0,"total_rent");l(n,197,0,"Total rent received","text");l(n,214,0,"related_doc_owner");l(n,217,0,"Property Paper or other related document to prove ownership","text");l(n,234,0,"third_party_check");l(n,237,0,"Third party check of prevailing rent in the neighbour hood","text");l(n,243,0,"details_tenants");l(n,251,0,n.context.$implicit.controls.details_tenants.controls);l(n,261,0,n.context.last);l(n,275,0,n.context.last);l(n,283,0,"primary")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,10,0,n.context.index+1);l(n,12,1,[Df._32(n,13)._control.errorState,Df._32(n,13)._control.errorState,Df._32(n,13)._canLabelFloat,Df._32(n,13)._shouldLabelFloat(),Df._32(n,13)._hideControlPlaceholder(),Df._32(n,13)._control.disabled,Df._32(n,13)._control.focused,"primary"==Df._32(n,13).color,"accent"==Df._32(n,13).color,"warn"==Df._32(n,13).color,Df._32(n,13)._shouldForward("untouched"),Df._32(n,13)._shouldForward("touched"),Df._32(n,13)._shouldForward("pristine"),Df._32(n,13)._shouldForward("dirty"),Df._32(n,13)._shouldForward("valid"),Df._32(n,13)._shouldForward("invalid"),Df._32(n,13)._shouldForward("pending")]);l(n,22,1,[Df._32(n,27).ngClassUntouched,Df._32(n,27).ngClassTouched,Df._32(n,27).ngClassPristine,Df._32(n,27).ngClassDirty,Df._32(n,27).ngClassValid,Df._32(n,27).ngClassInvalid,Df._32(n,27).ngClassPending,Df._32(n,28)._isServer,Df._32(n,28).id,Df._32(n,28).placeholder,Df._32(n,28).disabled,Df._32(n,28).required,Df._32(n,28).readonly,Df._32(n,28)._ariaDescribedby||null,Df._32(n,28).errorState,Df._32(n,28).required.toString()]);l(n,32,1,[Df._32(n,33)._control.errorState,Df._32(n,33)._control.errorState,Df._32(n,33)._canLabelFloat,Df._32(n,33)._shouldLabelFloat(),Df._32(n,33)._hideControlPlaceholder(),Df._32(n,33)._control.disabled,Df._32(n,33)._control.focused,"primary"==Df._32(n,33).color,"accent"==Df._32(n,33).color,"warn"==Df._32(n,33).color,Df._32(n,33)._shouldForward("untouched"),Df._32(n,33)._shouldForward("touched"),Df._32(n,33)._shouldForward("pristine"),Df._32(n,33)._shouldForward("dirty"),Df._32(n,33)._shouldForward("valid"),Df._32(n,33)._shouldForward("invalid"),Df._32(n,33)._shouldForward("pending")]);l(n,42,1,[Df._32(n,47).ngClassUntouched,Df._32(n,47).ngClassTouched,Df._32(n,47).ngClassPristine,Df._32(n,47).ngClassDirty,Df._32(n,47).ngClassValid,Df._32(n,47).ngClassInvalid,Df._32(n,47).ngClassPending,Df._32(n,48)._isServer,Df._32(n,48).id,Df._32(n,48).placeholder,Df._32(n,48).disabled,Df._32(n,48).required,Df._32(n,48).readonly,Df._32(n,48)._ariaDescribedby||null,Df._32(n,48).errorState,Df._32(n,48).required.toString()]);l(n,52,1,[Df._32(n,53)._control.errorState,Df._32(n,53)._control.errorState,Df._32(n,53)._canLabelFloat,Df._32(n,53)._shouldLabelFloat(),Df._32(n,53)._hideControlPlaceholder(),Df._32(n,53)._control.disabled,Df._32(n,53)._control.focused,"primary"==Df._32(n,53).color,"accent"==Df._32(n,53).color,"warn"==Df._32(n,53).color,Df._32(n,53)._shouldForward("untouched"),Df._32(n,53)._shouldForward("touched"),Df._32(n,53)._shouldForward("pristine"),Df._32(n,53)._shouldForward("dirty"),Df._32(n,53)._shouldForward("valid"),Df._32(n,53)._shouldForward("invalid"),Df._32(n,53)._shouldForward("pending")]);l(n,62,1,[Df._32(n,67).ngClassUntouched,Df._32(n,67).ngClassTouched,Df._32(n,67).ngClassPristine,Df._32(n,67).ngClassDirty,Df._32(n,67).ngClassValid,Df._32(n,67).ngClassInvalid,Df._32(n,67).ngClassPending,Df._32(n,68)._isServer,Df._32(n,68).id,Df._32(n,68).placeholder,Df._32(n,68).disabled,Df._32(n,68).required,Df._32(n,68).readonly,Df._32(n,68)._ariaDescribedby||null,Df._32(n,68).errorState,Df._32(n,68).required.toString()]);l(n,72,1,[Df._32(n,73)._control.errorState,Df._32(n,73)._control.errorState,Df._32(n,73)._canLabelFloat,Df._32(n,73)._shouldLabelFloat(),Df._32(n,73)._hideControlPlaceholder(),Df._32(n,73)._control.disabled,Df._32(n,73)._control.focused,"primary"==Df._32(n,73).color,"accent"==Df._32(n,73).color,"warn"==Df._32(n,73).color,Df._32(n,73)._shouldForward("untouched"),Df._32(n,73)._shouldForward("touched"),Df._32(n,73)._shouldForward("pristine"),Df._32(n,73)._shouldForward("dirty"),Df._32(n,73)._shouldForward("valid"),Df._32(n,73)._shouldForward("invalid"),Df._32(n,73)._shouldForward("pending")]);l(n,82,1,[Df._32(n,87).ngClassUntouched,Df._32(n,87).ngClassTouched,Df._32(n,87).ngClassPristine,Df._32(n,87).ngClassDirty,Df._32(n,87).ngClassValid,Df._32(n,87).ngClassInvalid,Df._32(n,87).ngClassPending,Df._32(n,88)._isServer,Df._32(n,88).id,Df._32(n,88).placeholder,Df._32(n,88).disabled,Df._32(n,88).required,Df._32(n,88).readonly,Df._32(n,88)._ariaDescribedby||null,Df._32(n,88).errorState,Df._32(n,88).required.toString()]);l(n,98,0,Df._32(n,104).ngClassUntouched,Df._32(n,104).ngClassTouched,Df._32(n,104).ngClassPristine,Df._32(n,104).ngClassDirty,Df._32(n,104).ngClassValid,Df._32(n,104).ngClassInvalid,Df._32(n,104).ngClassPending);l(n,106,0,Df._32(n,107).checked,Df._32(n,107).disabled,Df._32(n,107).id);l(n,110,0,Df._32(n,111).checked,Df._32(n,111).disabled,Df._32(n,111).id);l(n,119,1,[Df._32(n,120)._control.errorState,Df._32(n,120)._control.errorState,Df._32(n,120)._canLabelFloat,Df._32(n,120)._shouldLabelFloat(),Df._32(n,120)._hideControlPlaceholder(),Df._32(n,120)._control.disabled,Df._32(n,120)._control.focused,"primary"==Df._32(n,120).color,"accent"==Df._32(n,120).color,"warn"==Df._32(n,120).color,Df._32(n,120)._shouldForward("untouched"),Df._32(n,120)._shouldForward("touched"),Df._32(n,120)._shouldForward("pristine"),Df._32(n,120)._shouldForward("dirty"),Df._32(n,120)._shouldForward("valid"),Df._32(n,120)._shouldForward("invalid"),Df._32(n,120)._shouldForward("pending")]);l(n,129,1,[Df._32(n,135).ngClassUntouched,Df._32(n,135).ngClassTouched,Df._32(n,135).ngClassPristine,Df._32(n,135).ngClassDirty,Df._32(n,135).ngClassValid,Df._32(n,135).ngClassInvalid,Df._32(n,135).ngClassPending,Df._32(n,136)._isServer,Df._32(n,136).id,Df._32(n,136).placeholder,Df._32(n,136).disabled,Df._32(n,136).required,Df._32(n,136).readonly,Df._32(n,136)._ariaDescribedby||null,Df._32(n,136).errorState,Df._32(n,136).required.toString()]);l(n,140,1,[Df._32(n,141)._control.errorState,Df._32(n,141)._control.errorState,Df._32(n,141)._canLabelFloat,Df._32(n,141)._shouldLabelFloat(),Df._32(n,141)._hideControlPlaceholder(),Df._32(n,141)._control.disabled,Df._32(n,141)._control.focused,"primary"==Df._32(n,141).color,"accent"==Df._32(n,141).color,"warn"==Df._32(n,141).color,Df._32(n,141)._shouldForward("untouched"),Df._32(n,141)._shouldForward("touched"),Df._32(n,141)._shouldForward("pristine"),Df._32(n,141)._shouldForward("dirty"),Df._32(n,141)._shouldForward("valid"),Df._32(n,141)._shouldForward("invalid"),Df._32(n,141)._shouldForward("pending")]);l(n,150,1,[Df._32(n,156).ngClassUntouched,Df._32(n,156).ngClassTouched,Df._32(n,156).ngClassPristine,Df._32(n,156).ngClassDirty,Df._32(n,156).ngClassValid,Df._32(n,156).ngClassInvalid,Df._32(n,156).ngClassPending,Df._32(n,157)._isServer,Df._32(n,157).id,Df._32(n,157).placeholder,Df._32(n,157).disabled,Df._32(n,157).required,Df._32(n,157).readonly,Df._32(n,157)._ariaDescribedby||null,Df._32(n,157).errorState,Df._32(n,157).required.toString()]);l(n,161,1,[Df._32(n,162)._control.errorState,Df._32(n,162)._control.errorState,Df._32(n,162)._canLabelFloat,Df._32(n,162)._shouldLabelFloat(),Df._32(n,162)._hideControlPlaceholder(),Df._32(n,162)._control.disabled,Df._32(n,162)._control.focused,"primary"==Df._32(n,162).color,"accent"==Df._32(n,162).color,"warn"==Df._32(n,162).color,Df._32(n,162)._shouldForward("untouched"),Df._32(n,162)._shouldForward("touched"),Df._32(n,162)._shouldForward("pristine"),Df._32(n,162)._shouldForward("dirty"),Df._32(n,162)._shouldForward("valid"),Df._32(n,162)._shouldForward("invalid"),Df._32(n,162)._shouldForward("pending")]);l(n,171,1,[Df._32(n,176).ngClassUntouched,Df._32(n,176).ngClassTouched,Df._32(n,176).ngClassPristine,Df._32(n,176).ngClassDirty,Df._32(n,176).ngClassValid,Df._32(n,176).ngClassInvalid,Df._32(n,176).ngClassPending,Df._32(n,177)._isServer,Df._32(n,177).id,Df._32(n,177).placeholder,Df._32(n,177).disabled,Df._32(n,177).required,Df._32(n,177).readonly,Df._32(n,177)._ariaDescribedby||null,Df._32(n,177).errorState,Df._32(n,177).required.toString()]);l(n,181,1,[Df._32(n,182)._control.errorState,Df._32(n,182)._control.errorState,Df._32(n,182)._canLabelFloat,Df._32(n,182)._shouldLabelFloat(),Df._32(n,182)._hideControlPlaceholder(),Df._32(n,182)._control.disabled,Df._32(n,182)._control.focused,"primary"==Df._32(n,182).color,"accent"==Df._32(n,182).color,"warn"==Df._32(n,182).color,Df._32(n,182)._shouldForward("untouched"),Df._32(n,182)._shouldForward("touched"),Df._32(n,182)._shouldForward("pristine"),Df._32(n,182)._shouldForward("dirty"),Df._32(n,182)._shouldForward("valid"),Df._32(n,182)._shouldForward("invalid"),Df._32(n,182)._shouldForward("pending")]);l(n,191,1,[Df._32(n,196).ngClassUntouched,Df._32(n,196).ngClassTouched,Df._32(n,196).ngClassPristine,Df._32(n,196).ngClassDirty,Df._32(n,196).ngClassValid,Df._32(n,196).ngClassInvalid,Df._32(n,196).ngClassPending,Df._32(n,197)._isServer,Df._32(n,197).id,Df._32(n,197).placeholder,Df._32(n,197).disabled,Df._32(n,197).required,Df._32(n,197).readonly,Df._32(n,197)._ariaDescribedby||null,Df._32(n,197).errorState,Df._32(n,197).required.toString()]);l(n,201,1,[Df._32(n,202)._control.errorState,Df._32(n,202)._control.errorState,Df._32(n,202)._canLabelFloat,Df._32(n,202)._shouldLabelFloat(),Df._32(n,202)._hideControlPlaceholder(),Df._32(n,202)._control.disabled,Df._32(n,202)._control.focused,"primary"==Df._32(n,202).color,"accent"==Df._32(n,202).color,"warn"==Df._32(n,202).color,Df._32(n,202)._shouldForward("untouched"),Df._32(n,202)._shouldForward("touched"),Df._32(n,202)._shouldForward("pristine"),Df._32(n,202)._shouldForward("dirty"),Df._32(n,202)._shouldForward("valid"),Df._32(n,202)._shouldForward("invalid"),Df._32(n,202)._shouldForward("pending")]);l(n,211,1,[Df._32(n,216).ngClassUntouched,Df._32(n,216).ngClassTouched,Df._32(n,216).ngClassPristine,Df._32(n,216).ngClassDirty,Df._32(n,216).ngClassValid,Df._32(n,216).ngClassInvalid,Df._32(n,216).ngClassPending,Df._32(n,217)._isServer,Df._32(n,217).id,Df._32(n,217).placeholder,Df._32(n,217).disabled,Df._32(n,217).required,Df._32(n,217).readonly,Df._32(n,217)._ariaDescribedby||null,Df._32(n,217).errorState,Df._32(n,217).required.toString()]);l(n,221,1,[Df._32(n,222)._control.errorState,Df._32(n,222)._control.errorState,Df._32(n,222)._canLabelFloat,Df._32(n,222)._shouldLabelFloat(),Df._32(n,222)._hideControlPlaceholder(),Df._32(n,222)._control.disabled,Df._32(n,222)._control.focused,"primary"==Df._32(n,222).color,"accent"==Df._32(n,222).color,"warn"==Df._32(n,222).color,Df._32(n,222)._shouldForward("untouched"),Df._32(n,222)._shouldForward("touched"),Df._32(n,222)._shouldForward("pristine"),Df._32(n,222)._shouldForward("dirty"),Df._32(n,222)._shouldForward("valid"),Df._32(n,222)._shouldForward("invalid"),Df._32(n,222)._shouldForward("pending")]);l(n,231,1,[Df._32(n,236).ngClassUntouched,Df._32(n,236).ngClassTouched,Df._32(n,236).ngClassPristine,Df._32(n,236).ngClassDirty,Df._32(n,236).ngClassValid,Df._32(n,236).ngClassInvalid,Df._32(n,236).ngClassPending,Df._32(n,237)._isServer,Df._32(n,237).id,Df._32(n,237).placeholder,Df._32(n,237).disabled,Df._32(n,237).required,Df._32(n,237).readonly,Df._32(n,237)._ariaDescribedby||null,Df._32(n,237).errorState,Df._32(n,237).required.toString()]);l(n,242,0,Df._32(n,245).ngClassUntouched,Df._32(n,245).ngClassTouched,Df._32(n,245).ngClassPristine,Df._32(n,245).ngClassDirty,Df._32(n,245).ngClassValid,Df._32(n,245).ngClassInvalid,Df._32(n,245).ngClassPending)})}function hd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,_d)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,123,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,119,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,91,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(31,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(33,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(34,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","person_met"],["matInput",""],["name","complete_add"],["placeholder","Person Met"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,44)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,44).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,44)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,44)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,49)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,49)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,49)._onInput()&&u}return u},null,null)),Df._17(44,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(46,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(48,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(49,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(53,0,null,0,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(54,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(63,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","property_own"],["placeholder","Property Owner"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,67)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(64,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(66,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(67,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,16,{options:1}),Df._37(603979776,17,{optionGroups:1}),Df._37(335544320,18,{customTrigger:0}),Df._36(2048,[[9,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(74,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","applicant"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,75)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,75)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(75,8437760,[[16,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Applicant"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(78,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","co-applicant"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,79)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,79)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(79,8437760,[[16,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Co-Applicant"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(82,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","parental"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,83)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,83)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(83,8437760,[[16,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Parental"])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(88,0,null,0,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(89,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(98,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","nature_property"],["placeholder","Nature of the let out property"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,102)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,102)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,102)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(99,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(101,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(102,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,26,{options:1}),Df._37(603979776,27,{optionGroups:1}),Df._37(335544320,28,{customTrigger:0}),Df._36(2048,[[19,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(109,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","residential/commercial"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,110)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,110)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(110,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Residential/commercial"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(113,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","others"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,114)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,114)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(114,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Others"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,dd)),Df._17(120,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(123,0,null,null,9,"div",[["formArrayName","rental_home"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(124,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(126,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,fd)),Df._17(129,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(131,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(134,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(135,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n\n\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(138,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveRentalDetails(t.rentalForms.value)&&u}return u},Vy.b,Vy.a)),Df._17(139,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.rentalForms);l(n,46,0,"person_met");l(n,49,0,"Person Met","text");l(n,64,0,"property_own");l(n,67,0,"Property Owner");l(n,75,0,"applicant");l(n,79,0,"co-applicant");l(n,83,0,"parental");l(n,99,0,"nature_property");l(n,102,0,"Nature of the let out property");l(n,110,0,"residential/commercial");l(n,114,0,"others");l(n,120,0,"others"==e.rentalForms.get("nature_property").value);l(n,124,0,"rental_home");l(n,129,0,e.rentalForms.get("rental_home").controls);l(n,139,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,33,1,[Df._32(n,34)._control.errorState,Df._32(n,34)._control.errorState,Df._32(n,34)._canLabelFloat,Df._32(n,34)._shouldLabelFloat(),Df._32(n,34)._hideControlPlaceholder(),Df._32(n,34)._control.disabled,Df._32(n,34)._control.focused,"primary"==Df._32(n,34).color,"accent"==Df._32(n,34).color,"warn"==Df._32(n,34).color,Df._32(n,34)._shouldForward("untouched"),Df._32(n,34)._shouldForward("touched"),Df._32(n,34)._shouldForward("pristine"),Df._32(n,34)._shouldForward("dirty"),Df._32(n,34)._shouldForward("valid"),Df._32(n,34)._shouldForward("invalid"),Df._32(n,34)._shouldForward("pending")]);l(n,43,1,[Df._32(n,48).ngClassUntouched,Df._32(n,48).ngClassTouched,Df._32(n,48).ngClassPristine,Df._32(n,48).ngClassDirty,Df._32(n,48).ngClassValid,Df._32(n,48).ngClassInvalid,Df._32(n,48).ngClassPending,Df._32(n,49)._isServer,Df._32(n,49).id,Df._32(n,49).placeholder,Df._32(n,49).disabled,Df._32(n,49).required,Df._32(n,49).readonly,Df._32(n,49)._ariaDescribedby||null,Df._32(n,49).errorState,Df._32(n,49).required.toString()]);l(n,53,1,[Df._32(n,54)._control.errorState,Df._32(n,54)._control.errorState,Df._32(n,54)._canLabelFloat,Df._32(n,54)._shouldLabelFloat(),Df._32(n,54)._hideControlPlaceholder(),Df._32(n,54)._control.disabled,Df._32(n,54)._control.focused,"primary"==Df._32(n,54).color,"accent"==Df._32(n,54).color,"warn"==Df._32(n,54).color,Df._32(n,54)._shouldForward("untouched"),Df._32(n,54)._shouldForward("touched"),Df._32(n,54)._shouldForward("pristine"),Df._32(n,54)._shouldForward("dirty"),Df._32(n,54)._shouldForward("valid"),Df._32(n,54)._shouldForward("invalid"),Df._32(n,54)._shouldForward("pending")]);l(n,63,1,[Df._32(n,66).ngClassUntouched,Df._32(n,66).ngClassTouched,Df._32(n,66).ngClassPristine,Df._32(n,66).ngClassDirty,Df._32(n,66).ngClassValid,Df._32(n,66).ngClassInvalid,Df._32(n,66).ngClassPending,Df._32(n,67).id,Df._32(n,67).tabIndex,Df._32(n,67)._ariaLabel,Df._32(n,67).ariaLabelledby,Df._32(n,67).required.toString(),Df._32(n,67).disabled.toString(),Df._32(n,67).errorState,Df._32(n,67).panelOpen?Df._32(n,67)._optionIds:null,Df._32(n,67).multiple,Df._32(n,67)._ariaDescribedby||null,Df._32(n,67)._getAriaActiveDescendant(),Df._32(n,67).disabled,Df._32(n,67).errorState,Df._32(n,67).required]);l(n,74,0,Df._32(n,75)._getTabIndex(),Df._32(n,75).selected,Df._32(n,75).multiple,Df._32(n,75).active,Df._32(n,75).id,Df._32(n,75).selected.toString(),Df._32(n,75).disabled.toString(),Df._32(n,75).disabled);l(n,78,0,Df._32(n,79)._getTabIndex(),Df._32(n,79).selected,Df._32(n,79).multiple,Df._32(n,79).active,Df._32(n,79).id,Df._32(n,79).selected.toString(),Df._32(n,79).disabled.toString(),Df._32(n,79).disabled);l(n,82,0,Df._32(n,83)._getTabIndex(),Df._32(n,83).selected,Df._32(n,83).multiple,Df._32(n,83).active,Df._32(n,83).id,Df._32(n,83).selected.toString(),Df._32(n,83).disabled.toString(),Df._32(n,83).disabled);l(n,88,1,[Df._32(n,89)._control.errorState,Df._32(n,89)._control.errorState,Df._32(n,89)._canLabelFloat,Df._32(n,89)._shouldLabelFloat(),Df._32(n,89)._hideControlPlaceholder(),Df._32(n,89)._control.disabled,Df._32(n,89)._control.focused,"primary"==Df._32(n,89).color,"accent"==Df._32(n,89).color,"warn"==Df._32(n,89).color,Df._32(n,89)._shouldForward("untouched"),Df._32(n,89)._shouldForward("touched"),Df._32(n,89)._shouldForward("pristine"),Df._32(n,89)._shouldForward("dirty"),Df._32(n,89)._shouldForward("valid"),Df._32(n,89)._shouldForward("invalid"),Df._32(n,89)._shouldForward("pending")]);l(n,98,1,[Df._32(n,101).ngClassUntouched,Df._32(n,101).ngClassTouched,Df._32(n,101).ngClassPristine,Df._32(n,101).ngClassDirty,Df._32(n,101).ngClassValid,Df._32(n,101).ngClassInvalid,Df._32(n,101).ngClassPending,Df._32(n,102).id,Df._32(n,102).tabIndex,Df._32(n,102)._ariaLabel,Df._32(n,102).ariaLabelledby,Df._32(n,102).required.toString(),Df._32(n,102).disabled.toString(),Df._32(n,102).errorState,Df._32(n,102).panelOpen?Df._32(n,102)._optionIds:null,Df._32(n,102).multiple,Df._32(n,102)._ariaDescribedby||null,Df._32(n,102)._getAriaActiveDescendant(),Df._32(n,102).disabled,Df._32(n,102).errorState,Df._32(n,102).required]);l(n,109,0,Df._32(n,110)._getTabIndex(),Df._32(n,110).selected,Df._32(n,110).multiple,Df._32(n,110).active,Df._32(n,110).id,Df._32(n,110).selected.toString(),Df._32(n,110).disabled.toString(),Df._32(n,110).disabled);l(n,113,0,Df._32(n,114)._getTabIndex(),Df._32(n,114).selected,Df._32(n,114).multiple,Df._32(n,114).active,Df._32(n,114).id,Df._32(n,114).selected.toString(),Df._32(n,114).disabled.toString(),Df._32(n,114).disabled);l(n,123,0,Df._32(n,126).ngClassUntouched,Df._32(n,126).ngClassTouched,Df._32(n,126).ngClassPristine,Df._32(n,126).ngClassDirty,Df._32(n,126).ngClassValid,Df._32(n,126).ngClassInvalid,Df._32(n,126).ngClassPending)})}function gd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormName)})}function bd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[6,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.SaleAmtInwords)})}function vd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[20,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.marginAmtInwords)})}function yd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,46,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Margin percentage %"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(t.assessedForm.value)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[9,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(24,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,16,{_control:0}),Df._37(335544320,17,{_placeholderChild:0}),Df._37(335544320,18,{_labelChild:0}),Df._37(603979776,19,{_errorChildren:1}),Df._37(603979776,20,{_hintChildren:1}),Df._37(603979776,21,{_prefixChildren:1}),Df._37(603979776,22,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(33,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_value"],["matInput",""],["name","margin_value"],["placeholder","Margin Value"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,40)._onInput()&&u}return u},null,null)),Df._17(34,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(35,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(37,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(39,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(40,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[16,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,vd)),Df._17(44,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,"margin_per");l(n,19,0,"Margin percentage %","number");l(n,37,0,"margin_value");l(n,40,0,"Margin Value","number","");l(n,44,0,""!=e.assessedForm.get("sales_declared_by_customer").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,23,1,[Df._32(n,24)._control.errorState,Df._32(n,24)._control.errorState,Df._32(n,24)._canLabelFloat,Df._32(n,24)._shouldLabelFloat(),Df._32(n,24)._hideControlPlaceholder(),Df._32(n,24)._control.disabled,Df._32(n,24)._control.focused,"primary"==Df._32(n,24).color,"accent"==Df._32(n,24).color,"warn"==Df._32(n,24).color,Df._32(n,24)._shouldForward("untouched"),Df._32(n,24)._shouldForward("touched"),Df._32(n,24)._shouldForward("pristine"),Df._32(n,24)._shouldForward("dirty"),Df._32(n,24)._shouldForward("valid"),Df._32(n,24)._shouldForward("invalid"),Df._32(n,24)._shouldForward("pending")]);l(n,33,1,[Df._32(n,39).ngClassUntouched,Df._32(n,39).ngClassTouched,Df._32(n,39).ngClassPristine,Df._32(n,39).ngClassDirty,Df._32(n,39).ngClassValid,Df._32(n,39).ngClassInvalid,Df._32(n,39).ngClassPending,Df._32(n,40)._isServer,Df._32(n,40).id,Df._32(n,40).placeholder,Df._32(n,40).disabled,Df._32(n,40).required,Df._32(n,40).readonly,Df._32(n,40)._ariaDescribedby||null,Df._32(n,40).errorState,Df._32(n,40).required.toString()])})}function Cd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,8,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editAllDetails(t.sales_item_value)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),Df._39(6,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){l(n,6,0,"✎")})}function wd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,24,"ion-list",[],null,null,null,null,null)),Df._17(1,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,20,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editDetails(l.context.$implicit.sci_id)&&u}return u},Vv.b,Vv.a)),Df._17(4,1097728,null,3,jv.a,[Nv.a,Wv.a,Df.p,Df.O,[2,Ev.a]],null,null),Df._37(335544320,31,{contentLabel:0}),Df._37(603979776,32,{_buttons:1}),Df._37(603979776,33,{_icons:1}),Df._17(8,16384,null,0,Rv.a,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(10,0,null,2,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(11,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(14,16384,null,0,my.a,[],null,null),(l()(),Df._39(15,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),Df._17(18,16384,null,0,my.a,[],null,null),(l()(),Df._39(19,null,["\n "," ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(22,0,null,2,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],null,function(l,n){l(n,15,0,n.context.$implicit.sales_item);l(n,19,0,"₹",n.context.$implicit.annual_sale_value)})}function Fd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,15,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Df._17(3,16384,null,0,sy.g,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(6,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,3,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(9,16384,null,0,my.a,[],null,null),(l()(),Df._39(10,null,["\n ","\n "])),Df._35(11,2),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),Df._17(14,16384,null,0,my.a,[],null,null),(l()(),Df._39(15,null,["\n "," ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){l(n,10,0,Df._40(n,10,0,l(n,11,0,Df._32(n.parent.parent.parent.parent,1),n.context.$implicit.sales_date,"dd-MM-yyyy")));l(n,15,0,"₹",n.context.$implicit.sales_value)})}function xd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,9,"ion-col",[["class","col"],["col-12",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._39(5,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Fd)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,8,0,n.context.$implicit.value)},function(l,n){l(n,5,0,n.context.$implicit.header)})}function Sd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,20,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editAssessedDailyForm(l.context.$implicit.simId)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,2,"h3",[["text-center",""]],null,null,null,null,null)),(l()(),Df._39(5,null,["",""])),Df._35(6,1),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(9,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,xd)),Df._17(12,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(15,0,null,null,4,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(16,16384,null,0,cy.a,[],null,null),(l()(),Df._39(17,null,["\n ",""])),(l()(),Df._18(18,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(19,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(24,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,12,0,n.context.$implicit.expandElements)},function(l,n){l(n,5,0,Df._40(n,5,0,l(n,6,0,Df._32(n.parent.parent,0),n.context.$implicit.salesItem)));l(n,17,0,n.context.$implicit.footerMessage[0].month_message);l(n,19,0,n.context.$implicit.footerMessage[0].year_message)})}function Id(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,184,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,87,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,7).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,7).onReset()&&u}return u},null,null)),Df._17(6,16384,null,0,Jf.B,[],null,null),Df._17(7,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(9,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,80,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(12,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(14,0,null,0,7,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(15,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(17,0,null,1,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(18,16384,null,0,sy.h,[],null,null),(l()(),Df._18(19,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Sales Calculation"])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(23,0,null,0,67,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(24,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(28,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(37,0,null,2,2,"mat-placeholder",[["style","font-size: 14px"]],null,null,null,null,null)),Df._17(38,16384,[[3,4]],0,fy.g,[],null,null),(l()(),Df._39(-1,null,["Sales Declared by the Customer as the Annual Sales Actually Done"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(41,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_declared_by_customer"],["matInput",""],["name","sales_declared_by_customer"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,42)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,42).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,42)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,42)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,43).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,43).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,43).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,48)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,48)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,48)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(t.assessedForm.value)&&u}return u},null,null)),Df._17(42,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(43,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(45,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(47,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(48,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{type:[0,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,bd)),Df._17(52,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,yd)),Df._17(56,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(58,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(59,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,23,{_control:0}),Df._37(335544320,24,{_placeholderChild:0}),Df._37(335544320,25,{_labelChild:0}),Df._37(603979776,26,{_errorChildren:1}),Df._37(603979776,27,{_hintChildren:1}),Df._37(603979776,28,{_prefixChildren:1}),Df._37(603979776,29,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(68,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,69)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,69).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,69)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,69)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,74)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,74)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,74)._onInput()&&u}return u},null,null)),Df._17(69,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(71,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(73,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(74,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[23,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(78,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(79,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(81,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._18(82,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(85,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""],["round",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveData(t.assessedForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(86,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],round:[1,"round"],full:[2,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(95,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(98,0,null,null,85,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Df._17(99,16384,null,0,zC.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(101,16777216,null,null,39,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,QC.d,QC.a)),Df._36(6144,null,hy.F,null,[zC.c]),Df._17(103,1753088,null,1,zC.c,[[2,zC.a],Df.i,aC.d,Df._1],null,null),Df._37(335544320,30,{_lazyContent:0}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(106,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,107)._toggle()&&u}if("keydown"===n){u=!1!==Df._32(l,107)._keydown(e)&&u}return u},QC.c,QC.b)),Df._17(107,180224,null,0,zC.e,[zC.c,Df.p,yy.j,Df.i],null,null),Df._34(108,{collapsedHeight:0,expandedHeight:1}),Df._34(109,{value:0,params:1}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(111,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Df._17(112,16384,null,0,zC.f,[],null,null),(l()(),Df._39(-1,null,["\n Sales Calculate Item Wise\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(116,0,null,1,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(117,49152,null,0,sy.e,[],null,null),(l()(),Df._18(118,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Sales Details"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(121,0,null,1,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(122,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Cd)),Df._17(125,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(127,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),Df._17(128,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,[" \n\n\n "])),(l()(),Df._18(130,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddAssessedForm()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(132,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(133,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._13(16777216,null,1,1,null,wd)),Df._17(139,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(142,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(144,16777216,null,null,38,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,QC.d,QC.a)),Df._36(6144,null,hy.F,null,[zC.c]),Df._17(146,1753088,null,1,zC.c,[[2,zC.a],Df.i,aC.d,Df._1],null,null),Df._37(335544320,34,{_lazyContent:0}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(149,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,150)._toggle()&&u}if("keydown"===n){u=!1!==Df._32(l,150)._keydown(e)&&u}return u},QC.c,QC.b)),Df._17(150,180224,null,0,zC.e,[zC.c,Df.p,yy.j,Df.i],null,null),Df._34(151,{collapsedHeight:0,expandedHeight:1}),Df._34(152,{value:0,params:1}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(154,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Df._17(155,16384,null,0,zC.f,[],null,null),(l()(),Df._39(-1,null,["\n Sales Calculate Daily Wise\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(159,0,null,1,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(160,49152,null,0,sy.e,[],null,null),(l()(),Df._18(161,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Daily Sales Details"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(164,0,null,1,12,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(165,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(167,0,null,null,8,"ion-col",[["class","col"],["col-1",""],["offset-11",""],["text-right",""]],null,null,null,null,null)),Df._17(168,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(170,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddAssessedDailyForm()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(172,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(173,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Sd)),Df._17(179,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,7,0,e.assessedForm);l(n,45,0,"sales_declared_by_customer");l(n,48,0,"number");l(n,52,0,""!=e.assessedForm.value.sales_declared_by_customer);l(n,56,0,e.activateMarginCalculation);l(n,71,0,"comments");l(n,74,0,"Remarks","text");l(n,86,0,"optblue","","");l(n,125,0,e.sales_item_value);l(n,133,0,"optblue","add-circle");l(n,139,0,e.sales_item_value);l(n,173,0,"optblue","add-circle");l(n,179,0,e.sales_month_wise_data)},function(l,n){l(n,5,0,Df._32(n,9).ngClassUntouched,Df._32(n,9).ngClassTouched,Df._32(n,9).ngClassPristine,Df._32(n,9).ngClassDirty,Df._32(n,9).ngClassValid,Df._32(n,9).ngClassInvalid,Df._32(n,9).ngClassPending);l(n,27,1,[Df._32(n,28)._control.errorState,Df._32(n,28)._control.errorState,Df._32(n,28)._canLabelFloat,Df._32(n,28)._shouldLabelFloat(),Df._32(n,28)._hideControlPlaceholder(),Df._32(n,28)._control.disabled,Df._32(n,28)._control.focused,"primary"==Df._32(n,28).color,"accent"==Df._32(n,28).color,"warn"==Df._32(n,28).color,Df._32(n,28)._shouldForward("untouched"),Df._32(n,28)._shouldForward("touched"),Df._32(n,28)._shouldForward("pristine"),Df._32(n,28)._shouldForward("dirty"),Df._32(n,28)._shouldForward("valid"),Df._32(n,28)._shouldForward("invalid"),Df._32(n,28)._shouldForward("pending")]);l(n,41,1,[Df._32(n,47).ngClassUntouched,Df._32(n,47).ngClassTouched,Df._32(n,47).ngClassPristine,Df._32(n,47).ngClassDirty,Df._32(n,47).ngClassValid,Df._32(n,47).ngClassInvalid,Df._32(n,47).ngClassPending,Df._32(n,48)._isServer,Df._32(n,48).id,Df._32(n,48).placeholder,Df._32(n,48).disabled,Df._32(n,48).required,Df._32(n,48).readonly,Df._32(n,48)._ariaDescribedby||null,Df._32(n,48).errorState,Df._32(n,48).required.toString()]);l(n,58,1,[Df._32(n,59)._control.errorState,Df._32(n,59)._control.errorState,Df._32(n,59)._canLabelFloat,Df._32(n,59)._shouldLabelFloat(),Df._32(n,59)._hideControlPlaceholder(),Df._32(n,59)._control.disabled,Df._32(n,59)._control.focused,"primary"==Df._32(n,59).color,"accent"==Df._32(n,59).color,"warn"==Df._32(n,59).color,Df._32(n,59)._shouldForward("untouched"),Df._32(n,59)._shouldForward("touched"),Df._32(n,59)._shouldForward("pristine"),Df._32(n,59)._shouldForward("dirty"),Df._32(n,59)._shouldForward("valid"),Df._32(n,59)._shouldForward("invalid"),Df._32(n,59)._shouldForward("pending")]);l(n,68,1,[Df._32(n,73).ngClassUntouched,Df._32(n,73).ngClassTouched,Df._32(n,73).ngClassPristine,Df._32(n,73).ngClassDirty,Df._32(n,73).ngClassValid,Df._32(n,73).ngClassInvalid,Df._32(n,73).ngClassPending,Df._32(n,74)._isServer,Df._32(n,74).id,Df._32(n,74).placeholder,Df._32(n,74).disabled,Df._32(n,74).required,Df._32(n,74).readonly,Df._32(n,74)._ariaDescribedby||null,Df._32(n,74).errorState,Df._32(n,74).required.toString()]);l(n,101,0,Df._32(n,103).expanded,Df._32(n,103)._hasSpacing());l(n,106,0,Df._32(n,107).panel._headerId,Df._32(n,107).panel.disabled?-1:0,Df._32(n,107)._getPanelId(),Df._32(n,107)._isExpanded(),Df._32(n,107).panel.disabled,Df._32(n,107)._isExpanded(),l(n,109,0,Df._32(n,107)._getExpandedState(),l(n,108,0,Df._32(n,107).collapsedHeight,Df._32(n,107).expandedHeight)));l(n,132,0,Df._32(n,133)._hidden);l(n,144,0,Df._32(n,146).expanded,Df._32(n,146)._hasSpacing());l(n,149,0,Df._32(n,150).panel._headerId,Df._32(n,150).panel.disabled?-1:0,Df._32(n,150)._getPanelId(),Df._32(n,150)._isExpanded(),Df._32(n,150).panel.disabled,Df._32(n,150)._isExpanded(),l(n,152,0,Df._32(n,150)._getExpandedState(),l(n,151,0,Df._32(n,150).collapsedHeight,Df._32(n,150).expandedHeight)));l(n,172,0,Df._32(n,173)._hidden)})}function qd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editPurchaseAllDetails(t.purchse_details)&&u}return u},null,null)),(l()(),Df._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),Df._39(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function kd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,24,"ion-list",[],null,null,null,null,null)),Df._17(1,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,20,"ion-item",[["class","item item-block"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editPurchaseDetails(l.context.$implicit.purchase_id)&&u}return u},Vv.b,Vv.a)),Df._17(4,1097728,null,3,jv.a,[Nv.a,Wv.a,Df.p,Df.O,[2,Ev.a]],null,null),Df._37(335544320,35,{contentLabel:0}),Df._37(603979776,36,{_buttons:1}),Df._37(603979776,37,{_icons:1}),Df._17(8,16384,null,0,Rv.a,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(10,0,null,2,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(11,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(14,16384,null,0,my.a,[],null,null),(l()(),Df._39(15,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),Df._17(18,16384,null,0,my.a,[],null,null),(l()(),Df._39(19,null,["\n "," ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(22,0,null,2,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],null,function(l,n){l(n,15,0,n.context.$implicit.purchase_item);l(n,19,0,"₹",n.context.$implicit.annual_purchase_value)})}function Pd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,32,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(5,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(7,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(8,49152,null,0,sy.e,[],null,null),(l()(),Df._18(9,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Purchase Item"])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._18(12,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(13,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,qd)),Df._17(16,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(18,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-9",""],["text-right",""]],null,null,null,null,null)),Df._17(19,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(21,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddPurchaseForm()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(24,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,kd)),Df._17(30,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,16,0,""!=e.purchse_details);l(n,24,0,"optblue","add-circle");l(n,30,0,e.purchse_details)},function(l,n){l(n,23,0,Df._32(n,24)._hidden)})}function Dd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editExpenseAllDetails(t.businessExpenses_details)&&u}return u},null,null)),(l()(),Df._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),Df._39(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function Td(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,15,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editExpenseDetails(l.context.$implicit.pd_expense_id)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(5,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(8,16384,null,0,my.a,[],null,null),(l()(),Df._39(9,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),Df._17(12,16384,null,0,my.a,[],null,null),(l()(),Df._39(13,null,["\n "," ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],null,function(l,n){l(n,9,0,n.context.$implicit.expense_item);l(n,13,0,"₹",n.context.$implicit.annual_expenses_value)})}function Od(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(3,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(6,49152,null,0,sy.e,[],null,null),(l()(),Df._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Business Expense Items"])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(11,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Dd)),Df._17(14,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),Df._17(17,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(19,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddExpenseForm()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(22,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Td)),Df._17(28,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.businessExpenses_details);l(n,22,0,"optblue","add-circle");l(n,28,0,e.businessExpenses_details)},function(l,n){l(n,21,0,Df._32(n,22)._hidden)})}function Ld(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editHouseExpenseAllDetails(t.houseHold_details)&&u}return u},null,null)),(l()(),Df._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),Df._39(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function Ad(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,15,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editHouseExpenseDetails(l.context.$implicit.household_expense_id)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(5,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(8,16384,null,0,my.a,[],null,null),(l()(),Df._39(9,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),Df._17(12,16384,null,0,my.a,[],null,null),(l()(),Df._39(13,null,["\n "," ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],null,function(l,n){l(n,9,0,n.context.$implicit.expense_item);l(n,13,0,"₹",n.context.$implicit.annual_expense_value)})}function Vd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(3,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(6,49152,null,0,sy.e,[],null,null),(l()(),Df._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["House Hold Items"])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(11,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,Ld)),Df._17(14,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),Df._17(17,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(19,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddHouseExpenseForm()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(22,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Ad)),Df._17(28,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.houseHold_details);l(n,22,0,"optblue","md-add");l(n,28,0,e.houseHold_details)},function(l,n){l(n,21,0,Df._32(n,22)._hidden)})}function jd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"ion-col",[["class","col"],["col-3",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._18(2,0,null,null,2,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.editIncomeAllDetails(t.busissnessIncome)&&u}return u},null,null)),(l()(),Df._18(3,0,null,null,1,"h2",[],null,null,null,null,null)),(l()(),Df._39(4,null,["",""]))],null,function(l,n){l(n,4,0,"✎")})}function Nd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,15,"div",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editIncomeDetails(l.context.$implicit.pd_business_income_id)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(5,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,2,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(8,16384,null,0,my.a,[],null,null),(l()(),Df._39(9,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,2,"ion-col",[["class","col"],["col-6",""],["text-right",""]],null,null,null,null,null)),Df._17(12,16384,null,0,my.a,[],null,null),(l()(),Df._39(13,null,["\n "," ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(16,0,null,null,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],null,function(l,n){l(n,9,0,"Others(Please Specify)"!=n.context.$implicit.business_income_item?n.context.$implicit.business_income_item:n.context.$implicit.other_frequncy_item);l(n,13,0,"₹",n.context.$implicit.income_value)})}function Wd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,30,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,27,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(3,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(5,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(6,49152,null,0,sy.e,[],null,null),(l()(),Df._18(7,0,null,2,1,"h4",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Other Business Income Items"])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(10,0,null,0,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(11,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,jd)),Df._17(14,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(16,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-6",""],["text-right",""]],null,null,null,null,null)),Df._17(17,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(19,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.AddIncomeForm()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(21,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(22,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Nd)),Df._17(28,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,14,0,""!=e.busissnessIncome);l(n,22,0,"optblue","add-circle");l(n,28,0,e.busissnessIncome)},function(l,n){l(n,21,0,Df._32(n,22)._hidden)})}function Ed(l){return Df._41(0,[Df._33(0,rg.t,[]),Df._33(0,rg.d,[Df.D]),(l()(),Df._18(2,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(3,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(5,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(6,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,10).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(9,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(10,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(11,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(15,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,gd)),Df._17(19,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(23,0,null,null,17,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(24,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Id)),Df._17(27,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Pd)),Df._17(30,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Od)),Df._17(33,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Vd)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Wd)),Df._17(39,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n \n\n\n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,19,0,!e.viewchange);l(n,27,0,1==e.pageId);l(n,30,0,2==e.pageId);l(n,33,0,3==e.pageId);l(n,36,0,4==e.pageId);l(n,39,0,5==e.pageId)},function(l,n){l(n,5,0,Df._32(n,6)._hidden,Df._32(n,6)._sbPadding);l(n,8,0,Df._32(n,10).isHidden);l(n,14,0,Df._32(n,15)._hidden);l(n,23,0,Df._32(n,24).statusbarPadding,Df._32(n,24)._hasRefresher)})}function Rd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Add Daily Sales Item"]))],null,null)}function Ud(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[20,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.marginAmtInwords[n.parent.parent.context.index])})}function $d(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,44,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Magin Percetage %"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,18)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,18)._onInput()&&u}if("keyup"===n){u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(18,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[9,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(23,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,16,{_control:0}),Df._37(335544320,17,{_placeholderChild:0}),Df._37(335544320,18,{_labelChild:0}),Df._37(603979776,19,{_errorChildren:1}),Df._37(603979776,20,{_hintChildren:1}),Df._37(603979776,21,{_prefixChildren:1}),Df._37(603979776,22,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(32,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_value"],["matInput",""],["name","margin_value"],["placeholder","Margin Value"],["readonly",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,33)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,33).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,33)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,33)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,38)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,38)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,38)._onInput()&&u}return u},null,null)),Df._17(33,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(35,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(37,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(38,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[16,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Ud)),Df._17(42,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,15,0,"margin_per");l(n,18,0,"Magin Percetage %","text");l(n,35,0,"margin_value");l(n,38,0,"Margin Value","text","");l(n,42,0,""!=n.parent.context.$implicit.get("margin_value").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending,Df._32(n,18)._isServer,Df._32(n,18).id,Df._32(n,18).placeholder,Df._32(n,18).disabled,Df._32(n,18).required,Df._32(n,18).readonly,Df._32(n,18)._ariaDescribedby||null,Df._32(n,18).errorState,Df._32(n,18).required.toString()]);l(n,22,1,[Df._32(n,23)._control.errorState,Df._32(n,23)._control.errorState,Df._32(n,23)._canLabelFloat,Df._32(n,23)._shouldLabelFloat(),Df._32(n,23)._hideControlPlaceholder(),Df._32(n,23)._control.disabled,Df._32(n,23)._control.focused,"primary"==Df._32(n,23).color,"accent"==Df._32(n,23).color,"warn"==Df._32(n,23).color,Df._32(n,23)._shouldForward("untouched"),Df._32(n,23)._shouldForward("touched"),Df._32(n,23)._shouldForward("pristine"),Df._32(n,23)._shouldForward("dirty"),Df._32(n,23)._shouldForward("valid"),Df._32(n,23)._shouldForward("invalid"),Df._32(n,23)._shouldForward("pending")]);l(n,32,1,[Df._32(n,37).ngClassUntouched,Df._32(n,37).ngClassTouched,Df._32(n,37).ngClassPristine,Df._32(n,37).ngClassDirty,Df._32(n,37).ngClassValid,Df._32(n,37).ngClassInvalid,Df._32(n,37).ngClassPending,Df._32(n,38)._isServer,Df._32(n,38).id,Df._32(n,38).placeholder,Df._32(n,38).disabled,Df._32(n,38).required,Df._32(n,38).readonly,Df._32(n,38)._ariaDescribedby||null,Df._32(n,38).errorState,Df._32(n,38).required.toString()])})}function Bd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[41,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function Md(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.adddailyChildSaleProduct(l.parent.parent.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Kd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,74,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,30,{_control:0}),Df._37(335544320,31,{_placeholderChild:0}),Df._37(335544320,32,{_labelChild:0}),Df._37(603979776,33,{_errorChildren:1}),Df._37(603979776,34,{_hintChildren:1}),Df._37(603979776,35,{_prefixChildren:1}),Df._37(603979776,36,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_date"],["matInput",""],["max","maxDate"],["name","sales_date"],["placeholder","Sales Date"],["type","date"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,21)._onInput()&&u}if("dateChange"===n){u=!1!==t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),Df._17(16,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(18,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(20,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(21,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[30,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(25,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(26,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,37,{_control:0}),Df._37(335544320,38,{_placeholderChild:0}),Df._37(335544320,39,{_labelChild:0}),Df._37(603979776,40,{_errorChildren:1}),Df._37(603979776,41,{_hintChildren:1}),Df._37(603979776,42,{_prefixChildren:1}),Df._37(603979776,43,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(35,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_value"],["matInput",""],["name","sales_value"],["placeholder","Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"keyup"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,36)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,36).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,36)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,36)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,37).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,37).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,37).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,42)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,42)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,42)._onInput()&&u}if("blur"===n){u=!1!==t.getSalesCalc(l.context.$implicit,l.parent.context.$implicit,l.parent.context.index)&&u}if("keyup"===n){t.salesCalculation(l.parent.context.index,l.parent.context.$implicit.value,l.parent.context.$implicit.value.child);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),Df._17(36,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(37,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(39,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(41,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(42,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[37,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Bd)),Df._17(46,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(49,0,null,null,24,"ion-buttons",[],null,null,null,null,null)),Df._17(50,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,44,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(53,0,null,null,19,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(54,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(56,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(57,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(59,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletedailyChildSaleProduct(l.parent.context.index,l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(61,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(62,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(66,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""],["text-right",""]],null,null,null,null,null)),Df._17(67,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Md)),Df._17(70,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,18,0,"sales_date");l(n,21,0,"Sales Date","date");l(n,39,0,"sales_value");l(n,42,0,"Value","number");l(n,46,0,""!=n.context.$implicit.get("sales_value").value);l(n,62,0,"optblue","md-trash");l(n,70,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,20).ngClassUntouched,Df._32(n,20).ngClassTouched,Df._32(n,20).ngClassPristine,Df._32(n,20).ngClassDirty,Df._32(n,20).ngClassValid,Df._32(n,20).ngClassInvalid,Df._32(n,20).ngClassPending,Df._32(n,21)._isServer,Df._32(n,21).id,Df._32(n,21).placeholder,Df._32(n,21).disabled,Df._32(n,21).required,Df._32(n,21).readonly,Df._32(n,21)._ariaDescribedby||null,Df._32(n,21).errorState,Df._32(n,21).required.toString()]);l(n,25,1,[Df._32(n,26)._control.errorState,Df._32(n,26)._control.errorState,Df._32(n,26)._canLabelFloat,Df._32(n,26)._shouldLabelFloat(),Df._32(n,26)._hideControlPlaceholder(),Df._32(n,26)._control.disabled,Df._32(n,26)._control.focused,"primary"==Df._32(n,26).color,"accent"==Df._32(n,26).color,"warn"==Df._32(n,26).color,Df._32(n,26)._shouldForward("untouched"),Df._32(n,26)._shouldForward("touched"),Df._32(n,26)._shouldForward("pristine"),Df._32(n,26)._shouldForward("dirty"),Df._32(n,26)._shouldForward("valid"),Df._32(n,26)._shouldForward("invalid"),Df._32(n,26)._shouldForward("pending")]);l(n,35,1,[Df._32(n,41).ngClassUntouched,Df._32(n,41).ngClassTouched,Df._32(n,41).ngClassPristine,Df._32(n,41).ngClassDirty,Df._32(n,41).ngClassValid,Df._32(n,41).ngClassInvalid,Df._32(n,41).ngClassPending,Df._32(n,42)._isServer,Df._32(n,42).id,Df._32(n,42).placeholder,Df._32(n,42).disabled,Df._32(n,42).required,Df._32(n,42).readonly,Df._32(n,42)._ariaDescribedby||null,Df._32(n,42).errorState,Df._32(n,42).required.toString()]);l(n,61,0,Df._32(n,62)._hidden)})}function Hd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"button",[["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.adddailySalaesProduct()&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add Items"]))],function(l,n){l(n,1,0,"primary")},null)}function Gd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,93,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,45,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(9,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(18,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_item"],["matInput",""],["name","sales_item"],["placeholder","Product / Service"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,24)._onInput()&&u}return u},null,null)),Df._17(19,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,$d)),Df._17(29,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(31,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(32,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,23,{_control:0}),Df._37(335544320,24,{_placeholderChild:0}),Df._37(335544320,25,{_labelChild:0}),Df._37(603979776,26,{_errorChildren:1}),Df._37(603979776,27,{_hintChildren:1}),Df._37(603979776,28,{_prefixChildren:1}),Df._37(603979776,29,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(41,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,42)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,42).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,42)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,42)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,47)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,47)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,47)._onInput()&&u}return u},null,null)),Df._17(42,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(44,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(46,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(47,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[23,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(52,0,null,null,40,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(53,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(55,0,null,0,4,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(56,49152,null,0,sy.e,[],null,null),(l()(),Df._18(57,0,null,2,2,"h2",[],null,null,null,null,null)),(l()(),Df._39(58,null,["",""])),Df._35(59,1),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(61,0,null,0,7,"div",[["formArrayName","child"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(62,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(64,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Kd)),Df._17(67,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(70,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(72,0,null,0,19,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(73,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(75,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(76,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Hd)),Df._17(80,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(83,0,null,null,7,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(84,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(87,0,null,null,2,"button",[["color","primary"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletedailySalesProduct(l.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(88,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Remove"])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"sales_item");l(n,24,0,"Product / Service","text");l(n,29,0,e.margin_calculation_status);l(n,44,0,"comments");l(n,47,0,"Remarks");l(n,62,0,"child");l(n,67,0,n.context.$implicit.controls.child.controls);l(n,80,0,n.context.last);l(n,88,0,"primary")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,8,1,[Df._32(n,9)._control.errorState,Df._32(n,9)._control.errorState,Df._32(n,9)._canLabelFloat,Df._32(n,9)._shouldLabelFloat(),Df._32(n,9)._hideControlPlaceholder(),Df._32(n,9)._control.disabled,Df._32(n,9)._control.focused,"primary"==Df._32(n,9).color,"accent"==Df._32(n,9).color,"warn"==Df._32(n,9).color,Df._32(n,9)._shouldForward("untouched"),Df._32(n,9)._shouldForward("touched"),Df._32(n,9)._shouldForward("pristine"),Df._32(n,9)._shouldForward("dirty"),Df._32(n,9)._shouldForward("valid"),Df._32(n,9)._shouldForward("invalid"),Df._32(n,9)._shouldForward("pending")]);l(n,18,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24)._isServer,Df._32(n,24).id,Df._32(n,24).placeholder,Df._32(n,24).disabled,Df._32(n,24).required,Df._32(n,24).readonly,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24).errorState,Df._32(n,24).required.toString()]);l(n,31,1,[Df._32(n,32)._control.errorState,Df._32(n,32)._control.errorState,Df._32(n,32)._canLabelFloat,Df._32(n,32)._shouldLabelFloat(),Df._32(n,32)._hideControlPlaceholder(),Df._32(n,32)._control.disabled,Df._32(n,32)._control.focused,"primary"==Df._32(n,32).color,"accent"==Df._32(n,32).color,"warn"==Df._32(n,32).color,Df._32(n,32)._shouldForward("untouched"),Df._32(n,32)._shouldForward("touched"),Df._32(n,32)._shouldForward("pristine"),Df._32(n,32)._shouldForward("dirty"),Df._32(n,32)._shouldForward("valid"),Df._32(n,32)._shouldForward("invalid"),Df._32(n,32)._shouldForward("pending")]);l(n,41,1,[Df._32(n,46).ngClassUntouched,Df._32(n,46).ngClassTouched,Df._32(n,46).ngClassPristine,Df._32(n,46).ngClassDirty,Df._32(n,46).ngClassValid,Df._32(n,46).ngClassInvalid,Df._32(n,46).ngClassPending,Df._32(n,47)._isServer,Df._32(n,47).id,Df._32(n,47).placeholder,Df._32(n,47).disabled,Df._32(n,47).required,Df._32(n,47).readonly,Df._32(n,47)._ariaDescribedby||null,Df._32(n,47).errorState,Df._32(n,47).required.toString()]);l(n,58,0,Df._40(n,58,0,l(n,59,0,Df._32(n.parent,0),n.context.$implicit.get("sales_item").value)));l(n,61,0,Df._32(n,64).ngClassUntouched,Df._32(n,64).ngClassTouched,Df._32(n,64).ngClassPristine,Df._32(n,64).ngClassDirty,Df._32(n,64).ngClassValid,Df._32(n,64).ngClassInvalid,Df._32(n,64).ngClassPending)})}function Yd(l){return Df._41(0,[Df._33(0,rg.t,[]),(l()(),Df._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,9).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(8,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(9,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(10,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(14,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Rd)),Df._17(18,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._18(22,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,27).onReset()&&u}return u},null,null)),Df._17(26,16384,null,0,Jf.B,[],null,null),Df._17(27,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(29,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,7,"div",[["formArrayName","sales_product"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(32,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(34,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Gd)),Df._17(37,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(40,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(41,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n\n\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(44,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveData(t.salesDailyForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(45,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.salesDailyForm);l(n,32,0,"sales_product");l(n,37,0,e.salesDailyForm.get("sales_product").controls);l(n,45,0,"optblue","")},function(l,n){l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,7,0,Df._32(n,9).isHidden);l(n,13,0,Df._32(n,14)._hidden);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher);l(n,25,0,Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending);l(n,31,0,Df._32(n,34).ngClassUntouched,Df._32(n,34).ngClassTouched,Df._32(n,34).ngClassPristine,Df._32(n,34).ngClassDirty,Df._32(n,34).ngClassValid,Df._32(n,34).ngClassInvalid,Df._32(n,34).ngClassPending)})}function zd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Add Sales Item "]))],null,null)}function Qd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[23,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Jd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-label",[["align","end"],["style","font-size: 12px"]],null,null,null,null,null)),Df._17(1,16384,null,0,fy.f,[],null,null),(l()(),Df._39(2,null,[""," "," Only"]))],null,function(l,n){l(n,2,0,"₹",n.component.ratePerUnitAmtInwords[n.parent.context.index])})}function Xd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[40,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Zd(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[47,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.annualSaleAmtInwords[n.parent.context.index])})}function ls(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[61,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.marginAmtInwords[n.parent.parent.context.index])})}function ns(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[68,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.marginFinalAmtInwords[n.parent.parent.context.index])})}function es(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,70,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(3,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,50,{_control:0}),Df._37(335544320,51,{_placeholderChild:0}),Df._37(335544320,52,{_labelChild:0}),Df._37(603979776,53,{_errorChildren:1}),Df._37(603979776,54,{_hintChildren:1}),Df._37(603979776,55,{_prefixChildren:1}),Df._37(603979776,56,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per"],["matInput",""],["name","margin_per"],["placeholder","Margin percentage %"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,13)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,13).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,13)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,13)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,14).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,14).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,19)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,19)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,19)._onInput()&&u}if("keyup"===n){u=!1!==t.salesMarginPerCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),Df._17(13,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(14,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[50,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(23,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(24,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,57,{_control:0}),Df._37(335544320,58,{_placeholderChild:0}),Df._37(335544320,59,{_labelChild:0}),Df._37(603979776,60,{_errorChildren:1}),Df._37(603979776,61,{_hintChildren:1}),Df._37(603979776,62,{_prefixChildren:1}),Df._37(603979776,63,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(33,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_per_uom"],["matInput",""],["name","margin_per_uom"],["placeholder","Margin Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,34)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,34).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,34)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,34)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,35).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,35).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,35).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,40)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,40)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,40)._onInput()&&u}if("keyup"===n){u=!1!==t.salesMarginAmtCalculation(l.parent.context.index,l.parent.context.$implicit.value)&&u}return u},null,null)),Df._17(34,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(35,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(37,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(39,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(40,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[57,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,ls)),Df._17(44,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(47,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(48,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,64,{_control:0}),Df._37(335544320,65,{_placeholderChild:0}),Df._37(335544320,66,{_labelChild:0}),Df._37(603979776,67,{_errorChildren:1}),Df._37(603979776,68,{_hintChildren:1}),Df._37(603979776,69,{_prefixChildren:1}),Df._37(603979776,70,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(57,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","margin_final_value"],["matInput",""],["name","margin_final_value"],["placeholder","Considered Margin Amount"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,58)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,58).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,58)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,58)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,59).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,59).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,59).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,64)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,64)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,64)._onInput()&&u}return u},null,null)),Df._17(58,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(59,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(61,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(63,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(64,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[64,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,ns)),Df._17(68,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,16,0,"margin_per");l(n,19,0,"Margin percentage %","number");l(n,37,0,"margin_per_uom");l(n,40,0,"Margin Amount","number");l(n,44,0,null!=n.parent.context.$implicit.get("rate_per_unit").value);l(n,61,0,"margin_final_value");l(n,64,0,"Considered Margin Amount","number","");l(n,68,0,null!=n.parent.context.$implicit.get("rate_per_unit").value)},function(l,n){l(n,2,1,[Df._32(n,3)._control.errorState,Df._32(n,3)._control.errorState,Df._32(n,3)._canLabelFloat,Df._32(n,3)._shouldLabelFloat(),Df._32(n,3)._hideControlPlaceholder(),Df._32(n,3)._control.disabled,Df._32(n,3)._control.focused,"primary"==Df._32(n,3).color,"accent"==Df._32(n,3).color,"warn"==Df._32(n,3).color,Df._32(n,3)._shouldForward("untouched"),Df._32(n,3)._shouldForward("touched"),Df._32(n,3)._shouldForward("pristine"),Df._32(n,3)._shouldForward("dirty"),Df._32(n,3)._shouldForward("valid"),Df._32(n,3)._shouldForward("invalid"),Df._32(n,3)._shouldForward("pending")]);l(n,12,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19)._isServer,Df._32(n,19).id,Df._32(n,19).placeholder,Df._32(n,19).disabled,Df._32(n,19).required,Df._32(n,19).readonly,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19).errorState,Df._32(n,19).required.toString()]);l(n,23,1,[Df._32(n,24)._control.errorState,Df._32(n,24)._control.errorState,Df._32(n,24)._canLabelFloat,Df._32(n,24)._shouldLabelFloat(),Df._32(n,24)._hideControlPlaceholder(),Df._32(n,24)._control.disabled,Df._32(n,24)._control.focused,"primary"==Df._32(n,24).color,"accent"==Df._32(n,24).color,"warn"==Df._32(n,24).color,Df._32(n,24)._shouldForward("untouched"),Df._32(n,24)._shouldForward("touched"),Df._32(n,24)._shouldForward("pristine"),Df._32(n,24)._shouldForward("dirty"),Df._32(n,24)._shouldForward("valid"),Df._32(n,24)._shouldForward("invalid"),Df._32(n,24)._shouldForward("pending")]);l(n,33,1,[Df._32(n,39).ngClassUntouched,Df._32(n,39).ngClassTouched,Df._32(n,39).ngClassPristine,Df._32(n,39).ngClassDirty,Df._32(n,39).ngClassValid,Df._32(n,39).ngClassInvalid,Df._32(n,39).ngClassPending,Df._32(n,40)._isServer,Df._32(n,40).id,Df._32(n,40).placeholder,Df._32(n,40).disabled,Df._32(n,40).required,Df._32(n,40).readonly,Df._32(n,40)._ariaDescribedby||null,Df._32(n,40).errorState,Df._32(n,40).required.toString()]);l(n,47,1,[Df._32(n,48)._control.errorState,Df._32(n,48)._control.errorState,Df._32(n,48)._canLabelFloat,Df._32(n,48)._shouldLabelFloat(),Df._32(n,48)._hideControlPlaceholder(),Df._32(n,48)._control.disabled,Df._32(n,48)._control.focused,"primary"==Df._32(n,48).color,"accent"==Df._32(n,48).color,"warn"==Df._32(n,48).color,Df._32(n,48)._shouldForward("untouched"),Df._32(n,48)._shouldForward("touched"),Df._32(n,48)._shouldForward("pristine"),Df._32(n,48)._shouldForward("dirty"),Df._32(n,48)._shouldForward("valid"),Df._32(n,48)._shouldForward("invalid"),Df._32(n,48)._shouldForward("pending")]);l(n,57,1,[Df._32(n,63).ngClassUntouched,Df._32(n,63).ngClassTouched,Df._32(n,63).ngClassPristine,Df._32(n,63).ngClassDirty,Df._32(n,63).ngClassValid,Df._32(n,63).ngClassInvalid,Df._32(n,63).ngClassPending,Df._32(n,64)._isServer,Df._32(n,64).id,Df._32(n,64).placeholder,Df._32(n,64).disabled,Df._32(n,64).required,Df._32(n,64).readonly,Df._32(n,64)._ariaDescribedby||null,Df._32(n,64).errorState,Df._32(n,64).required.toString()])})}function us(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addSalesCal()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null)],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function ts(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,199,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,193,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(9,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(10,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_item"],["matInput",""],["name","sales_item"],["placeholder","Product/Services"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,25)._onInput()&&u}if("keyup"===n){u=!1!==t.salecalculat(l.context.index,l.context.$implicit.value)&&u}return u},null,null)),Df._17(20,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(29,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(30,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(39,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","sales_qty"],["matInput",""],["name","sales_qty"],["placeholder","Sale Quantity"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,40)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,41).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,41).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,41).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,46)._onInput()&&u}if("keyup"===n){u=!1!==t.salecalculat(l.context.index,l.context.$implicit.value)&&u}return u},null,null)),Df._17(40,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(41,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(43,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(45,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(46,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[9,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(50,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(51,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,16,{_control:0}),Df._37(335544320,17,{_placeholderChild:0}),Df._37(335544320,18,{_labelChild:0}),Df._37(603979776,19,{_errorChildren:1}),Df._37(603979776,20,{_hintChildren:1}),Df._37(603979776,21,{_prefixChildren:1}),Df._37(603979776,22,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(60,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_uom_id"],["name","fk_uom_id"],["placeholder","UOM"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,65)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,65)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,65)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(62,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(64,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(65,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,23,{options:1}),Df._37(603979776,24,{optionGroups:1}),Df._37(335544320,25,{customTrigger:0}),Df._36(2048,[[16,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Qd)),Df._17(72,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(76,0,null,0,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(77,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,26,{_control:0}),Df._37(335544320,27,{_placeholderChild:0}),Df._37(335544320,28,{_labelChild:0}),Df._37(603979776,29,{_errorChildren:1}),Df._37(603979776,30,{_hintChildren:1}),Df._37(603979776,31,{_prefixChildren:1}),Df._37(603979776,32,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(86,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["matInput",""],["name","rate_per_unit"],["placeholder","Rate/unit of sale"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,87)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,87).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,87)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,87)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,88).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,88).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,88).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,93)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,93)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,93)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,4)&&u}return u},null,null)),Df._17(87,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(88,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(90,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(92,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(93,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[26,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Jd)),Df._17(98,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(100,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(101,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,33,{_control:0}),Df._37(335544320,34,{_placeholderChild:0}),Df._37(335544320,35,{_labelChild:0}),Df._37(603979776,36,{_errorChildren:1}),Df._37(603979776,37,{_hintChildren:1}),Df._37(603979776,38,{_prefixChildren:1}),Df._37(603979776,39,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(110,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,115)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,115)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,115)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.salecalculat(l.context.index,l.context.$implicit.value)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(112,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(114,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(115,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,40,{options:1}),Df._37(603979776,41,{optionGroups:1}),Df._37(335544320,42,{customTrigger:0}),Df._36(2048,[[33,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Xd)),Df._17(122,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(126,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(127,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,43,{_control:0}),Df._37(335544320,44,{_placeholderChild:0}),Df._37(335544320,45,{_labelChild:0}),Df._37(603979776,46,{_errorChildren:1}),Df._37(603979776,47,{_hintChildren:1}),Df._37(603979776,48,{_prefixChildren:1}),Df._37(603979776,49,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(136,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_sale_value"],["matInput",""],["name","annual_sale_value"],["placeholder","Annual Sales"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,137)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,137).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,137)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,137)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,138).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,138).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,138).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,143)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,143)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,143)._onInput()&&u}return u},null,null)),Df._17(137,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(138,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(140,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(142,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(143,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[43,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Zd)),Df._17(147,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,es)),Df._17(151,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(153,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(154,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,71,{_control:0}),Df._37(335544320,72,{_placeholderChild:0}),Df._37(335544320,73,{_labelChild:0}),Df._37(603979776,74,{_errorChildren:1}),Df._37(603979776,75,{_hintChildren:1}),Df._37(603979776,76,{_prefixChildren:1}),Df._37(603979776,77,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(163,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,164)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,164).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,164)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,164)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,169)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,169)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,169)._onInput()&&u}return u},null,null)),Df._17(164,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(166,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(168,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(169,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[71,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(173,0,null,0,23,"ion-buttons",[],null,null,null,null,null)),Df._17(174,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,78,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(177,0,null,null,18,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(178,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(180,0,null,null,7,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(181,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(183,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeSalesCal(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(185,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(186,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(189,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""],["text-right",""]],null,null,null,null,null)),Df._17(190,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,us)),Df._17(193,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"sales_item");l(n,25,0,"Product/Services","text");l(n,43,0,"sales_qty");l(n,46,0,"Sale Quantity","number");l(n,62,0,"fk_uom_id");l(n,65,0,"UOM");l(n,72,0,e.UOM);l(n,90,0,"rate_per_unit");l(n,93,0,"Rate/unit of sale","number");l(n,98,0,null!=n.context.$implicit.get("rate_per_unit").value);l(n,112,0,"fk_frequency_id");l(n,115,0,"Frequency");l(n,122,0,e.m_freqOfPurchase);l(n,140,0,"annual_sale_value");l(n,143,0,"Annual Sales","number","");l(n,147,0,null!=n.context.$implicit.get("rate_per_unit").value);l(n,151,0,!0===e.margin_calculation_status);l(n,166,0,"comments");l(n,169,0,"Remarks");l(n,186,0,"optblue","md-trash");l(n,193,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,9,1,[Df._32(n,10)._control.errorState,Df._32(n,10)._control.errorState,Df._32(n,10)._canLabelFloat,Df._32(n,10)._shouldLabelFloat(),Df._32(n,10)._hideControlPlaceholder(),Df._32(n,10)._control.disabled,Df._32(n,10)._control.focused,"primary"==Df._32(n,10).color,"accent"==Df._32(n,10).color,"warn"==Df._32(n,10).color,Df._32(n,10)._shouldForward("untouched"),Df._32(n,10)._shouldForward("touched"),Df._32(n,10)._shouldForward("pristine"),Df._32(n,10)._shouldForward("dirty"),Df._32(n,10)._shouldForward("valid"),Df._32(n,10)._shouldForward("invalid"),Df._32(n,10)._shouldForward("pending")]);l(n,19,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25)._isServer,Df._32(n,25).id,Df._32(n,25).placeholder,Df._32(n,25).disabled,Df._32(n,25).required,Df._32(n,25).readonly,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25).errorState,Df._32(n,25).required.toString()]);l(n,29,1,[Df._32(n,30)._control.errorState,Df._32(n,30)._control.errorState,Df._32(n,30)._canLabelFloat,Df._32(n,30)._shouldLabelFloat(),Df._32(n,30)._hideControlPlaceholder(),Df._32(n,30)._control.disabled,Df._32(n,30)._control.focused,"primary"==Df._32(n,30).color,"accent"==Df._32(n,30).color,"warn"==Df._32(n,30).color,Df._32(n,30)._shouldForward("untouched"),Df._32(n,30)._shouldForward("touched"),Df._32(n,30)._shouldForward("pristine"),Df._32(n,30)._shouldForward("dirty"),Df._32(n,30)._shouldForward("valid"),Df._32(n,30)._shouldForward("invalid"),Df._32(n,30)._shouldForward("pending")]);l(n,39,1,[Df._32(n,45).ngClassUntouched,Df._32(n,45).ngClassTouched,Df._32(n,45).ngClassPristine,Df._32(n,45).ngClassDirty,Df._32(n,45).ngClassValid,Df._32(n,45).ngClassInvalid,Df._32(n,45).ngClassPending,Df._32(n,46)._isServer,Df._32(n,46).id,Df._32(n,46).placeholder,Df._32(n,46).disabled,Df._32(n,46).required,Df._32(n,46).readonly,Df._32(n,46)._ariaDescribedby||null,Df._32(n,46).errorState,Df._32(n,46).required.toString()]);l(n,50,1,[Df._32(n,51)._control.errorState,Df._32(n,51)._control.errorState,Df._32(n,51)._canLabelFloat,Df._32(n,51)._shouldLabelFloat(),Df._32(n,51)._hideControlPlaceholder(),Df._32(n,51)._control.disabled,Df._32(n,51)._control.focused,"primary"==Df._32(n,51).color,"accent"==Df._32(n,51).color,"warn"==Df._32(n,51).color,Df._32(n,51)._shouldForward("untouched"),Df._32(n,51)._shouldForward("touched"),Df._32(n,51)._shouldForward("pristine"),Df._32(n,51)._shouldForward("dirty"),Df._32(n,51)._shouldForward("valid"),Df._32(n,51)._shouldForward("invalid"),Df._32(n,51)._shouldForward("pending")]);l(n,60,1,[Df._32(n,64).ngClassUntouched,Df._32(n,64).ngClassTouched,Df._32(n,64).ngClassPristine,Df._32(n,64).ngClassDirty,Df._32(n,64).ngClassValid,Df._32(n,64).ngClassInvalid,Df._32(n,64).ngClassPending,Df._32(n,65).id,Df._32(n,65).tabIndex,Df._32(n,65)._ariaLabel,Df._32(n,65).ariaLabelledby,Df._32(n,65).required.toString(),Df._32(n,65).disabled.toString(),Df._32(n,65).errorState,Df._32(n,65).panelOpen?Df._32(n,65)._optionIds:null,Df._32(n,65).multiple,Df._32(n,65)._ariaDescribedby||null,Df._32(n,65)._getAriaActiveDescendant(),Df._32(n,65).disabled,Df._32(n,65).errorState,Df._32(n,65).required]);l(n,76,1,[Df._32(n,77)._control.errorState,Df._32(n,77)._control.errorState,Df._32(n,77)._canLabelFloat,Df._32(n,77)._shouldLabelFloat(),Df._32(n,77)._hideControlPlaceholder(),Df._32(n,77)._control.disabled,Df._32(n,77)._control.focused,"primary"==Df._32(n,77).color,"accent"==Df._32(n,77).color,"warn"==Df._32(n,77).color,Df._32(n,77)._shouldForward("untouched"),Df._32(n,77)._shouldForward("touched"),Df._32(n,77)._shouldForward("pristine"),Df._32(n,77)._shouldForward("dirty"),Df._32(n,77)._shouldForward("valid"),Df._32(n,77)._shouldForward("invalid"),Df._32(n,77)._shouldForward("pending")]);l(n,86,1,[Df._32(n,92).ngClassUntouched,Df._32(n,92).ngClassTouched,Df._32(n,92).ngClassPristine,Df._32(n,92).ngClassDirty,Df._32(n,92).ngClassValid,Df._32(n,92).ngClassInvalid,Df._32(n,92).ngClassPending,Df._32(n,93)._isServer,Df._32(n,93).id,Df._32(n,93).placeholder,Df._32(n,93).disabled,Df._32(n,93).required,Df._32(n,93).readonly,Df._32(n,93)._ariaDescribedby||null,Df._32(n,93).errorState,Df._32(n,93).required.toString()]);l(n,100,1,[Df._32(n,101)._control.errorState,Df._32(n,101)._control.errorState,Df._32(n,101)._canLabelFloat,Df._32(n,101)._shouldLabelFloat(),Df._32(n,101)._hideControlPlaceholder(),Df._32(n,101)._control.disabled,Df._32(n,101)._control.focused,"primary"==Df._32(n,101).color,"accent"==Df._32(n,101).color,"warn"==Df._32(n,101).color,Df._32(n,101)._shouldForward("untouched"),Df._32(n,101)._shouldForward("touched"),Df._32(n,101)._shouldForward("pristine"),Df._32(n,101)._shouldForward("dirty"),Df._32(n,101)._shouldForward("valid"),Df._32(n,101)._shouldForward("invalid"),Df._32(n,101)._shouldForward("pending")]);l(n,110,1,[Df._32(n,114).ngClassUntouched,Df._32(n,114).ngClassTouched,Df._32(n,114).ngClassPristine,Df._32(n,114).ngClassDirty,Df._32(n,114).ngClassValid,Df._32(n,114).ngClassInvalid,Df._32(n,114).ngClassPending,Df._32(n,115).id,Df._32(n,115).tabIndex,Df._32(n,115)._ariaLabel,Df._32(n,115).ariaLabelledby,Df._32(n,115).required.toString(),Df._32(n,115).disabled.toString(),Df._32(n,115).errorState,Df._32(n,115).panelOpen?Df._32(n,115)._optionIds:null,Df._32(n,115).multiple,Df._32(n,115)._ariaDescribedby||null,Df._32(n,115)._getAriaActiveDescendant(),Df._32(n,115).disabled,Df._32(n,115).errorState,Df._32(n,115).required]);l(n,126,1,[Df._32(n,127)._control.errorState,Df._32(n,127)._control.errorState,Df._32(n,127)._canLabelFloat,Df._32(n,127)._shouldLabelFloat(),Df._32(n,127)._hideControlPlaceholder(),Df._32(n,127)._control.disabled,Df._32(n,127)._control.focused,"primary"==Df._32(n,127).color,"accent"==Df._32(n,127).color,"warn"==Df._32(n,127).color,Df._32(n,127)._shouldForward("untouched"),Df._32(n,127)._shouldForward("touched"),Df._32(n,127)._shouldForward("pristine"),Df._32(n,127)._shouldForward("dirty"),Df._32(n,127)._shouldForward("valid"),Df._32(n,127)._shouldForward("invalid"),Df._32(n,127)._shouldForward("pending")]);l(n,136,1,[Df._32(n,142).ngClassUntouched,Df._32(n,142).ngClassTouched,Df._32(n,142).ngClassPristine,Df._32(n,142).ngClassDirty,Df._32(n,142).ngClassValid,Df._32(n,142).ngClassInvalid,Df._32(n,142).ngClassPending,Df._32(n,143)._isServer,Df._32(n,143).id,Df._32(n,143).placeholder,Df._32(n,143).disabled,Df._32(n,143).required,Df._32(n,143).readonly,Df._32(n,143)._ariaDescribedby||null,Df._32(n,143).errorState,Df._32(n,143).required.toString()]);l(n,153,1,[Df._32(n,154)._control.errorState,Df._32(n,154)._control.errorState,Df._32(n,154)._canLabelFloat,Df._32(n,154)._shouldLabelFloat(),Df._32(n,154)._hideControlPlaceholder(),Df._32(n,154)._control.disabled,Df._32(n,154)._control.focused,"primary"==Df._32(n,154).color,"accent"==Df._32(n,154).color,"warn"==Df._32(n,154).color,Df._32(n,154)._shouldForward("untouched"),Df._32(n,154)._shouldForward("touched"),Df._32(n,154)._shouldForward("pristine"),Df._32(n,154)._shouldForward("dirty"),Df._32(n,154)._shouldForward("valid"),Df._32(n,154)._shouldForward("invalid"),Df._32(n,154)._shouldForward("pending")]);l(n,163,1,[Df._32(n,168).ngClassUntouched,Df._32(n,168).ngClassTouched,Df._32(n,168).ngClassPristine,Df._32(n,168).ngClassDirty,Df._32(n,168).ngClassValid,Df._32(n,168).ngClassInvalid,Df._32(n,168).ngClassPending,Df._32(n,169)._isServer,Df._32(n,169).id,Df._32(n,169).placeholder,Df._32(n,169).disabled,Df._32(n,169).required,Df._32(n,169).readonly,Df._32(n,169)._ariaDescribedby||null,Df._32(n,169).errorState,Df._32(n,169).required.toString()]);l(n,185,0,Df._32(n,186)._hidden)})}function as(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,zd)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,7,"div",[["formArrayName","salesCalItemwise"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(31,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(33,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ts)),Df._17(36,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(40,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveData(t.assessedForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(44,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.assessedForm);l(n,31,0,"salesCalItemwise");l(n,36,0,e.assessedForm.get("salesCalItemwise").controls);l(n,44,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,30,0,Df._32(n,33).ngClassUntouched,Df._32(n,33).ngClassTouched,Df._32(n,33).ngClassPristine,Df._32(n,33).ngClassDirty,Df._32(n,33).ngClassValid,Df._32(n,33).ngClassInvalid,Df._32(n,33).ngClassPending)})}function is(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["House Hold Expense"]))],null,null)}function os(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[13,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function rs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[23,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function _s(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[30,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AnnualExpenses[n.parent.context.index])})}function ds(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addHouseExpenses()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function ss(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Total Household Expenses :"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(11,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),Df._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(15,null,[" ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandHouseExpenseTotal)})}function cs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,147,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,141,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(9,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(18,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","expense_item"],["matInput",""],["name","expense_value"],["placeholder","Expense Particulars"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,24)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,24)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,24)._onInput()&&u}return u},null,null)),Df._17(19,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(21,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(23,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(24,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(28,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(29,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(38,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","expense_value"],["matInput",""],["name","expense_value"],["placeholder","Amount (Rs)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,39)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,39).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,39)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,39)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,40).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,40).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,40).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,45)._onInput()&&u}if("keyup"===n){t.houseExpensecalculat(l.context.index,l.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),Df._17(39,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(40,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(42,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(44,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(45,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[9,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,os)),Df._17(49,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(52,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(53,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,16,{_control:0}),Df._37(335544320,17,{_placeholderChild:0}),Df._37(335544320,18,{_labelChild:0}),Df._37(603979776,19,{_errorChildren:1}),Df._37(603979776,20,{_hintChildren:1}),Df._37(603979776,21,{_prefixChildren:1}),Df._37(603979776,22,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(62,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,67)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,67)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,67)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.houseExpensecalculat(l.context.index,l.context.$implicit.value)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(64,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(66,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(67,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,23,{options:1}),Df._37(603979776,24,{optionGroups:1}),Df._37(335544320,25,{customTrigger:0}),Df._36(2048,[[16,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,rs)),Df._17(74,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(78,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(79,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,26,{_control:0}),Df._37(335544320,27,{_placeholderChild:0}),Df._37(335544320,28,{_labelChild:0}),Df._37(603979776,29,{_errorChildren:1}),Df._37(603979776,30,{_hintChildren:1}),Df._37(603979776,31,{_prefixChildren:1}),Df._37(603979776,32,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(88,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_expense_value"],["matInput",""],["name","annual_expense_value"],["placeholder","Annual Expenses"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,89)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,89).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,89)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,89)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,90).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,90).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,90).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,95)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,95)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,95)._onInput()&&u}return u},null,null)),Df._17(89,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(90,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(92,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(94,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(95,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[26,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,_s)),Df._17(99,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(102,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(103,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,33,{_control:0}),Df._37(335544320,34,{_placeholderChild:0}),Df._37(335544320,35,{_labelChild:0}),Df._37(603979776,36,{_errorChildren:1}),Df._37(603979776,37,{_hintChildren:1}),Df._37(603979776,38,{_prefixChildren:1}),Df._37(603979776,39,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(112,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,113)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,113).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,113)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,113)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,118)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,118)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,118)._onInput()&&u}return u},null,null)),Df._17(113,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(115,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(117,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(118,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[33,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(122,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(123,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,40,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(126,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(127,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(129,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteHouseExpense(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(131,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(132,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(136,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),Df._17(137,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ds)),Df._17(140,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n \n \n "])),(l()(),Df._39(-1,0,["\n \n \n "])),(l()(),Df._13(16777216,null,0,1,null,ss)),Df._17(145,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"expense_item");l(n,24,0,"Expense Particulars","text");l(n,42,0,"expense_value");l(n,45,0,"Amount (Rs)","number");l(n,49,0,null!=n.context.$implicit.get("expense_value").value);l(n,64,0,"fk_frequency_id");l(n,67,0,"frequency");l(n,74,0,e.m_freqOfPurchase);l(n,92,0,"annual_expense_value");l(n,95,0,"Annual Expenses","number","");l(n,99,0,null!=n.context.$implicit.get("annual_expense_value").value);l(n,115,0,"comments");l(n,118,0,"Remarks");l(n,132,0,"optblue","md-trash");l(n,140,0,n.context.last);l(n,145,0,n.context.last&&null!=e.grandExpenseTotal)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,8,1,[Df._32(n,9)._control.errorState,Df._32(n,9)._control.errorState,Df._32(n,9)._canLabelFloat,Df._32(n,9)._shouldLabelFloat(),Df._32(n,9)._hideControlPlaceholder(),Df._32(n,9)._control.disabled,Df._32(n,9)._control.focused,"primary"==Df._32(n,9).color,"accent"==Df._32(n,9).color,"warn"==Df._32(n,9).color,Df._32(n,9)._shouldForward("untouched"),Df._32(n,9)._shouldForward("touched"),Df._32(n,9)._shouldForward("pristine"),Df._32(n,9)._shouldForward("dirty"),Df._32(n,9)._shouldForward("valid"),Df._32(n,9)._shouldForward("invalid"),Df._32(n,9)._shouldForward("pending")]);l(n,18,1,[Df._32(n,23).ngClassUntouched,Df._32(n,23).ngClassTouched,Df._32(n,23).ngClassPristine,Df._32(n,23).ngClassDirty,Df._32(n,23).ngClassValid,Df._32(n,23).ngClassInvalid,Df._32(n,23).ngClassPending,Df._32(n,24)._isServer,Df._32(n,24).id,Df._32(n,24).placeholder,Df._32(n,24).disabled,Df._32(n,24).required,Df._32(n,24).readonly,Df._32(n,24)._ariaDescribedby||null,Df._32(n,24).errorState,Df._32(n,24).required.toString()]);l(n,28,1,[Df._32(n,29)._control.errorState,Df._32(n,29)._control.errorState,Df._32(n,29)._canLabelFloat,Df._32(n,29)._shouldLabelFloat(),Df._32(n,29)._hideControlPlaceholder(),Df._32(n,29)._control.disabled,Df._32(n,29)._control.focused,"primary"==Df._32(n,29).color,"accent"==Df._32(n,29).color,"warn"==Df._32(n,29).color,Df._32(n,29)._shouldForward("untouched"),Df._32(n,29)._shouldForward("touched"),Df._32(n,29)._shouldForward("pristine"),Df._32(n,29)._shouldForward("dirty"),Df._32(n,29)._shouldForward("valid"),Df._32(n,29)._shouldForward("invalid"),Df._32(n,29)._shouldForward("pending")]);l(n,38,1,[Df._32(n,44).ngClassUntouched,Df._32(n,44).ngClassTouched,Df._32(n,44).ngClassPristine,Df._32(n,44).ngClassDirty,Df._32(n,44).ngClassValid,Df._32(n,44).ngClassInvalid,Df._32(n,44).ngClassPending,Df._32(n,45)._isServer,Df._32(n,45).id,Df._32(n,45).placeholder,Df._32(n,45).disabled,Df._32(n,45).required,Df._32(n,45).readonly,Df._32(n,45)._ariaDescribedby||null,Df._32(n,45).errorState,Df._32(n,45).required.toString()]);l(n,52,1,[Df._32(n,53)._control.errorState,Df._32(n,53)._control.errorState,Df._32(n,53)._canLabelFloat,Df._32(n,53)._shouldLabelFloat(),Df._32(n,53)._hideControlPlaceholder(),Df._32(n,53)._control.disabled,Df._32(n,53)._control.focused,"primary"==Df._32(n,53).color,"accent"==Df._32(n,53).color,"warn"==Df._32(n,53).color,Df._32(n,53)._shouldForward("untouched"),Df._32(n,53)._shouldForward("touched"),Df._32(n,53)._shouldForward("pristine"),Df._32(n,53)._shouldForward("dirty"),Df._32(n,53)._shouldForward("valid"),Df._32(n,53)._shouldForward("invalid"),Df._32(n,53)._shouldForward("pending")]);l(n,62,1,[Df._32(n,66).ngClassUntouched,Df._32(n,66).ngClassTouched,Df._32(n,66).ngClassPristine,Df._32(n,66).ngClassDirty,Df._32(n,66).ngClassValid,Df._32(n,66).ngClassInvalid,Df._32(n,66).ngClassPending,Df._32(n,67).id,Df._32(n,67).tabIndex,Df._32(n,67)._ariaLabel,Df._32(n,67).ariaLabelledby,Df._32(n,67).required.toString(),Df._32(n,67).disabled.toString(),Df._32(n,67).errorState,Df._32(n,67).panelOpen?Df._32(n,67)._optionIds:null,Df._32(n,67).multiple,Df._32(n,67)._ariaDescribedby||null,Df._32(n,67)._getAriaActiveDescendant(),Df._32(n,67).disabled,Df._32(n,67).errorState,Df._32(n,67).required]);l(n,78,1,[Df._32(n,79)._control.errorState,Df._32(n,79)._control.errorState,Df._32(n,79)._canLabelFloat,Df._32(n,79)._shouldLabelFloat(),Df._32(n,79)._hideControlPlaceholder(),Df._32(n,79)._control.disabled,Df._32(n,79)._control.focused,"primary"==Df._32(n,79).color,"accent"==Df._32(n,79).color,"warn"==Df._32(n,79).color,Df._32(n,79)._shouldForward("untouched"),Df._32(n,79)._shouldForward("touched"),Df._32(n,79)._shouldForward("pristine"),Df._32(n,79)._shouldForward("dirty"),Df._32(n,79)._shouldForward("valid"),Df._32(n,79)._shouldForward("invalid"),Df._32(n,79)._shouldForward("pending")]);l(n,88,1,[Df._32(n,94).ngClassUntouched,Df._32(n,94).ngClassTouched,Df._32(n,94).ngClassPristine,Df._32(n,94).ngClassDirty,Df._32(n,94).ngClassValid,Df._32(n,94).ngClassInvalid,Df._32(n,94).ngClassPending,Df._32(n,95)._isServer,Df._32(n,95).id,Df._32(n,95).placeholder,Df._32(n,95).disabled,Df._32(n,95).required,Df._32(n,95).readonly,Df._32(n,95)._ariaDescribedby||null,Df._32(n,95).errorState,Df._32(n,95).required.toString()]);l(n,102,1,[Df._32(n,103)._control.errorState,Df._32(n,103)._control.errorState,Df._32(n,103)._canLabelFloat,Df._32(n,103)._shouldLabelFloat(),Df._32(n,103)._hideControlPlaceholder(),Df._32(n,103)._control.disabled,Df._32(n,103)._control.focused,"primary"==Df._32(n,103).color,"accent"==Df._32(n,103).color,"warn"==Df._32(n,103).color,Df._32(n,103)._shouldForward("untouched"),Df._32(n,103)._shouldForward("touched"),Df._32(n,103)._shouldForward("pristine"),Df._32(n,103)._shouldForward("dirty"),Df._32(n,103)._shouldForward("valid"),Df._32(n,103)._shouldForward("invalid"),Df._32(n,103)._shouldForward("pending")]);l(n,112,1,[Df._32(n,117).ngClassUntouched,Df._32(n,117).ngClassTouched,Df._32(n,117).ngClassPristine,Df._32(n,117).ngClassDirty,Df._32(n,117).ngClassValid,Df._32(n,117).ngClassInvalid,Df._32(n,117).ngClassPending,Df._32(n,118)._isServer,Df._32(n,118).id,Df._32(n,118).placeholder,Df._32(n,118).disabled,Df._32(n,118).required,Df._32(n,118).readonly,Df._32(n,118)._ariaDescribedby||null,Df._32(n,118).errorState,Df._32(n,118).required.toString()]);l(n,131,0,Df._32(n,132)._hidden)})}function ms(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,is)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,7,"div",[["formArrayName","houseExpense"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(31,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(33,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,cs)),Df._17(36,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(40,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveHouseExpenseData(t.houseHoldForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(44,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.houseHoldForm);l(n,31,0,"houseExpense");l(n,36,0,e.houseHoldForm.get("houseExpense").controls);l(n,44,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,30,0,Df._32(n,33).ngClassUntouched,Df._32(n,33).ngClassTouched,Df._32(n,33).ngClassPristine,Df._32(n,33).ngClassDirty,Df._32(n,33).ngClassValid,Df._32(n,33).ngClassInvalid,Df._32(n,33).ngClassPending)})}function ps(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Purchase"]))],null,null)}function fs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[23,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.uom_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function hs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,26,{_control:0}),Df._37(335544320,27,{_placeholderChild:0}),Df._37(335544320,28,{_labelChild:0}),Df._37(603979776,29,{_errorChildren:1}),Df._37(603979776,30,{_hintChildren:1}),Df._37(603979776,31,{_prefixChildren:1}),Df._37(603979776,32,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","uom_other"],["matInput",""],["placeholder","Other UOM"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[26,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"uom_other");l(n,16,0,"Other UOM")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function gs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[37,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[" "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.RateOfPurchase[n.parent.context.index])})}function bs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[47,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function vs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[54,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[" "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AnnualPurchase[n.parent.context.index])})}function ys(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addPurchaseDetails()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Cs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Grand Total:"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(11,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),Df._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(15,null,[" ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandpurchaseTotal)})}function ws(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,219,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,213,"mat-card",[["class","box mat-card"]],null,null,null,dy.d,dy.a)),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(8,0,null,0,23,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(11,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(20,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_item"],["matInput",""],["name","purchase_item"],["placeholder","Raw Material / Trading Item"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,21)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,21).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,21)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,21)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,28)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,28)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,28)._onInput()&&u}return u},null,null)),Df._17(21,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(22,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(25,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(27,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(28,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._18(33,0,null,0,24,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(36,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(45,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","purchase_qty"],["matInput",""],["name","purchase_qty"],["placeholder","Purchase Quantity"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,46)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,47).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,47).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,47).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,54)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,54)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,54)._onInput()&&u}if("keyup"===n){u=!1!==t.purchaseCalculation(l.context.index,l.context.$implicit.value)&&u}return u},null,null)),Df._17(46,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(47,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(48,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(51,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(53,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(54,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[9,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(59,0,null,0,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(61,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(62,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,16,{_control:0}),Df._37(335544320,17,{_placeholderChild:0}),Df._37(335544320,18,{_labelChild:0}),Df._37(603979776,19,{_errorChildren:1}),Df._37(603979776,20,{_hintChildren:1}),Df._37(603979776,21,{_prefixChildren:1}),Df._37(603979776,22,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._18(71,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_uom_id"],["name","fk_uom_id"],["placeholder","UOM"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,76)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,76)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,76)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(73,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(75,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(76,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,23,{options:1}),Df._37(603979776,24,{optionGroups:1}),Df._37(335544320,25,{customTrigger:0}),Df._36(2048,[[16,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,fs)),Df._17(83,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,hs)),Df._17(89,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(91,0,null,0,26,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(93,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(94,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,33,{_control:0}),Df._37(335544320,34,{_placeholderChild:0}),Df._37(335544320,35,{_labelChild:0}),Df._37(603979776,36,{_errorChildren:1}),Df._37(603979776,37,{_hintChildren:1}),Df._37(603979776,38,{_prefixChildren:1}),Df._37(603979776,39,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(103,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rate_per_unit"],["matInput",""],["name","rate_per_unit"],["placeholder","Rate / Unit of Purchase"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,104)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,104).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,104)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,104)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,111)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,111)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,111)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),Df._17(104,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(105,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(108,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(110,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(111,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[33,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,gs)),Df._17(115,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(119,0,null,0,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(121,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(122,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,40,{_control:0}),Df._37(335544320,41,{_placeholderChild:0}),Df._37(335544320,42,{_labelChild:0}),Df._37(603979776,43,{_errorChildren:1}),Df._37(603979776,44,{_hintChildren:1}),Df._37(603979776,45,{_prefixChildren:1}),Df._37(603979776,46,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._18(131,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,136)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,136)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,136)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.purchaseCalculation(l.context.index,l.context.$implicit.value)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(133,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(135,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(136,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,47,{options:1}),Df._37(603979776,48,{optionGroups:1}),Df._37(335544320,49,{customTrigger:0}),Df._36(2048,[[40,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,bs)),Df._17(143,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(148,0,null,0,44,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(150,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(151,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,50,{_control:0}),Df._37(335544320,51,{_placeholderChild:0}),Df._37(335544320,52,{_labelChild:0}),Df._37(603979776,53,{_errorChildren:1}),Df._37(603979776,54,{_hintChildren:1}),Df._37(603979776,55,{_prefixChildren:1}),Df._37(603979776,56,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(160,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_purchase_value"],["matInput",""],["name","annual_purchase_value"],["placeholder","Annual Purchase"],["readonly",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,161)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,161).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,161)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,161)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,166)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,166)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,166)._onInput()&&u}return u},null,null)),Df._17(161,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(163,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(165,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(166,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[50,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,vs)),Df._17(170,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(173,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(174,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,57,{_control:0}),Df._37(335544320,58,{_placeholderChild:0}),Df._37(335544320,59,{_labelChild:0}),Df._37(603979776,60,{_errorChildren:1}),Df._37(603979776,61,{_hintChildren:1}),Df._37(603979776,62,{_prefixChildren:1}),Df._37(603979776,63,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(183,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,184)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,184).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,184)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,184)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,189)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,189)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,189)._onInput()&&u}return u},null,null)),Df._17(184,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(186,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(188,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(189,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[57,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(194,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(195,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,64,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(198,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(199,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(201,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deletePurchaseDetails(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(203,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(204,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(208,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),Df._17(209,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ys)),Df._17(212,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n \n \n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._13(16777216,null,0,1,null,Cs)),Df._17(217,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"");l(n,25,0,"purchase_item");l(n,28,0,"Raw Material / Trading Item","","text");l(n,48,0,"");l(n,51,0,"purchase_qty");l(n,54,0,"Purchase Quantity","","number");l(n,73,0,"fk_uom_id");l(n,76,0,"UOM");l(n,83,0,e.UOM);l(n,89,0,1==n.context.$implicit.get("fk_uom_id").value);l(n,105,0,"");l(n,108,0,"rate_per_unit");l(n,111,0,"Rate / Unit of Purchase","","text");l(n,115,0,null!=n.context.$implicit.get("rate_per_unit").value);l(n,133,0,"fk_frequency_id");l(n,136,0,"Frequency");l(n,143,0,e.m_freqOfPurchase);l(n,163,0,"annual_purchase_value");l(n,166,0,"Annual Purchase","text","");l(n,170,0,null!=n.context.$implicit.get("annual_purchase_value").value);l(n,186,0,"comments");l(n,189,0,"Remarks");l(n,204,0,"optblue","md-trash");l(n,212,0,n.context.last);l(n,217,0,n.context.last&&null!=e.grandpurchaseTotal)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,10,1,[Df._32(n,11)._control.errorState,Df._32(n,11)._control.errorState,Df._32(n,11)._canLabelFloat,Df._32(n,11)._shouldLabelFloat(),Df._32(n,11)._hideControlPlaceholder(),Df._32(n,11)._control.disabled,Df._32(n,11)._control.focused,"primary"==Df._32(n,11).color,"accent"==Df._32(n,11).color,"warn"==Df._32(n,11).color,Df._32(n,11)._shouldForward("untouched"),Df._32(n,11)._shouldForward("touched"),Df._32(n,11)._shouldForward("pristine"),Df._32(n,11)._shouldForward("dirty"),Df._32(n,11)._shouldForward("valid"),Df._32(n,11)._shouldForward("invalid"),Df._32(n,11)._shouldForward("pending")]);l(n,20,1,[Df._32(n,22).required?"":null,Df._32(n,27).ngClassUntouched,Df._32(n,27).ngClassTouched,Df._32(n,27).ngClassPristine,Df._32(n,27).ngClassDirty,Df._32(n,27).ngClassValid,Df._32(n,27).ngClassInvalid,Df._32(n,27).ngClassPending,Df._32(n,28)._isServer,Df._32(n,28).id,Df._32(n,28).placeholder,Df._32(n,28).disabled,Df._32(n,28).required,Df._32(n,28).readonly,Df._32(n,28)._ariaDescribedby||null,Df._32(n,28).errorState,Df._32(n,28).required.toString()]);l(n,35,1,[Df._32(n,36)._control.errorState,Df._32(n,36)._control.errorState,Df._32(n,36)._canLabelFloat,Df._32(n,36)._shouldLabelFloat(),Df._32(n,36)._hideControlPlaceholder(),Df._32(n,36)._control.disabled,Df._32(n,36)._control.focused,"primary"==Df._32(n,36).color,"accent"==Df._32(n,36).color,"warn"==Df._32(n,36).color,Df._32(n,36)._shouldForward("untouched"),Df._32(n,36)._shouldForward("touched"),Df._32(n,36)._shouldForward("pristine"),Df._32(n,36)._shouldForward("dirty"),Df._32(n,36)._shouldForward("valid"),Df._32(n,36)._shouldForward("invalid"),Df._32(n,36)._shouldForward("pending")]);l(n,45,1,[Df._32(n,48).required?"":null,Df._32(n,53).ngClassUntouched,Df._32(n,53).ngClassTouched,Df._32(n,53).ngClassPristine,Df._32(n,53).ngClassDirty,Df._32(n,53).ngClassValid,Df._32(n,53).ngClassInvalid,Df._32(n,53).ngClassPending,Df._32(n,54)._isServer,Df._32(n,54).id,Df._32(n,54).placeholder,Df._32(n,54).disabled,Df._32(n,54).required,Df._32(n,54).readonly,Df._32(n,54)._ariaDescribedby||null,Df._32(n,54).errorState,Df._32(n,54).required.toString()]);l(n,61,1,[Df._32(n,62)._control.errorState,Df._32(n,62)._control.errorState,Df._32(n,62)._canLabelFloat,Df._32(n,62)._shouldLabelFloat(),Df._32(n,62)._hideControlPlaceholder(),Df._32(n,62)._control.disabled,Df._32(n,62)._control.focused,"primary"==Df._32(n,62).color,"accent"==Df._32(n,62).color,"warn"==Df._32(n,62).color,Df._32(n,62)._shouldForward("untouched"),Df._32(n,62)._shouldForward("touched"),Df._32(n,62)._shouldForward("pristine"),Df._32(n,62)._shouldForward("dirty"),Df._32(n,62)._shouldForward("valid"),Df._32(n,62)._shouldForward("invalid"),Df._32(n,62)._shouldForward("pending")]);l(n,71,1,[Df._32(n,75).ngClassUntouched,Df._32(n,75).ngClassTouched,Df._32(n,75).ngClassPristine,Df._32(n,75).ngClassDirty,Df._32(n,75).ngClassValid,Df._32(n,75).ngClassInvalid,Df._32(n,75).ngClassPending,Df._32(n,76).id,Df._32(n,76).tabIndex,Df._32(n,76)._ariaLabel,Df._32(n,76).ariaLabelledby,Df._32(n,76).required.toString(),Df._32(n,76).disabled.toString(),Df._32(n,76).errorState,Df._32(n,76).panelOpen?Df._32(n,76)._optionIds:null,Df._32(n,76).multiple,Df._32(n,76)._ariaDescribedby||null,Df._32(n,76)._getAriaActiveDescendant(),Df._32(n,76).disabled,Df._32(n,76).errorState,Df._32(n,76).required]);l(n,93,1,[Df._32(n,94)._control.errorState,Df._32(n,94)._control.errorState,Df._32(n,94)._canLabelFloat,Df._32(n,94)._shouldLabelFloat(),Df._32(n,94)._hideControlPlaceholder(),Df._32(n,94)._control.disabled,Df._32(n,94)._control.focused,"primary"==Df._32(n,94).color,"accent"==Df._32(n,94).color,"warn"==Df._32(n,94).color,Df._32(n,94)._shouldForward("untouched"),Df._32(n,94)._shouldForward("touched"),Df._32(n,94)._shouldForward("pristine"),Df._32(n,94)._shouldForward("dirty"),Df._32(n,94)._shouldForward("valid"),Df._32(n,94)._shouldForward("invalid"),Df._32(n,94)._shouldForward("pending")]);l(n,103,1,[Df._32(n,105).required?"":null,Df._32(n,110).ngClassUntouched,Df._32(n,110).ngClassTouched,Df._32(n,110).ngClassPristine,Df._32(n,110).ngClassDirty,Df._32(n,110).ngClassValid,Df._32(n,110).ngClassInvalid,Df._32(n,110).ngClassPending,Df._32(n,111)._isServer,Df._32(n,111).id,Df._32(n,111).placeholder,Df._32(n,111).disabled,Df._32(n,111).required,Df._32(n,111).readonly,Df._32(n,111)._ariaDescribedby||null,Df._32(n,111).errorState,Df._32(n,111).required.toString()]);l(n,121,1,[Df._32(n,122)._control.errorState,Df._32(n,122)._control.errorState,Df._32(n,122)._canLabelFloat,Df._32(n,122)._shouldLabelFloat(),Df._32(n,122)._hideControlPlaceholder(),Df._32(n,122)._control.disabled,Df._32(n,122)._control.focused,"primary"==Df._32(n,122).color,"accent"==Df._32(n,122).color,"warn"==Df._32(n,122).color,Df._32(n,122)._shouldForward("untouched"),Df._32(n,122)._shouldForward("touched"),Df._32(n,122)._shouldForward("pristine"),Df._32(n,122)._shouldForward("dirty"),Df._32(n,122)._shouldForward("valid"),Df._32(n,122)._shouldForward("invalid"),Df._32(n,122)._shouldForward("pending")]);l(n,131,1,[Df._32(n,135).ngClassUntouched,Df._32(n,135).ngClassTouched,Df._32(n,135).ngClassPristine,Df._32(n,135).ngClassDirty,Df._32(n,135).ngClassValid,Df._32(n,135).ngClassInvalid,Df._32(n,135).ngClassPending,Df._32(n,136).id,Df._32(n,136).tabIndex,Df._32(n,136)._ariaLabel,Df._32(n,136).ariaLabelledby,Df._32(n,136).required.toString(),Df._32(n,136).disabled.toString(),Df._32(n,136).errorState,Df._32(n,136).panelOpen?Df._32(n,136)._optionIds:null,Df._32(n,136).multiple,Df._32(n,136)._ariaDescribedby||null,Df._32(n,136)._getAriaActiveDescendant(),Df._32(n,136).disabled,Df._32(n,136).errorState,Df._32(n,136).required]);l(n,150,1,[Df._32(n,151)._control.errorState,Df._32(n,151)._control.errorState,Df._32(n,151)._canLabelFloat,Df._32(n,151)._shouldLabelFloat(),Df._32(n,151)._hideControlPlaceholder(),Df._32(n,151)._control.disabled,Df._32(n,151)._control.focused,"primary"==Df._32(n,151).color,"accent"==Df._32(n,151).color,"warn"==Df._32(n,151).color,Df._32(n,151)._shouldForward("untouched"),Df._32(n,151)._shouldForward("touched"),Df._32(n,151)._shouldForward("pristine"),Df._32(n,151)._shouldForward("dirty"),Df._32(n,151)._shouldForward("valid"),Df._32(n,151)._shouldForward("invalid"),Df._32(n,151)._shouldForward("pending")]);l(n,160,1,[Df._32(n,165).ngClassUntouched,Df._32(n,165).ngClassTouched,Df._32(n,165).ngClassPristine,Df._32(n,165).ngClassDirty,Df._32(n,165).ngClassValid,Df._32(n,165).ngClassInvalid,Df._32(n,165).ngClassPending,Df._32(n,166)._isServer,Df._32(n,166).id,Df._32(n,166).placeholder,Df._32(n,166).disabled,Df._32(n,166).required,Df._32(n,166).readonly,Df._32(n,166)._ariaDescribedby||null,Df._32(n,166).errorState,Df._32(n,166).required.toString()]);l(n,173,1,[Df._32(n,174)._control.errorState,Df._32(n,174)._control.errorState,Df._32(n,174)._canLabelFloat,Df._32(n,174)._shouldLabelFloat(),Df._32(n,174)._hideControlPlaceholder(),Df._32(n,174)._control.disabled,Df._32(n,174)._control.focused,"primary"==Df._32(n,174).color,"accent"==Df._32(n,174).color,"warn"==Df._32(n,174).color,Df._32(n,174)._shouldForward("untouched"),Df._32(n,174)._shouldForward("touched"),Df._32(n,174)._shouldForward("pristine"),Df._32(n,174)._shouldForward("dirty"),Df._32(n,174)._shouldForward("valid"),Df._32(n,174)._shouldForward("invalid"),Df._32(n,174)._shouldForward("pending")]);l(n,183,1,[Df._32(n,188).ngClassUntouched,Df._32(n,188).ngClassTouched,Df._32(n,188).ngClassPristine,Df._32(n,188).ngClassDirty,Df._32(n,188).ngClassValid,Df._32(n,188).ngClassInvalid,Df._32(n,188).ngClassPending,Df._32(n,189)._isServer,Df._32(n,189).id,Df._32(n,189).placeholder,Df._32(n,189).disabled,Df._32(n,189).required,Df._32(n,189).readonly,Df._32(n,189)._ariaDescribedby||null,Df._32(n,189).errorState,Df._32(n,189).required.toString()]);l(n,203,0,Df._32(n,204)._hidden)})}function Fs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,ps)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,7,"div",[["formArrayName","purchase"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(31,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(33,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ws)),Df._17(36,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(40,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepurchaseData(t.rawMaterialForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(44,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.rawMaterialForm);l(n,31,0,"purchase");l(n,36,0,e.rawMaterialForm.get("purchase").controls);l(n,44,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,30,0,Df._32(n,33).ngClassUntouched,Df._32(n,33).ngClassTouched,Df._32(n,33).ngClassPristine,Df._32(n,33).ngClassDirty,Df._32(n,33).ngClassValid,Df._32(n,33).ngClassInvalid,Df._32(n,33).ngClassPending)})}function xs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Ss(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function Is(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function qs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function ks(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function Ps(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(2)&&u}return u},dy.d,dy.a)),Df._17(4,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,qs)),Df._17(7,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(0,[["nopurchaseData",2]],0,0,null,ks)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(11,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(12,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(14,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["PURCHASE"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,7,0,n.component.purchaseData,Df._32(n,9));l(n,12,0,"logo-android")},function(l,n){l(n,11,0,Df._32(n,12)._hidden)})}function Ds(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function Ts(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function Os(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function Ls(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function As(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function Vs(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(1,0,null,null,4,"span",[["class","ribbon defalut"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,null)}function js(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,14,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(11)&&u}return u},dy.d,dy.a)),Df._17(4,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(6,0,null,0,4,"span",[["class","ribbon cruzeiro"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["--"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n \n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(15,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["SUMMARY"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,13,0,"logo-android")},function(l,n){l(n,12,0,Df._32(n,13)._hidden)})}function Ns(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,96,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,24,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(3,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),Df._17(6,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(8,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(1)&&u}return u},dy.d,dy.a)),Df._17(9,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Ss)),Df._17(12,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(0,[["noSalesData",2]],0,0,null,Is)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(16,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(17,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(19,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["SALES"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ps)),Df._17(25,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(28,0,null,null,40,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(29,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),Df._17(32,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(3)&&u}return u},dy.d,dy.a)),Df._17(35,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Ds)),Df._17(38,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(0,[["nobusinessData",2]],0,0,null,Ts)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(42,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(43,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(45,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["BUSINESS EXPENSE"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),Df._17(51,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(53,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(4)&&u}return u},dy.d,dy.a)),Df._17(54,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Os)),Df._17(57,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(0,[["nohouseExpenseData",2]],0,0,null,Ls)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(61,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(62,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(64,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["HOUSE HOLD"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(70,0,null,null,24,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(71,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(73,0,null,null,17,"ion-col",[["class","col"],["col-6",""],["text-center",""]],null,null,null,null,null)),Df._17(74,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(76,0,null,null,13,"mat-card",[["class","item-ribbon mat-card"],["style","height: 110px;"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.getViewPage(5)&&u}return u},dy.d,dy.a)),Df._17(77,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,As)),Df._17(80,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(0,[["nobusinessIncome",2]],0,0,null,Vs)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(84,0,null,0,1,"ion-icon",[["class","ion-icon-custome"],["name","logo-android"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(85,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(87,0,null,0,1,"h1",[["class","htag"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["OTHER BUSINESS INCOME"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,js)),Df._17(93,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,12,0,e.salesData,Df._32(n,14));l(n,17,0,"logo-android");l(n,25,0,1==e.grossprofit.mode);l(n,38,0,e.businessData,Df._32(n,40));l(n,43,0,"logo-android");l(n,57,0,e.houseExpenseData,Df._32(n,59));l(n,62,0,"logo-android");l(n,80,0,e.businessIncome,Df._32(n,82));l(n,85,0,"logo-android");l(n,93,0,e.finalAccess)},function(l,n){l(n,16,0,Df._32(n,17)._hidden);l(n,42,0,Df._32(n,43)._hidden);l(n,61,0,Df._32(n,62)._hidden);l(n,84,0,Df._32(n,85)._hidden)})}function Ws(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,xs)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(21,0,null,null,72,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,63,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Df._17(25,16384,null,0,zC.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,16777216,null,null,59,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,QC.d,QC.a)),Df._36(6144,null,hy.F,null,[zC.c]),Df._17(29,278528,null,0,rg.h,[Df.B,Df.C,Df.p,Df.P],{ngClass:[0,"ngClass"]},null),Df._17(30,1753088,null,1,zC.c,[[2,zC.a],Df.i,aC.d,Df._1],null,null),Df._37(335544320,2,{_lazyContent:0}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(33,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,34)._toggle()&&u}if("keydown"===n){u=!1!==Df._32(l,34)._keydown(e)&&u}return u},QC.c,QC.b)),Df._17(34,180224,null,0,zC.e,[zC.c,Df.p,yy.j,Df.i],null,null),Df._34(35,{collapsedHeight:0,expandedHeight:1}),Df._34(36,{value:0,params:1}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(38,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Df._17(39,16384,null,0,zC.f,[],null,null),(l()(),Df._39(-1,null,["\n Purchase Calculation\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,42,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(44,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(46,0,null,0,38,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,48).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,48).onReset()&&u}return u},null,null)),Df._17(47,16384,null,0,Jf.B,[],null,null),Df._17(48,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(50,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(52,0,null,null,22,"mat-list",[["class","mat-list"],["style","width: 100%"]],null,null,null,nC.d,nC.a)),Df._17(53,49152,null,0,eC.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(55,0,null,0,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Purchase Detail Available"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(58,0,null,0,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","mode"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(59,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,3,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(62,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(64,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(66,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","1"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,67)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(67,4440064,[[3,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","2"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,71)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(71,4440064,[[3,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(77,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(78,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(80,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveAssessedForm(t.assessedForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(81,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Proceed"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(89,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ns)),Df._17(92,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,29,0,e.grossAccess?"":e.expanded);l(n,48,0,e.assessedForm);l(n,62,0,"mode");l(n,67,0,"1");l(n,71,0,"2");l(n,81,0,"optblue","");l(n,92,0,e.assessedProcess)},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,27,0,Df._32(n,30).expanded,Df._32(n,30)._hasSpacing());l(n,33,0,Df._32(n,34).panel._headerId,Df._32(n,34).panel.disabled?-1:0,Df._32(n,34)._getPanelId(),Df._32(n,34)._isExpanded(),Df._32(n,34).panel.disabled,Df._32(n,34)._isExpanded(),l(n,36,0,Df._32(n,34)._getExpandedState(),l(n,35,0,Df._32(n,34).collapsedHeight,Df._32(n,34).expandedHeight)));l(n,46,0,Df._32(n,50).ngClassUntouched,Df._32(n,50).ngClassTouched,Df._32(n,50).ngClassPristine,Df._32(n,50).ngClassDirty,Df._32(n,50).ngClassValid,Df._32(n,50).ngClassInvalid,Df._32(n,50).ngClassPending);l(n,58,0,Df._32(n,64).ngClassUntouched,Df._32(n,64).ngClassTouched,Df._32(n,64).ngClassPristine,Df._32(n,64).ngClassDirty,Df._32(n,64).ngClassValid,Df._32(n,64).ngClassInvalid,Df._32(n,64).ngClassPending);l(n,66,0,Df._32(n,67).checked,Df._32(n,67).disabled,Df._32(n,67).id);l(n,70,0,Df._32(n,71).checked,Df._32(n,71).disabled,Df._32(n,71).id)})}function Es(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["color","primary"],["style","padding:5px"],["text-wrap",""]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,1)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(1,4440064,[[2,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{color:[0,"color"],value:[1,"value"]},null),(l()(),Df._39(2,0,[" \n ","\n "]))],function(l,n){l(n,1,0,"primary",n.context.$implicit.bounce_id)},function(l,n){l(n,0,0,Df._32(n,1).checked,Df._32(n,1).disabled,Df._32(n,1).id);l(n,2,0,n.context.$implicit.bounce_reason_name)})}function Rs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,17,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,3,{_control:0}),Df._37(335544320,4,{_placeholderChild:0}),Df._37(335544320,5,{_labelChild:0}),Df._37(603979776,6,{_errorChildren:1}),Df._37(603979776,7,{_hintChildren:1}),Df._37(603979776,8,{_prefixChildren:1}),Df._37(603979776,9,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","bounce_reason_others"],["placeholder","Please Specify the Reason"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}if("ngModelChange"===n){u=!1!==(t.bounce_reason_others=e)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.v,[[8,null],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Df._36(2048,null,Jf.r,null,[Jf.v]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[3,4]],fy.c,null,[gy.b])],function(l,n){l(n,13,0,"bounce_reason_others",n.component.bounce_reason_others);l(n,16,0,"Please Specify the Reason")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Us(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(16,0,null,3,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(17,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Bounced Reject Reason"])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(22,0,null,null,44,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(26,0,null,1,39,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(27,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(29,0,null,0,35,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(30,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(33,0,null,null,2,"mat-label",[],null,null,null,null,null)),Df._17(34,16384,null,0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Reason to Reject"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,10,"mat-radio-group",[["class","mat-radio-group"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],function(l,n,e){var u=!0;if("ngModelChange"===n){u=!1!==(l.component.bounce_reason=e)&&u}return u},null,null)),Df._17(38,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,2,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(41,671744,null,0,Jf.v,[[8,null],[8,null],[8,null],[2,Jf.q]],{model:[0,"model"]},{update:"ngModelChange"}),Df._36(2048,null,Jf.r,null,[Jf.v]),Df._17(43,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Es)),Df._17(46,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Rs)),Df._17(51,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(53,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(54,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(57,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.updatePDStatus()&&u}return u},Vy.b,Vy.a)),Df._17(58,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(63,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,1,["\n \n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,41,0,e.bounce_reason);l(n,46,0,e.bounseMaster);l(n,51,0,"1"==e.bounce_reason);l(n,58,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher);l(n,37,0,Df._32(n,43).ngClassUntouched,Df._32(n,43).ngClassTouched,Df._32(n,43).ngClassPristine,Df._32(n,43).ngClassDirty,Df._32(n,43).ngClassValid,Df._32(n,43).ngClassInvalid,Df._32(n,43).ngClassPending)})}function $s(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Business Expense"]))],null,null)}function Bs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.expense_item_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.expense_item)})}function Ms(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[16,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function Ks(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Hs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[33,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AnnualExpenses[n.parent.context.index])})}function Gs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addBusinessDetails()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Ys(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Total Business Expenses:"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(11,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),Df._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(15,null,[" ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandExpenseTotal)})}function zs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,153,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,147,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(9,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(18,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","expense_item_id"],["placeholder","Buiness Expense"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,23)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Bs)),Df._17(30,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(34,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(35,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(44,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","expense_value"],["matInput",""],["name","expense_value"],["placeholder","Amount (Rs)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,45)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,45).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,45)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,45)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,46).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,46).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,51)._onInput()&&u}if("keyup"===n){t.businessCalculation(l.context.index,l.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),Df._17(45,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(46,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(48,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(50,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(51,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[12,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Ms)),Df._17(55,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(58,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(59,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(68,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,73)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,73)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,73)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.businessCalculation(l.context.index,l.context.$implicit.value)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(70,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(72,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(73,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,26,{options:1}),Df._37(603979776,27,{optionGroups:1}),Df._37(335544320,28,{customTrigger:0}),Df._36(2048,[[19,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Ks)),Df._17(80,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(84,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(85,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,29,{_control:0}),Df._37(335544320,30,{_placeholderChild:0}),Df._37(335544320,31,{_labelChild:0}),Df._37(603979776,32,{_errorChildren:1}),Df._37(603979776,33,{_hintChildren:1}),Df._37(603979776,34,{_prefixChildren:1}),Df._37(603979776,35,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(94,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_expenses_value"],["matInput",""],["name","annual_expenses_value"],["placeholder","Annual Expenses"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,95)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,95).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,95)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,95)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,96).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,96).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,96).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,101)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,101)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,101)._onInput()&&u}return u},null,null)),Df._17(95,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(96,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(98,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(100,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(101,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[29,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Hs)),Df._17(105,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(108,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(109,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(118,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,119)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,119).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,119)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,119)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,124)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,124)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,124)._onInput()&&u}return u},null,null)),Df._17(119,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(121,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(123,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(124,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[36,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(128,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(129,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,43,{_buttons:1}),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(132,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(133,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(135,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteBuisnessDetails(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(137,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(138,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(142,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),Df._17(143,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,Gs)),Df._17(146,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n \n \n "])),(l()(),Df._39(-1,0,["\n\n \n "])),(l()(),Df._13(16777216,null,0,1,null,Ys)),Df._17(151,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"expense_item_id");l(n,23,0,"Buiness Expense");l(n,30,0,e.businessExpenses);l(n,48,0,"expense_value");l(n,51,0,"Amount (Rs)","number");l(n,55,0,null!=n.context.$implicit.get("expense_value").value);l(n,70,0,"fk_frequency_id");l(n,73,0,"Frequency");l(n,80,0,e.m_freqOfPurchase);l(n,98,0,"annual_expenses_value");l(n,101,0,"Annual Expenses","number","");l(n,105,0,null!=n.context.$implicit.get("annual_expenses_value").value);l(n,121,0,"comments");l(n,124,0,"Remarks");l(n,138,0,"optblue","md-trash");l(n,146,0,n.context.last);l(n,151,0,n.context.last&&null!=e.grandExpenseTotal)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,8,1,[Df._32(n,9)._control.errorState,Df._32(n,9)._control.errorState,Df._32(n,9)._canLabelFloat,Df._32(n,9)._shouldLabelFloat(),Df._32(n,9)._hideControlPlaceholder(),Df._32(n,9)._control.disabled,Df._32(n,9)._control.focused,"primary"==Df._32(n,9).color,"accent"==Df._32(n,9).color,"warn"==Df._32(n,9).color,Df._32(n,9)._shouldForward("untouched"),Df._32(n,9)._shouldForward("touched"),Df._32(n,9)._shouldForward("pristine"),Df._32(n,9)._shouldForward("dirty"),Df._32(n,9)._shouldForward("valid"),Df._32(n,9)._shouldForward("invalid"),Df._32(n,9)._shouldForward("pending")]);l(n,18,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23).id,Df._32(n,23).tabIndex,Df._32(n,23)._ariaLabel,Df._32(n,23).ariaLabelledby,Df._32(n,23).required.toString(),Df._32(n,23).disabled.toString(),Df._32(n,23).errorState,Df._32(n,23).panelOpen?Df._32(n,23)._optionIds:null,Df._32(n,23).multiple,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23)._getAriaActiveDescendant(),Df._32(n,23).disabled,Df._32(n,23).errorState,Df._32(n,23).required]);l(n,34,1,[Df._32(n,35)._control.errorState,Df._32(n,35)._control.errorState,Df._32(n,35)._canLabelFloat,Df._32(n,35)._shouldLabelFloat(),Df._32(n,35)._hideControlPlaceholder(),Df._32(n,35)._control.disabled,Df._32(n,35)._control.focused,"primary"==Df._32(n,35).color,"accent"==Df._32(n,35).color,"warn"==Df._32(n,35).color,Df._32(n,35)._shouldForward("untouched"),Df._32(n,35)._shouldForward("touched"),Df._32(n,35)._shouldForward("pristine"),Df._32(n,35)._shouldForward("dirty"),Df._32(n,35)._shouldForward("valid"),Df._32(n,35)._shouldForward("invalid"),Df._32(n,35)._shouldForward("pending")]);l(n,44,1,[Df._32(n,50).ngClassUntouched,Df._32(n,50).ngClassTouched,Df._32(n,50).ngClassPristine,Df._32(n,50).ngClassDirty,Df._32(n,50).ngClassValid,Df._32(n,50).ngClassInvalid,Df._32(n,50).ngClassPending,Df._32(n,51)._isServer,Df._32(n,51).id,Df._32(n,51).placeholder,Df._32(n,51).disabled,Df._32(n,51).required,Df._32(n,51).readonly,Df._32(n,51)._ariaDescribedby||null,Df._32(n,51).errorState,Df._32(n,51).required.toString()]);l(n,58,1,[Df._32(n,59)._control.errorState,Df._32(n,59)._control.errorState,Df._32(n,59)._canLabelFloat,Df._32(n,59)._shouldLabelFloat(),Df._32(n,59)._hideControlPlaceholder(),Df._32(n,59)._control.disabled,Df._32(n,59)._control.focused,"primary"==Df._32(n,59).color,"accent"==Df._32(n,59).color,"warn"==Df._32(n,59).color,Df._32(n,59)._shouldForward("untouched"),Df._32(n,59)._shouldForward("touched"),Df._32(n,59)._shouldForward("pristine"),Df._32(n,59)._shouldForward("dirty"),Df._32(n,59)._shouldForward("valid"),Df._32(n,59)._shouldForward("invalid"),Df._32(n,59)._shouldForward("pending")]);l(n,68,1,[Df._32(n,72).ngClassUntouched,Df._32(n,72).ngClassTouched,Df._32(n,72).ngClassPristine,Df._32(n,72).ngClassDirty,Df._32(n,72).ngClassValid,Df._32(n,72).ngClassInvalid,Df._32(n,72).ngClassPending,Df._32(n,73).id,Df._32(n,73).tabIndex,Df._32(n,73)._ariaLabel,Df._32(n,73).ariaLabelledby,Df._32(n,73).required.toString(),Df._32(n,73).disabled.toString(),Df._32(n,73).errorState,Df._32(n,73).panelOpen?Df._32(n,73)._optionIds:null,Df._32(n,73).multiple,Df._32(n,73)._ariaDescribedby||null,Df._32(n,73)._getAriaActiveDescendant(),Df._32(n,73).disabled,Df._32(n,73).errorState,Df._32(n,73).required]);l(n,84,1,[Df._32(n,85)._control.errorState,Df._32(n,85)._control.errorState,Df._32(n,85)._canLabelFloat,Df._32(n,85)._shouldLabelFloat(),Df._32(n,85)._hideControlPlaceholder(),Df._32(n,85)._control.disabled,Df._32(n,85)._control.focused,"primary"==Df._32(n,85).color,"accent"==Df._32(n,85).color,"warn"==Df._32(n,85).color,Df._32(n,85)._shouldForward("untouched"),Df._32(n,85)._shouldForward("touched"),Df._32(n,85)._shouldForward("pristine"),Df._32(n,85)._shouldForward("dirty"),Df._32(n,85)._shouldForward("valid"),Df._32(n,85)._shouldForward("invalid"),Df._32(n,85)._shouldForward("pending")]);l(n,94,1,[Df._32(n,100).ngClassUntouched,Df._32(n,100).ngClassTouched,Df._32(n,100).ngClassPristine,Df._32(n,100).ngClassDirty,Df._32(n,100).ngClassValid,Df._32(n,100).ngClassInvalid,Df._32(n,100).ngClassPending,Df._32(n,101)._isServer,Df._32(n,101).id,Df._32(n,101).placeholder,Df._32(n,101).disabled,Df._32(n,101).required,Df._32(n,101).readonly,Df._32(n,101)._ariaDescribedby||null,Df._32(n,101).errorState,Df._32(n,101).required.toString()]);l(n,108,1,[Df._32(n,109)._control.errorState,Df._32(n,109)._control.errorState,Df._32(n,109)._canLabelFloat,Df._32(n,109)._shouldLabelFloat(),Df._32(n,109)._hideControlPlaceholder(),Df._32(n,109)._control.disabled,Df._32(n,109)._control.focused,"primary"==Df._32(n,109).color,"accent"==Df._32(n,109).color,"warn"==Df._32(n,109).color,Df._32(n,109)._shouldForward("untouched"),Df._32(n,109)._shouldForward("touched"),Df._32(n,109)._shouldForward("pristine"),Df._32(n,109)._shouldForward("dirty"),Df._32(n,109)._shouldForward("valid"),Df._32(n,109)._shouldForward("invalid"),Df._32(n,109)._shouldForward("pending")]);l(n,118,1,[Df._32(n,123).ngClassUntouched,Df._32(n,123).ngClassTouched,Df._32(n,123).ngClassPristine,Df._32(n,123).ngClassDirty,Df._32(n,123).ngClassValid,Df._32(n,123).ngClassInvalid,Df._32(n,123).ngClassPending,Df._32(n,124)._isServer,Df._32(n,124).id,Df._32(n,124).placeholder,Df._32(n,124).disabled,Df._32(n,124).required,Df._32(n,124).readonly,Df._32(n,124)._ariaDescribedby||null,Df._32(n,124).errorState,Df._32(n,124).required.toString()]);l(n,137,0,Df._32(n,138)._hidden)})}function Qs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,$s)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,7,"div",[["formArrayName","busExpense"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(31,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(33,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,zs)),Df._17(36,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(40,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveBusinessData(t.BuissnessForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(44,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.BuissnessForm);l(n,31,0,"busExpense");l(n,36,0,e.BuissnessForm.get("busExpense").controls);l(n,44,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,30,0,Df._32(n,33).ngClassUntouched,Df._32(n,33).ngClassTouched,Df._32(n,33).ngClassPristine,Df._32(n,33).ngClassDirty,Df._32(n,33).ngClassValid,Df._32(n,33).ngClassInvalid,Df._32(n,33).ngClassPending)})}function Js(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Xs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,48,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","lender_representative_who_accompanies"],["matInput",""],["placeholder","What is the name of lender representative who accompanies the PD officer, If any?"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}return u},null,null)),Df._17(16,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(17,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[12,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(27,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(28,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(37,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","lender_representative_carry_loan_files"],["matInput",""],["placeholder","Did the lender representative carry the loan file during PD?"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,38)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,38).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,38)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,38)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,45)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,45)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,45)._onInput()&&u}return u},null,null)),Df._17(38,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(39,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(42,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(44,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(45,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[19,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,17,0,"");l(n,20,0,"lender_representative_who_accompanies");l(n,23,0,"What is the name of lender representative who accompanies the PD officer, If any?","");l(n,39,0,"");l(n,42,0,"lender_representative_carry_loan_files");l(n,45,0,"Did the lender representative carry the loan file during PD?","")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,17).required?"":null,Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()]);l(n,27,1,[Df._32(n,28)._control.errorState,Df._32(n,28)._control.errorState,Df._32(n,28)._canLabelFloat,Df._32(n,28)._shouldLabelFloat(),Df._32(n,28)._hideControlPlaceholder(),Df._32(n,28)._control.disabled,Df._32(n,28)._control.focused,"primary"==Df._32(n,28).color,"accent"==Df._32(n,28).color,"warn"==Df._32(n,28).color,Df._32(n,28)._shouldForward("untouched"),Df._32(n,28)._shouldForward("touched"),Df._32(n,28)._shouldForward("pristine"),Df._32(n,28)._shouldForward("dirty"),Df._32(n,28)._shouldForward("valid"),Df._32(n,28)._shouldForward("invalid"),Df._32(n,28)._shouldForward("pending")]);l(n,37,1,[Df._32(n,39).required?"":null,Df._32(n,44).ngClassUntouched,Df._32(n,44).ngClassTouched,Df._32(n,44).ngClassPristine,Df._32(n,44).ngClassDirty,Df._32(n,44).ngClassValid,Df._32(n,44).ngClassInvalid,Df._32(n,44).ngClassPending,Df._32(n,45)._isServer,Df._32(n,45).id,Df._32(n,45).placeholder,Df._32(n,45).disabled,Df._32(n,45).required,Df._32(n,45).readonly,Df._32(n,45)._ariaDescribedby||null,Df._32(n,45).errorState,Df._32(n,45).required.toString()])})}function Zs(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,7,"div",[["formArrayName","lender_representative_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Xs)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"lender_representative_details");l(n,8,0,e.representativeForm.get("lender_representative_details").controls)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function lc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Js)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,85,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n\n\n "])),(l()(),Df._18(24,0,null,1,81,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,36,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(31,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(33,0,null,0,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(34,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","lender_representative_accompany"],["placeholder","Did the lender representative accompany the PD officer for PD?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,47)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,47)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,47)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedLoanChanges(e)&&u}return u},TC.b,TC.a)),Df._17(44,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(46,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(47,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(54,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,55)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,55)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(55,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(58,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,59)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,59)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(59,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Zs)),Df._17(65,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(68,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(69,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(71,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(72,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,26,{_control:0}),Df._37(335544320,27,{_placeholderChild:0}),Df._37(335544320,28,{_labelChild:0}),Df._37(603979776,29,{_errorChildren:1}),Df._37(603979776,30,{_hintChildren:1}),Df._37(603979776,31,{_prefixChildren:1}),Df._37(603979776,32,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(81,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(82,16384,[[28,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(85,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","representative_remarks"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,86)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,86).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,86)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,86)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,91)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,91)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,91)._onInput()&&u}return u},null,null)),Df._17(86,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(88,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(90,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(91,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[26,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(96,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(97,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(100,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.sumbitData(t.representativeForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(101,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.representativeForm);l(n,44,0,"lender_representative_accompany");l(n,47,0,"Did the lender representative accompany the PD officer for PD?");l(n,55,0,"Yes");l(n,59,0,"No");l(n,65,0,"Yes"==e.representativeForm.controls.lender_representative_accompany.value);l(n,88,0,"representative_remarks");l(n,91,0,"Remarks");l(n,101,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,33,1,[Df._32(n,34)._control.errorState,Df._32(n,34)._control.errorState,Df._32(n,34)._canLabelFloat,Df._32(n,34)._shouldLabelFloat(),Df._32(n,34)._hideControlPlaceholder(),Df._32(n,34)._control.disabled,Df._32(n,34)._control.focused,"primary"==Df._32(n,34).color,"accent"==Df._32(n,34).color,"warn"==Df._32(n,34).color,Df._32(n,34)._shouldForward("untouched"),Df._32(n,34)._shouldForward("touched"),Df._32(n,34)._shouldForward("pristine"),Df._32(n,34)._shouldForward("dirty"),Df._32(n,34)._shouldForward("valid"),Df._32(n,34)._shouldForward("invalid"),Df._32(n,34)._shouldForward("pending")]);l(n,43,1,[Df._32(n,46).ngClassUntouched,Df._32(n,46).ngClassTouched,Df._32(n,46).ngClassPristine,Df._32(n,46).ngClassDirty,Df._32(n,46).ngClassValid,Df._32(n,46).ngClassInvalid,Df._32(n,46).ngClassPending,Df._32(n,47).id,Df._32(n,47).tabIndex,Df._32(n,47)._ariaLabel,Df._32(n,47).ariaLabelledby,Df._32(n,47).required.toString(),Df._32(n,47).disabled.toString(),Df._32(n,47).errorState,Df._32(n,47).panelOpen?Df._32(n,47)._optionIds:null,Df._32(n,47).multiple,Df._32(n,47)._ariaDescribedby||null,Df._32(n,47)._getAriaActiveDescendant(),Df._32(n,47).disabled,Df._32(n,47).errorState,Df._32(n,47).required]);l(n,54,0,Df._32(n,55)._getTabIndex(),Df._32(n,55).selected,Df._32(n,55).multiple,Df._32(n,55).active,Df._32(n,55).id,Df._32(n,55).selected.toString(),Df._32(n,55).disabled.toString(),Df._32(n,55).disabled);l(n,58,0,Df._32(n,59)._getTabIndex(),Df._32(n,59).selected,Df._32(n,59).multiple,Df._32(n,59).active,Df._32(n,59).id,Df._32(n,59).selected.toString(),Df._32(n,59).disabled.toString(),Df._32(n,59).disabled);l(n,71,1,[Df._32(n,72)._control.errorState,Df._32(n,72)._control.errorState,Df._32(n,72)._canLabelFloat,Df._32(n,72)._shouldLabelFloat(),Df._32(n,72)._hideControlPlaceholder(),Df._32(n,72)._control.disabled,Df._32(n,72)._control.focused,"primary"==Df._32(n,72).color,"accent"==Df._32(n,72).color,"warn"==Df._32(n,72).color,Df._32(n,72)._shouldForward("untouched"),Df._32(n,72)._shouldForward("touched"),Df._32(n,72)._shouldForward("pristine"),Df._32(n,72)._shouldForward("dirty"),Df._32(n,72)._shouldForward("valid"),Df._32(n,72)._shouldForward("invalid"),Df._32(n,72)._shouldForward("pending")]);l(n,85,1,[Df._32(n,90).ngClassUntouched,Df._32(n,90).ngClassTouched,Df._32(n,90).ngClassPristine,Df._32(n,90).ngClassDirty,Df._32(n,90).ngClassValid,Df._32(n,90).ngClassInvalid,Df._32(n,90).ngClassPending,Df._32(n,91)._isServer,Df._32(n,91).id,Df._32(n,91).placeholder,Df._32(n,91).disabled,Df._32(n,91).required,Df._32(n,91).readonly,Df._32(n,91)._ariaDescribedby||null,Df._32(n,91).errorState,Df._32(n,91).required.toString()])})}function nc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function ec(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"p",[],null,null,null,null,null)),(l()(),Df._18(1,0,null,null,1,"ion-icon",[["name","copy"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(2,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(3,null,["  ",""])),Df._35(4,1)],function(l,n){l(n,2,0,"copy")},function(l,n){l(n,1,0,Df._32(n,2)._hidden);l(n,3,0,Df._40(n,3,0,l(n,4,0,Df._32(n.parent.parent,0),n.parent.context.$implicit.get("course_name").value)))})}function uc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,86,"ion-item-sliding",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,Lw.b,Lw.a)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(4,49152,null,2,Aw.a,[[2,ey.a],Gv.a,Df.O,Df.p,Df.H],null,null),Df._37(335544320,3,{item:0}),Df._37(603979776,4,{_itemOptions:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,0,30,"ion-item",[["class","item item-block"]],null,null,null,Vv.b,Vv.a)),Df._17(9,1097728,[[3,4]],3,jv.a,[Nv.a,Wv.a,Df.p,Df.O,[2,Ev.a]],null,null),Df._37(335544320,5,{contentLabel:0}),Df._37(603979776,6,{_buttons:1}),Df._37(603979776,7,{_icons:1}),Df._17(13,16384,null,0,Rv.a,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(15,0,null,1,16,"ion-label",[],null,null,null,null,null)),Df._17(16,16384,[[5,4]],0,SC.a,[Wv.a,Df.p,Df.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(18,0,null,null,2,"h2",[["style","font-size: 18px !important;"]],null,null,null,null,null)),(l()(),Df._39(19,null,["",""])),Df._35(20,1),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,5,"p",[],null,null,null,null,null)),(l()(),Df._39(23,null,["Age : ","  "])),(l()(),Df._18(24,0,null,null,2,"ion-icon",[["name","school"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(25,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(27,null,[" ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ec)),Df._17(30,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(34,0,null,4,3,"button",[["align","end"],["clear",""],["ion-button",""],["item-end",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editIndividuals(l.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(35,1097728,[[6,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{small:[0,"small"],clear:[1,"clear"]},null),(l()(),Df._18(36,0,null,0,1,"ion-icon",[["name","md-create"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(37,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(40,0,null,1,45,"ion-item-options",[["side","right"]],null,null,null,null,null)),Df._17(41,16384,[[4,4]],0,Vw.a,[Df.p,Gv.a],{side:[0,"side"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,34,"ion-list",[],null,null,null,null,null)),Df._17(44,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(46,0,null,null,30,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(47,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(49,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),Df._17(50,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(52,0,null,null,1,"p",[["style","font-size: 11px !important;"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["Person"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(55,0,null,null,5,"ion-checkbox",[["color","dark"],["formControlName","is_person_met"]],[[2,"checkbox-disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,56)._click(e)&&u}return u},jw.b,jw.a)),Df._17(56,1228800,null,0,Nw.a,[Wv.a,Nv.a,[2,jv.a],Df.p,Df.O],{color:[0,"color"]},null),Df._36(1024,null,Jf.q,function(l){return[l]},[Nw.a]),Df._17(58,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(60,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(63,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),Df._17(64,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(66,0,null,null,1,"p",[["style","font-size: 12px !important;"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["Applicant"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(69,0,null,null,5,"ion-checkbox",[["color","dark"],["formControlName","is_applicant"]],[[2,"checkbox-disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,70)._click(e)&&u}return u},jw.b,jw.a)),Df._17(70,1228800,null,0,Nw.a,[Wv.a,Nv.a,[2,jv.a],Df.p,Df.O],{color:[0,"color"]},null),Df._36(1024,null,Jf.q,function(l){return[l]},[Nw.a]),Df._17(72,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(74,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(79,0,null,null,5,"button",[["color","danger"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeList(l.context.index,1)&&u}return u},Vy.b,Vy.a)),Df._17(80,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(82,0,null,0,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(83,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,25,0,"school");l(n,30,0,""!=n.context.$implicit.get("course_name").value);l(n,35,0,"","");l(n,37,0,"md-create");l(n,41,0,"right");l(n,56,0,"dark");l(n,58,0,"is_person_met");l(n,70,0,"dark");l(n,72,0,"is_applicant");l(n,80,0,"danger");l(n,83,0,"trash")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,19,0,Df._40(n,19,0,l(n,20,0,Df._32(n.parent,0),n.context.$implicit.get("applicant_name").value)));l(n,23,0,n.context.$implicit.get("age").value);l(n,24,0,Df._32(n,25)._hidden);l(n,27,0,n.context.$implicit.get("qualification_name").value);l(n,36,0,Df._32(n,37)._hidden);l(n,55,0,Df._32(n,56)._disabled,Df._32(n,60).ngClassUntouched,Df._32(n,60).ngClassTouched,Df._32(n,60).ngClassPristine,Df._32(n,60).ngClassDirty,Df._32(n,60).ngClassValid,Df._32(n,60).ngClassInvalid,Df._32(n,60).ngClassPending);l(n,69,0,Df._32(n,70)._disabled,Df._32(n,74).ngClassUntouched,Df._32(n,74).ngClassTouched,Df._32(n,74).ngClassPristine,Df._32(n,74).ngClassDirty,Df._32(n,74).ngClassValid,Df._32(n,74).ngClassInvalid,Df._32(n,74).ngClassPending);l(n,82,0,Df._32(n,83)._hidden)})}function tc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(1)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),Df._39(-1,0,[" "])),(l()(),Df._18(3,0,null,0,1,"ion-icon",[["name","person-add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(4,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"person-add")},function(l,n){l(n,3,0,Df._32(n,4)._hidden)})}function ac(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(1)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),Df._39(-1,0,["Close   "])),(l()(),Df._18(3,0,null,0,1,"ion-icon",[["name","md-close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(4,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"md-close")},function(l,n){l(n,3,0,Df._32(n,4)._hidden)})}function ic(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(1,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["Add Name of Person(s) Met and Individual Loan Applicant(s)"]))],null,null)}function oc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(1,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["Update Name of Person(s) Met and Individual Loan Applicant(s)"]))],null,null)}function rc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[15,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.title_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function _c(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[21,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Name is Required"]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function dc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[28,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Age is Required"]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function sc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[39,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.qualification_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.qualification_name)})}function cc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[35,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Qualification is Required"]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function mc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,42,{_control:0}),Df._37(335544320,43,{_placeholderChild:0}),Df._37(335544320,44,{_labelChild:0}),Df._37(603979776,45,{_errorChildren:1}),Df._37(603979776,46,{_hintChildren:1}),Df._37(603979776,47,{_prefixChildren:1}),Df._37(603979776,48,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","course_name"],["matInput",""],["placeholder","Qualification Details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[42,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"course_name");l(n,16,0,"Qualification Details")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function pc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,mc)),Df._17(3,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "]))],function(l,n){l(n,3,0,"4"!=n.parent.context.$implicit.get("qualification").value&&"6"!=n.parent.context.$implicit.get("qualification").value)},null)}function fc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.delete(1)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add"]))],function(l,n){l(n,1,0,"optblue")},null)}function hc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.update(1)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Update"]))],function(l,n){l(n,1,0,"optblue")},null)}function gc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,143,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,8,{_control:0}),Df._37(335544320,9,{_placeholderChild:0}),Df._37(335544320,10,{_labelChild:0}),Df._37(603979776,11,{_errorChildren:1}),Df._37(603979776,12,{_hintChildren:1}),Df._37(603979776,13,{_prefixChildren:1}),Df._37(603979776,14,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_title_name"],["placeholder","Title"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,20)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,20)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,20)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(17,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(19,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(20,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,15,{options:1}),Df._37(603979776,16,{optionGroups:1}),Df._37(335544320,17,{customTrigger:0}),Df._36(2048,[[8,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,rc)),Df._17(27,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(31,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(32,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,18,{_control:0}),Df._37(335544320,19,{_placeholderChild:0}),Df._37(335544320,20,{_labelChild:0}),Df._37(603979776,21,{_errorChildren:1}),Df._37(603979776,22,{_hintChildren:1}),Df._37(603979776,23,{_prefixChildren:1}),Df._37(603979776,24,{_suffixChildren:1}),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._18(41,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","applicant_name"],["matInput",""],["placeholder","Name of the Person"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,42)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,42).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,42)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,42)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,47)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,47)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,47)._onInput()&&u}return u},null,null)),Df._17(42,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(44,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(46,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(47,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[18,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,_c)),Df._17(51,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(54,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(55,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,25,{_control:0}),Df._37(335544320,26,{_placeholderChild:0}),Df._37(335544320,27,{_labelChild:0}),Df._37(603979776,28,{_errorChildren:1}),Df._37(603979776,29,{_hintChildren:1}),Df._37(603979776,30,{_prefixChildren:1}),Df._37(603979776,31,{_suffixChildren:1}),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._18(64,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","age"],["matInput",""],["placeholder","Person Age"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,65)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,65).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,65)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,65)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,66).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,66).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,66).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,71)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,71)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,71)._onInput()&&u}return u},null,null)),Df._17(65,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(66,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(68,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(70,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(71,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[25,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,dc)),Df._17(75,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(78,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(79,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,32,{_control:0}),Df._37(335544320,33,{_placeholderChild:0}),Df._37(335544320,34,{_labelChild:0}),Df._37(603979776,35,{_errorChildren:1}),Df._37(603979776,36,{_hintChildren:1}),Df._37(603979776,37,{_prefixChildren:1}),Df._37(603979776,38,{_suffixChildren:1}),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._18(88,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","qualification"],["placeholder","Qualification"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,93)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,93)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,93)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(90,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(92,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(93,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,39,{options:1}),Df._37(603979776,40,{optionGroups:1}),Df._37(335544320,41,{customTrigger:0}),Df._36(2048,[[32,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,sc)),Df._17(100,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,cc)),Df._17(104,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,pc)),Df._17(109,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(111,0,null,null,6,"mat-checkbox",[["class","table-checkbox-com mat-checkbox"],["color","primary"],["formControlName","is_person_met"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,rC.b,rC.a)),Df._17(112,4374528,null,0,_C.b,[Df.p,Df.i,yy.j,[8,null],[2,_C.a]],{color:[0,"color"]},null),Df._36(1024,null,Jf.q,function(l){return[l]},[_C.b]),Df._17(114,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(116,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,0,["Is Person Met"])),(l()(),Df._18(118,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,[" "])),(l()(),Df._18(120,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(122,0,null,null,6,"mat-checkbox",[["class","table-checkbox-com mat-checkbox"],["color","primary"],["formControlName","is_applicant"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,rC.b,rC.a)),Df._17(123,4374528,null,0,_C.b,[Df.p,Df.i,yy.j,[8,null],[2,_C.a]],{color:[0,"color"]},null),Df._36(1024,null,Jf.q,function(l){return[l]},[_C.b]),Df._17(125,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(127,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,0,["Is Applicant"])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(130,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(131,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(133,0,null,null,8,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),Df._17(134,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,fc)),Df._17(137,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,hc)),Df._17(140,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,17,0,"applicant_title_name");l(n,20,0,"Title");l(n,27,0,e.titleList);l(n,44,0,"applicant_name");l(n,47,0,"Name of the Person","text");l(n,51,0,(null==n.context.$implicit.controls.applicant_name.errors?null:n.context.$implicit.controls.applicant_name.errors.required)||n.context.$implicit.controls.applicant_name.touched);l(n,68,0,"age");l(n,71,0,"Person Age","number");l(n,75,0,(null==n.context.$implicit.controls.age.errors?null:n.context.$implicit.controls.age.errors.required)||n.context.$implicit.controls.age.touched);l(n,90,0,"qualification");l(n,93,0,"Qualification");l(n,100,0,e.qualificationList);l(n,104,0,(null==n.context.$implicit.controls.qualification.errors?null:n.context.$implicit.controls.qualification.errors.required)||n.context.$implicit.controls.qualification.touched);l(n,109,0,""!==n.context.$implicit.get("qualification").value);l(n,112,0,"primary");l(n,114,0,"is_person_met");l(n,123,0,"primary");l(n,125,0,"is_applicant");l(n,137,0,e.addIndi);l(n,140,0,!e.addIndi)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,19).ngClassUntouched,Df._32(n,19).ngClassTouched,Df._32(n,19).ngClassPristine,Df._32(n,19).ngClassDirty,Df._32(n,19).ngClassValid,Df._32(n,19).ngClassInvalid,Df._32(n,19).ngClassPending,Df._32(n,20).id,Df._32(n,20).tabIndex,Df._32(n,20)._ariaLabel,Df._32(n,20).ariaLabelledby,Df._32(n,20).required.toString(),Df._32(n,20).disabled.toString(),Df._32(n,20).errorState,Df._32(n,20).panelOpen?Df._32(n,20)._optionIds:null,Df._32(n,20).multiple,Df._32(n,20)._ariaDescribedby||null,Df._32(n,20)._getAriaActiveDescendant(),Df._32(n,20).disabled,Df._32(n,20).errorState,Df._32(n,20).required]);l(n,31,1,[Df._32(n,32)._control.errorState,Df._32(n,32)._control.errorState,Df._32(n,32)._canLabelFloat,Df._32(n,32)._shouldLabelFloat(),Df._32(n,32)._hideControlPlaceholder(),Df._32(n,32)._control.disabled,Df._32(n,32)._control.focused,"primary"==Df._32(n,32).color,"accent"==Df._32(n,32).color,"warn"==Df._32(n,32).color,Df._32(n,32)._shouldForward("untouched"),Df._32(n,32)._shouldForward("touched"),Df._32(n,32)._shouldForward("pristine"),Df._32(n,32)._shouldForward("dirty"),Df._32(n,32)._shouldForward("valid"),Df._32(n,32)._shouldForward("invalid"),Df._32(n,32)._shouldForward("pending")]);l(n,41,1,[Df._32(n,46).ngClassUntouched,Df._32(n,46).ngClassTouched,Df._32(n,46).ngClassPristine,Df._32(n,46).ngClassDirty,Df._32(n,46).ngClassValid,Df._32(n,46).ngClassInvalid,Df._32(n,46).ngClassPending,Df._32(n,47)._isServer,Df._32(n,47).id,Df._32(n,47).placeholder,Df._32(n,47).disabled,Df._32(n,47).required,Df._32(n,47).readonly,Df._32(n,47)._ariaDescribedby||null,Df._32(n,47).errorState,Df._32(n,47).required.toString()]);l(n,54,1,[Df._32(n,55)._control.errorState,Df._32(n,55)._control.errorState,Df._32(n,55)._canLabelFloat,Df._32(n,55)._shouldLabelFloat(),Df._32(n,55)._hideControlPlaceholder(),Df._32(n,55)._control.disabled,Df._32(n,55)._control.focused,"primary"==Df._32(n,55).color,"accent"==Df._32(n,55).color,"warn"==Df._32(n,55).color,Df._32(n,55)._shouldForward("untouched"),Df._32(n,55)._shouldForward("touched"),Df._32(n,55)._shouldForward("pristine"),Df._32(n,55)._shouldForward("dirty"),Df._32(n,55)._shouldForward("valid"),Df._32(n,55)._shouldForward("invalid"),Df._32(n,55)._shouldForward("pending")]);l(n,64,1,[Df._32(n,70).ngClassUntouched,Df._32(n,70).ngClassTouched,Df._32(n,70).ngClassPristine,Df._32(n,70).ngClassDirty,Df._32(n,70).ngClassValid,Df._32(n,70).ngClassInvalid,Df._32(n,70).ngClassPending,Df._32(n,71)._isServer,Df._32(n,71).id,Df._32(n,71).placeholder,Df._32(n,71).disabled,Df._32(n,71).required,Df._32(n,71).readonly,Df._32(n,71)._ariaDescribedby||null,Df._32(n,71).errorState,Df._32(n,71).required.toString()]);l(n,78,1,[Df._32(n,79)._control.errorState,Df._32(n,79)._control.errorState,Df._32(n,79)._canLabelFloat,Df._32(n,79)._shouldLabelFloat(),Df._32(n,79)._hideControlPlaceholder(),Df._32(n,79)._control.disabled,Df._32(n,79)._control.focused,"primary"==Df._32(n,79).color,"accent"==Df._32(n,79).color,"warn"==Df._32(n,79).color,Df._32(n,79)._shouldForward("untouched"),Df._32(n,79)._shouldForward("touched"),Df._32(n,79)._shouldForward("pristine"),Df._32(n,79)._shouldForward("dirty"),Df._32(n,79)._shouldForward("valid"),Df._32(n,79)._shouldForward("invalid"),Df._32(n,79)._shouldForward("pending")]);l(n,88,1,[Df._32(n,92).ngClassUntouched,Df._32(n,92).ngClassTouched,Df._32(n,92).ngClassPristine,Df._32(n,92).ngClassDirty,Df._32(n,92).ngClassValid,Df._32(n,92).ngClassInvalid,Df._32(n,92).ngClassPending,Df._32(n,93).id,Df._32(n,93).tabIndex,Df._32(n,93)._ariaLabel,Df._32(n,93).ariaLabelledby,Df._32(n,93).required.toString(),Df._32(n,93).disabled.toString(),Df._32(n,93).errorState,Df._32(n,93).panelOpen?Df._32(n,93)._optionIds:null,Df._32(n,93).multiple,Df._32(n,93)._ariaDescribedby||null,Df._32(n,93)._getAriaActiveDescendant(),Df._32(n,93).disabled,Df._32(n,93).errorState,Df._32(n,93).required]);l(n,111,1,[Df._32(n,112).id,Df._32(n,112).indeterminate,Df._32(n,112).checked,Df._32(n,112).disabled,"before"==Df._32(n,112).labelPosition,Df._32(n,116).ngClassUntouched,Df._32(n,116).ngClassTouched,Df._32(n,116).ngClassPristine,Df._32(n,116).ngClassDirty,Df._32(n,116).ngClassValid,Df._32(n,116).ngClassInvalid,Df._32(n,116).ngClassPending]);l(n,122,1,[Df._32(n,123).id,Df._32(n,123).indeterminate,Df._32(n,123).checked,Df._32(n,123).disabled,"before"==Df._32(n,123).labelPosition,Df._32(n,127).ngClassUntouched,Df._32(n,127).ngClassTouched,Df._32(n,127).ngClassPristine,Df._32(n,127).ngClassDirty,Df._32(n,127).ngClassValid,Df._32(n,127).ngClassInvalid,Df._32(n,127).ngClassPending])})}function bc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,8,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(3,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ic)),Df._17(6,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._13(16777216,null,1,1,null,oc)),Df._17(9,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(13,0,null,null,7,"div",[["formArrayName","individuals"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(14,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(16,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,gc)),Df._17(19,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,6,0,e.addIndi);l(n,9,0,!e.addIndi);l(n,14,0,"individuals");l(n,19,0,e.generalForm.controls.individuals.controls)},function(l,n){l(n,13,0,Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending)})}function vc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,53,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,3,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(4,16384,null,0,sy.h,[],null,null),(l()(),Df._18(5,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Number of Years for which rental income is being received"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(9,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,49,{_control:0}),Df._37(335544320,50,{_placeholderChild:0}),Df._37(335544320,51,{_labelChild:0}),Df._37(603979776,52,{_errorChildren:1}),Df._37(603979776,53,{_hintChildren:1}),Df._37(603979776,54,{_prefixChildren:1}),Df._37(603979776,55,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(18,0,null,1,9,"input",[["OnlyNumber",""],["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_income_rcv_in_years"],["matInput",""],["placeholder","Year"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,19)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,19).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,19)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,19)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,26)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,26)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,26)._onInput()&&u}return u},null,null)),Df._17(19,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(20,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(23,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(25,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(26,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Df._36(2048,[[49,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(29,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size: 12px"]],[[1,"id",0]],null,null,null,null)),Df._17(30,16384,[[52,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Please Enter Correct Year"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(34,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(35,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,56,{_control:0}),Df._37(335544320,57,{_placeholderChild:0}),Df._37(335544320,58,{_labelChild:0}),Df._37(603979776,59,{_errorChildren:1}),Df._37(603979776,60,{_hintChildren:1}),Df._37(603979776,61,{_prefixChildren:1}),Df._37(603979776,62,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(44,0,null,1,7,"input",[["OnlyNumber",""],["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","rental_income_rcv_in_month"],["matInput",""],["placeholder","Month"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,45)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,45).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,45)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,45)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,50)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYearforBusiness(e.target.value,"",2)&&u}return u},null,null)),Df._17(45,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[56,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n"]))],function(l,n){l(n,20,0,"");l(n,23,0,"rental_income_rcv_in_years");l(n,26,0,"Year","","text");l(n,47,0,"rental_income_rcv_in_month");l(n,50,0,"Month","text")},function(l,n){l(n,8,1,[Df._32(n,9)._control.errorState,Df._32(n,9)._control.errorState,Df._32(n,9)._canLabelFloat,Df._32(n,9)._shouldLabelFloat(),Df._32(n,9)._hideControlPlaceholder(),Df._32(n,9)._control.disabled,Df._32(n,9)._control.focused,"primary"==Df._32(n,9).color,"accent"==Df._32(n,9).color,"warn"==Df._32(n,9).color,Df._32(n,9)._shouldForward("untouched"),Df._32(n,9)._shouldForward("touched"),Df._32(n,9)._shouldForward("pristine"),Df._32(n,9)._shouldForward("dirty"),Df._32(n,9)._shouldForward("valid"),Df._32(n,9)._shouldForward("invalid"),Df._32(n,9)._shouldForward("pending")]);l(n,18,1,[Df._32(n,20).required?"":null,Df._32(n,25).ngClassUntouched,Df._32(n,25).ngClassTouched,Df._32(n,25).ngClassPristine,Df._32(n,25).ngClassDirty,Df._32(n,25).ngClassValid,Df._32(n,25).ngClassInvalid,Df._32(n,25).ngClassPending,Df._32(n,26)._isServer,Df._32(n,26).id,Df._32(n,26).placeholder,Df._32(n,26).disabled,Df._32(n,26).required,Df._32(n,26).readonly,Df._32(n,26)._ariaDescribedby||null,Df._32(n,26).errorState,Df._32(n,26).required.toString()]);l(n,29,0,Df._32(n,30).id);l(n,34,1,[Df._32(n,35)._control.errorState,Df._32(n,35)._control.errorState,Df._32(n,35)._canLabelFloat,Df._32(n,35)._shouldLabelFloat(),Df._32(n,35)._hideControlPlaceholder(),Df._32(n,35)._control.disabled,Df._32(n,35)._control.focused,"primary"==Df._32(n,35).color,"accent"==Df._32(n,35).color,"warn"==Df._32(n,35).color,Df._32(n,35)._shouldForward("untouched"),Df._32(n,35)._shouldForward("touched"),Df._32(n,35)._shouldForward("pristine"),Df._32(n,35)._shouldForward("dirty"),Df._32(n,35)._shouldForward("valid"),Df._32(n,35)._shouldForward("invalid"),Df._32(n,35)._shouldForward("pending")]);l(n,44,1,[Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50)._isServer,Df._32(n,50).id,Df._32(n,50).placeholder,Df._32(n,50).disabled,Df._32(n,50).required,Df._32(n,50).readonly,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50).errorState,Df._32(n,50).required.toString()])})}function yc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_entity_type_name").value)})}function Cc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(1,null,["",""]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_entity_type_other").value+"-Others")})}function wc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(1,null,[""," Years"]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_years").value)})}function Fc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(1,null,[""," Months"]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.get("business_month").value)})}function xc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,81,"ion-item-sliding",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,Lw.b,Lw.a)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(4,49152,null,2,Aw.a,[[2,ey.a],Gv.a,Df.O,Df.p,Df.H],null,null),Df._37(335544320,63,{item:0}),Df._37(603979776,64,{_itemOptions:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,0,39,"ion-item",[["class","item item-block"]],null,null,null,Vv.b,Vv.a)),Df._17(9,1097728,[[63,4]],3,jv.a,[Nv.a,Wv.a,Df.p,Df.O,[2,Ev.a]],null,null),Df._37(335544320,65,{contentLabel:0}),Df._37(603979776,66,{_buttons:1}),Df._37(603979776,67,{_icons:1}),Df._17(13,16384,null,0,Rv.a,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(16,0,null,1,23,"ion-label",[],null,null,null,null,null)),Df._17(17,16384,[[65,4]],0,SC.a,[Wv.a,Df.p,Df.O,[8,null],[8,null],[8,null],[8,null]],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(19,0,null,null,2,"h2",[["h2",""],["style","font-size: 18px !important;"]],null,null,null,null,null)),(l()(),Df._39(20,null,["",""])),Df._35(21,1),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(23,0,null,null,5,"p",[["style","font-size: 14px;"]],null,null,null,null,null)),(l()(),Df._39(-1,null,[" "])),(l()(),Df._13(16777216,null,null,1,null,yc)),Df._17(26,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._13(16777216,null,null,1,null,Cc)),Df._17(28,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,8,"p",[["style","font-size: 14px;"]],null,null,null,null,null)),(l()(),Df._18(31,0,null,null,1,"ion-icon",[["name","md-calendar"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(32,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["  "])),(l()(),Df._13(16777216,null,null,1,null,wc)),Df._17(35,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" "])),(l()(),Df._13(16777216,null,null,1,null,Fc)),Df._17(38,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(43,0,null,4,3,"button",[["align","end"],["clear",""],["ion-button",""],["item-end",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.editCompanies(l.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(44,1097728,[[66,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{small:[0,"small"],clear:[1,"clear"]},null),(l()(),Df._18(45,0,null,0,1,"ion-icon",[["name","md-create"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(46,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(49,0,null,1,31,"ion-item-options",[["slide","right"]],null,null,null,null,null)),Df._17(50,16384,[[64,4]],0,Vw.a,[Df.p,Gv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(52,0,null,null,20,"ion-list",[],null,null,null,null,null)),Df._17(53,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(55,0,null,null,16,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(56,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(58,0,null,null,12,"ion-col",[["class","col"],["color","primary"]],null,null,null,null,null)),Df._17(59,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(61,0,null,null,1,"p",[["style","font-size: 11px !important;text-align: center"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["Company Applicant"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(64,0,null,null,5,"ion-checkbox",[["color","dark"],["formControlName","is_company_applicant"]],[[2,"checkbox-disabled",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,65)._click(e)&&u}return u},jw.b,jw.a)),Df._17(65,1228800,null,0,Nw.a,[Wv.a,Nv.a,[2,jv.a],Df.p,Df.O],{color:[0,"color"]},null),Df._36(1024,null,Jf.q,function(l){return[l]},[Nw.a]),Df._17(67,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(69,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(74,0,null,null,5,"button",[["color","danger"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeList(l.context.index,2)&&u}return u},Vy.b,Vy.a)),Df._17(75,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(77,0,null,0,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(78,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){l(n,1,0,n.context.index);l(n,26,0,1!=n.context.$implicit.get("business_entity_type").value);l(n,28,0,1==n.context.$implicit.get("business_entity_type").value);l(n,32,0,"md-calendar");l(n,35,0,""!=n.context.$implicit.get("business_years").value&&0!=n.context.$implicit.get("business_years").value);l(n,38,0,""!=n.context.$implicit.get("business_month").value&&0!=n.context.$implicit.get("business_month").value);l(n,44,0,"","");l(n,46,0,"md-create");l(n,65,0,"dark");l(n,67,0,"is_company_applicant");l(n,75,0,"danger");l(n,78,0,"trash")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,20,0,Df._40(n,20,0,l(n,21,0,Df._32(n.parent.parent,0),n.context.$implicit.get("company_name").value)));l(n,31,0,Df._32(n,32)._hidden);l(n,45,0,Df._32(n,46)._hidden);l(n,64,0,Df._32(n,65)._disabled,Df._32(n,69).ngClassUntouched,Df._32(n,69).ngClassTouched,Df._32(n,69).ngClassPristine,Df._32(n,69).ngClassDirty,Df._32(n,69).ngClassValid,Df._32(n,69).ngClassInvalid,Df._32(n,69).ngClassPending);l(n,77,0,Df._32(n,78)._hidden)})}function Sc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(2)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),Df._18(2,0,null,0,1,"ion-icon",[["name","add"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,3,0,"add")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Ic(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"button",[["clear",""],["color","optblue"],["float-right",""],["icon-left",""],["ion-button",""],["large",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRec(2)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],large:[1,"large"],clear:[2,"clear"]},null),(l()(),Df._39(-1,0,["Close   "])),(l()(),Df._18(3,0,null,0,1,"ion-icon",[["name","md-close"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(4,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null)],function(l,n){l(n,1,0,"optblue","","");l(n,4,0,"md-close")},function(l,n){l(n,3,0,Df._32(n,4)._hidden)})}function qc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[71,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Company Name is Required"]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function kc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[82,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.business_entity_type_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.business_entity_type_name)})}function Pc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[78,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Business Entity Required"]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function Dc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,85,{_control:0}),Df._37(335544320,86,{_placeholderChild:0}),Df._37(335544320,87,{_labelChild:0}),Df._37(603979776,88,{_errorChildren:1}),Df._37(603979776,89,{_hintChildren:1}),Df._37(603979776,90,{_prefixChildren:1}),Df._37(603979776,91,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_entity_type_other"],["matInput",""],["placeholder","Please Specity Others"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[85,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_entity_type_other");l(n,16,0,"Please Specity Others","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Tc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.delete(2)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Add"]))],function(l,n){l(n,1,0,"optblue")},null)}function Oc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"button",[["color","optblue"],["float-right",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.update(2)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,0,["Update"]))],function(l,n){l(n,1,0,"optblue")},null)}function Lc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,160,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,27,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,68,{_control:0}),Df._37(335544320,69,{_placeholderChild:0}),Df._37(335544320,70,{_labelChild:0}),Df._37(603979776,71,{_errorChildren:1}),Df._37(603979776,72,{_hintChildren:1}),Df._37(603979776,73,{_prefixChildren:1}),Df._37(603979776,74,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,3,2,"mat-label",[["color","primary"],["stacked",""]],null,null,null,null,null)),Df._17(16,16384,[[70,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Company / Firm"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","company_name"],["matInput",""],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,27)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,27)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,27)._onInput()&&u}return u},null,null)),Df._17(20,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(21,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(24,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(26,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(27,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{required:[0,"required"],type:[1,"type"]},null),Df._36(2048,[[68,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,qc)),Df._17(31,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,6,"mat-checkbox",[["class","table-checkbox-com mat-checkbox"],["color","primary"],["formControlName","is_company_applicant"]],[[8,"id",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,rC.b,rC.a)),Df._17(35,4374528,null,0,_C.b,[Df.p,Df.i,yy.j,[8,null],[2,_C.a]],{color:[0,"color"]},null),Df._36(1024,null,Jf.q,function(l){return[l]},[_C.b]),Df._17(37,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(39,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,0,["Is Applicant"])),(l()(),Df._18(41,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(43,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(45,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(46,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,75,{_control:0}),Df._37(335544320,76,{_placeholderChild:0}),Df._37(335544320,77,{_labelChild:0}),Df._37(603979776,78,{_errorChildren:1}),Df._37(603979776,79,{_hintChildren:1}),Df._37(603979776,80,{_prefixChildren:1}),Df._37(603979776,81,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(55,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","business_entity_type"],["placeholder","Business Entity Type"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,62)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,62)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,62)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(57,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(59,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(61,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(62,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._37(603979776,82,{options:1}),Df._37(603979776,83,{optionGroups:1}),Df._37(335544320,84,{customTrigger:0}),Df._36(2048,[[75,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,kc)),Df._17(69,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,Pc)),Df._17(73,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Dc)),Df._17(77,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(79,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Number of Years For Which The Business Has Been Running"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(82,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(83,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,92,{_control:0}),Df._37(335544320,93,{_placeholderChild:0}),Df._37(335544320,94,{_labelChild:0}),Df._37(603979776,95,{_errorChildren:1}),Df._37(603979776,96,{_hintChildren:1}),Df._37(603979776,97,{_prefixChildren:1}),Df._37(603979776,98,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(92,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_years"],["matInput",""],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,93)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,93).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,93)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,93)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,94).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,94).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,94).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,99)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,99)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,99)._onInput()&&u}return u},null,null)),Df._17(93,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(94,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(96,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(98,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(99,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[92,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(103,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(104,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,99,{_control:0}),Df._37(335544320,100,{_placeholderChild:0}),Df._37(335544320,101,{_labelChild:0}),Df._37(603979776,102,{_errorChildren:1}),Df._37(603979776,103,{_hintChildren:1}),Df._37(603979776,104,{_prefixChildren:1}),Df._37(603979776,105,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(113,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_month"],["matInput",""],["placeholder","Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,114)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,114).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,114)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,114)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,115).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,115).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,115).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,120)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,120)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,120)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYearforBusiness(e.target.value,l.context.index,1)&&u}return u},null,null)),Df._17(114,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(115,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(117,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(119,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(120,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[99,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(124,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(125,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,106,{_control:0}),Df._37(335544320,107,{_placeholderChild:0}),Df._37(335544320,108,{_labelChild:0}),Df._37(603979776,109,{_errorChildren:1}),Df._37(603979776,110,{_hintChildren:1}),Df._37(603979776,111,{_prefixChildren:1}),Df._37(603979776,112,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(134,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_date_object"],["matInput",""],["placeholder","Enter Date of Formation, If Available"],["type","date"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,135)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,135).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,135)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,135)._compositionEnd(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,136)._onInput(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,136)._onChange()&&u}if("blur"===n){u=!1!==Df._32(l,136)._onTouched()&&u}if("keydown"===n){u=!1!==Df._32(l,136)._onKeydown(e)&&u}if("blur"===n){u=!1!==Df._32(l,143)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,143)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,143)._onInput()&&u}if("dateChange"===n){u=!1!==t.getDateObjects(e.target.value,l.context.index)&&u}return u},null,null)),Df._17(135,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(136,1196032,null,0,Ww.g,[Df.p,[2,hy.c],[2,hy.g],[2,fy.b]],{matDatepicker:[0,"matDatepicker"],max:[1,"max"]},{dateChange:"dateChange"}),Df._36(1024,null,Jf.p,function(l){return[l]},[Ww.g]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Ww.g]),Df._17(139,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(141,16384,null,0,Jf.s,[Jf.r],null,null),Df._36(2048,null,gy.a,null,[Ww.g]),Df._17(143,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[2,gy.a]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[106,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(147,0,null,null,12,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(148,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(150,0,null,null,8,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),Df._17(151,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Tc)),Df._17(154,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,Oc)),Df._17(157,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,21,0,"");l(n,24,0,"company_name");l(n,27,0,"","text");l(n,31,0,(null==n.context.$implicit.controls.company_name.errors?null:n.context.$implicit.controls.company_name.errors.required)||n.context.$implicit.controls.company_name.touched);l(n,35,0,"primary");l(n,37,0,"is_company_applicant");l(n,57,0,"");l(n,59,0,"business_entity_type");l(n,62,0,"Business Entity Type","");l(n,69,0,e.businessEntityTypeList);l(n,73,0,(null==n.context.$implicit.controls.business_entity_type.errors?null:n.context.$implicit.controls.business_entity_type.errors.required)||n.context.$implicit.controls.business_entity_type.touched);l(n,77,0,1==n.context.$implicit.value.business_entity_type);l(n,96,0,"business_years");l(n,99,0,"Year","number");l(n,117,0,"business_month");l(n,120,0,"Month","number");l(n,136,0,e.picker,e.maxDate);l(n,139,0,"business_date_object");l(n,143,0,"Enter Date of Formation, If Available","date");l(n,154,0,e.addComp);l(n,157,0,!e.addComp)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,19,1,[Df._32(n,21).required?"":null,Df._32(n,26).ngClassUntouched,Df._32(n,26).ngClassTouched,Df._32(n,26).ngClassPristine,Df._32(n,26).ngClassDirty,Df._32(n,26).ngClassValid,Df._32(n,26).ngClassInvalid,Df._32(n,26).ngClassPending,Df._32(n,27)._isServer,Df._32(n,27).id,Df._32(n,27).placeholder,Df._32(n,27).disabled,Df._32(n,27).required,Df._32(n,27).readonly,Df._32(n,27)._ariaDescribedby||null,Df._32(n,27).errorState,Df._32(n,27).required.toString()]);l(n,34,1,[Df._32(n,35).id,Df._32(n,35).indeterminate,Df._32(n,35).checked,Df._32(n,35).disabled,"before"==Df._32(n,35).labelPosition,Df._32(n,39).ngClassUntouched,Df._32(n,39).ngClassTouched,Df._32(n,39).ngClassPristine,Df._32(n,39).ngClassDirty,Df._32(n,39).ngClassValid,Df._32(n,39).ngClassInvalid,Df._32(n,39).ngClassPending]);l(n,45,1,[Df._32(n,46)._control.errorState,Df._32(n,46)._control.errorState,Df._32(n,46)._canLabelFloat,Df._32(n,46)._shouldLabelFloat(),Df._32(n,46)._hideControlPlaceholder(),Df._32(n,46)._control.disabled,Df._32(n,46)._control.focused,"primary"==Df._32(n,46).color,"accent"==Df._32(n,46).color,"warn"==Df._32(n,46).color,Df._32(n,46)._shouldForward("untouched"),Df._32(n,46)._shouldForward("touched"),Df._32(n,46)._shouldForward("pristine"),Df._32(n,46)._shouldForward("dirty"),Df._32(n,46)._shouldForward("valid"),Df._32(n,46)._shouldForward("invalid"),Df._32(n,46)._shouldForward("pending")]);l(n,55,1,[Df._32(n,57).required?"":null,Df._32(n,61).ngClassUntouched,Df._32(n,61).ngClassTouched,Df._32(n,61).ngClassPristine,Df._32(n,61).ngClassDirty,Df._32(n,61).ngClassValid,Df._32(n,61).ngClassInvalid,Df._32(n,61).ngClassPending,Df._32(n,62).id,Df._32(n,62).tabIndex,Df._32(n,62)._ariaLabel,Df._32(n,62).ariaLabelledby,Df._32(n,62).required.toString(),Df._32(n,62).disabled.toString(),Df._32(n,62).errorState,Df._32(n,62).panelOpen?Df._32(n,62)._optionIds:null,Df._32(n,62).multiple,Df._32(n,62)._ariaDescribedby||null,Df._32(n,62)._getAriaActiveDescendant(),Df._32(n,62).disabled,Df._32(n,62).errorState,Df._32(n,62).required]);l(n,82,1,[Df._32(n,83)._control.errorState,Df._32(n,83)._control.errorState,Df._32(n,83)._canLabelFloat,Df._32(n,83)._shouldLabelFloat(),Df._32(n,83)._hideControlPlaceholder(),Df._32(n,83)._control.disabled,Df._32(n,83)._control.focused,"primary"==Df._32(n,83).color,"accent"==Df._32(n,83).color,"warn"==Df._32(n,83).color,Df._32(n,83)._shouldForward("untouched"),Df._32(n,83)._shouldForward("touched"),Df._32(n,83)._shouldForward("pristine"),Df._32(n,83)._shouldForward("dirty"),Df._32(n,83)._shouldForward("valid"),Df._32(n,83)._shouldForward("invalid"),Df._32(n,83)._shouldForward("pending")]);l(n,92,1,[Df._32(n,98).ngClassUntouched,Df._32(n,98).ngClassTouched,Df._32(n,98).ngClassPristine,Df._32(n,98).ngClassDirty,Df._32(n,98).ngClassValid,Df._32(n,98).ngClassInvalid,Df._32(n,98).ngClassPending,Df._32(n,99)._isServer,Df._32(n,99).id,Df._32(n,99).placeholder,Df._32(n,99).disabled,Df._32(n,99).required,Df._32(n,99).readonly,Df._32(n,99)._ariaDescribedby||null,Df._32(n,99).errorState,Df._32(n,99).required.toString()]);l(n,103,1,[Df._32(n,104)._control.errorState,Df._32(n,104)._control.errorState,Df._32(n,104)._canLabelFloat,Df._32(n,104)._shouldLabelFloat(),Df._32(n,104)._hideControlPlaceholder(),Df._32(n,104)._control.disabled,Df._32(n,104)._control.focused,"primary"==Df._32(n,104).color,"accent"==Df._32(n,104).color,"warn"==Df._32(n,104).color,Df._32(n,104)._shouldForward("untouched"),Df._32(n,104)._shouldForward("touched"),Df._32(n,104)._shouldForward("pristine"),Df._32(n,104)._shouldForward("dirty"),Df._32(n,104)._shouldForward("valid"),Df._32(n,104)._shouldForward("invalid"),Df._32(n,104)._shouldForward("pending")]);l(n,113,1,[Df._32(n,119).ngClassUntouched,Df._32(n,119).ngClassTouched,Df._32(n,119).ngClassPristine,Df._32(n,119).ngClassDirty,Df._32(n,119).ngClassValid,Df._32(n,119).ngClassInvalid,Df._32(n,119).ngClassPending,Df._32(n,120)._isServer,Df._32(n,120).id,Df._32(n,120).placeholder,Df._32(n,120).disabled,Df._32(n,120).required,Df._32(n,120).readonly,Df._32(n,120)._ariaDescribedby||null,Df._32(n,120).errorState,Df._32(n,120).required.toString()]);l(n,124,1,[Df._32(n,125)._control.errorState,Df._32(n,125)._control.errorState,Df._32(n,125)._canLabelFloat,Df._32(n,125)._shouldLabelFloat(),Df._32(n,125)._hideControlPlaceholder(),Df._32(n,125)._control.disabled,Df._32(n,125)._control.focused,"primary"==Df._32(n,125).color,"accent"==Df._32(n,125).color,"warn"==Df._32(n,125).color,Df._32(n,125)._shouldForward("untouched"),Df._32(n,125)._shouldForward("touched"),Df._32(n,125)._shouldForward("pristine"),Df._32(n,125)._shouldForward("dirty"),Df._32(n,125)._shouldForward("valid"),Df._32(n,125)._shouldForward("invalid"),Df._32(n,125)._shouldForward("pending")]);l(n,134,1,[!0,(null==Df._32(n,136)._datepicker?null:Df._32(n,136)._datepicker.opened)&&Df._32(n,136)._datepicker.id||null,Df._32(n,136).min?Df._32(n,136)._dateAdapter.toIso8601(Df._32(n,136).min):null,Df._32(n,136).max?Df._32(n,136)._dateAdapter.toIso8601(Df._32(n,136).max):null,Df._32(n,136).disabled,Df._32(n,141).ngClassUntouched,Df._32(n,141).ngClassTouched,Df._32(n,141).ngClassPristine,Df._32(n,141).ngClassDirty,Df._32(n,141).ngClassValid,Df._32(n,141).ngClassInvalid,Df._32(n,141).ngClassPending,Df._32(n,143)._isServer,Df._32(n,143).id,Df._32(n,143).placeholder,Df._32(n,143).disabled,Df._32(n,143).required,Df._32(n,143).readonly,Df._32(n,143)._ariaDescribedby||null,Df._32(n,143).errorState,Df._32(n,143).required.toString()])})}function Ac(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(3,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(5,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,[" Add Company/Firm"])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,[["comp",1]],null,7,"div",[["formArrayName","companies"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(11,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(13,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Lc)),Df._17(16,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,11,0,"companies");l(n,16,0,e.generalForm.controls.companies.controls)},function(l,n){l(n,10,0,Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending)})}function Vc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,43,"mat-card",[["class","mat-card"],["style","padding: 0px 10px !important;"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,1,"h6",[["padding",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,[" Company/Firm "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(6,0,null,0,11,"div",[["formArrayName","company_value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(7,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(9,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,5,"ion-list",[],null,null,null,null,null)),Df._17(12,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,xc)),Df._17(15,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,0,["\n\n"])),(l()(),Df._39(-1,0,[" \n"])),(l()(),Df._18(20,0,null,0,22,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(21,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(23,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(24,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,11,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),Df._17(27,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,7,"div",[["class","btn1"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Sc)),Df._17(32,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ic)),Df._17(35,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Ac)),Df._17(41,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,7,0,"company_value");l(n,15,0,e.generalForm.controls.company_value.controls);l(n,32,0,!e.h_companies);l(n,35,0,e.h_companies);l(n,41,0,e.h_companies)},function(l,n){l(n,6,0,Df._32(n,9).ngClassUntouched,Df._32(n,9).ngClassTouched,Df._32(n,9).ngClassPristine,Df._32(n,9).ngClassDirty,Df._32(n,9).ngClassValid,Df._32(n,9).ngClassInvalid,Df._32(n,9).ngClassPending)})}function jc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[120,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.applicant_name)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function Nc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[130,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.relationship_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Wc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[140,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""])),Df._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent.parent.parent,0),n.context.$implicit.applicant_name)))})}function Ec(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,97,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,91,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(6,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(9,null,["Applicant ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(11,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(12,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,113,{_control:0}),Df._37(335544320,114,{_placeholderChild:0}),Df._37(335544320,115,{_labelChild:0}),Df._37(603979776,116,{_errorChildren:1}),Df._37(603979776,117,{_hintChildren:1}),Df._37(603979776,118,{_prefixChildren:1}),Df._37(603979776,119,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Applicant"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,26)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,26)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(23,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(25,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(26,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,120,{options:1}),Df._37(603979776,121,{optionGroups:1}),Df._37(335544320,122,{customTrigger:0}),Df._36(2048,[[113,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,jc)),Df._17(33,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,123,{_control:0}),Df._37(335544320,124,{_placeholderChild:0}),Df._37(335544320,125,{_labelChild:0}),Df._37(603979776,126,{_errorChildren:1}),Df._37(603979776,127,{_hintChildren:1}),Df._37(603979776,128,{_prefixChildren:1}),Df._37(603979776,129,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","relationship"],["placeholder","Relation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,52)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,52)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,52)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(49,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(51,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(52,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,130,{options:1}),Df._37(603979776,131,{optionGroups:1}),Df._37(335544320,132,{customTrigger:0}),Df._36(2048,[[123,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Nc)),Df._17(59,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(63,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(64,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,133,{_control:0}),Df._37(335544320,134,{_placeholderChild:0}),Df._37(335544320,135,{_labelChild:0}),Df._37(603979776,136,{_errorChildren:1}),Df._37(603979776,137,{_hintChildren:1}),Df._37(603979776,138,{_prefixChildren:1}),Df._37(603979776,139,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(73,0,null,1,21,"mat-select",[["class","mat-select"],["formControlName","relation_to"],["placeholder","RelationTo"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,77)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,77)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,77)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(74,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(76,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(77,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,140,{options:1}),Df._37(603979776,141,{optionGroups:1}),Df._37(335544320,142,{customTrigger:0}),Df._36(2048,[[133,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(84,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,85)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,85)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(85,8437760,[[140,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Wc)),Df._17(89,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(91,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","0"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,92)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,92)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(92,8437760,[[140,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Not Applicable"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,23,0,"applicant_name");l(n,26,0,"Applicant");l(n,33,0,e.fulldata);l(n,49,0,"relationship");l(n,52,0,"Relation");l(n,59,0,e.relationShipList);l(n,74,0,"relation_to");l(n,77,0,"RelationTo");l(n,89,0,e.individualsList);l(n,92,0,"0")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,9,0,n.context.index+1);l(n,11,1,[Df._32(n,12)._control.errorState,Df._32(n,12)._control.errorState,Df._32(n,12)._canLabelFloat,Df._32(n,12)._shouldLabelFloat(),Df._32(n,12)._hideControlPlaceholder(),Df._32(n,12)._control.disabled,Df._32(n,12)._control.focused,"primary"==Df._32(n,12).color,"accent"==Df._32(n,12).color,"warn"==Df._32(n,12).color,Df._32(n,12)._shouldForward("untouched"),Df._32(n,12)._shouldForward("touched"),Df._32(n,12)._shouldForward("pristine"),Df._32(n,12)._shouldForward("dirty"),Df._32(n,12)._shouldForward("valid"),Df._32(n,12)._shouldForward("invalid"),Df._32(n,12)._shouldForward("pending")]);l(n,21,1,[Df._32(n,25).ngClassUntouched,Df._32(n,25).ngClassTouched,Df._32(n,25).ngClassPristine,Df._32(n,25).ngClassDirty,Df._32(n,25).ngClassValid,Df._32(n,25).ngClassInvalid,Df._32(n,25).ngClassPending,Df._32(n,26).id,Df._32(n,26).tabIndex,Df._32(n,26)._ariaLabel,Df._32(n,26).ariaLabelledby,Df._32(n,26).required.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).errorState,Df._32(n,26).panelOpen?Df._32(n,26)._optionIds:null,Df._32(n,26).multiple,Df._32(n,26)._ariaDescribedby||null,Df._32(n,26)._getAriaActiveDescendant(),Df._32(n,26).disabled,Df._32(n,26).errorState,Df._32(n,26).required]);l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,1,[Df._32(n,51).ngClassUntouched,Df._32(n,51).ngClassTouched,Df._32(n,51).ngClassPristine,Df._32(n,51).ngClassDirty,Df._32(n,51).ngClassValid,Df._32(n,51).ngClassInvalid,Df._32(n,51).ngClassPending,Df._32(n,52).id,Df._32(n,52).tabIndex,Df._32(n,52)._ariaLabel,Df._32(n,52).ariaLabelledby,Df._32(n,52).required.toString(),Df._32(n,52).disabled.toString(),Df._32(n,52).errorState,Df._32(n,52).panelOpen?Df._32(n,52)._optionIds:null,Df._32(n,52).multiple,Df._32(n,52)._ariaDescribedby||null,Df._32(n,52)._getAriaActiveDescendant(),Df._32(n,52).disabled,Df._32(n,52).errorState,Df._32(n,52).required]);l(n,63,1,[Df._32(n,64)._control.errorState,Df._32(n,64)._control.errorState,Df._32(n,64)._canLabelFloat,Df._32(n,64)._shouldLabelFloat(),Df._32(n,64)._hideControlPlaceholder(),Df._32(n,64)._control.disabled,Df._32(n,64)._control.focused,"primary"==Df._32(n,64).color,"accent"==Df._32(n,64).color,"warn"==Df._32(n,64).color,Df._32(n,64)._shouldForward("untouched"),Df._32(n,64)._shouldForward("touched"),Df._32(n,64)._shouldForward("pristine"),Df._32(n,64)._shouldForward("dirty"),Df._32(n,64)._shouldForward("valid"),Df._32(n,64)._shouldForward("invalid"),Df._32(n,64)._shouldForward("pending")]);l(n,73,1,[Df._32(n,76).ngClassUntouched,Df._32(n,76).ngClassTouched,Df._32(n,76).ngClassPristine,Df._32(n,76).ngClassDirty,Df._32(n,76).ngClassValid,Df._32(n,76).ngClassInvalid,Df._32(n,76).ngClassPending,Df._32(n,77).id,Df._32(n,77).tabIndex,Df._32(n,77)._ariaLabel,Df._32(n,77).ariaLabelledby,Df._32(n,77).required.toString(),Df._32(n,77).disabled.toString(),Df._32(n,77).errorState,Df._32(n,77).panelOpen?Df._32(n,77)._optionIds:null,Df._32(n,77).multiple,Df._32(n,77)._ariaDescribedby||null,Df._32(n,77)._getAriaActiveDescendant(),Df._32(n,77).disabled,Df._32(n,77).errorState,Df._32(n,77).required]);l(n,84,0,Df._32(n,85)._getTabIndex(),Df._32(n,85).selected,Df._32(n,85).multiple,Df._32(n,85).active,Df._32(n,85).id,Df._32(n,85).selected.toString(),Df._32(n,85).disabled.toString(),Df._32(n,85).disabled);l(n,91,0,Df._32(n,92)._getTabIndex(),Df._32(n,92).selected,Df._32(n,92).multiple,Df._32(n,92).active,Df._32(n,92).id,Df._32(n,92).selected.toString(),Df._32(n,92).disabled.toString(),Df._32(n,92).disabled)})}function Rc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,16,"mat-card",[["class","rbi mat-card"],["formArrayName","persons_with_relationships"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,dy.d,dy.a)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(9,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(11,0,null,1,2,"mat-card-title",[["class","mat-card-title"],["style","font-size:16px;font-weight:bold"]],null,null,null,null,null)),Df._17(12,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,[" Relationship Between Individuals"])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._13(16777216,null,0,1,null,Ec)),Df._17(17,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,"persons_with_relationships");l(n,17,0,e.generalForm.controls.persons_with_relationships.controls)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function Uc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[150,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pd_co_applicant_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.applicant_name)})}function $c(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[160,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit.company_relationship_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Bc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[170,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.company_order_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.company_name)})}function Mc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,90,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(6,null,["Applicant ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(8,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(9,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,143,{_control:0}),Df._37(335544320,144,{_placeholderChild:0}),Df._37(335544320,145,{_labelChild:0}),Df._37(603979776,146,{_errorChildren:1}),Df._37(603979776,147,{_hintChildren:1}),Df._37(603979776,148,{_prefixChildren:1}),Df._37(603979776,149,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(18,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Applicant Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,23)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,150,{options:1}),Df._37(603979776,151,{optionGroups:1}),Df._37(335544320,152,{customTrigger:0}),Df._36(2048,[[143,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Uc)),Df._17(30,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(35,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,153,{_control:0}),Df._37(335544320,154,{_placeholderChild:0}),Df._37(335544320,155,{_labelChild:0}),Df._37(603979776,156,{_errorChildren:1}),Df._37(603979776,157,{_hintChildren:1}),Df._37(603979776,158,{_prefixChildren:1}),Df._37(603979776,159,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(44,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","company_relationship"],["placeholder","Company Relation"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,49)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,49)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,49)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(46,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(48,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(49,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,160,{options:1}),Df._37(603979776,161,{optionGroups:1}),Df._37(335544320,162,{customTrigger:0}),Df._36(2048,[[153,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,$c)),Df._17(56,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(60,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(61,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,163,{_control:0}),Df._37(335544320,164,{_placeholderChild:0}),Df._37(335544320,165,{_labelChild:0}),Df._37(603979776,166,{_errorChildren:1}),Df._37(603979776,167,{_hintChildren:1}),Df._37(603979776,168,{_prefixChildren:1}),Df._37(603979776,169,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(70,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","relation_to_company"],["placeholder","Relation to"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,75)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(72,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(74,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(75,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,170,{options:1}),Df._37(603979776,171,{optionGroups:1}),Df._37(335544320,172,{customTrigger:0}),Df._36(2048,[[163,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Bc)),Df._17(82,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(86,0,null,null,3,"span",[["clear",""],["color","optblue"],["float-right",""],["ion-button",""],["small",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeList(l.context.index,"companyrel")&&u}return u},Vy.b,Vy.a)),Df._17(87,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],small:[1,"small"],clear:[2,"clear"]},null),(l()(),Df._18(88,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),Df._17(89,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"applicant_name");l(n,23,0,"Applicant Name");l(n,30,0,e.individualsListBothCase);l(n,46,0,"company_relationship");l(n,49,0,"Company Relation");l(n,56,0,e.companyRelationShipList);l(n,72,0,"relation_to_company");l(n,75,0,"Relation to");l(n,82,0,e.companyList);l(n,87,0,"optblue","","");l(n,89,0,"md-trash")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,8,1,[Df._32(n,9)._control.errorState,Df._32(n,9)._control.errorState,Df._32(n,9)._canLabelFloat,Df._32(n,9)._shouldLabelFloat(),Df._32(n,9)._hideControlPlaceholder(),Df._32(n,9)._control.disabled,Df._32(n,9)._control.focused,"primary"==Df._32(n,9).color,"accent"==Df._32(n,9).color,"warn"==Df._32(n,9).color,Df._32(n,9)._shouldForward("untouched"),Df._32(n,9)._shouldForward("touched"),Df._32(n,9)._shouldForward("pristine"),Df._32(n,9)._shouldForward("dirty"),Df._32(n,9)._shouldForward("valid"),Df._32(n,9)._shouldForward("invalid"),Df._32(n,9)._shouldForward("pending")]);l(n,18,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23).id,Df._32(n,23).tabIndex,Df._32(n,23)._ariaLabel,Df._32(n,23).ariaLabelledby,Df._32(n,23).required.toString(),Df._32(n,23).disabled.toString(),Df._32(n,23).errorState,Df._32(n,23).panelOpen?Df._32(n,23)._optionIds:null,Df._32(n,23).multiple,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23)._getAriaActiveDescendant(),Df._32(n,23).disabled,Df._32(n,23).errorState,Df._32(n,23).required]);l(n,34,1,[Df._32(n,35)._control.errorState,Df._32(n,35)._control.errorState,Df._32(n,35)._canLabelFloat,Df._32(n,35)._shouldLabelFloat(),Df._32(n,35)._hideControlPlaceholder(),Df._32(n,35)._control.disabled,Df._32(n,35)._control.focused,"primary"==Df._32(n,35).color,"accent"==Df._32(n,35).color,"warn"==Df._32(n,35).color,Df._32(n,35)._shouldForward("untouched"),Df._32(n,35)._shouldForward("touched"),Df._32(n,35)._shouldForward("pristine"),Df._32(n,35)._shouldForward("dirty"),Df._32(n,35)._shouldForward("valid"),Df._32(n,35)._shouldForward("invalid"),Df._32(n,35)._shouldForward("pending")]);l(n,44,1,[Df._32(n,48).ngClassUntouched,Df._32(n,48).ngClassTouched,Df._32(n,48).ngClassPristine,Df._32(n,48).ngClassDirty,Df._32(n,48).ngClassValid,Df._32(n,48).ngClassInvalid,Df._32(n,48).ngClassPending,Df._32(n,49).id,Df._32(n,49).tabIndex,Df._32(n,49)._ariaLabel,Df._32(n,49).ariaLabelledby,Df._32(n,49).required.toString(),Df._32(n,49).disabled.toString(),Df._32(n,49).errorState,Df._32(n,49).panelOpen?Df._32(n,49)._optionIds:null,Df._32(n,49).multiple,Df._32(n,49)._ariaDescribedby||null,Df._32(n,49)._getAriaActiveDescendant(),Df._32(n,49).disabled,Df._32(n,49).errorState,Df._32(n,49).required]);l(n,60,1,[Df._32(n,61)._control.errorState,Df._32(n,61)._control.errorState,Df._32(n,61)._canLabelFloat,Df._32(n,61)._shouldLabelFloat(),Df._32(n,61)._hideControlPlaceholder(),Df._32(n,61)._control.disabled,Df._32(n,61)._control.focused,"primary"==Df._32(n,61).color,"accent"==Df._32(n,61).color,"warn"==Df._32(n,61).color,Df._32(n,61)._shouldForward("untouched"),Df._32(n,61)._shouldForward("touched"),Df._32(n,61)._shouldForward("pristine"),Df._32(n,61)._shouldForward("dirty"),Df._32(n,61)._shouldForward("valid"),Df._32(n,61)._shouldForward("invalid"),Df._32(n,61)._shouldForward("pending")]);l(n,70,1,[Df._32(n,74).ngClassUntouched,Df._32(n,74).ngClassTouched,Df._32(n,74).ngClassPristine,Df._32(n,74).ngClassDirty,Df._32(n,74).ngClassValid,Df._32(n,74).ngClassInvalid,Df._32(n,74).ngClassPending,Df._32(n,75).id,Df._32(n,75).tabIndex,Df._32(n,75)._ariaLabel,Df._32(n,75).ariaLabelledby,Df._32(n,75).required.toString(),Df._32(n,75).disabled.toString(),Df._32(n,75).errorState,Df._32(n,75).panelOpen?Df._32(n,75)._optionIds:null,Df._32(n,75).multiple,Df._32(n,75)._ariaDescribedby||null,Df._32(n,75)._getAriaActiveDescendant(),Df._32(n,75).disabled,Df._32(n,75).errorState,Df._32(n,75).required]);l(n,88,0,Df._32(n,89)._hidden)})}function Kc(l){return Df._41(0,[Df._33(0,rg.t,[]),Df._37(402653184,1,{nameField:0}),(l()(),Df._18(2,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(3,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(5,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(6,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,10).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(9,1097728,[[2,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(10,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(11,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,2,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(15,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,nc)),Df._17(19,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._18(23,0,null,null,140,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(24,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n \n \n "])),(l()(),Df._18(26,0,null,1,135,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,28).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,28).onReset()&&u}return u},null,null)),Df._17(27,16384,null,0,Jf.B,[],null,null),Df._17(28,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(30,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,41,"mat-card",[["class","mat-card"],["style","padding: 0px 10px !important;"]],null,null,null,dy.d,dy.a)),Df._17(33,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._18(35,0,null,0,1,"h6",[["padding",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["Name of Person(s) Met and Individual Loan Applicant(s)"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(38,0,null,0,8,"ion-list",[["formArrayName","list_value"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(39,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(41,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(42,16384,null,0,ey.a,[Wv.a,Df.p,Df.O,Gv.a,zv.l,Qv.a],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,uc)),Df._17(45,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n"])),(l()(),Df._18(48,0,null,0,0,"hr",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(50,0,null,0,22,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(51,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(53,0,null,null,15,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(54,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(56,0,null,null,11,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),Df._17(57,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(59,0,null,null,7,"div",[["class","btn"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,tc)),Df._17(62,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ac)),Df._17(65,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,bc)),Df._17(71,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n"])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,vc)),Df._17(79,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,Vc)),Df._17(83,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Rc)),Df._17(89,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(91,0,null,null,35,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(92,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(94,0,null,0,31,"div",[["formArrayName","company_with_relationships"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(95,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(97,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(99,0,null,null,6,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(100,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(102,0,null,1,2,"mat-card-title",[["class","mat-card-title"],["style","font-size:16px;font-weight:bold"]],null,null,null,null,null)),Df._17(103,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,[" Relationship of Individuals to Company / Firm"])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Mc)),Df._17(108,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(110,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._18(111,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(113,0,null,null,11,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(114,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(116,0,null,null,7,"ion-col",[["class","col"],["end",""]],null,null,null,null,null)),Df._17(117,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(119,0,null,null,3,"button",[["class","mat-raised-button"],["mat-raised-button",""],["style","background-color:#e00201 !important;color:white"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.initCompanyRelationShip("")&&u}return u},by.b,by.a)),Df._17(120,180224,null,0,vy.b,[Df.p,Xf.a,yy.j],null,null),Df._17(121,16384,null,0,vy.f,[],null,null),(l()(),Df._39(-1,0,["Add More Company Relation"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(128,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(129,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(131,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(132,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,173,{_control:0}),Df._37(335544320,174,{_placeholderChild:0}),Df._37(335544320,175,{_labelChild:0}),Df._37(603979776,176,{_errorChildren:1}),Df._37(603979776,177,{_hintChildren:1}),Df._37(603979776,178,{_prefixChildren:1}),Df._37(603979776,179,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(141,0,[[1,0],["remark",1]],1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["focus","true"],["formControlName","general_remark"],["matInput",""],["name","general_remark"],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,142)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,142).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,142)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,142)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,147)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,147)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,147)._onInput()&&u}return u},null,null)),Df._17(142,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(144,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(146,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(147,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[173,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(152,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(153,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(156,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitData(t.generalForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(157,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,1,["\n\n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,19,0,!e.viewchange);l(n,28,0,e.generalForm);l(n,39,0,"list_value");l(n,45,0,e.generalForm.controls.list_value.controls);l(n,62,0,!e.buttonClick);l(n,65,0,e.buttonClick);l(n,71,0,e.buttonClick);l(n,79,0,"SE-RI"==e.customer_segment_abbr);l(n,83,0,"SE-RI"!=e.customer_segment_abbr);l(n,89,0,e.generalForm.controls.persons_with_relationships.length>1);l(n,95,0,"company_with_relationships");l(n,108,0,e.generalForm.controls.company_with_relationships.controls);l(n,144,0,"general_remark");l(n,147,0,"Remarks");l(n,157,0,"optblue","")},function(l,n){l(n,5,0,Df._32(n,6)._hidden,Df._32(n,6)._sbPadding);l(n,8,0,Df._32(n,10).isHidden);l(n,14,0,Df._32(n,15)._hidden);l(n,23,0,Df._32(n,24).statusbarPadding,Df._32(n,24)._hasRefresher);l(n,26,0,Df._32(n,30).ngClassUntouched,Df._32(n,30).ngClassTouched,Df._32(n,30).ngClassPristine,Df._32(n,30).ngClassDirty,Df._32(n,30).ngClassValid,Df._32(n,30).ngClassInvalid,Df._32(n,30).ngClassPending);l(n,38,0,Df._32(n,41).ngClassUntouched,Df._32(n,41).ngClassTouched,Df._32(n,41).ngClassPristine,Df._32(n,41).ngClassDirty,Df._32(n,41).ngClassValid,Df._32(n,41).ngClassInvalid,Df._32(n,41).ngClassPending);l(n,94,0,Df._32(n,97).ngClassUntouched,Df._32(n,97).ngClassTouched,Df._32(n,97).ngClassPristine,Df._32(n,97).ngClassDirty,Df._32(n,97).ngClassValid,Df._32(n,97).ngClassInvalid,Df._32(n,97).ngClassPending);l(n,119,0,Df._32(n,120).disabled||null);l(n,131,1,[Df._32(n,132)._control.errorState,Df._32(n,132)._control.errorState,Df._32(n,132)._canLabelFloat,Df._32(n,132)._shouldLabelFloat(),Df._32(n,132)._hideControlPlaceholder(),Df._32(n,132)._control.disabled,Df._32(n,132)._control.focused,"primary"==Df._32(n,132).color,"accent"==Df._32(n,132).color,"warn"==Df._32(n,132).color,Df._32(n,132)._shouldForward("untouched"),Df._32(n,132)._shouldForward("touched"),Df._32(n,132)._shouldForward("pristine"),Df._32(n,132)._shouldForward("dirty"),Df._32(n,132)._shouldForward("valid"),Df._32(n,132)._shouldForward("invalid"),Df._32(n,132)._shouldForward("pending")]);l(n,141,1,[Df._32(n,146).ngClassUntouched,Df._32(n,146).ngClassTouched,Df._32(n,146).ngClassPristine,Df._32(n,146).ngClassDirty,Df._32(n,146).ngClassValid,Df._32(n,146).ngClassInvalid,Df._32(n,146).ngClassPending,Df._32(n,147)._isServer,Df._32(n,147).id,Df._32(n,147).placeholder,Df._32(n,147).disabled,Df._32(n,147).required,Df._32(n,147).readonly,Df._32(n,147)._ariaDescribedby||null,Df._32(n,147).errorState,Df._32(n,147).required.toString()])})}function Hc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Other Applicant Details Added"]))],null,null)}function Gc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addmore()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Yc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,41,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","applicant_name"],["matInput",""],["name","applicant_name"],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,16)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,21)._onInput()&&u}return u},null,null)),Df._17(16,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(18,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(20,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(21,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(25,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-6",""]],null,null,null,null,null)),Df._17(26,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Gc)),Df._17(29,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-1",""]],null,null,null,null,null)),Df._17(33,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(35,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteappdata(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-close"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(38,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,18,0,"applicant_name");l(n,21,0,"Name","text");l(n,29,0,n.context.last);l(n,38,0,"optblue","md-close")},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,20).ngClassUntouched,Df._32(n,20).ngClassTouched,Df._32(n,20).ngClassPristine,Df._32(n,20).ngClassDirty,Df._32(n,20).ngClassValid,Df._32(n,20).ngClassInvalid,Df._32(n,20).ngClassPending,Df._32(n,21)._isServer,Df._32(n,21).id,Df._32(n,21).placeholder,Df._32(n,21).disabled,Df._32(n,21).required,Df._32(n,21).readonly,Df._32(n,21)._ariaDescribedby||null,Df._32(n,21).errorState,Df._32(n,21).required.toString()]);l(n,37,0,Df._32(n,38)._hidden)})}function zc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,14,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,2,7,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(7,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,2,"button",[["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.closeModal()&&u}return u},Vy.b,Vy.a)),Df._17(11,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),(l()(),Df._39(-1,0,["Close"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Hc)),Df._17(16,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._18(20,0,null,null,32,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(21,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,1,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,25).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,25).onReset()&&u}return u},null,null)),Df._17(24,16384,null,0,Jf.B,[],null,null),Df._17(25,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(27,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(30,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(32,0,null,0,7,"div",[["formArrayName","otherName"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(33,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(35,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Yc)),Df._17(38,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(42,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(43,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(46,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitData(t.otherForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(47,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,16,0,!e.viewchange);l(n,25,0,e.otherForm);l(n,33,0,"otherName");l(n,38,0,e.otherForm.controls.otherName.controls);l(n,47,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,20,0,Df._32(n,21).statusbarPadding,Df._32(n,21)._hasRefresher);l(n,23,0,Df._32(n,27).ngClassUntouched,Df._32(n,27).ngClassTouched,Df._32(n,27).ngClassPristine,Df._32(n,27).ngClassDirty,Df._32(n,27).ngClassValid,Df._32(n,27).ngClassInvalid,Df._32(n,27).ngClassPending);l(n,32,0,Df._32(n,35).ngClassUntouched,Df._32(n,35).ngClassTouched,Df._32(n,35).ngClassPristine,Df._32(n,35).ngClassDirty,Df._32(n,35).ngClassValid,Df._32(n,35).ngClassInvalid,Df._32(n,35).ngClassPending)})}function Qc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Jc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[5,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Neighbourhood Name is Required"]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function Xc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[12,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Please Choose"]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function Zc(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[22,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Year is Required"]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function lm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_do_know_in_year"],["matInput",""],["placeholder","Years"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[19,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,Zc)),Df._17(21,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,[" \n "]))],function(l,n){l(n,14,0,"how_long_do_know_in_year");l(n,17,0,"Years","text");l(n,21,0,(null==n.parent.parent.context.$implicit.controls.how_long_do_know_in_year.errors?null:n.parent.parent.context.$implicit.controls.how_long_do_know_in_year.errors.required)||n.parent.parent.context.$implicit.controls.how_long_do_know_in_year.touched)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()])})}function nm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,20,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,26,{_control:0}),Df._37(335544320,27,{_placeholderChild:0}),Df._37(335544320,28,{_labelChild:0}),Df._37(603979776,29,{_errorChildren:1}),Df._37(603979776,30,{_hintChildren:1}),Df._37(603979776,31,{_prefixChildren:1}),Df._37(603979776,32,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","how_long_do_know_in_month"],["matInput",""],["placeholder","Months"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.parent.parent.context.$implicit,e.target.value,1)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[26,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,14,0,"how_long_do_know_in_month");l(n,17,0,"Months","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()])})}function em(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[40,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function um(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,DC.d,DC.a)),Df._17(1,49152,[[41,4]],0,hy.s,[],{label:[0,"label"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,0,1,null,em)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,Df._32(n,1).disabled,Df._32(n,1).disabled.toString(),Df._32(n,1)._labelId)})}function tm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[36,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["pick atleast one organisation owner"]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function am(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,33,{_control:0}),Df._37(335544320,34,{_placeholderChild:0}),Df._37(335544320,35,{_labelChild:0}),Df._37(603979776,36,{_errorChildren:1}),Df._37(603979776,37,{_hintChildren:1}),Df._37(603979776,38,{_prefixChildren:1}),Df._37(603979776,39,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(11,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","organisation_owner"],["multiple",""],["placeholder","Who is the owner of the organisation?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,16)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,16)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,16)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.getOtherOrganisationOwner(e.value,l.parent.parent.parent.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),Df._37(603979776,40,{options:1}),Df._37(603979776,41,{optionGroups:1}),Df._37(335544320,42,{customTrigger:0}),Df._36(2048,[[33,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,um)),Df._17(23,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,tm)),Df._17(27,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,[" \n "]))],function(l,n){var e=n.component;l(n,13,0,"organisation_owner");l(n,16,0,"Who is the owner of the organisation?","",e.compareObjects);l(n,23,0,e.mergeCompanyApplicant);l(n,27,0,(null==n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors?null:n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors.required)||n.parent.parent.parent.context.$implicit.controls.organisation_owner.touched)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,11,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16).id,Df._32(n,16).tabIndex,Df._32(n,16)._ariaLabel,Df._32(n,16).ariaLabelledby,Df._32(n,16).required.toString(),Df._32(n,16).disabled.toString(),Df._32(n,16).errorState,Df._32(n,16).panelOpen?Df._32(n,16)._optionIds:null,Df._32(n,16).multiple,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16)._getAriaActiveDescendant(),Df._32(n,16).disabled,Df._32(n,16).errorState,Df._32(n,16).required])})}function im(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[46,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["organisation owner is required"]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function om(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,43,{_control:0}),Df._37(335544320,44,{_placeholderChild:0}),Df._37(335544320,45,{_labelChild:0}),Df._37(603979776,46,{_errorChildren:1}),Df._37(603979776,47,{_hintChildren:1}),Df._37(603979776,48,{_prefixChildren:1}),Df._37(603979776,49,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_organisation_owner"],["matInput",""],["placeholder","Specify Owner name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[43,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,im)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,[" \n "]))],function(l,n){l(n,13,0,"other_organisation_owner");l(n,16,0,"Specify Owner name","text");l(n,20,0,(null==n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors?null:n.parent.parent.parent.context.$implicit.controls.organisation_owner.errors.required)||n.parent.parent.parent.context.$implicit.controls.organisation_owner.touched)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function rm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Who is the owner of the organisation?"]))],null,null)}function _m(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,20,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,am)),Df._17(3,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,om)),Df._17(6,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,rm)),Df._17(9,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._18(10,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,7,"label",[["color","primary"],["float-right",""],["style","font-size: 13px;font-weight: bold"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["Do not know  \n "])),(l()(),Df._18(14,0,null,null,5,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["float-right",""],["formControlName","did_not_know_the_owner"],["style","zoom: 0.9;"]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.toggleVisibility(e.checked,l.parent.parent.context.index,2)&&u}return u},Mw.b,Mw.a)),Df._17(15,1228800,null,0,Kw.a,[Df.p,Xf.a,yy.j,Df.i,[8,null]],{color:[0,"color"]},{change:"change"}),Df._36(1024,null,Jf.q,function(l){return[l]},[Kw.a]),Df._17(17,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(19,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,!e.isDisplay2[n.parent.parent.context.index]);l(n,6,0,e.isOrganisationOwner[n.parent.parent.context.index]);l(n,9,0,e.isDisplay2[n.parent.parent.context.index]);l(n,15,0,"primary");l(n,17,0,"did_not_know_the_owner")},function(l,n){l(n,14,1,[Df._32(n,15).id,Df._32(n,15).checked,Df._32(n,15).disabled,"before"==Df._32(n,15).labelPosition,Df._32(n,19).ngClassUntouched,Df._32(n,19).ngClassTouched,Df._32(n,19).ngClassPristine,Df._32(n,19).ngClassDirty,Df._32(n,19).ngClassValid,Df._32(n,19).ngClassInvalid,Df._32(n,19).ngClassPending])})}function dm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,32,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,20,"div",[["appearance","outline"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(6,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["As per you how long has this business been in operation? "])),(l()(),Df._18(8,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,7,"label",[["color","primary"],["float-right",""],["style","font-size: 13px;font-weight: bold"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["Do not know  \n "])),(l()(),Df._18(12,0,null,null,5,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["float-right",""],["formControlName","did_not_know_the_business_operation"],["style","zoom: 0.9;"]],[[8,"id",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"]],function(l,n,e){var u=!0;if("change"===n){u=!1!==l.component.toggleVisibility(e.checked,l.parent.context.index,1)&&u}return u},Mw.b,Mw.a)),Df._17(13,1228800,null,0,Kw.a,[Df.p,Xf.a,yy.j,Df.i,[8,null]],{color:[0,"color"]},{change:"change"}),Df._36(1024,null,Jf.q,function(l){return[l]},[Kw.a]),Df._17(15,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(17,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,lm)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,nm)),Df._17(23,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,_m)),Df._17(29,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._18(30,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._18(31,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,13,0,"primary");l(n,15,0,"did_not_know_the_business_operation");l(n,20,0,!e.isDisplay[n.parent.context.index]);l(n,23,0,!e.isDisplay[n.parent.context.index]);l(n,29,0,""!=n.parent.context.$implicit.controls.do_know.value)},function(l,n){l(n,12,1,[Df._32(n,13).id,Df._32(n,13).checked,Df._32(n,13).disabled,"before"==Df._32(n,13).labelPosition,Df._32(n,17).ngClassUntouched,Df._32(n,17).ngClassTouched,Df._32(n,17).ngClassPristine,Df._32(n,17).ngClassDirty,Df._32(n,17).ngClassValid,Df._32(n,17).ngClassInvalid,Df._32(n,17).ngClassPending])})}function sm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeneighbourhood(l.parent.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-trash")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function cm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addneighbourhood()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function mm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,87,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(6,null,["Neighbour Details #",""])),(l()(),Df._18(7,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(9,0,null,null,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(10,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","neighbourhood_name"],["matInput",""],["placeholder","Neighbour Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,25)._onInput()&&u}return u},null,null)),Df._17(20,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,Jc)),Df._17(29,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(32,0,null,null,32,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(33,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(42,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","do_know"],["placeholder","Do you know about the applicants or their business?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,46)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,46)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,46)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(43,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(45,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(46,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,16,{options:1}),Df._37(603979776,17,{optionGroups:1}),Df._37(335544320,18,{customTrigger:0}),Df._36(2048,[[9,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(53,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,54)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,54)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(54,8437760,[[16,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(57,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,58)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,58)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(58,8437760,[[16,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,Xc)),Df._17(63,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,dm)),Df._17(67,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(69,0,null,null,17,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(70,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,50,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(73,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(74,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,sm)),Df._17(77,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(80,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(81,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,cm)),Df._17(84,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"neighbourhood_name");l(n,25,0,"Neighbour Name","text");l(n,29,0,(null==n.context.$implicit.controls.neighbourhood_name.errors?null:n.context.$implicit.controls.neighbourhood_name.errors.required)||n.context.$implicit.controls.neighbourhood_name.touched);l(n,43,0,"do_know");l(n,46,0,"Do you know about the applicants or their business?");l(n,54,0,"Yes");l(n,58,0,"No");l(n,63,0,(null==n.context.$implicit.controls.do_know.errors?null:n.context.$implicit.controls.do_know.errors.required)||n.context.$implicit.controls.do_know.touched);l(n,67,0,""!=n.context.$implicit.controls.do_know.value);l(n,77,0,e.neighbourhoodForm.controls.neighbourhood_list.controls.length>1);l(n,84,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,9,1,[Df._32(n,10)._control.errorState,Df._32(n,10)._control.errorState,Df._32(n,10)._canLabelFloat,Df._32(n,10)._shouldLabelFloat(),Df._32(n,10)._hideControlPlaceholder(),Df._32(n,10)._control.disabled,Df._32(n,10)._control.focused,"primary"==Df._32(n,10).color,"accent"==Df._32(n,10).color,"warn"==Df._32(n,10).color,Df._32(n,10)._shouldForward("untouched"),Df._32(n,10)._shouldForward("touched"),Df._32(n,10)._shouldForward("pristine"),Df._32(n,10)._shouldForward("dirty"),Df._32(n,10)._shouldForward("valid"),Df._32(n,10)._shouldForward("invalid"),Df._32(n,10)._shouldForward("pending")]);l(n,19,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25)._isServer,Df._32(n,25).id,Df._32(n,25).placeholder,Df._32(n,25).disabled,Df._32(n,25).required,Df._32(n,25).readonly,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25).errorState,Df._32(n,25).required.toString()]);l(n,32,1,[Df._32(n,33)._control.errorState,Df._32(n,33)._control.errorState,Df._32(n,33)._canLabelFloat,Df._32(n,33)._shouldLabelFloat(),Df._32(n,33)._hideControlPlaceholder(),Df._32(n,33)._control.disabled,Df._32(n,33)._control.focused,"primary"==Df._32(n,33).color,"accent"==Df._32(n,33).color,"warn"==Df._32(n,33).color,Df._32(n,33)._shouldForward("untouched"),Df._32(n,33)._shouldForward("touched"),Df._32(n,33)._shouldForward("pristine"),Df._32(n,33)._shouldForward("dirty"),Df._32(n,33)._shouldForward("valid"),Df._32(n,33)._shouldForward("invalid"),Df._32(n,33)._shouldForward("pending")]);l(n,42,1,[Df._32(n,45).ngClassUntouched,Df._32(n,45).ngClassTouched,Df._32(n,45).ngClassPristine,Df._32(n,45).ngClassDirty,Df._32(n,45).ngClassValid,Df._32(n,45).ngClassInvalid,Df._32(n,45).ngClassPending,Df._32(n,46).id,Df._32(n,46).tabIndex,Df._32(n,46)._ariaLabel,Df._32(n,46).ariaLabelledby,Df._32(n,46).required.toString(),Df._32(n,46).disabled.toString(),Df._32(n,46).errorState,Df._32(n,46).panelOpen?Df._32(n,46)._optionIds:null,Df._32(n,46).multiple,Df._32(n,46)._ariaDescribedby||null,Df._32(n,46)._getAriaActiveDescendant(),Df._32(n,46).disabled,Df._32(n,46).errorState,Df._32(n,46).required]);l(n,53,0,Df._32(n,54)._getTabIndex(),Df._32(n,54).selected,Df._32(n,54).multiple,Df._32(n,54).active,Df._32(n,54).id,Df._32(n,54).selected.toString(),Df._32(n,54).disabled.toString(),Df._32(n,54).disabled);l(n,57,0,Df._32(n,58)._getTabIndex(),Df._32(n,58).selected,Df._32(n,58).multiple,Df._32(n,58).active,Df._32(n,58).id,Df._32(n,58).selected.toString(),Df._32(n,58).disabled.toString(),Df._32(n,58).disabled)})}function pm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,7,"div",[["formArrayName","neighbourhood_list"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(4,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,mm)),Df._17(9,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"neighbourhood_list");l(n,9,0,e.neighbourhoodForm.controls.neighbourhood_list.controls)},function(l,n){l(n,3,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending)})}function fm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,36,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,32,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,51,{_control:0}),Df._37(335544320,52,{_placeholderChild:0}),Df._37(335544320,53,{_labelChild:0}),Df._37(603979776,54,{_errorChildren:1}),Df._37(603979776,55,{_hintChildren:1}),Df._37(603979776,56,{_prefixChildren:1}),Df._37(603979776,57,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","neighbourhood_status"],["placeholder","Status of the check as per PD officer?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,19)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,19)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,19)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(16,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(18,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(19,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,58,{options:1}),Df._37(603979776,59,{optionGroups:1}),Df._37(335544320,60,{customTrigger:0}),Df._36(2048,[[51,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(26,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Positive"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,27)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,27)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(27,8437760,[[58,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Positive"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(30,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Negative"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,31)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,31)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(31,8437760,[[58,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Negative"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,16,0,"neighbourhood_status");l(n,19,0,"Status of the check as per PD officer?");l(n,27,0,"Positive");l(n,31,0,"Negative")},function(l,n){l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,18).ngClassUntouched,Df._32(n,18).ngClassTouched,Df._32(n,18).ngClassPristine,Df._32(n,18).ngClassDirty,Df._32(n,18).ngClassValid,Df._32(n,18).ngClassInvalid,Df._32(n,18).ngClassPending,Df._32(n,19).id,Df._32(n,19).tabIndex,Df._32(n,19)._ariaLabel,Df._32(n,19).ariaLabelledby,Df._32(n,19).required.toString(),Df._32(n,19).disabled.toString(),Df._32(n,19).errorState,Df._32(n,19).panelOpen?Df._32(n,19)._optionIds:null,Df._32(n,19).multiple,Df._32(n,19)._ariaDescribedby||null,Df._32(n,19)._getAriaActiveDescendant(),Df._32(n,19).disabled,Df._32(n,19).errorState,Df._32(n,19).required]);l(n,26,0,Df._32(n,27)._getTabIndex(),Df._32(n,27).selected,Df._32(n,27).multiple,Df._32(n,27).active,Df._32(n,27).id,Df._32(n,27).selected.toString(),Df._32(n,27).disabled.toString(),Df._32(n,27).disabled);l(n,30,0,Df._32(n,31)._getTabIndex(),Df._32(n,31).selected,Df._32(n,31).multiple,Df._32(n,31).active,Df._32(n,31).id,Df._32(n,31).selected.toString(),Df._32(n,31).disabled.toString(),Df._32(n,31).disabled)})}function hm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(1,16384,[[71,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Enter Valid Mobile Number. "]))],null,function(l,n){l(n,0,0,Df._32(n,1).id)})}function gm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"p",[["style","color:red;font-size:12px;margin:0;padding:0;font-weight: normal;float:right"]],null,null,null,null,null)),(l()(),Df._39(-1,null,[" Enter valid Mobile Number"]))],null,null)}function bm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[103,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "])),Df._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.relation_with_business_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent.parent.parent,0),n.context.$implicit.relation_with_business_name)))})}function vm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,106,{_control:0}),Df._37(335544320,107,{_placeholderChild:0}),Df._37(335544320,108,{_labelChild:0}),Df._37(603979776,109,{_errorChildren:1}),Df._37(603979776,110,{_hintChildren:1}),Df._37(603979776,111,{_prefixChildren:1}),Df._37(603979776,112,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others"],["matInput",""],["placeholder","Others"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[106,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others");l(n,16,0,"Others","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function ym(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[141,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "])),Df._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent.parent.parent,0),n.context.$implicit.name)))})}function Cm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,144,{_control:0}),Df._37(335544320,145,{_placeholderChild:0}),Df._37(335544320,146,{_labelChild:0}),Df._37(603979776,147,{_errorChildren:1}),Df._37(603979776,148,{_hintChildren:1}),Df._37(603979776,149,{_prefixChildren:1}),Df._37(603979776,150,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_unit"],["matInput",""],["placeholder","Specify Unit"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[144,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_unit");l(n,16,0,"Specify Unit","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function wm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[158,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Fm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,161,{_control:0}),Df._37(335544320,162,{_placeholderChild:0}),Df._37(335544320,163,{_labelChild:0}),Df._37(603979776,164,{_errorChildren:1}),Df._37(603979776,165,{_hintChildren:1}),Df._37(603979776,166,{_prefixChildren:1}),Df._37(603979776,167,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","specify_final_remark"],["matInput",""],["placeholder","Specify Remarks for PD OFFICER"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[161,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"specify_final_remark");l(n,16,0,"Specify Remarks for PD OFFICER","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function xm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addreferance()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","add-circle")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function Sm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,313,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(5,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(6,null,["Reference Details #",""])),(l()(),Df._18(7,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(9,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(10,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,61,{_control:0}),Df._37(335544320,62,{_placeholderChild:0}),Df._37(335544320,63,{_labelChild:0}),Df._37(603979776,64,{_errorChildren:1}),Df._37(603979776,65,{_hintChildren:1}),Df._37(603979776,66,{_prefixChildren:1}),Df._37(603979776,67,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reference_name"],["matInput",""],["placeholder","Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,25)._onInput()&&u}return u},null,null)),Df._17(20,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[61,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(30,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,68,{_control:0}),Df._37(335544320,69,{_placeholderChild:0}),Df._37(335544320,70,{_labelChild:0}),Df._37(603979776,71,{_errorChildren:1}),Df._37(603979776,72,{_hintChildren:1}),Df._37(603979776,73,{_prefixChildren:1}),Df._37(603979776,74,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(39,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","mobile"],["matInput",""],["placeholder","Mobile Number"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,40)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,40).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,40)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,40)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,41).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,41).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,41).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,46)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,46)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,46)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(40,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(41,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(43,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(45,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(46,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[68,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,5,1,null,hm)),Df._17(50,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,[" \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,gm)),Df._17(54,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(56,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,[" Landline Number"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(59,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(60,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,75,{_control:0}),Df._37(335544320,76,{_placeholderChild:0}),Df._37(335544320,77,{_labelChild:0}),Df._37(603979776,78,{_errorChildren:1}),Df._37(603979776,79,{_hintChildren:1}),Df._37(603979776,80,{_prefixChildren:1}),Df._37(603979776,81,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(69,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","statecode"],["matInput",""],["maxlength","4"],["minlength","2"],["placeholder","Code"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,70)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,70).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,70)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,70)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,71).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,71).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,71).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,79)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,79)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,79)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(70,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(71,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(72,540672,null,0,Jf.o,[],{minlength:[0,"minlength"]},null),Df._17(73,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l,n){return[l,n]},[Jf.o,Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(76,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(78,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(79,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[75,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(83,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(84,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,82,{_control:0}),Df._37(335544320,83,{_placeholderChild:0}),Df._37(335544320,84,{_labelChild:0}),Df._37(603979776,85,{_errorChildren:1}),Df._37(603979776,86,{_hintChildren:1}),Df._37(603979776,87,{_prefixChildren:1}),Df._37(603979776,88,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(93,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","landline"],["matInput",""],["maxlength","8"],["minlength","6"],["placeholder","Number"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,94)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,94).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,94)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,94)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,95).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,95).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,95).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,103)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,103)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,103)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(94,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(95,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(96,540672,null,0,Jf.o,[],{minlength:[0,"minlength"]},null),Df._17(97,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l,n){return[l,n]},[Jf.o,Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(100,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(102,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(103,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[82,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(107,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(108,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,89,{_control:0}),Df._37(335544320,90,{_placeholderChild:0}),Df._37(335544320,91,{_labelChild:0}),Df._37(603979776,92,{_errorChildren:1}),Df._37(603979776,93,{_hintChildren:1}),Df._37(603979776,94,{_prefixChildren:1}),Df._37(603979776,95,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(117,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","location"],["matInput",""],["placeholder","Location"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,118)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,118).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,118)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,118)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,123)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,123)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,123)._onInput()&&u}return u},null,null)),Df._17(118,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(120,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(122,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(123,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[89,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(127,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(128,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,96,{_control:0}),Df._37(335544320,97,{_placeholderChild:0}),Df._37(335544320,98,{_labelChild:0}),Df._37(603979776,99,{_errorChildren:1}),Df._37(603979776,100,{_hintChildren:1}),Df._37(603979776,101,{_prefixChildren:1}),Df._37(603979776,102,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(137,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","relationship_with"],["placeholder","Relation With Business"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,141)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,141)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,141)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(138,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(140,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(141,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,103,{options:1}),Df._37(603979776,104,{optionGroups:1}),Df._37(335544320,105,{customTrigger:0}),Df._36(2048,[[96,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(148,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,149)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,149)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(149,8437760,[[103,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,bm)),Df._17(153,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,vm)),Df._17(158,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(160,0,[["period_paragraph",1]],null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Period of Relationship"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(163,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(164,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,113,{_control:0}),Df._37(335544320,114,{_placeholderChild:0}),Df._37(335544320,115,{_labelChild:0}),Df._37(603979776,116,{_errorChildren:1}),Df._37(603979776,117,{_hintChildren:1}),Df._37(603979776,118,{_prefixChildren:1}),Df._37(603979776,119,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(173,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","year_relation_applicant"],["matInput",""],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,174)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,174).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,174)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,174)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,175).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,175).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,175).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,180)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,180)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,180)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(174,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(175,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(177,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(179,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(180,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[113,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(184,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(185,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,120,{_control:0}),Df._37(335544320,121,{_placeholderChild:0}),Df._37(335544320,122,{_labelChild:0}),Df._37(603979776,123,{_errorChildren:1}),Df._37(603979776,124,{_hintChildren:1}),Df._37(603979776,125,{_prefixChildren:1}),Df._37(603979776,126,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(194,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","months_relation_applicant"],["matInput",""],["placeholder","Month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keypress"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,195)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,195).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,195)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,195)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,196).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,196).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,196).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,201)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,201)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,201)._onInput()&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value,2)&&u}return u},null,null)),Df._17(195,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(196,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(198,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(200,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(201,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[120,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(205,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(206,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,127,{_control:0}),Df._37(335544320,128,{_placeholderChild:0}),Df._37(335544320,129,{_labelChild:0}),Df._37(603979776,130,{_errorChildren:1}),Df._37(603979776,131,{_hintChildren:1}),Df._37(603979776,132,{_prefixChildren:1}),Df._37(603979776,133,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(215,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_volume_amount"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"keypress"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,216)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,216).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,216)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,216)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,221)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,221)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,221)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.context.index)&&u}if("keypress"===n){u=!1!==t.keyPress(e)&&u}return u},null,null)),Df._17(216,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(218,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(220,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(221,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[127,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(226,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(227,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,134,{_control:0}),Df._37(335544320,135,{_placeholderChild:0}),Df._37(335544320,136,{_labelChild:0}),Df._37(603979776,137,{_errorChildren:1}),Df._37(603979776,138,{_hintChildren:1}),Df._37(603979776,139,{_prefixChildren:1}),Df._37(603979776,140,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(236,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","business_volume_unit"],["placeholder","Unit"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,240)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,240)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,240)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(237,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(239,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(240,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,141,{options:1}),Df._37(603979776,142,{optionGroups:1}),Df._37(335544320,143,{customTrigger:0}),Df._36(2048,[[134,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(247,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,248)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,248)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(248,8437760,[[141,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,ym)),Df._17(252,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Cm)),Df._17(257,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(259,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(260,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,151,{_control:0}),Df._37(335544320,152,{_placeholderChild:0}),Df._37(335544320,153,{_labelChild:0}),Df._37(603979776,154,{_errorChildren:1}),Df._37(603979776,155,{_hintChildren:1}),Df._37(603979776,156,{_prefixChildren:1}),Df._37(603979776,157,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(269,0,null,1,17,"mat-select",[["class","mat-select"],["formControlName","reference_final_remarks"],["placeholder","Final remarks of PD officer on Reference Check done"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,273)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,273)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,273)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(270,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(272,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(273,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,158,{options:1}),Df._37(603979776,159,{optionGroups:1}),Df._37(335544320,160,{customTrigger:0}),Df._36(2048,[[151,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(280,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,281)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,281)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(281,8437760,[[158,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,wm)),Df._17(285,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Fm)),Df._17(290,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(292,0,null,null,20,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(293,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,168,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(296,0,null,null,8,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(297,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(299,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removereferance(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(301,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(302,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(306,0,null,null,5,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(307,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,xm)),Df._17(310,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reference_name");l(n,25,0,"Name","text");l(n,43,0,"mobile");l(n,46,0,"Mobile Number","number");l(n,50,0,n.context.$implicit.controls.mobile.hasError("maxlength")||n.context.$implicit.controls.mobile.hasError("minlength"));l(n,54,0,n.context.$implicit.controls.mobile.touched&&n.context.$implicit.controls.mobile.hasError("maxlength")||n.context.$implicit.controls.mobile.hasError("minLength"));l(n,72,0,"2");l(n,73,0,"4");l(n,76,0,"statecode");l(n,79,0,"Code","number");l(n,96,0,"6");l(n,97,0,"8");l(n,100,0,"landline");l(n,103,0,"Number","number");l(n,120,0,"location");l(n,123,0,"Location");l(n,138,0,"relationship_with");l(n,141,0,"Relation With Business");l(n,153,0,e.relationBusiness);l(n,158,0,1==n.context.$implicit.controls.relationship_with.value);l(n,177,0,"year_relation_applicant");l(n,180,0,"Year","number");l(n,198,0,"months_relation_applicant");l(n,201,0,"Month","number");l(n,218,0,"business_volume_amount");l(n,221,0,4==n.context.$implicit.controls.relationship_with.value?"Rent Amount":"Volume of Business","text");l(n,237,0,"business_volume_unit");l(n,240,0,"Unit");l(n,252,0,e.frequency);l(n,257,0,1==n.context.$implicit.controls.business_volume_unit.value);l(n,270,0,"reference_final_remarks");l(n,273,0,"Final remarks of PD officer on Reference Check done");l(n,285,0,e.finalRemarksList);l(n,290,0,""!=n.context.$implicit.controls.reference_final_remarks.value);l(n,302,0,"optblue","md-trash");l(n,310,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,6,0,n.context.index+1);l(n,9,1,[Df._32(n,10)._control.errorState,Df._32(n,10)._control.errorState,Df._32(n,10)._canLabelFloat,Df._32(n,10)._shouldLabelFloat(),Df._32(n,10)._hideControlPlaceholder(),Df._32(n,10)._control.disabled,Df._32(n,10)._control.focused,"primary"==Df._32(n,10).color,"accent"==Df._32(n,10).color,"warn"==Df._32(n,10).color,Df._32(n,10)._shouldForward("untouched"),Df._32(n,10)._shouldForward("touched"),Df._32(n,10)._shouldForward("pristine"),Df._32(n,10)._shouldForward("dirty"),Df._32(n,10)._shouldForward("valid"),Df._32(n,10)._shouldForward("invalid"),Df._32(n,10)._shouldForward("pending")]);l(n,19,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25)._isServer,Df._32(n,25).id,Df._32(n,25).placeholder,Df._32(n,25).disabled,Df._32(n,25).required,Df._32(n,25).readonly,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25).errorState,Df._32(n,25).required.toString()]);l(n,29,1,[Df._32(n,30)._control.errorState,Df._32(n,30)._control.errorState,Df._32(n,30)._canLabelFloat,Df._32(n,30)._shouldLabelFloat(),Df._32(n,30)._hideControlPlaceholder(),Df._32(n,30)._control.disabled,Df._32(n,30)._control.focused,"primary"==Df._32(n,30).color,"accent"==Df._32(n,30).color,"warn"==Df._32(n,30).color,Df._32(n,30)._shouldForward("untouched"),Df._32(n,30)._shouldForward("touched"),Df._32(n,30)._shouldForward("pristine"),Df._32(n,30)._shouldForward("dirty"),Df._32(n,30)._shouldForward("valid"),Df._32(n,30)._shouldForward("invalid"),Df._32(n,30)._shouldForward("pending")]);l(n,39,1,[Df._32(n,45).ngClassUntouched,Df._32(n,45).ngClassTouched,Df._32(n,45).ngClassPristine,Df._32(n,45).ngClassDirty,Df._32(n,45).ngClassValid,Df._32(n,45).ngClassInvalid,Df._32(n,45).ngClassPending,Df._32(n,46)._isServer,Df._32(n,46).id,Df._32(n,46).placeholder,Df._32(n,46).disabled,Df._32(n,46).required,Df._32(n,46).readonly,Df._32(n,46)._ariaDescribedby||null,Df._32(n,46).errorState,Df._32(n,46).required.toString()]);l(n,59,1,[Df._32(n,60)._control.errorState,Df._32(n,60)._control.errorState,Df._32(n,60)._canLabelFloat,Df._32(n,60)._shouldLabelFloat(),Df._32(n,60)._hideControlPlaceholder(),Df._32(n,60)._control.disabled,Df._32(n,60)._control.focused,"primary"==Df._32(n,60).color,"accent"==Df._32(n,60).color,"warn"==Df._32(n,60).color,Df._32(n,60)._shouldForward("untouched"),Df._32(n,60)._shouldForward("touched"),Df._32(n,60)._shouldForward("pristine"),Df._32(n,60)._shouldForward("dirty"),Df._32(n,60)._shouldForward("valid"),Df._32(n,60)._shouldForward("invalid"),Df._32(n,60)._shouldForward("pending")]);l(n,69,1,[Df._32(n,72).minlength?Df._32(n,72).minlength:null,Df._32(n,73).maxlength?Df._32(n,73).maxlength:null,Df._32(n,78).ngClassUntouched,Df._32(n,78).ngClassTouched,Df._32(n,78).ngClassPristine,Df._32(n,78).ngClassDirty,Df._32(n,78).ngClassValid,Df._32(n,78).ngClassInvalid,Df._32(n,78).ngClassPending,Df._32(n,79)._isServer,Df._32(n,79).id,Df._32(n,79).placeholder,Df._32(n,79).disabled,Df._32(n,79).required,Df._32(n,79).readonly,Df._32(n,79)._ariaDescribedby||null,Df._32(n,79).errorState,Df._32(n,79).required.toString()]);l(n,83,1,[Df._32(n,84)._control.errorState,Df._32(n,84)._control.errorState,Df._32(n,84)._canLabelFloat,Df._32(n,84)._shouldLabelFloat(),Df._32(n,84)._hideControlPlaceholder(),Df._32(n,84)._control.disabled,Df._32(n,84)._control.focused,"primary"==Df._32(n,84).color,"accent"==Df._32(n,84).color,"warn"==Df._32(n,84).color,Df._32(n,84)._shouldForward("untouched"),Df._32(n,84)._shouldForward("touched"),Df._32(n,84)._shouldForward("pristine"),Df._32(n,84)._shouldForward("dirty"),Df._32(n,84)._shouldForward("valid"),Df._32(n,84)._shouldForward("invalid"),Df._32(n,84)._shouldForward("pending")]);l(n,93,1,[Df._32(n,96).minlength?Df._32(n,96).minlength:null,Df._32(n,97).maxlength?Df._32(n,97).maxlength:null,Df._32(n,102).ngClassUntouched,Df._32(n,102).ngClassTouched,Df._32(n,102).ngClassPristine,Df._32(n,102).ngClassDirty,Df._32(n,102).ngClassValid,Df._32(n,102).ngClassInvalid,Df._32(n,102).ngClassPending,Df._32(n,103)._isServer,Df._32(n,103).id,Df._32(n,103).placeholder,Df._32(n,103).disabled,Df._32(n,103).required,Df._32(n,103).readonly,Df._32(n,103)._ariaDescribedby||null,Df._32(n,103).errorState,Df._32(n,103).required.toString()]);l(n,107,1,[Df._32(n,108)._control.errorState,Df._32(n,108)._control.errorState,Df._32(n,108)._canLabelFloat,Df._32(n,108)._shouldLabelFloat(),Df._32(n,108)._hideControlPlaceholder(),Df._32(n,108)._control.disabled,Df._32(n,108)._control.focused,"primary"==Df._32(n,108).color,"accent"==Df._32(n,108).color,"warn"==Df._32(n,108).color,Df._32(n,108)._shouldForward("untouched"),Df._32(n,108)._shouldForward("touched"),Df._32(n,108)._shouldForward("pristine"),Df._32(n,108)._shouldForward("dirty"),Df._32(n,108)._shouldForward("valid"),Df._32(n,108)._shouldForward("invalid"),Df._32(n,108)._shouldForward("pending")]);l(n,117,1,[Df._32(n,122).ngClassUntouched,Df._32(n,122).ngClassTouched,Df._32(n,122).ngClassPristine,Df._32(n,122).ngClassDirty,Df._32(n,122).ngClassValid,Df._32(n,122).ngClassInvalid,Df._32(n,122).ngClassPending,Df._32(n,123)._isServer,Df._32(n,123).id,Df._32(n,123).placeholder,Df._32(n,123).disabled,Df._32(n,123).required,Df._32(n,123).readonly,Df._32(n,123)._ariaDescribedby||null,Df._32(n,123).errorState,Df._32(n,123).required.toString()]);l(n,127,1,[Df._32(n,128)._control.errorState,Df._32(n,128)._control.errorState,Df._32(n,128)._canLabelFloat,Df._32(n,128)._shouldLabelFloat(),Df._32(n,128)._hideControlPlaceholder(),Df._32(n,128)._control.disabled,Df._32(n,128)._control.focused,"primary"==Df._32(n,128).color,"accent"==Df._32(n,128).color,"warn"==Df._32(n,128).color,Df._32(n,128)._shouldForward("untouched"),Df._32(n,128)._shouldForward("touched"),Df._32(n,128)._shouldForward("pristine"),Df._32(n,128)._shouldForward("dirty"),Df._32(n,128)._shouldForward("valid"),Df._32(n,128)._shouldForward("invalid"),Df._32(n,128)._shouldForward("pending")]);l(n,137,1,[Df._32(n,140).ngClassUntouched,Df._32(n,140).ngClassTouched,Df._32(n,140).ngClassPristine,Df._32(n,140).ngClassDirty,Df._32(n,140).ngClassValid,Df._32(n,140).ngClassInvalid,Df._32(n,140).ngClassPending,Df._32(n,141).id,Df._32(n,141).tabIndex,Df._32(n,141)._ariaLabel,Df._32(n,141).ariaLabelledby,Df._32(n,141).required.toString(),Df._32(n,141).disabled.toString(),Df._32(n,141).errorState,Df._32(n,141).panelOpen?Df._32(n,141)._optionIds:null,Df._32(n,141).multiple,Df._32(n,141)._ariaDescribedby||null,Df._32(n,141)._getAriaActiveDescendant(),Df._32(n,141).disabled,Df._32(n,141).errorState,Df._32(n,141).required]);l(n,148,0,Df._32(n,149)._getTabIndex(),Df._32(n,149).selected,Df._32(n,149).multiple,Df._32(n,149).active,Df._32(n,149).id,Df._32(n,149).selected.toString(),Df._32(n,149).disabled.toString(),Df._32(n,149).disabled);l(n,163,1,[Df._32(n,164)._control.errorState,Df._32(n,164)._control.errorState,Df._32(n,164)._canLabelFloat,Df._32(n,164)._shouldLabelFloat(),Df._32(n,164)._hideControlPlaceholder(),Df._32(n,164)._control.disabled,Df._32(n,164)._control.focused,"primary"==Df._32(n,164).color,"accent"==Df._32(n,164).color,"warn"==Df._32(n,164).color,Df._32(n,164)._shouldForward("untouched"),Df._32(n,164)._shouldForward("touched"),Df._32(n,164)._shouldForward("pristine"),Df._32(n,164)._shouldForward("dirty"),Df._32(n,164)._shouldForward("valid"),Df._32(n,164)._shouldForward("invalid"),Df._32(n,164)._shouldForward("pending")]);l(n,173,1,[Df._32(n,179).ngClassUntouched,Df._32(n,179).ngClassTouched,Df._32(n,179).ngClassPristine,Df._32(n,179).ngClassDirty,Df._32(n,179).ngClassValid,Df._32(n,179).ngClassInvalid,Df._32(n,179).ngClassPending,Df._32(n,180)._isServer,Df._32(n,180).id,Df._32(n,180).placeholder,Df._32(n,180).disabled,Df._32(n,180).required,Df._32(n,180).readonly,Df._32(n,180)._ariaDescribedby||null,Df._32(n,180).errorState,Df._32(n,180).required.toString()]);l(n,184,1,[Df._32(n,185)._control.errorState,Df._32(n,185)._control.errorState,Df._32(n,185)._canLabelFloat,Df._32(n,185)._shouldLabelFloat(),Df._32(n,185)._hideControlPlaceholder(),Df._32(n,185)._control.disabled,Df._32(n,185)._control.focused,"primary"==Df._32(n,185).color,"accent"==Df._32(n,185).color,"warn"==Df._32(n,185).color,Df._32(n,185)._shouldForward("untouched"),Df._32(n,185)._shouldForward("touched"),Df._32(n,185)._shouldForward("pristine"),Df._32(n,185)._shouldForward("dirty"),Df._32(n,185)._shouldForward("valid"),Df._32(n,185)._shouldForward("invalid"),Df._32(n,185)._shouldForward("pending")]);l(n,194,1,[Df._32(n,200).ngClassUntouched,Df._32(n,200).ngClassTouched,Df._32(n,200).ngClassPristine,Df._32(n,200).ngClassDirty,Df._32(n,200).ngClassValid,Df._32(n,200).ngClassInvalid,Df._32(n,200).ngClassPending,Df._32(n,201)._isServer,Df._32(n,201).id,Df._32(n,201).placeholder,Df._32(n,201).disabled,Df._32(n,201).required,Df._32(n,201).readonly,Df._32(n,201)._ariaDescribedby||null,Df._32(n,201).errorState,Df._32(n,201).required.toString()]);l(n,205,1,[Df._32(n,206)._control.errorState,Df._32(n,206)._control.errorState,Df._32(n,206)._canLabelFloat,Df._32(n,206)._shouldLabelFloat(),Df._32(n,206)._hideControlPlaceholder(),Df._32(n,206)._control.disabled,Df._32(n,206)._control.focused,"primary"==Df._32(n,206).color,"accent"==Df._32(n,206).color,"warn"==Df._32(n,206).color,Df._32(n,206)._shouldForward("untouched"),Df._32(n,206)._shouldForward("touched"),Df._32(n,206)._shouldForward("pristine"),Df._32(n,206)._shouldForward("dirty"),Df._32(n,206)._shouldForward("valid"),Df._32(n,206)._shouldForward("invalid"),Df._32(n,206)._shouldForward("pending")]);l(n,215,1,[Df._32(n,220).ngClassUntouched,Df._32(n,220).ngClassTouched,Df._32(n,220).ngClassPristine,Df._32(n,220).ngClassDirty,Df._32(n,220).ngClassValid,Df._32(n,220).ngClassInvalid,Df._32(n,220).ngClassPending,Df._32(n,221)._isServer,Df._32(n,221).id,Df._32(n,221).placeholder,Df._32(n,221).disabled,Df._32(n,221).required,Df._32(n,221).readonly,Df._32(n,221)._ariaDescribedby||null,Df._32(n,221).errorState,Df._32(n,221).required.toString()]);l(n,226,1,[Df._32(n,227)._control.errorState,Df._32(n,227)._control.errorState,Df._32(n,227)._canLabelFloat,Df._32(n,227)._shouldLabelFloat(),Df._32(n,227)._hideControlPlaceholder(),Df._32(n,227)._control.disabled,Df._32(n,227)._control.focused,"primary"==Df._32(n,227).color,"accent"==Df._32(n,227).color,"warn"==Df._32(n,227).color,Df._32(n,227)._shouldForward("untouched"),Df._32(n,227)._shouldForward("touched"),Df._32(n,227)._shouldForward("pristine"),Df._32(n,227)._shouldForward("dirty"),Df._32(n,227)._shouldForward("valid"),Df._32(n,227)._shouldForward("invalid"),Df._32(n,227)._shouldForward("pending")]);l(n,236,1,[Df._32(n,239).ngClassUntouched,Df._32(n,239).ngClassTouched,Df._32(n,239).ngClassPristine,Df._32(n,239).ngClassDirty,Df._32(n,239).ngClassValid,Df._32(n,239).ngClassInvalid,Df._32(n,239).ngClassPending,Df._32(n,240).id,Df._32(n,240).tabIndex,Df._32(n,240)._ariaLabel,Df._32(n,240).ariaLabelledby,Df._32(n,240).required.toString(),Df._32(n,240).disabled.toString(),Df._32(n,240).errorState,Df._32(n,240).panelOpen?Df._32(n,240)._optionIds:null,Df._32(n,240).multiple,Df._32(n,240)._ariaDescribedby||null,Df._32(n,240)._getAriaActiveDescendant(),Df._32(n,240).disabled,Df._32(n,240).errorState,Df._32(n,240).required]);l(n,247,0,Df._32(n,248)._getTabIndex(),Df._32(n,248).selected,Df._32(n,248).multiple,Df._32(n,248).active,Df._32(n,248).id,Df._32(n,248).selected.toString(),Df._32(n,248).disabled.toString(),Df._32(n,248).disabled);l(n,259,1,[Df._32(n,260)._control.errorState,Df._32(n,260)._control.errorState,Df._32(n,260)._canLabelFloat,Df._32(n,260)._shouldLabelFloat(),Df._32(n,260)._hideControlPlaceholder(),Df._32(n,260)._control.disabled,Df._32(n,260)._control.focused,"primary"==Df._32(n,260).color,"accent"==Df._32(n,260).color,"warn"==Df._32(n,260).color,Df._32(n,260)._shouldForward("untouched"),Df._32(n,260)._shouldForward("touched"),Df._32(n,260)._shouldForward("pristine"),Df._32(n,260)._shouldForward("dirty"),Df._32(n,260)._shouldForward("valid"),Df._32(n,260)._shouldForward("invalid"),Df._32(n,260)._shouldForward("pending")]);l(n,269,1,[Df._32(n,272).ngClassUntouched,Df._32(n,272).ngClassTouched,Df._32(n,272).ngClassPristine,Df._32(n,272).ngClassDirty,Df._32(n,272).ngClassValid,Df._32(n,272).ngClassInvalid,Df._32(n,272).ngClassPending,Df._32(n,273).id,Df._32(n,273).tabIndex,Df._32(n,273)._ariaLabel,Df._32(n,273).ariaLabelledby,Df._32(n,273).required.toString(),Df._32(n,273).disabled.toString(),Df._32(n,273).errorState,Df._32(n,273).panelOpen?Df._32(n,273)._optionIds:null,Df._32(n,273).multiple,Df._32(n,273)._ariaDescribedby||null,Df._32(n,273)._getAriaActiveDescendant(),Df._32(n,273).disabled,Df._32(n,273).errorState,Df._32(n,273).required]);l(n,280,0,Df._32(n,281)._getTabIndex(),Df._32(n,281).selected,Df._32(n,281).multiple,Df._32(n,281).active,Df._32(n,281).id,Df._32(n,281).selected.toString(),Df._32(n,281).disabled.toString(),Df._32(n,281).disabled);l(n,301,0,Df._32(n,302)._hidden)})}function Im(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(3,0,null,0,7,"div",[["formArrayName","referencecheck_list"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(4,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(6,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Sm)),Df._17(9,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){var e=n.component;l(n,4,0,"referencecheck_list");l(n,9,0,e.neighbourhoodForm.controls.referencecheck_list.controls)},function(l,n){l(n,3,0,Df._32(n,6).ngClassUntouched,Df._32(n,6).ngClassTouched,Df._32(n,6).ngClassPristine,Df._32(n,6).ngClassDirty,Df._32(n,6).ngClassValid,Df._32(n,6).ngClassInvalid,Df._32(n,6).ngClassPending)})}function qm(l){return Df._41(0,[Df._33(0,rg.t,[]),(l()(),Df._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,9).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(8,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(9,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(10,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(14,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Qc)),Df._17(18,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(22,0,null,null,52,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,48,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,27).onReset()&&u}return u},null,null)),Df._17(26,16384,null,0,Jf.B,[],null,null),Df._17(27,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(29,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,pm)),Df._17(33,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,fm)),Df._17(36,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._13(16777216,null,null,1,null,Im)),Df._17(39,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(41,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(42,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(44,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(45,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,169,{_control:0}),Df._37(335544320,170,{_placeholderChild:0}),Df._37(335544320,171,{_labelChild:0}),Df._37(603979776,172,{_errorChildren:1}),Df._37(603979776,173,{_hintChildren:1}),Df._37(603979776,174,{_prefixChildren:1}),Df._37(603979776,175,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(54,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","neighbour_reference_remark"],["matInput",""],["name","neighbour_reference_remark"],["placeholder","Remarks"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,55)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,55).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,55)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,55)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,60)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,60)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,60)._onInput()&&u}return u},null,null)),Df._17(55,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(57,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(59,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(60,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[169,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(65,0,null,null,7,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(66,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(68,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.submitData(t.neighbourhoodForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(69,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e.neighbourhoodForm);l(n,33,0,0==e.neighbourhoodForm.get("check_type").value);l(n,36,0,0==e.neighbourhoodForm.controls.check_type.value);l(n,39,0,1==e.neighbourhoodForm.get("check_type").value);l(n,57,0,"neighbour_reference_remark");l(n,60,0,"Remarks","text");l(n,69,0,"optblue","")},function(l,n){l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,7,0,Df._32(n,9).isHidden);l(n,13,0,Df._32(n,14)._hidden);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher);l(n,25,0,Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending);l(n,44,1,[Df._32(n,45)._control.errorState,Df._32(n,45)._control.errorState,Df._32(n,45)._canLabelFloat,Df._32(n,45)._shouldLabelFloat(),Df._32(n,45)._hideControlPlaceholder(),Df._32(n,45)._control.disabled,Df._32(n,45)._control.focused,"primary"==Df._32(n,45).color,"accent"==Df._32(n,45).color,"warn"==Df._32(n,45).color,Df._32(n,45)._shouldForward("untouched"),Df._32(n,45)._shouldForward("touched"),Df._32(n,45)._shouldForward("pristine"),Df._32(n,45)._shouldForward("dirty"),Df._32(n,45)._shouldForward("valid"),Df._32(n,45)._shouldForward("invalid"),Df._32(n,45)._shouldForward("pending")]);l(n,54,1,[Df._32(n,59).ngClassUntouched,Df._32(n,59).ngClassTouched,Df._32(n,59).ngClassPristine,Df._32(n,59).ngClassDirty,Df._32(n,59).ngClassValid,Df._32(n,59).ngClassInvalid,Df._32(n,59).ngClassPending,Df._32(n,60)._isServer,Df._32(n,60).id,Df._32(n,60).placeholder,Df._32(n,60).disabled,Df._32(n,60).required,Df._32(n,60).readonly,Df._32(n,60)._ariaDescribedby||null,Df._32(n,60).errorState,Df._32(n,60).required.toString()])})}function km(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Pm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.customer_behaviour_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.description)})}function Dm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","final_other_customer_behaviour"],["matInput",""],["placeholder","Specify Customer Behaviour"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[12,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"final_other_customer_behaviour");l(n,16,0,"Specify Customer Behaviour")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Tm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[36,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.pdofficer_recommendation_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.pdofficer_recommendation)})}function Om(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,39,{_control:0}),Df._37(335544320,40,{_placeholderChild:0}),Df._37(335544320,41,{_labelChild:0}),Df._37(603979776,42,{_errorChildren:1}),Df._37(603979776,43,{_hintChildren:1}),Df._37(603979776,44,{_prefixChildren:1}),Df._37(603979776,45,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","others_pd_officers_recommendation"],["matInput",""],["placeholder","Specify PD Officers Recommendation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[39,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"others_pd_officers_recommendation");l(n,16,0,"Specify PD Officers Recommendation")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Lm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRecomendationPositive(l.parent.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(5,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"md-trash")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function Am(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRecomendationPositive()&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(5,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"add-circle")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function Vm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,39,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,46,{_control:0}),Df._37(335544320,47,{_placeholderChild:0}),Df._37(335544320,48,{_labelChild:0}),Df._37(603979776,49,{_errorChildren:1}),Df._37(603979776,50,{_hintChildren:1}),Df._37(603979776,51,{_prefixChildren:1}),Df._37(603979776,52,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),Df._17(16,16384,[[47,4]],0,fy.g,[],null,null),(l()(),Df._39(-1,null,["Reason for Marking PD Status as Positive"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_positive"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,25)._onInput()&&u}return u},null,null)),Df._17(20,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],null,null),Df._36(2048,[[46,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(30,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,53,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Lm)),Df._17(34,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Am)),Df._17(37,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reason_for_positive"),l(n,25,0);l(n,34,0,e._finalRemarkForm.get("recommendation_positive").controls.length>1);l(n,37,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,19,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25)._isServer,Df._32(n,25).id,Df._32(n,25).placeholder,Df._32(n,25).disabled,Df._32(n,25).required,Df._32(n,25).readonly,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25).errorState,Df._32(n,25).required.toString()])})}function jm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,7,"div",[["formArrayName","recommendation_positive"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Vm)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,"recommendation_positive");l(n,8,0,e._finalRemarkForm.get("recommendation_positive").controls)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function Nm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRecomendationNegative(l.parent.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(5,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"md-trash")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function Wm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRecomendationNegative()&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(5,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"add-circle")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function Em(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,39,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,54,{_control:0}),Df._37(335544320,55,{_placeholderChild:0}),Df._37(335544320,56,{_labelChild:0}),Df._37(603979776,57,{_errorChildren:1}),Df._37(603979776,58,{_hintChildren:1}),Df._37(603979776,59,{_prefixChildren:1}),Df._37(603979776,60,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),Df._17(16,16384,[[55,4]],0,fy.g,[],null,null),(l()(),Df._39(-1,null,["Reasons for marking PD status as Negative"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_negative"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,25)._onInput()&&u}return u},null,null)),Df._17(20,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],null,null),Df._36(2048,[[54,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(30,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,61,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Nm)),Df._17(34,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Wm)),Df._17(37,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reason_for_negative"),l(n,25,0);l(n,34,0,e._finalRemarkForm.get("recommendation_negative").controls.length>1);l(n,37,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,19,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25)._isServer,Df._32(n,25).id,Df._32(n,25).placeholder,Df._32(n,25).disabled,Df._32(n,25).required,Df._32(n,25).readonly,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25).errorState,Df._32(n,25).required.toString()])})}function Rm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,7,"div",[["formArrayName","recommendation_negative"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Em)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,"recommendation_negative");l(n,8,0,e._finalRemarkForm.get("recommendation_negative").controls)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function Um(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeRecomendationCreditRefer(l.parent.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(5,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"md-trash")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function $m(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addRecomendationCreditRefer()&&u}return u},Vy.b,Vy.a)),Df._17(4,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._18(5,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"optblue","");l(n,6,0,"add-circle")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function Bm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,39,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,62,{_control:0}),Df._37(335544320,63,{_placeholderChild:0}),Df._37(335544320,64,{_labelChild:0}),Df._37(603979776,65,{_errorChildren:1}),Df._37(603979776,66,{_hintChildren:1}),Df._37(603979776,67,{_prefixChildren:1}),Df._37(603979776,68,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),Df._17(16,16384,[[63,4]],0,fy.g,[],null,null),(l()(),Df._39(-1,null,["Reasons for marking PD status as Refer to Credit"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","reason_for_refer_to_credit"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,20)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,20).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,20)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,20)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,25)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,25)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,25)._onInput()&&u}return u},null,null)),Df._17(20,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(22,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(24,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(25,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],null,null),Df._36(2048,[[62,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(29,0,null,null,9,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(30,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,69,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Um)),Df._17(34,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,$m)),Df._17(37,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,22,0,"reason_for_refer_to_credit"),l(n,25,0);l(n,34,0,e._finalRemarkForm.get("recommendation_refer_to_credit").controls.length>1);l(n,37,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,19,1,[Df._32(n,24).ngClassUntouched,Df._32(n,24).ngClassTouched,Df._32(n,24).ngClassPristine,Df._32(n,24).ngClassDirty,Df._32(n,24).ngClassValid,Df._32(n,24).ngClassInvalid,Df._32(n,24).ngClassPending,Df._32(n,25)._isServer,Df._32(n,25).id,Df._32(n,25).placeholder,Df._32(n,25).disabled,Df._32(n,25).required,Df._32(n,25).readonly,Df._32(n,25)._ariaDescribedby||null,Df._32(n,25).errorState,Df._32(n,25).required.toString()])})}function Mm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,10,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,7,"div",[["formArrayName","recommendation_refer_to_credit"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Bm)),Df._17(8,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,3,0,"recommendation_refer_to_credit");l(n,8,0,e._finalRemarkForm.get("recommendation_refer_to_credit").controls)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending)})}function Km(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(1,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(7,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,9).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(8,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(9,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(10,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(13,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(14,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,km)),Df._17(18,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(22,0,null,null,188,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._18(25,0,null,1,184,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,27).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,27).onReset()&&u}return u},null,null)),Df._17(26,16384,null,0,Jf.B,[],null,null),Df._17(27,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(29,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(31,0,null,null,35,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(32,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(34,0,null,0,31,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(35,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","final_custormer_remark_type"],["placeholder","Customer Behaviour"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,52)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,52)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,52)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(49,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(51,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(52,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Pm)),Df._17(59,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Dm)),Df._17(64,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(68,0,null,null,102,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(69,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(71,0,null,0,2,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(72,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n Location\n "])),(l()(),Df._18(74,0,null,0,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(76,0,null,0,93,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(77,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(79,0,null,null,44,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(80,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(89,0,null,2,2,"mat-placeholder",[],null,null,null,null,null)),Df._17(90,16384,[[20,4]],0,fy.g,[],null,null),(l()(),Df._39(-1,null,["Is the location of the business / profession suited to the nature of business / service provided? "])),(l()(),Df._18(92,0,null,1,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(94,0,null,1,28,"mat-select",[["class","mat-select"],["formControlName","is_service_provided"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,100)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,100)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,100)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(95,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(97,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(99,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(100,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{required:[0,"required"]},null),Df._37(603979776,26,{options:1}),Df._37(603979776,27,{optionGroups:1}),Df._37(335544320,28,{customTrigger:0}),Df._36(2048,[[19,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(107,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,108)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,108)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(108,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._18(111,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","well_suited."]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,112)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,112)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(112,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Well Suited."])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(115,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","fairly_suited"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,116)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,116)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(116,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Fairly Suited"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(119,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","not_suited"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,120)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,120)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(120,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Not Suited"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(125,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(126,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,29,{_control:0}),Df._37(335544320,30,{_placeholderChild:0}),Df._37(335544320,31,{_labelChild:0}),Df._37(603979776,32,{_errorChildren:1}),Df._37(603979776,33,{_hintChildren:1}),Df._37(603979776,34,{_prefixChildren:1}),Df._37(603979776,35,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(135,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","pd_officers_recommendation"],["placeholder","PD Officers Recommendation"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,141)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,141)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,141)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.RecommendationChange(e.value)&&u}return u},TC.b,TC.a)),Df._17(136,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(138,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(140,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(141,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,36,{options:1}),Df._37(603979776,37,{optionGroups:1}),Df._37(335544320,38,{customTrigger:0}),Df._36(2048,[[29,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(148,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,149)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,149)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(149,8437760,[[36,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],null,null),(l()(),Df._39(-1,0,["Select"])),(l()(),Df._39(-1,1,[" \n "])),(l()(),Df._13(16777216,null,1,1,null,Tm)),Df._17(153,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Om)),Df._17(158,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._13(16777216,null,null,1,null,jm)),Df._17(161,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._13(16777216,null,null,1,null,Rm)),Df._17(164,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._13(16777216,null,null,1,null,Mm)),Df._17(167,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(172,0,null,null,28,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(173,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(175,0,null,0,24,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(176,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,70,{_control:0}),Df._37(335544320,71,{_placeholderChild:0}),Df._37(335544320,72,{_labelChild:0}),Df._37(603979776,73,{_errorChildren:1}),Df._37(603979776,74,{_hintChildren:1}),Df._37(603979776,75,{_prefixChildren:1}),Df._37(603979776,76,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(185,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(186,16384,[[72,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(189,0,null,1,9,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","final_form_remarks"],["matInput",""],["placeholder","Remarks"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,190)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,190).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,190)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,190)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,197)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,197)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,197)._onInput()&&u}return u},null,null)),Df._17(190,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(191,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(194,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(196,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(197,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Df._36(2048,[[70,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(202,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(203,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(205,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""],["type","submit"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.saveFinalRemark()&&u}return u},Vy.b,Vy.a)),Df._17(206,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,"");l(n,14,0,"menu");l(n,18,0,!e.viewchange);l(n,27,0,e._finalRemarkForm);l(n,49,0,"final_custormer_remark_type");l(n,52,0,"Customer Behaviour");l(n,59,0,e.m_remarkTypeCustomerBehaviour);l(n,64,0,1==e._finalRemarkForm.controls.final_custormer_remark_type.value);l(n,95,0,"");l(n,97,0,"is_service_provided");l(n,100,0,"");l(n,112,0,"well_suited.");l(n,116,0,"fairly_suited");l(n,120,0,"not_suited");l(n,136,0,"");l(n,138,0,"pd_officers_recommendation");l(n,141,0,"PD Officers Recommendation","");l(n,153,0,e.m_recommendationList);l(n,158,0,1==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,161,0,2==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,164,0,3==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,167,0,4==e._finalRemarkForm.controls.pd_officers_recommendation.value);l(n,191,0,"");l(n,194,0,"final_form_remarks");l(n,197,0,"Remarks","");l(n,206,0,"optblue","")},function(l,n){l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,7,0,Df._32(n,9).isHidden);l(n,13,0,Df._32(n,14)._hidden);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher);l(n,25,0,Df._32(n,29).ngClassUntouched,Df._32(n,29).ngClassTouched,Df._32(n,29).ngClassPristine,Df._32(n,29).ngClassDirty,Df._32(n,29).ngClassValid,Df._32(n,29).ngClassInvalid,Df._32(n,29).ngClassPending);l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,1,[Df._32(n,51).ngClassUntouched,Df._32(n,51).ngClassTouched,Df._32(n,51).ngClassPristine,Df._32(n,51).ngClassDirty,Df._32(n,51).ngClassValid,Df._32(n,51).ngClassInvalid,Df._32(n,51).ngClassPending,Df._32(n,52).id,Df._32(n,52).tabIndex,Df._32(n,52)._ariaLabel,Df._32(n,52).ariaLabelledby,Df._32(n,52).required.toString(),Df._32(n,52).disabled.toString(),Df._32(n,52).errorState,Df._32(n,52).panelOpen?Df._32(n,52)._optionIds:null,Df._32(n,52).multiple,Df._32(n,52)._ariaDescribedby||null,Df._32(n,52)._getAriaActiveDescendant(),Df._32(n,52).disabled,Df._32(n,52).errorState,Df._32(n,52).required]);l(n,79,1,[Df._32(n,80)._control.errorState,Df._32(n,80)._control.errorState,Df._32(n,80)._canLabelFloat,Df._32(n,80)._shouldLabelFloat(),Df._32(n,80)._hideControlPlaceholder(),Df._32(n,80)._control.disabled,Df._32(n,80)._control.focused,"primary"==Df._32(n,80).color,"accent"==Df._32(n,80).color,"warn"==Df._32(n,80).color,Df._32(n,80)._shouldForward("untouched"),Df._32(n,80)._shouldForward("touched"),Df._32(n,80)._shouldForward("pristine"),Df._32(n,80)._shouldForward("dirty"),Df._32(n,80)._shouldForward("valid"),Df._32(n,80)._shouldForward("invalid"),Df._32(n,80)._shouldForward("pending")]);l(n,94,1,[Df._32(n,95).required?"":null,Df._32(n,99).ngClassUntouched,Df._32(n,99).ngClassTouched,Df._32(n,99).ngClassPristine,Df._32(n,99).ngClassDirty,Df._32(n,99).ngClassValid,Df._32(n,99).ngClassInvalid,Df._32(n,99).ngClassPending,Df._32(n,100).id,Df._32(n,100).tabIndex,Df._32(n,100)._ariaLabel,Df._32(n,100).ariaLabelledby,Df._32(n,100).required.toString(),Df._32(n,100).disabled.toString(),Df._32(n,100).errorState,Df._32(n,100).panelOpen?Df._32(n,100)._optionIds:null,Df._32(n,100).multiple,Df._32(n,100)._ariaDescribedby||null,Df._32(n,100)._getAriaActiveDescendant(),Df._32(n,100).disabled,Df._32(n,100).errorState,Df._32(n,100).required]);l(n,107,0,Df._32(n,108)._getTabIndex(),Df._32(n,108).selected,Df._32(n,108).multiple,Df._32(n,108).active,Df._32(n,108).id,Df._32(n,108).selected.toString(),Df._32(n,108).disabled.toString(),Df._32(n,108).disabled);l(n,111,0,Df._32(n,112)._getTabIndex(),Df._32(n,112).selected,Df._32(n,112).multiple,Df._32(n,112).active,Df._32(n,112).id,Df._32(n,112).selected.toString(),Df._32(n,112).disabled.toString(),Df._32(n,112).disabled);l(n,115,0,Df._32(n,116)._getTabIndex(),Df._32(n,116).selected,Df._32(n,116).multiple,Df._32(n,116).active,Df._32(n,116).id,Df._32(n,116).selected.toString(),Df._32(n,116).disabled.toString(),Df._32(n,116).disabled);l(n,119,0,Df._32(n,120)._getTabIndex(),Df._32(n,120).selected,Df._32(n,120).multiple,Df._32(n,120).active,Df._32(n,120).id,Df._32(n,120).selected.toString(),Df._32(n,120).disabled.toString(),Df._32(n,120).disabled);l(n,125,1,[Df._32(n,126)._control.errorState,Df._32(n,126)._control.errorState,Df._32(n,126)._canLabelFloat,Df._32(n,126)._shouldLabelFloat(),Df._32(n,126)._hideControlPlaceholder(),Df._32(n,126)._control.disabled,Df._32(n,126)._control.focused,"primary"==Df._32(n,126).color,"accent"==Df._32(n,126).color,"warn"==Df._32(n,126).color,Df._32(n,126)._shouldForward("untouched"),Df._32(n,126)._shouldForward("touched"),Df._32(n,126)._shouldForward("pristine"),Df._32(n,126)._shouldForward("dirty"),Df._32(n,126)._shouldForward("valid"),Df._32(n,126)._shouldForward("invalid"),Df._32(n,126)._shouldForward("pending")]);l(n,135,1,[Df._32(n,136).required?"":null,Df._32(n,140).ngClassUntouched,Df._32(n,140).ngClassTouched,Df._32(n,140).ngClassPristine,Df._32(n,140).ngClassDirty,Df._32(n,140).ngClassValid,Df._32(n,140).ngClassInvalid,Df._32(n,140).ngClassPending,Df._32(n,141).id,Df._32(n,141).tabIndex,Df._32(n,141)._ariaLabel,Df._32(n,141).ariaLabelledby,Df._32(n,141).required.toString(),Df._32(n,141).disabled.toString(),Df._32(n,141).errorState,Df._32(n,141).panelOpen?Df._32(n,141)._optionIds:null,Df._32(n,141).multiple,Df._32(n,141)._ariaDescribedby||null,Df._32(n,141)._getAriaActiveDescendant(),Df._32(n,141).disabled,Df._32(n,141).errorState,Df._32(n,141).required]);l(n,148,0,Df._32(n,149)._getTabIndex(),Df._32(n,149).selected,Df._32(n,149).multiple,Df._32(n,149).active,Df._32(n,149).id,Df._32(n,149).selected.toString(),Df._32(n,149).disabled.toString(),Df._32(n,149).disabled);l(n,175,1,[Df._32(n,176)._control.errorState,Df._32(n,176)._control.errorState,Df._32(n,176)._canLabelFloat,Df._32(n,176)._shouldLabelFloat(),Df._32(n,176)._hideControlPlaceholder(),Df._32(n,176)._control.disabled,Df._32(n,176)._control.focused,"primary"==Df._32(n,176).color,"accent"==Df._32(n,176).color,"warn"==Df._32(n,176).color,Df._32(n,176)._shouldForward("untouched"),Df._32(n,176)._shouldForward("touched"),Df._32(n,176)._shouldForward("pristine"),Df._32(n,176)._shouldForward("dirty"),Df._32(n,176)._shouldForward("valid"),Df._32(n,176)._shouldForward("invalid"),Df._32(n,176)._shouldForward("pending")]);l(n,189,1,[Df._32(n,191).required?"":null,Df._32(n,196).ngClassUntouched,Df._32(n,196).ngClassTouched,Df._32(n,196).ngClassPristine,Df._32(n,196).ngClassDirty,Df._32(n,196).ngClassValid,Df._32(n,196).ngClassInvalid,Df._32(n,196).ngClassPending,Df._32(n,197)._isServer,Df._32(n,197).id,Df._32(n,197).placeholder,Df._32(n,197).disabled,Df._32(n,197).required,Df._32(n,197).readonly,Df._32(n,197)._ariaDescribedby||null,Df._32(n,197).errorState,Df._32(n,197).required.toString()])})}function Hm(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(7,0,null,3,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(8,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(9,0,["",""])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(13,0,null,null,2,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(14,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){l(n,5,0,"optblue")},function(l,n){var e=n.component;l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,9,0,e.FormId.form_name);l(n,13,0,Df._32(n,14).statusbarPadding,Df._32(n,14)._hasRefresher)})}function Gm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.FormId.form_name)})}function Ym(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"span",[["class","ribbon answered"]],null,null,null,null,null)),(l()(),Df._18(1,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.index+1)})}function zm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"span",[["class","ribbon notanswered"]],null,null,null,null,null)),(l()(),Df._18(1,0,null,null,1,"span",[],null,null,null,null,null)),(l()(),Df._39(2,null,["",""]))],null,function(l,n){l(n,2,0,n.parent.context.index+1)})}function Qm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,15,"mat-card",[["class","item-ribbon mat-card"]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.OnSelectBusinessGroupForms(l.context.$implicit,l.parent.context.$implicit)&&u}return u},dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Ym)),Df._17(5,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,zm)),Df._17(8,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(10,0,null,0,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(13,null,["",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,5,0,n.context.$implicit.isAnswered);l(n,8,0,!n.context.$implicit.isAnswered)},function(l,n){l(n,13,0,n.context.$implicit.form_name)})}function Jm(l){return Df._41(0,[(l()(),Df._18(0,16777216,null,null,18,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,QC.d,QC.a)),Df._36(6144,null,hy.F,null,[zC.c]),Df._17(2,278528,null,0,rg.h,[Df.B,Df.C,Df.p,Df.P],{ngClass:[0,"ngClass"]},null),Df._17(3,1753088,null,1,zC.c,[[2,zC.a],Df.i,aC.d,Df._1],null,null),Df._37(335544320,1,{_lazyContent:0}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(6,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,7)._toggle()&&u}if("keydown"===n){u=!1!==Df._32(l,7)._keydown(e)&&u}return u},QC.c,QC.b)),Df._17(7,180224,null,0,zC.e,[zC.c,Df.p,yy.j,Df.i],null,null),Df._34(8,{collapsedHeight:0,expandedHeight:1}),Df._34(9,{value:0,params:1}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(11,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Df._17(12,16384,null,0,zC.f,[],null,null),(l()(),Df._39(13,null,["\n ","\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Qm)),Df._17(17,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(0,null,null,0))],function(l,n){var e=n.component;l(n,2,0,e.grossAccess?"":e.expanded);l(n,17,0,n.context.$implicit.form_status)},function(l,n){l(n,0,0,Df._32(n,3).expanded,Df._32(n,3)._hasSpacing());l(n,6,0,Df._32(n,7).panel._headerId,Df._32(n,7).panel.disabled?-1:0,Df._32(n,7)._getPanelId(),Df._32(n,7)._isExpanded(),Df._32(n,7).panel.disabled,Df._32(n,7)._isExpanded(),l(n,9,0,Df._32(n,7)._getExpandedState(),l(n,8,0,Df._32(n,7).collapsedHeight,Df._32(n,7).expandedHeight)));l(n,13,0,n.context.$implicit.company_name)})}function Xm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Df._17(1,16384,null,0,zC.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Jm)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.existCompanyList)},null)}function Zm(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(2,0,null,null,2,"p",[],null,null,null,null,null)),(l()(),Df._18(3,0,null,null,1,"strong",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Business Related Information is Not Available.Please Check General Information"])),(l()(),Df._39(-1,null,["\n \n "]))],null,null)}function lp(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Gm)),Df._17(9,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(13,0,null,null,8,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(14,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Xm)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Zm)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,9,0,!e.viewchange);l(n,17,0,e.waitLoading&&e.existCompanyList.length>0);l(n,20,0,0==e.waitLoading&&0==e.existCompanyList.length)},function(l,n){l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,13,0,Df._32(n,14).statusbarPadding,Df._32(n,14)._hasRefresher)})}function np(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(2,0,["",""]))],null,function(l,n){l(n,2,0,n.component.formDetails.form_name)})}function ep(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"span",[],null,null,null,null,null)),(l()(),Df._39(1,null,["",""])),Df._35(2,1)],null,function(l,n){l(n,1,0,Df._40(n,1,0,l(n,2,0,Df._32(n.parent.parent.parent,0),n.parent.context.$implicit.get("address_label").value)))})}function up(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_pd_visited_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[36,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_pd_visited_remark");l(n,16,0,"Remarks")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function tp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[57,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.RentAmtInwordsForAddress[n.parent.parent.parent.parent.context.index])})}function ap(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,53,{_control:0}),Df._37(335544320,54,{_placeholderChild:0}),Df._37(335544320,55,{_labelChild:0}),Df._37(603979776,56,{_errorChildren:1}),Df._37(603979776,57,{_hintChildren:1}),Df._37(603979776,58,{_prefixChildren:1}),Df._37(603979776,59,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_monthly_rented_amt"],["matInput",""],["placeholder","Monthly Rent Amount"],["type","numbers"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.parent.parent.context.index,9)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[53,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,tp)),Df._17(20,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(22,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(23,16384,[[56,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Monthly Rent Amount Required"])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_monthly_rented_amt");l(n,16,0,"Monthly Rent Amount","numbers");l(n,20,0,""!=n.parent.parent.parent.context.$implicit.get("business_monthly_rented_amt").value)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()]);l(n,22,0,Df._32(n,23).id)})}function ip(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[64,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.appxMarketAmtInwordsForAddress[n.parent.parent.parent.parent.context.index])})}function op(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[74,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function rp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,DC.d,DC.a)),Df._17(1,49152,[[75,4]],0,hy.s,[],{label:[0,"label"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,0,1,null,op)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,Df._32(n,1).disabled,Df._32(n,1).disabled.toString(),Df._32(n,1)._labelId)})}function _p(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width:100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,77,{_control:0}),Df._37(335544320,78,{_placeholderChild:0}),Df._37(335544320,79,{_labelChild:0}),Df._37(603979776,80,{_errorChildren:1}),Df._37(603979776,81,{_hintChildren:1}),Df._37(603979776,82,{_prefixChildren:1}),Df._37(603979776,83,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_name_of_the_other_owner"],["matInput",""],["placeholder","Specify Asset Owned Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[77,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_name_of_the_other_owner");l(n,16,0,"Specify Asset Owned Name")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function dp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,119,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(4,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(5,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,60,{_control:0}),Df._37(335544320,61,{_placeholderChild:0}),Df._37(335544320,62,{_labelChild:0}),Df._37(603979776,63,{_errorChildren:1}),Df._37(603979776,64,{_hintChildren:1}),Df._37(603979776,65,{_prefixChildren:1}),Df._37(603979776,66,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(14,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_approximate_market_value"],["matInput",""],["placeholder","Approximate Market Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,15)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,15).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,15)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,15)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,16).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,16).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,21)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,21)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,21)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.parent.parent.context.index,10)&&u}return u},null,null)),Df._17(15,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(16,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(18,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(20,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(21,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[60,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,ip)),Df._17(25,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(28,0,null,null,28,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(29,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,67,{_control:0}),Df._37(335544320,68,{_placeholderChild:0}),Df._37(335544320,69,{_labelChild:0}),Df._37(603979776,70,{_errorChildren:1}),Df._37(603979776,71,{_hintChildren:1}),Df._37(603979776,72,{_prefixChildren:1}),Df._37(603979776,73,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(38,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","business_name_of_the_owner"],["multiple",""],["placeholder","Asset Owned by"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,43)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.parent.parent.context.$implicit,8)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(40,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(42,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(43,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),Df._37(603979776,74,{options:1}),Df._37(603979776,75,{optionGroups:1}),Df._37(335544320,76,{customTrigger:0}),Df._36(2048,[[67,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,rp)),Df._17(50,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(53,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(54,16384,[[70,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Asset Owned by Required"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,_p)),Df._17(61,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(64,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(65,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,84,{_control:0}),Df._37(335544320,85,{_placeholderChild:0}),Df._37(335544320,86,{_labelChild:0}),Df._37(603979776,87,{_errorChildren:1}),Df._37(603979776,88,{_hintChildren:1}),Df._37(603979776,89,{_prefixChildren:1}),Df._37(603979776,90,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(74,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(75,16384,[[86,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Approx Vintage"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(78,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_vintage"],["matInput",""],["maxlength","3"],["minlength","1"],["placeholder","eg.999"],["type","numbers"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,79)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,79).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,79)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,79)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,87)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,87)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,87)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.parent.parent.context.index,3)&&u}return u},null,null)),Df._17(79,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(80,540672,null,0,Jf.o,[],{minlength:[0,"minlength"]},null),Df._17(81,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l,n){return[l,n]},[Jf.o,Jf.n]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(84,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(86,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(87,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[84,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(92,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(93,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,91,{_control:0}),Df._37(335544320,92,{_placeholderChild:0}),Df._37(335544320,93,{_labelChild:0}),Df._37(603979776,94,{_errorChildren:1}),Df._37(603979776,95,{_hintChildren:1}),Df._37(603979776,96,{_prefixChildren:1}),Df._37(603979776,97,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(102,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(103,16384,[[93,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Purchase Year"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(106,0,null,1,10,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_purchase_year"],["matInput",""],["maxlength","4"],["minlength","4"],["placeholder","YYYY eg.2018"],["type","numbers"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,107)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,107).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,107)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,107)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,115)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,115)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,115)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.parent.parent.context.index,4)&&u}return u},null,null)),Df._17(107,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(108,540672,null,0,Jf.o,[],{minlength:[0,"minlength"]},null),Df._17(109,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l,n){return[l,n]},[Jf.o,Jf.n]),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(112,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(114,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(115,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[91,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,18,0,"business_approximate_market_value");l(n,21,0,"Approximate Market Value","number");l(n,25,0,""!=n.parent.parent.parent.context.$implicit.get("business_approximate_market_value").value);l(n,40,0,"business_name_of_the_owner");l(n,43,0,"Asset Owned by","",e.compareObjects);l(n,50,0,e.mergeCompanyApplicant);l(n,61,0,e.isOtherOwnerForAddress);l(n,80,0,"1");l(n,81,0,"3");l(n,84,0,"business_vintage");l(n,87,0,"eg.999","numbers");l(n,108,0,"4");l(n,109,0,"4");l(n,112,0,"business_purchase_year");l(n,115,0,"YYYY eg.2018","numbers")},function(l,n){l(n,4,1,[Df._32(n,5)._control.errorState,Df._32(n,5)._control.errorState,Df._32(n,5)._canLabelFloat,Df._32(n,5)._shouldLabelFloat(),Df._32(n,5)._hideControlPlaceholder(),Df._32(n,5)._control.disabled,Df._32(n,5)._control.focused,"primary"==Df._32(n,5).color,"accent"==Df._32(n,5).color,"warn"==Df._32(n,5).color,Df._32(n,5)._shouldForward("untouched"),Df._32(n,5)._shouldForward("touched"),Df._32(n,5)._shouldForward("pristine"),Df._32(n,5)._shouldForward("dirty"),Df._32(n,5)._shouldForward("valid"),Df._32(n,5)._shouldForward("invalid"),Df._32(n,5)._shouldForward("pending")]);l(n,14,1,[Df._32(n,20).ngClassUntouched,Df._32(n,20).ngClassTouched,Df._32(n,20).ngClassPristine,Df._32(n,20).ngClassDirty,Df._32(n,20).ngClassValid,Df._32(n,20).ngClassInvalid,Df._32(n,20).ngClassPending,Df._32(n,21)._isServer,Df._32(n,21).id,Df._32(n,21).placeholder,Df._32(n,21).disabled,Df._32(n,21).required,Df._32(n,21).readonly,Df._32(n,21)._ariaDescribedby||null,Df._32(n,21).errorState,Df._32(n,21).required.toString()]);l(n,28,1,[Df._32(n,29)._control.errorState,Df._32(n,29)._control.errorState,Df._32(n,29)._canLabelFloat,Df._32(n,29)._shouldLabelFloat(),Df._32(n,29)._hideControlPlaceholder(),Df._32(n,29)._control.disabled,Df._32(n,29)._control.focused,"primary"==Df._32(n,29).color,"accent"==Df._32(n,29).color,"warn"==Df._32(n,29).color,Df._32(n,29)._shouldForward("untouched"),Df._32(n,29)._shouldForward("touched"),Df._32(n,29)._shouldForward("pristine"),Df._32(n,29)._shouldForward("dirty"),Df._32(n,29)._shouldForward("valid"),Df._32(n,29)._shouldForward("invalid"),Df._32(n,29)._shouldForward("pending")]);l(n,38,1,[Df._32(n,42).ngClassUntouched,Df._32(n,42).ngClassTouched,Df._32(n,42).ngClassPristine,Df._32(n,42).ngClassDirty,Df._32(n,42).ngClassValid,Df._32(n,42).ngClassInvalid,Df._32(n,42).ngClassPending,Df._32(n,43).id,Df._32(n,43).tabIndex,Df._32(n,43)._ariaLabel,Df._32(n,43).ariaLabelledby,Df._32(n,43).required.toString(),Df._32(n,43).disabled.toString(),Df._32(n,43).errorState,Df._32(n,43).panelOpen?Df._32(n,43)._optionIds:null,Df._32(n,43).multiple,Df._32(n,43)._ariaDescribedby||null,Df._32(n,43)._getAriaActiveDescendant(),Df._32(n,43).disabled,Df._32(n,43).errorState,Df._32(n,43).required]);l(n,53,0,Df._32(n,54).id);l(n,64,1,[Df._32(n,65)._control.errorState,Df._32(n,65)._control.errorState,Df._32(n,65)._canLabelFloat,Df._32(n,65)._shouldLabelFloat(),Df._32(n,65)._hideControlPlaceholder(),Df._32(n,65)._control.disabled,Df._32(n,65)._control.focused,"primary"==Df._32(n,65).color,"accent"==Df._32(n,65).color,"warn"==Df._32(n,65).color,Df._32(n,65)._shouldForward("untouched"),Df._32(n,65)._shouldForward("touched"),Df._32(n,65)._shouldForward("pristine"),Df._32(n,65)._shouldForward("dirty"),Df._32(n,65)._shouldForward("valid"),Df._32(n,65)._shouldForward("invalid"),Df._32(n,65)._shouldForward("pending")]);l(n,78,1,[Df._32(n,80).minlength?Df._32(n,80).minlength:null,Df._32(n,81).maxlength?Df._32(n,81).maxlength:null,Df._32(n,86).ngClassUntouched,Df._32(n,86).ngClassTouched,Df._32(n,86).ngClassPristine,Df._32(n,86).ngClassDirty,Df._32(n,86).ngClassValid,Df._32(n,86).ngClassInvalid,Df._32(n,86).ngClassPending,Df._32(n,87)._isServer,Df._32(n,87).id,Df._32(n,87).placeholder,Df._32(n,87).disabled,Df._32(n,87).required,Df._32(n,87).readonly,Df._32(n,87)._ariaDescribedby||null,Df._32(n,87).errorState,Df._32(n,87).required.toString()]);l(n,92,1,[Df._32(n,93)._control.errorState,Df._32(n,93)._control.errorState,Df._32(n,93)._canLabelFloat,Df._32(n,93)._shouldLabelFloat(),Df._32(n,93)._hideControlPlaceholder(),Df._32(n,93)._control.disabled,Df._32(n,93)._control.focused,"primary"==Df._32(n,93).color,"accent"==Df._32(n,93).color,"warn"==Df._32(n,93).color,Df._32(n,93)._shouldForward("untouched"),Df._32(n,93)._shouldForward("touched"),Df._32(n,93)._shouldForward("pristine"),Df._32(n,93)._shouldForward("dirty"),Df._32(n,93)._shouldForward("valid"),Df._32(n,93)._shouldForward("invalid"),Df._32(n,93)._shouldForward("pending")]);l(n,106,1,[Df._32(n,108).minlength?Df._32(n,108).minlength:null,Df._32(n,109).maxlength?Df._32(n,109).maxlength:null,Df._32(n,114).ngClassUntouched,Df._32(n,114).ngClassTouched,Df._32(n,114).ngClassPristine,Df._32(n,114).ngClassDirty,Df._32(n,114).ngClassValid,Df._32(n,114).ngClassInvalid,Df._32(n,114).ngClassPending,Df._32(n,115)._isServer,Df._32(n,115).id,Df._32(n,115).placeholder,Df._32(n,115).disabled,Df._32(n,115).required,Df._32(n,115).readonly,Df._32(n,115)._ariaDescribedby||null,Df._32(n,115).errorState,Df._32(n,115).required.toString()])})}function sp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Is There a Loan Existing Against This Asset?"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","business_emi"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,98,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(9,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(11,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,14)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(14,4440064,[[98,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,18)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(18,4440064,[[98,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"business_emi");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending);l(n,13,0,Df._32(n,14).checked,Df._32(n,14).disabled,Df._32(n,14).id);l(n,17,0,Df._32(n,18).checked,Df._32(n,18).disabled,Df._32(n,18).id)})}function cp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,46,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(4,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,43,{_control:0}),Df._37(335544320,44,{_placeholderChild:0}),Df._37(335544320,45,{_labelChild:0}),Df._37(603979776,46,{_errorChildren:1}),Df._37(603979776,47,{_hintChildren:1}),Df._37(603979776,48,{_prefixChildren:1}),Df._37(603979776,49,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(13,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","business_ownership_type"],["placeholder","Ownership Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,17)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,17)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,17)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.parent.context.$implicit,7)&&u}return u},TC.b,TC.a)),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,50,{options:1}),Df._37(603979776,51,{optionGroups:1}),Df._37(335544320,52,{customTrigger:0}),Df._36(2048,[[43,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","owned"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,25)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,25)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(25,8437760,[[50,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Owned"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","rented"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,29)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,29)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(29,8437760,[[50,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Rented"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,ap)),Df._17(35,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n\n "])),(l()(),Df._13(16777216,null,null,1,null,dp)),Df._17(38,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(41,0,null,null,4,"span",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,sp)),Df._17(44,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "]))],function(l,n){l(n,14,0,"business_ownership_type");l(n,17,0,"Ownership Type");l(n,25,0,"owned");l(n,29,0,"rented");l(n,35,0,"rented"==n.parent.parent.context.$implicit.get("business_ownership_type").value);l(n,38,0,"owned"==n.parent.parent.context.$implicit.get("business_ownership_type").value);l(n,44,0,"owned"==n.parent.parent.context.$implicit.get("business_ownership_type").value)},function(l,n){l(n,3,1,[Df._32(n,4)._control.errorState,Df._32(n,4)._control.errorState,Df._32(n,4)._canLabelFloat,Df._32(n,4)._shouldLabelFloat(),Df._32(n,4)._hideControlPlaceholder(),Df._32(n,4)._control.disabled,Df._32(n,4)._control.focused,"primary"==Df._32(n,4).color,"accent"==Df._32(n,4).color,"warn"==Df._32(n,4).color,Df._32(n,4)._shouldForward("untouched"),Df._32(n,4)._shouldForward("touched"),Df._32(n,4)._shouldForward("pristine"),Df._32(n,4)._shouldForward("dirty"),Df._32(n,4)._shouldForward("valid"),Df._32(n,4)._shouldForward("invalid"),Df._32(n,4)._shouldForward("pending")]);l(n,13,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17).id,Df._32(n,17).tabIndex,Df._32(n,17)._ariaLabel,Df._32(n,17).ariaLabelledby,Df._32(n,17).required.toString(),Df._32(n,17).disabled.toString(),Df._32(n,17).errorState,Df._32(n,17).panelOpen?Df._32(n,17)._optionIds:null,Df._32(n,17).multiple,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17)._getAriaActiveDescendant(),Df._32(n,17).disabled,Df._32(n,17).errorState,Df._32(n,17).required]);l(n,24,0,Df._32(n,25)._getTabIndex(),Df._32(n,25).selected,Df._32(n,25).multiple,Df._32(n,25).active,Df._32(n,25).id,Df._32(n,25).selected.toString(),Df._32(n,25).disabled.toString(),Df._32(n,25).disabled);l(n,28,0,Df._32(n,29)._getTabIndex(),Df._32(n,29).selected,Df._32(n,29).multiple,Df._32(n,29).active,Df._32(n,29).id,Df._32(n,29).selected.toString(),Df._32(n,29).disabled.toString(),Df._32(n,29).disabled)})}function mp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,92,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["How long has business been operated from this premise?"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(6,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(15,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_years"],["matInput",""],["placeholder","Year(s)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,16)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,16)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,16)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,17).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,17).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,17).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,22)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,22)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,22)._onInput()&&u}if("change"===n){u=!1!==t.checkWithExistBusinessYear(e.target.value,l.parent.context.index)&&u}return u},null,null)),Df._17(16,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(17,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[12,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,6,2,"mat-hint",[["class","mat-hint"],["style","font-size:12px;color: red;"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(26,16384,[[16,4]],0,fy.e,[],null,null),(l()(),Df._39(27,null,["",""])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,23,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(31,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(40,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_month"],["matInput",""],["placeholder","Month(s)"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,41)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,41).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,41)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,41)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,42).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,42).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,42).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,47)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,47)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,47)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(e.target.value,l.parent.context.index)&&u}return u},null,null)),Df._17(41,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(42,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(44,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(46,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(47,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[19,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(50,0,null,6,2,"mat-hint",[["class","mat-hint"],["style","font-size:12px;color: red;"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(51,16384,[[23,4]],0,fy.e,[],null,null),(l()(),Df._39(52,null,["",""])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(55,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(56,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,26,{_control:0}),Df._37(335544320,27,{_placeholderChild:0}),Df._37(335544320,28,{_labelChild:0}),Df._37(603979776,29,{_errorChildren:1}),Df._37(603979776,30,{_hintChildren:1}),Df._37(603979776,31,{_prefixChildren:1}),Df._37(603979776,32,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(65,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","business_is_pd_visited"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,69)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,69)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,69)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(66,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(68,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(69,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,33,{options:1}),Df._37(603979776,34,{optionGroups:1}),Df._37(335544320,35,{customTrigger:0}),Df._36(2048,[[26,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(76,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,77)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,77)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(77,8437760,[[33,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(80,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,81)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,81)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(81,8437760,[[33,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n\n "])),(l()(),Df._13(16777216,null,null,1,null,up)),Df._17(88,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,cp)),Df._17(91,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,19,0,"business_years");l(n,22,0,"Year(s)","number");l(n,44,0,"business_month");l(n,47,0,"Month(s)","number");l(n,66,0,"business_is_pd_visited");l(n,69,0,e.placeholderName[n.parent.context.index]?e.placeholderName[n.parent.context.index]:"Was any business activity seen at the Address Type during PD visit?");l(n,77,0,"yes");l(n,81,0,"no");l(n,88,0,""!=n.parent.context.$implicit.get("business_is_pd_visited").value);l(n,91,0,"yes"==n.parent.context.$implicit.get("business_address_availability").value)},function(l,n){var e=n.component;l(n,5,1,[Df._32(n,6)._control.errorState,Df._32(n,6)._control.errorState,Df._32(n,6)._canLabelFloat,Df._32(n,6)._shouldLabelFloat(),Df._32(n,6)._hideControlPlaceholder(),Df._32(n,6)._control.disabled,Df._32(n,6)._control.focused,"primary"==Df._32(n,6).color,"accent"==Df._32(n,6).color,"warn"==Df._32(n,6).color,Df._32(n,6)._shouldForward("untouched"),Df._32(n,6)._shouldForward("touched"),Df._32(n,6)._shouldForward("pristine"),Df._32(n,6)._shouldForward("dirty"),Df._32(n,6)._shouldForward("valid"),Df._32(n,6)._shouldForward("invalid"),Df._32(n,6)._shouldForward("pending")]);l(n,15,1,[Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22)._isServer,Df._32(n,22).id,Df._32(n,22).placeholder,Df._32(n,22).disabled,Df._32(n,22).required,Df._32(n,22).readonly,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22).errorState,Df._32(n,22).required.toString()]);l(n,25,0,"end"==Df._32(n,26).align,Df._32(n,26).id,null);l(n,27,0,e.yearErrorMessage[n.parent.context.index]);l(n,30,1,[Df._32(n,31)._control.errorState,Df._32(n,31)._control.errorState,Df._32(n,31)._canLabelFloat,Df._32(n,31)._shouldLabelFloat(),Df._32(n,31)._hideControlPlaceholder(),Df._32(n,31)._control.disabled,Df._32(n,31)._control.focused,"primary"==Df._32(n,31).color,"accent"==Df._32(n,31).color,"warn"==Df._32(n,31).color,Df._32(n,31)._shouldForward("untouched"),Df._32(n,31)._shouldForward("touched"),Df._32(n,31)._shouldForward("pristine"),Df._32(n,31)._shouldForward("dirty"),Df._32(n,31)._shouldForward("valid"),Df._32(n,31)._shouldForward("invalid"),Df._32(n,31)._shouldForward("pending")]);l(n,40,1,[Df._32(n,46).ngClassUntouched,Df._32(n,46).ngClassTouched,Df._32(n,46).ngClassPristine,Df._32(n,46).ngClassDirty,Df._32(n,46).ngClassValid,Df._32(n,46).ngClassInvalid,Df._32(n,46).ngClassPending,Df._32(n,47)._isServer,Df._32(n,47).id,Df._32(n,47).placeholder,Df._32(n,47).disabled,Df._32(n,47).required,Df._32(n,47).readonly,Df._32(n,47)._ariaDescribedby||null,Df._32(n,47).errorState,Df._32(n,47).required.toString()]);l(n,50,0,"end"==Df._32(n,51).align,Df._32(n,51).id,null);l(n,52,0,e.monthErrorMessage[n.parent.context.index]);l(n,55,1,[Df._32(n,56)._control.errorState,Df._32(n,56)._control.errorState,Df._32(n,56)._canLabelFloat,Df._32(n,56)._shouldLabelFloat(),Df._32(n,56)._hideControlPlaceholder(),Df._32(n,56)._control.disabled,Df._32(n,56)._control.focused,"primary"==Df._32(n,56).color,"accent"==Df._32(n,56).color,"warn"==Df._32(n,56).color,Df._32(n,56)._shouldForward("untouched"),Df._32(n,56)._shouldForward("touched"),Df._32(n,56)._shouldForward("pristine"),Df._32(n,56)._shouldForward("dirty"),Df._32(n,56)._shouldForward("valid"),Df._32(n,56)._shouldForward("invalid"),Df._32(n,56)._shouldForward("pending")]);l(n,65,1,[Df._32(n,68).ngClassUntouched,Df._32(n,68).ngClassTouched,Df._32(n,68).ngClassPristine,Df._32(n,68).ngClassDirty,Df._32(n,68).ngClassValid,Df._32(n,68).ngClassInvalid,Df._32(n,68).ngClassPending,Df._32(n,69).id,Df._32(n,69).tabIndex,Df._32(n,69)._ariaLabel,Df._32(n,69).ariaLabelledby,Df._32(n,69).required.toString(),Df._32(n,69).disabled.toString(),Df._32(n,69).errorState,Df._32(n,69).panelOpen?Df._32(n,69)._optionIds:null,Df._32(n,69).multiple,Df._32(n,69)._ariaDescribedby||null,Df._32(n,69)._getAriaActiveDescendant(),Df._32(n,69).disabled,Df._32(n,69).errorState,Df._32(n,69).required]);l(n,76,0,Df._32(n,77)._getTabIndex(),Df._32(n,77).selected,Df._32(n,77).multiple,Df._32(n,77).active,Df._32(n,77).id,Df._32(n,77).selected.toString(),Df._32(n,77).disabled.toString(),Df._32(n,77).disabled);l(n,80,0,Df._32(n,81)._getTabIndex(),Df._32(n,81).selected,Df._32(n,81).multiple,Df._32(n,81).active,Df._32(n,81).id,Df._32(n,81).selected.toString(),Df._32(n,81).disabled.toString(),Df._32(n,81).disabled)})}function pp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,62,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,56,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,12,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(9,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(11,0,null,1,8,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(12,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(14,0,null,null,4,"h5",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Address Details "])),(l()(),Df._13(16777216,null,null,1,null,ep)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(22,0,null,0,38,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(23,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(25,0,null,null,31,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(26,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(35,0,null,1,20,"mat-select",[["class","mat-select"],["formControlName","business_address_availability"],["placeholder","is this the business address ? "],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,41)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,41)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,41)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,"",1,l.context.index)&&u}return u},TC.b,TC.a)),Df._17(36,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(38,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(40,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(41,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(48,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,49)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,49)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(49,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(52,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","no"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,53)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,53)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(53,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,mp)),Df._17(59,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.index);l(n,17,0,null!=n.context.$implicit.get("address_label").value);l(n,36,0,"");l(n,38,0,"business_address_availability");l(n,41,0,"is this the business address ? ","");l(n,49,0,"yes");l(n,53,0,"no");l(n,59,0,"yes"==n.context.$implicit.get("business_address_availability").value)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,25,1,[Df._32(n,26)._control.errorState,Df._32(n,26)._control.errorState,Df._32(n,26)._canLabelFloat,Df._32(n,26)._shouldLabelFloat(),Df._32(n,26)._hideControlPlaceholder(),Df._32(n,26)._control.disabled,Df._32(n,26)._control.focused,"primary"==Df._32(n,26).color,"accent"==Df._32(n,26).color,"warn"==Df._32(n,26).color,Df._32(n,26)._shouldForward("untouched"),Df._32(n,26)._shouldForward("touched"),Df._32(n,26)._shouldForward("pristine"),Df._32(n,26)._shouldForward("dirty"),Df._32(n,26)._shouldForward("valid"),Df._32(n,26)._shouldForward("invalid"),Df._32(n,26)._shouldForward("pending")]);l(n,35,1,[Df._32(n,36).required?"":null,Df._32(n,40).ngClassUntouched,Df._32(n,40).ngClassTouched,Df._32(n,40).ngClassPristine,Df._32(n,40).ngClassDirty,Df._32(n,40).ngClassValid,Df._32(n,40).ngClassInvalid,Df._32(n,40).ngClassPending,Df._32(n,41).id,Df._32(n,41).tabIndex,Df._32(n,41)._ariaLabel,Df._32(n,41).ariaLabelledby,Df._32(n,41).required.toString(),Df._32(n,41).disabled.toString(),Df._32(n,41).errorState,Df._32(n,41).panelOpen?Df._32(n,41)._optionIds:null,Df._32(n,41).multiple,Df._32(n,41)._ariaDescribedby||null,Df._32(n,41)._getAriaActiveDescendant(),Df._32(n,41).disabled,Df._32(n,41).errorState,Df._32(n,41).required]);l(n,48,0,Df._32(n,49)._getTabIndex(),Df._32(n,49).selected,Df._32(n,49).multiple,Df._32(n,49).active,Df._32(n,49).id,Df._32(n,49).selected.toString(),Df._32(n,49).disabled.toString(),Df._32(n,49).disabled);l(n,52,0,Df._32(n,53)._getTabIndex(),Df._32(n,53).selected,Df._32(n,53).multiple,Df._32(n,53).active,Df._32(n,53).id,Df._32(n,53).selected.toString(),Df._32(n,53).disabled.toString(),Df._32(n,53).disabled)})}function fp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[106,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"],disabled:[1,"disabled"]},null),(l()(),Df._39(2,0,["\n ",""])),Df._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.id,1!=n.context.$implicit.flag)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent.parent.parent,0),n.context.$implicit.name)))})}function hp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[116,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ",""])),Df._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.address_type_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.address_type)))})}function gp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,119,{_control:0}),Df._37(335544320,120,{_placeholderChild:0}),Df._37(335544320,121,{_labelChild:0}),Df._37(603979776,122,{_errorChildren:1}),Df._37(603979776,123,{_hintChildren:1}),Df._37(603979776,124,{_prefixChildren:1}),Df._37(603979776,125,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_property_type"],["matInput",""],["placeholder","Specify Other Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[119,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_property_type");l(n,16,0,"Specify Other Property")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function bp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,126,{_control:0}),Df._37(335544320,127,{_placeholderChild:0}),Df._37(335544320,128,{_labelChild:0}),Df._37(603979776,129,{_errorChildren:1}),Df._37(603979776,130,{_hintChildren:1}),Df._37(603979776,131,{_prefixChildren:1}),Df._37(603979776,132,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","address_of_the_property"],["matInput",""],["placeholder","Address of the Property"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[126,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"address_of_the_property");l(n,16,0,"Address of the Property")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function vp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,39,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,36,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(8,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,109,{_control:0}),Df._37(335544320,110,{_placeholderChild:0}),Df._37(335544320,111,{_labelChild:0}),Df._37(603979776,112,{_errorChildren:1}),Df._37(603979776,113,{_hintChildren:1}),Df._37(603979776,114,{_prefixChildren:1}),Df._37(603979776,115,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(17,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","property_type"],["placeholder","Property Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,22)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,116,{options:1}),Df._37(603979776,117,{optionGroups:1}),Df._37(335544320,118,{customTrigger:0}),Df._36(2048,[[109,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,hp)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,gp)),Df._17(34,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,bp)),Df._17(37,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,19,0,"property_type");l(n,22,0,"Property Type");l(n,29,0,e.m_address_type);l(n,34,0,1==n.context.$implicit.get("property_type").value);l(n,37,0,""!=n.context.$implicit.get("property_type").value)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,7,1,[Df._32(n,8)._control.errorState,Df._32(n,8)._control.errorState,Df._32(n,8)._canLabelFloat,Df._32(n,8)._shouldLabelFloat(),Df._32(n,8)._hideControlPlaceholder(),Df._32(n,8)._control.disabled,Df._32(n,8)._control.focused,"primary"==Df._32(n,8).color,"accent"==Df._32(n,8).color,"warn"==Df._32(n,8).color,Df._32(n,8)._shouldForward("untouched"),Df._32(n,8)._shouldForward("touched"),Df._32(n,8)._shouldForward("pristine"),Df._32(n,8)._shouldForward("dirty"),Df._32(n,8)._shouldForward("valid"),Df._32(n,8)._shouldForward("invalid"),Df._32(n,8)._shouldForward("pending")]);l(n,17,1,[Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22).id,Df._32(n,22).tabIndex,Df._32(n,22)._ariaLabel,Df._32(n,22).ariaLabelledby,Df._32(n,22).required.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).errorState,Df._32(n,22).panelOpen?Df._32(n,22)._optionIds:null,Df._32(n,22).multiple,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22)._getAriaActiveDescendant(),Df._32(n,22).disabled,Df._32(n,22).errorState,Df._32(n,22).required])})}function yp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,vp)),Df._17(3,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function Cp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[140,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ",""]))],function(l,n){l(n,1,0,n.context.$implicit.vehicle_type_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.vehicle_type_name)})}function wp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,143,{_control:0}),Df._37(335544320,144,{_placeholderChild:0}),Df._37(335544320,145,{_labelChild:0}),Df._37(603979776,146,{_errorChildren:1}),Df._37(603979776,147,{_hintChildren:1}),Df._37(603979776,148,{_prefixChildren:1}),Df._37(603979776,149,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_vehicle_type"],["matInput",""],["placeholder"," Specify Vehicle"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[143,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_vehicle_type");l(n,16,0," Specify Vehicle")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Fp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,56,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,53,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(8,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,133,{_control:0}),Df._37(335544320,134,{_placeholderChild:0}),Df._37(335544320,135,{_labelChild:0}),Df._37(603979776,136,{_errorChildren:1}),Df._37(603979776,137,{_hintChildren:1}),Df._37(603979776,138,{_prefixChildren:1}),Df._37(603979776,139,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(17,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","vehicle_type"],["placeholder","Type of Vehicle"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,22)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,140,{options:1}),Df._37(603979776,141,{optionGroups:1}),Df._37(335544320,142,{customTrigger:0}),Df._36(2048,[[133,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Cp)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,wp)),Df._17(34,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(36,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(37,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,150,{_control:0}),Df._37(335544320,151,{_placeholderChild:0}),Df._37(335544320,152,{_labelChild:0}),Df._37(603979776,153,{_errorChildren:1}),Df._37(603979776,154,{_hintChildren:1}),Df._37(603979776,155,{_prefixChildren:1}),Df._37(603979776,156,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(46,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","manufacturer_model_vehicle"],["matInput",""],["placeholder","Manufacture, Model"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,47)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,47).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,47)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,47)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,52)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,52)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,52)._onInput()&&u}return u},null,null)),Df._17(47,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(49,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(51,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(52,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[150,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,19,0,"vehicle_type");l(n,22,0,"Type of Vehicle");l(n,29,0,e.m_vehicle_type);l(n,34,0,1==n.context.$implicit.get("vehicle_type").value);l(n,49,0,"manufacturer_model_vehicle");l(n,52,0,"Manufacture, Model")},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,7,1,[Df._32(n,8)._control.errorState,Df._32(n,8)._control.errorState,Df._32(n,8)._canLabelFloat,Df._32(n,8)._shouldLabelFloat(),Df._32(n,8)._hideControlPlaceholder(),Df._32(n,8)._control.disabled,Df._32(n,8)._control.focused,"primary"==Df._32(n,8).color,"accent"==Df._32(n,8).color,"warn"==Df._32(n,8).color,Df._32(n,8)._shouldForward("untouched"),Df._32(n,8)._shouldForward("touched"),Df._32(n,8)._shouldForward("pristine"),Df._32(n,8)._shouldForward("dirty"),Df._32(n,8)._shouldForward("valid"),Df._32(n,8)._shouldForward("invalid"),Df._32(n,8)._shouldForward("pending")]);l(n,17,1,[Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22).id,Df._32(n,22).tabIndex,Df._32(n,22)._ariaLabel,Df._32(n,22).ariaLabelledby,Df._32(n,22).required.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).errorState,Df._32(n,22).panelOpen?Df._32(n,22)._optionIds:null,Df._32(n,22).multiple,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22)._getAriaActiveDescendant(),Df._32(n,22).disabled,Df._32(n,22).errorState,Df._32(n,22).required]);l(n,36,1,[Df._32(n,37)._control.errorState,Df._32(n,37)._control.errorState,Df._32(n,37)._canLabelFloat,Df._32(n,37)._shouldLabelFloat(),Df._32(n,37)._hideControlPlaceholder(),Df._32(n,37)._control.disabled,Df._32(n,37)._control.focused,"primary"==Df._32(n,37).color,"accent"==Df._32(n,37).color,"warn"==Df._32(n,37).color,Df._32(n,37)._shouldForward("untouched"),Df._32(n,37)._shouldForward("touched"),Df._32(n,37)._shouldForward("pristine"),Df._32(n,37)._shouldForward("dirty"),Df._32(n,37)._shouldForward("valid"),Df._32(n,37)._shouldForward("invalid"),Df._32(n,37)._shouldForward("pending")]);l(n,46,1,[Df._32(n,51).ngClassUntouched,Df._32(n,51).ngClassTouched,Df._32(n,51).ngClassPristine,Df._32(n,51).ngClassDirty,Df._32(n,51).ngClassValid,Df._32(n,51).ngClassInvalid,Df._32(n,51).ngClassPending,Df._32(n,52)._isServer,Df._32(n,52).id,Df._32(n,52).placeholder,Df._32(n,52).disabled,Df._32(n,52).required,Df._32(n,52).readonly,Df._32(n,52)._ariaDescribedby||null,Df._32(n,52).errorState,Df._32(n,52).required.toString()])})}function xp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Fp)),Df._17(3,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function Sp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,27,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,24,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(8,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,157,{_control:0}),Df._37(335544320,158,{_placeholderChild:0}),Df._37(335544320,159,{_labelChild:0}),Df._37(603979776,160,{_errorChildren:1}),Df._37(603979776,161,{_hintChildren:1}),Df._37(603979776,162,{_prefixChildren:1}),Df._37(603979776,163,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(17,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","equipment_manufacturing_description"],["matInput",""],["placeholder","Description"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}return u},null,null)),Df._17(18,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[157,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.context.index);l(n,20,0,"equipment_manufacturing_description");l(n,23,0,"Description")},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,7,1,[Df._32(n,8)._control.errorState,Df._32(n,8)._control.errorState,Df._32(n,8)._canLabelFloat,Df._32(n,8)._shouldLabelFloat(),Df._32(n,8)._hideControlPlaceholder(),Df._32(n,8)._control.disabled,Df._32(n,8)._control.focused,"primary"==Df._32(n,8).color,"accent"==Df._32(n,8).color,"warn"==Df._32(n,8).color,Df._32(n,8)._shouldForward("untouched"),Df._32(n,8)._shouldForward("touched"),Df._32(n,8)._shouldForward("pristine"),Df._32(n,8)._shouldForward("dirty"),Df._32(n,8)._shouldForward("valid"),Df._32(n,8)._shouldForward("invalid"),Df._32(n,8)._shouldForward("pending")]);l(n,17,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()])})}function Ip(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Sp)),Df._17(3,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function qp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[178,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ",""])),Df._35(3,1)],function(l,n){l(n,1,0,n.context.$implicit.value)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,Df._40(n,2,0,l(n,3,0,Df._32(n.parent.parent.parent.parent.parent,0),n.context.$implicit.viewValue)))})}function kp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,54,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,51,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(8,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,164,{_control:0}),Df._37(335544320,165,{_placeholderChild:0}),Df._37(335544320,166,{_labelChild:0}),Df._37(603979776,167,{_errorChildren:1}),Df._37(603979776,168,{_hintChildren:1}),Df._37(603979776,169,{_prefixChildren:1}),Df._37(603979776,170,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(17,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","any_other_assets"],["matInput",""],["placeholder","Description of the Assets"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,18)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,18)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,18)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}return u},null,null)),Df._17(18,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[164,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(28,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(29,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,171,{_control:0}),Df._37(335544320,172,{_placeholderChild:0}),Df._37(335544320,173,{_labelChild:0}),Df._37(603979776,174,{_errorChildren:1}),Df._37(603979776,175,{_hintChildren:1}),Df._37(603979776,176,{_prefixChildren:1}),Df._37(603979776,177,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(38,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","any_other_asset_loan"],["placeholder","Is there any asset loan?"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,43)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,43)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,43)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(40,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(42,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(43,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,178,{options:1}),Df._37(603979776,179,{optionGroups:1}),Df._37(335544320,180,{customTrigger:0}),Df._36(2048,[[171,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,qp)),Df._17(50,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,20,0,"any_other_assets");l(n,23,0,"Description of the Assets");l(n,40,0,"any_other_asset_loan");l(n,43,0,"Is there any asset loan?");l(n,50,0,e.m_any_asset_loan_type)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,7,1,[Df._32(n,8)._control.errorState,Df._32(n,8)._control.errorState,Df._32(n,8)._canLabelFloat,Df._32(n,8)._shouldLabelFloat(),Df._32(n,8)._hideControlPlaceholder(),Df._32(n,8)._control.disabled,Df._32(n,8)._control.focused,"primary"==Df._32(n,8).color,"accent"==Df._32(n,8).color,"warn"==Df._32(n,8).color,Df._32(n,8)._shouldForward("untouched"),Df._32(n,8)._shouldForward("touched"),Df._32(n,8)._shouldForward("pristine"),Df._32(n,8)._shouldForward("dirty"),Df._32(n,8)._shouldForward("valid"),Df._32(n,8)._shouldForward("invalid"),Df._32(n,8)._shouldForward("pending")]);l(n,17,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()]);l(n,28,1,[Df._32(n,29)._control.errorState,Df._32(n,29)._control.errorState,Df._32(n,29)._canLabelFloat,Df._32(n,29)._shouldLabelFloat(),Df._32(n,29)._hideControlPlaceholder(),Df._32(n,29)._control.disabled,Df._32(n,29)._control.focused,"primary"==Df._32(n,29).color,"accent"==Df._32(n,29).color,"warn"==Df._32(n,29).color,Df._32(n,29)._shouldForward("untouched"),Df._32(n,29)._shouldForward("touched"),Df._32(n,29)._shouldForward("pristine"),Df._32(n,29)._shouldForward("dirty"),Df._32(n,29)._shouldForward("valid"),Df._32(n,29)._shouldForward("invalid"),Df._32(n,29)._shouldForward("pending")]);l(n,38,1,[Df._32(n,42).ngClassUntouched,Df._32(n,42).ngClassTouched,Df._32(n,42).ngClassPristine,Df._32(n,42).ngClassDirty,Df._32(n,42).ngClassValid,Df._32(n,42).ngClassInvalid,Df._32(n,42).ngClassPending,Df._32(n,43).id,Df._32(n,43).tabIndex,Df._32(n,43)._ariaLabel,Df._32(n,43).ariaLabelledby,Df._32(n,43).required.toString(),Df._32(n,43).disabled.toString(),Df._32(n,43).errorState,Df._32(n,43).panelOpen?Df._32(n,43)._optionIds:null,Df._32(n,43).multiple,Df._32(n,43)._ariaDescribedby||null,Df._32(n,43)._getAriaActiveDescendant(),Df._32(n,43).disabled,Df._32(n,43).errorState,Df._32(n,43).required])})}function Pp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,kp)),Df._17(3,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,n.parent.context.$implicit.controls.business_details.controls)},null)}function Dp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,30,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,181,{_control:0}),Df._37(335544320,182,{_placeholderChild:0}),Df._37(335544320,183,{_labelChild:0}),Df._37(603979776,184,{_errorChildren:1}),Df._37(603979776,185,{_hintChildren:1}),Df._37(603979776,186,{_prefixChildren:1}),Df._37(603979776,187,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,19,"mat-select",[["class","mat-select"],["formControlName","business_ownership_type"],["placeholder","Ownership Type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,14)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.context.$implicit,3)&&u}return u},TC.b,TC.a)),Df._17(11,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(13,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(14,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,188,{options:1}),Df._37(603979776,189,{optionGroups:1}),Df._37(335544320,190,{customTrigger:0}),Df._36(2048,[[181,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(22,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","owned"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,23)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,23)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(23,8437760,[[188,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Owned"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(26,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","rented"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,27)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,27)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(27,8437760,[[188,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Rented"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"business_ownership_type");l(n,14,0,"Ownership Type");l(n,23,0,"owned");l(n,27,0,"rented")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending,Df._32(n,14).id,Df._32(n,14).tabIndex,Df._32(n,14)._ariaLabel,Df._32(n,14).ariaLabelledby,Df._32(n,14).required.toString(),Df._32(n,14).disabled.toString(),Df._32(n,14).errorState,Df._32(n,14).panelOpen?Df._32(n,14)._optionIds:null,Df._32(n,14).multiple,Df._32(n,14)._ariaDescribedby||null,Df._32(n,14)._getAriaActiveDescendant(),Df._32(n,14).disabled,Df._32(n,14).errorState,Df._32(n,14).required]);l(n,22,0,Df._32(n,23)._getTabIndex(),Df._32(n,23).selected,Df._32(n,23).multiple,Df._32(n,23).active,Df._32(n,23).id,Df._32(n,23).selected.toString(),Df._32(n,23).disabled.toString(),Df._32(n,23).disabled);l(n,26,0,Df._32(n,27)._getTabIndex(),Df._32(n,27).selected,Df._32(n,27).multiple,Df._32(n,27).active,Df._32(n,27).id,Df._32(n,27).selected.toString(),Df._32(n,27).disabled.toString(),Df._32(n,27).disabled)})}function Tp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[195,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["\n "," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.RentAmtInwords[n.parent.parent.context.index])})}function Op(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,191,{_control:0}),Df._37(335544320,192,{_placeholderChild:0}),Df._37(335544320,193,{_labelChild:0}),Df._37(603979776,194,{_errorChildren:1}),Df._37(603979776,195,{_hintChildren:1}),Df._37(603979776,196,{_prefixChildren:1}),Df._37(603979776,197,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_monthly_rented_amt"],["matInput",""],["placeholder","Monthly Rent Amount"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,3)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[191,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Tp)),Df._17(21,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Df._17(24,16384,[[194,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Monthly Rent Amount Required"])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,14,0,"business_monthly_rented_amt");l(n,17,0,"Monthly Rent Amount","number");l(n,21,0,""!=n.parent.context.$implicit.get("business_monthly_rented_amt").value)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()]);l(n,23,0,Df._32(n,24).id)})}function Lp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size:11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[202,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,["","\n "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.appxMarketAmtInwords[n.parent.parent.parent.context.index])})}function Ap(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,198,{_control:0}),Df._37(335544320,199,{_placeholderChild:0}),Df._37(335544320,200,{_labelChild:0}),Df._37(603979776,201,{_errorChildren:1}),Df._37(603979776,202,{_hintChildren:1}),Df._37(603979776,203,{_prefixChildren:1}),Df._37(603979776,204,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,8,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_approximate_market_value"],["matInput",""],["placeholder","Approximate Market Value"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,12).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,12).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,17)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,17)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,17)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.parent.context.index,2)&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(12,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(14,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(16,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(17,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[198,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Lp)),Df._17(21,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(23,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"],["style","font-size:14px"]],[[1,"id",0]],null,null,null,null)),Df._17(24,16384,[[201,4]],0,fy.a,[],null,null),(l()(),Df._39(-1,null,["Approximate Market Value Required"])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,14,0,"business_approximate_market_value");l(n,17,0,"Approximate Market Value","number");l(n,21,0,""!=n.parent.parent.context.$implicit.get("business_approximate_market_value").value)},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,16).ngClassUntouched,Df._32(n,16).ngClassTouched,Df._32(n,16).ngClassPristine,Df._32(n,16).ngClassDirty,Df._32(n,16).ngClassValid,Df._32(n,16).ngClassInvalid,Df._32(n,16).ngClassPending,Df._32(n,17)._isServer,Df._32(n,17).id,Df._32(n,17).placeholder,Df._32(n,17).disabled,Df._32(n,17).required,Df._32(n,17).readonly,Df._32(n,17)._ariaDescribedby||null,Df._32(n,17).errorState,Df._32(n,17).required.toString()]);l(n,23,0,Df._32(n,24).id)})}function Vp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[212,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["\n ","\n "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function jp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,DC.d,DC.a)),Df._17(1,49152,[[213,4]],0,hy.s,[],{label:[0,"label"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Vp)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,Df._32(n,1).disabled,Df._32(n,1).disabled.toString(),Df._32(n,1)._labelId)})}function Np(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,215,{_control:0}),Df._37(335544320,216,{_placeholderChild:0}),Df._37(335544320,217,{_labelChild:0}),Df._37(603979776,218,{_errorChildren:1}),Df._37(603979776,219,{_hintChildren:1}),Df._37(603979776,220,{_prefixChildren:1}),Df._37(603979776,221,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_name_of_the_other_owner"],["matInput",""],["placeholder","Specify Asset Owned Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[215,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"business_name_of_the_other_owner");l(n,16,0,"Specify Asset Owned Name")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Wp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,95,"div",[["fxLayout","row wrap"],["fxLayoutAlign","start none"],["fxLayoutGap","2px"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ap)),Df._17(4,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,25,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(7,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,205,{_control:0}),Df._37(335544320,206,{_placeholderChild:0}),Df._37(335544320,207,{_labelChild:0}),Df._37(603979776,208,{_errorChildren:1}),Df._37(603979776,209,{_hintChildren:1}),Df._37(603979776,210,{_prefixChildren:1}),Df._37(603979776,211,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(17,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","business_name_of_the_owner"],["multiple",""],["placeholder","Assets Owned By"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,22)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,22)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.setRequiredValidation(e.value,l.parent.context.$implicit,4)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(19,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(21,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(22,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],compareWith:[2,"compareWith"]},{selectionChange:"selectionChange"}),Df._37(603979776,212,{options:1}),Df._37(603979776,213,{optionGroups:1}),Df._37(335544320,214,{customTrigger:0}),Df._36(2048,[[205,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,jp)),Df._17(29,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Np)),Df._17(34,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(37,0,null,null,57,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(40,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,222,{_control:0}),Df._37(335544320,223,{_placeholderChild:0}),Df._37(335544320,224,{_labelChild:0}),Df._37(603979776,225,{_errorChildren:1}),Df._37(603979776,226,{_hintChildren:1}),Df._37(603979776,227,{_prefixChildren:1}),Df._37(603979776,228,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(49,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(50,16384,[[224,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Approx Vintage"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(53,0,null,1,11,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_vintage"],["matInput",""],["maxlength","3"],["minlength","1"],["placeholder","eg.999"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,54)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,54).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,54)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,54)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,55).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,55).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,55).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,63)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,63)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,63)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.context.index,1)&&u}return u},null,null)),Df._17(54,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(55,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(56,540672,null,0,Jf.o,[],{minlength:[0,"minlength"]},null),Df._17(57,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l,n){return[l,n]},[Jf.o,Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(60,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(62,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(63,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[222,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(67,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(68,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,229,{_control:0}),Df._37(335544320,230,{_placeholderChild:0}),Df._37(335544320,231,{_labelChild:0}),Df._37(603979776,232,{_errorChildren:1}),Df._37(603979776,233,{_hintChildren:1}),Df._37(603979776,234,{_prefixChildren:1}),Df._37(603979776,235,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(77,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(78,16384,[[231,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Purchase Year"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(81,0,null,1,11,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_purchase_year"],["matInput",""],["maxlength","4"],["minlength","4"],["placeholder","YYYY eg.2018"],["type","number"]],[[1,"minlength",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,82)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,82).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,82)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,82)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,83).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,83).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,83).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,91)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,91)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,91)._onInput()&&u}if("keyup"===n){u=!1!==t.calculateVintagePurchase(e.target.value,l.parent.context.index,2)&&u}return u},null,null)),Df._17(82,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(83,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._17(84,540672,null,0,Jf.o,[],{minlength:[0,"minlength"]},null),Df._17(85,540672,null,0,Jf.n,[],{maxlength:[0,"maxlength"]},null),Df._36(1024,null,Jf.p,function(l,n){return[l,n]},[Jf.o,Jf.n]),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(88,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(90,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(91,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[229,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,4,0,""!=n.parent.context.$implicit.get("business_assets_mode").value);l(n,19,0,"business_name_of_the_owner");l(n,22,0,"Assets Owned By","",e.compareObjects);l(n,29,0,e.mergeCompanyApplicant);l(n,34,0,e.isOtherOwner);l(n,56,0,"1");l(n,57,0,"3");l(n,60,0,"business_vintage");l(n,63,0,"eg.999","number");l(n,84,0,"4");l(n,85,0,"4");l(n,88,0,"business_purchase_year");l(n,91,0,"YYYY eg.2018","number")},function(l,n){l(n,6,1,[Df._32(n,7)._control.errorState,Df._32(n,7)._control.errorState,Df._32(n,7)._canLabelFloat,Df._32(n,7)._shouldLabelFloat(),Df._32(n,7)._hideControlPlaceholder(),Df._32(n,7)._control.disabled,Df._32(n,7)._control.focused,"primary"==Df._32(n,7).color,"accent"==Df._32(n,7).color,"warn"==Df._32(n,7).color,Df._32(n,7)._shouldForward("untouched"),Df._32(n,7)._shouldForward("touched"),Df._32(n,7)._shouldForward("pristine"),Df._32(n,7)._shouldForward("dirty"),Df._32(n,7)._shouldForward("valid"),Df._32(n,7)._shouldForward("invalid"),Df._32(n,7)._shouldForward("pending")]);l(n,17,1,[Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending,Df._32(n,22).id,Df._32(n,22).tabIndex,Df._32(n,22)._ariaLabel,Df._32(n,22).ariaLabelledby,Df._32(n,22).required.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).errorState,Df._32(n,22).panelOpen?Df._32(n,22)._optionIds:null,Df._32(n,22).multiple,Df._32(n,22)._ariaDescribedby||null,Df._32(n,22)._getAriaActiveDescendant(),Df._32(n,22).disabled,Df._32(n,22).errorState,Df._32(n,22).required]);l(n,39,1,[Df._32(n,40)._control.errorState,Df._32(n,40)._control.errorState,Df._32(n,40)._canLabelFloat,Df._32(n,40)._shouldLabelFloat(),Df._32(n,40)._hideControlPlaceholder(),Df._32(n,40)._control.disabled,Df._32(n,40)._control.focused,"primary"==Df._32(n,40).color,"accent"==Df._32(n,40).color,"warn"==Df._32(n,40).color,Df._32(n,40)._shouldForward("untouched"),Df._32(n,40)._shouldForward("touched"),Df._32(n,40)._shouldForward("pristine"),Df._32(n,40)._shouldForward("dirty"),Df._32(n,40)._shouldForward("valid"),Df._32(n,40)._shouldForward("invalid"),Df._32(n,40)._shouldForward("pending")]);l(n,53,1,[Df._32(n,56).minlength?Df._32(n,56).minlength:null,Df._32(n,57).maxlength?Df._32(n,57).maxlength:null,Df._32(n,62).ngClassUntouched,Df._32(n,62).ngClassTouched,Df._32(n,62).ngClassPristine,Df._32(n,62).ngClassDirty,Df._32(n,62).ngClassValid,Df._32(n,62).ngClassInvalid,Df._32(n,62).ngClassPending,Df._32(n,63)._isServer,Df._32(n,63).id,Df._32(n,63).placeholder,Df._32(n,63).disabled,Df._32(n,63).required,Df._32(n,63).readonly,Df._32(n,63)._ariaDescribedby||null,Df._32(n,63).errorState,Df._32(n,63).required.toString()]);l(n,67,1,[Df._32(n,68)._control.errorState,Df._32(n,68)._control.errorState,Df._32(n,68)._canLabelFloat,Df._32(n,68)._shouldLabelFloat(),Df._32(n,68)._hideControlPlaceholder(),Df._32(n,68)._control.disabled,Df._32(n,68)._control.focused,"primary"==Df._32(n,68).color,"accent"==Df._32(n,68).color,"warn"==Df._32(n,68).color,Df._32(n,68)._shouldForward("untouched"),Df._32(n,68)._shouldForward("touched"),Df._32(n,68)._shouldForward("pristine"),Df._32(n,68)._shouldForward("dirty"),Df._32(n,68)._shouldForward("valid"),Df._32(n,68)._shouldForward("invalid"),Df._32(n,68)._shouldForward("pending")]);l(n,81,1,[Df._32(n,84).minlength?Df._32(n,84).minlength:null,Df._32(n,85).maxlength?Df._32(n,85).maxlength:null,Df._32(n,90).ngClassUntouched,Df._32(n,90).ngClassTouched,Df._32(n,90).ngClassPristine,Df._32(n,90).ngClassDirty,Df._32(n,90).ngClassValid,Df._32(n,90).ngClassInvalid,Df._32(n,90).ngClassPending,Df._32(n,91)._isServer,Df._32(n,91).id,Df._32(n,91).placeholder,Df._32(n,91).disabled,Df._32(n,91).required,Df._32(n,91).readonly,Df._32(n,91)._ariaDescribedby||null,Df._32(n,91).errorState,Df._32(n,91).required.toString()])})}function Ep(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,21,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(2,0,null,null,1,"p",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Is There a Loan Existing Against This Asset?"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["formControlName","business_emi"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(6,1064960,null,1,tC.b,[Df.i],null,null),Df._37(603979776,236,{_radios:1}),Df._36(1024,null,Jf.q,function(l){return[l]},[tC.b]),Df._17(9,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(11,16384,null,0,Jf.s,[Jf.r],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","yes"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,14)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(14,4440064,[[236,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(17,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["value","no"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[1,"id",0]],[[null,"focus"]],function(l,n,e){var u=!0;if("focus"===n){u=!1!==Df._32(l,18)._inputElement.nativeElement.focus()&&u}return u},uC.b,uC.a)),Df._17(18,4440064,[[236,4]],0,tC.a,[[2,tC.b],Df.p,Df.i,yy.j,aC.d],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,9,0,"business_emi");l(n,14,0,"yes");l(n,18,0,"no")},function(l,n){l(n,5,0,Df._32(n,11).ngClassUntouched,Df._32(n,11).ngClassTouched,Df._32(n,11).ngClassPristine,Df._32(n,11).ngClassDirty,Df._32(n,11).ngClassValid,Df._32(n,11).ngClassInvalid,Df._32(n,11).ngClassPending);l(n,13,0,Df._32(n,14).checked,Df._32(n,14).disabled,Df._32(n,14).id);l(n,17,0,Df._32(n,18).checked,Df._32(n,18).disabled,Df._32(n,18).id)})}function Rp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeAssetsDetails(l.parent.context.index)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,1,"ion-icon",[["name","md-trash"],["role","img"],["style","font-size: 22px"]],[[2,"hide",null]],null,null,null,null)),Df._17(4,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"md-trash")},function(l,n){l(n,3,0,Df._32(n,4)._hidden)})}function Up(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"button",[["clear",""],["color","optblue"],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addAssetDetails(e)&&u}return u},Vy.b,Vy.a)),Df._17(1,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],clear:[1,"clear"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,1,"ion-icon",[["name","add-circle"],["role","img"],["style","font-size: 24px"]],[[2,"hide",null]],null,null,null,null)),Df._17(4,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "]))],function(l,n){l(n,1,0,"optblue","");l(n,4,0,"add-circle")},function(l,n){l(n,3,0,Df._32(n,4)._hidden)})}function $p(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,105,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,81,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(3,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(5,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(7,0,null,null,9,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(8,49152,null,0,sy.e,[],null,null),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(10,0,null,1,5,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Df._17(11,16384,null,0,sy.h,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(14,null,["Other Assets Used in Business # ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(18,0,null,null,30,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Df._17(19,16384,null,0,sy.c,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(21,0,null,null,26,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(22,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,99,{_control:0}),Df._37(335544320,100,{_placeholderChild:0}),Df._37(335544320,101,{_labelChild:0}),Df._37(603979776,102,{_errorChildren:1}),Df._37(603979776,103,{_hintChildren:1}),Df._37(603979776,104,{_prefixChildren:1}),Df._37(603979776,105,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(31,0,null,1,15,"mat-select",[["class","mat-select"],["formControlName","business_assets_mode"],["placeholder","Asset Type"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,38)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,38)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,38)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAssetsType(e,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(33,16384,null,0,Jf.x,[],{required:[0,"required"]},null),Df._36(1024,null,Jf.p,function(l){return[l]},[Jf.x]),Df._17(35,671744,null,0,Jf.i,[[3,Jf.c],[2,Jf.p],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(37,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(38,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),Df._37(603979776,106,{options:1}),Df._37(603979776,107,{optionGroups:1}),Df._37(335544320,108,{customTrigger:0}),Df._36(2048,[[99,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,fp)),Df._17(45,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(50,0,null,null,19,"div",[["formArrayName","business_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(51,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(53,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,yp)),Df._17(56,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,xp)),Df._17(60,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ip)),Df._17(64,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Pp)),Df._17(68,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Dp)),Df._17(72,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Op)),Df._17(75,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,Wp)),Df._17(78,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Ep)),Df._17(82,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(85,0,null,null,18,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(86,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,237,{_buttons:1}),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(89,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(90,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Rp)),Df._17(93,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(96,0,null,null,6,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(97,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Up)),Df._17(100,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._18(101,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(104,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n\n "]))],function(l,n){var e=n.component;l(n,3,0,n.context.index);l(n,33,0,"");l(n,35,0,"business_assets_mode");l(n,38,0,"Asset Type","");l(n,45,0,e.m_assets_type);l(n,51,0,"business_details");l(n,56,0,2==n.context.$implicit.get("business_assets_mode").value);l(n,60,0,3==n.context.$implicit.get("business_assets_mode").value);l(n,64,0,4==n.context.$implicit.get("business_assets_mode").value);l(n,68,0,1==n.context.$implicit.get("business_assets_mode").value);l(n,72,0,""!=n.context.$implicit.get("business_assets_mode").value);l(n,75,0,""!=n.context.$implicit.get("business_assets_mode").value&&"rented"==n.context.$implicit.get("business_ownership_type").value);l(n,78,0,""!=n.context.$implicit.get("business_assets_mode").value&&"owned"==n.context.$implicit.get("business_ownership_type").value);l(n,82,0,""!=n.context.$implicit.get("business_assets_mode").value&&"owned"==n.context.$implicit.get("business_ownership_type").value);l(n,93,0,n.context.index>0);l(n,100,0,n.context.last)},function(l,n){l(n,2,0,Df._32(n,5).ngClassUntouched,Df._32(n,5).ngClassTouched,Df._32(n,5).ngClassPristine,Df._32(n,5).ngClassDirty,Df._32(n,5).ngClassValid,Df._32(n,5).ngClassInvalid,Df._32(n,5).ngClassPending);l(n,14,0,n.context.index+1);l(n,21,1,[Df._32(n,22)._control.errorState,Df._32(n,22)._control.errorState,Df._32(n,22)._canLabelFloat,Df._32(n,22)._shouldLabelFloat(),Df._32(n,22)._hideControlPlaceholder(),Df._32(n,22)._control.disabled,Df._32(n,22)._control.focused,"primary"==Df._32(n,22).color,"accent"==Df._32(n,22).color,"warn"==Df._32(n,22).color,Df._32(n,22)._shouldForward("untouched"),Df._32(n,22)._shouldForward("touched"),Df._32(n,22)._shouldForward("pristine"),Df._32(n,22)._shouldForward("dirty"),Df._32(n,22)._shouldForward("valid"),Df._32(n,22)._shouldForward("invalid"),Df._32(n,22)._shouldForward("pending")]);l(n,31,1,[Df._32(n,33).required?"":null,Df._32(n,37).ngClassUntouched,Df._32(n,37).ngClassTouched,Df._32(n,37).ngClassPristine,Df._32(n,37).ngClassDirty,Df._32(n,37).ngClassValid,Df._32(n,37).ngClassInvalid,Df._32(n,37).ngClassPending,Df._32(n,38).id,Df._32(n,38).tabIndex,Df._32(n,38)._ariaLabel,Df._32(n,38).ariaLabelledby,Df._32(n,38).required.toString(),Df._32(n,38).disabled.toString(),Df._32(n,38).errorState,Df._32(n,38).panelOpen?Df._32(n,38)._optionIds:null,Df._32(n,38).multiple,Df._32(n,38)._ariaDescribedby||null,Df._32(n,38)._getAriaActiveDescendant(),Df._32(n,38).disabled,Df._32(n,38).errorState,Df._32(n,38).required]);l(n,50,0,Df._32(n,53).ngClassUntouched,Df._32(n,53).ngClassTouched,Df._32(n,53).ngClassPristine,Df._32(n,53).ngClassDirty,Df._32(n,53).ngClassValid,Df._32(n,53).ngClassInvalid,Df._32(n,53).ngClassPending)})}function Bp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,63,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,2).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,2).onReset()&&u}return u},null,null)),Df._17(1,16384,null,0,Jf.B,[],null,null),Df._17(2,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(4,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,7,"div",[["formArrayName","business_assets_for_address"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(7,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(9,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,pp)),Df._17(12,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(15,0,null,null,11,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(16,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(18,0,null,0,7,"div",[["formArrayName","business_assets_details"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(19,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(21,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,$p)),Df._17(24,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(28,0,null,null,26,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(29,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(31,0,null,0,22,"mat-form-field",[["appearance","outline"],["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(32,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,238,{_control:0}),Df._37(335544320,239,{_placeholderChild:0}),Df._37(335544320,240,{_labelChild:0}),Df._37(603979776,241,{_errorChildren:1}),Df._37(603979776,242,{_hintChildren:1}),Df._37(603979776,243,{_prefixChildren:1}),Df._37(603979776,244,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(41,0,null,3,2,"mat-label",[],null,null,null,null,null)),Df._17(42,16384,[[240,4]],0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Remarks"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(45,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","business_assets_form_remark"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,46)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,46).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,46)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,46)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,51)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,51)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,51)._onInput()&&u}return u},null,null)),Df._17(46,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(48,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(50,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(51,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],null,null),Df._36(2048,[[238,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(56,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(57,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(59,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.onSubmit()&&u}return u},Vy.b,Vy.a)),Df._17(60,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,2,0,e._businessAssetsQuesFrom);l(n,7,0,"business_assets_for_address");l(n,12,0,e._businessAssetsQuesFrom.controls.business_assets_for_address.controls);l(n,19,0,"business_assets_details");l(n,24,0,e._businessAssetsQuesFrom.controls.business_assets_details.controls);l(n,48,0,"business_assets_form_remark"),l(n,51,0);l(n,60,0,"optblue","")},function(l,n){l(n,0,0,Df._32(n,4).ngClassUntouched,Df._32(n,4).ngClassTouched,Df._32(n,4).ngClassPristine,Df._32(n,4).ngClassDirty,Df._32(n,4).ngClassValid,Df._32(n,4).ngClassInvalid,Df._32(n,4).ngClassPending);l(n,6,0,Df._32(n,9).ngClassUntouched,Df._32(n,9).ngClassTouched,Df._32(n,9).ngClassPristine,Df._32(n,9).ngClassDirty,Df._32(n,9).ngClassValid,Df._32(n,9).ngClassInvalid,Df._32(n,9).ngClassPending);l(n,18,0,Df._32(n,21).ngClassUntouched,Df._32(n,21).ngClassTouched,Df._32(n,21).ngClassPristine,Df._32(n,21).ngClassDirty,Df._32(n,21).ngClassValid,Df._32(n,21).ngClassInvalid,Df._32(n,21).ngClassPending);l(n,31,1,[Df._32(n,32)._control.errorState,Df._32(n,32)._control.errorState,Df._32(n,32)._canLabelFloat,Df._32(n,32)._shouldLabelFloat(),Df._32(n,32)._hideControlPlaceholder(),Df._32(n,32)._control.disabled,Df._32(n,32)._control.focused,"primary"==Df._32(n,32).color,"accent"==Df._32(n,32).color,"warn"==Df._32(n,32).color,Df._32(n,32)._shouldForward("untouched"),Df._32(n,32)._shouldForward("touched"),Df._32(n,32)._shouldForward("pristine"),Df._32(n,32)._shouldForward("dirty"),Df._32(n,32)._shouldForward("valid"),Df._32(n,32)._shouldForward("invalid"),Df._32(n,32)._shouldForward("pending")]);l(n,45,1,[Df._32(n,50).ngClassUntouched,Df._32(n,50).ngClassTouched,Df._32(n,50).ngClassPristine,Df._32(n,50).ngClassDirty,Df._32(n,50).ngClassValid,Df._32(n,50).ngClassInvalid,Df._32(n,50).ngClassPending,Df._32(n,51)._isServer,Df._32(n,51).id,Df._32(n,51).placeholder,Df._32(n,51).disabled,Df._32(n,51).required,Df._32(n,51).readonly,Df._32(n,51)._ariaDescribedby||null,Df._32(n,51).errorState,Df._32(n,51).required.toString()])})}function Mp(l){return Df._41(0,[Df._33(0,rg.t,[]),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(2,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(3,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(5,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(6,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(8,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,10).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(9,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(10,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(11,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(14,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(15,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,np)),Df._17(19,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(23,0,null,null,5,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(24,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Bp)),Df._17(27,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n\n"]))],function(l,n){var e=n.component;l(n,6,0,"optblue");l(n,10,0,"");l(n,15,0,"menu");l(n,19,0,!e.viewchange);l(n,27,0,e.apiLoadFinish&&e.loadDetails)},function(l,n){l(n,5,0,Df._32(n,6)._hidden,Df._32(n,6)._sbPadding);l(n,8,0,Df._32(n,10).isHidden);l(n,14,0,Df._32(n,15)._hidden);l(n,23,0,Df._32(n,24).statusbarPadding,Df._32(n,24)._hasRefresher)})}function Kp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,[""," "]))],function(l,n){l(n,1,0,n.context.$implicit)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Hp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,DC.d,DC.a)),Df._17(1,49152,[[10,4]],0,hy.s,[],{label:[0,"label"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,0,1,null,Kp)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,1,0,n.context.$implicit.groupName);l(n,4,0,n.context.$implicit.groupValues)},function(l,n){l(n,0,0,Df._32(n,1).disabled,Df._32(n,1).disabled.toString(),Df._32(n,1)._labelId)})}function Gp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_applicant"],["matInput",""],["name","other_applicant"],["placeholder","Specify Applicant Name"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[12,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_applicant");l(n,16,0,"Specify Applicant Name","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Yp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[26,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.bt_lender_list_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.lender_name)})}function zp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,29,{_control:0}),Df._37(335544320,30,{_placeholderChild:0}),Df._37(335544320,31,{_labelChild:0}),Df._37(603979776,32,{_errorChildren:1}),Df._37(603979776,33,{_hintChildren:1}),Df._37(603979776,34,{_prefixChildren:1}),Df._37(603979776,35,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_bank"],["matInput",""],["placeholder","Specify Other Bank Name"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[29,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_bank");l(n,16,0,"Specify Other Bank Name")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function Qp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[43,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function Jp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,29,"mat-form-field",[["class","mat-input-container mat-form-field"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,46,{_control:0}),Df._37(335544320,47,{_placeholderChild:0}),Df._37(335544320,48,{_labelChild:0}),Df._37(603979776,49,{_errorChildren:1}),Df._37(603979776,50,{_hintChildren:1}),Df._37(603979776,51,{_prefixChildren:1}),Df._37(603979776,52,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,18,"mat-select",[["class","mat-select"],["formControlName","is_main"],["placeholder","Is this the main business account"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,14)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(11,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(13,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(14,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,53,{options:1}),Df._37(603979776,54,{optionGroups:1}),Df._37(335544320,55,{customTrigger:0}),Df._36(2048,[[46,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(22,8437760,[[53,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(26,8437760,[[53,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"is_main");l(n,14,0,"Is this the main business account");l(n,22,0,"Yes");l(n,26,0,"No")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending,Df._32(n,14).id,Df._32(n,14).tabIndex,Df._32(n,14)._ariaLabel,Df._32(n,14).ariaLabelledby,Df._32(n,14).required.toString(),Df._32(n,14).disabled.toString(),Df._32(n,14).errorState,Df._32(n,14).panelOpen?Df._32(n,14)._optionIds:null,Df._32(n,14).multiple,Df._32(n,14)._ariaDescribedby||null,Df._32(n,14)._getAriaActiveDescendant(),Df._32(n,14).disabled,Df._32(n,14).errorState,Df._32(n,14).required]);l(n,21,0,Df._32(n,22)._getTabIndex(),Df._32(n,22).selected,Df._32(n,22).multiple,Df._32(n,22).active,Df._32(n,22).id,Df._32(n,22).selected.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).disabled);l(n,25,0,Df._32(n,26)._getTabIndex(),Df._32(n,26).selected,Df._32(n,26).multiple,Df._32(n,26).active,Df._32(n,26).id,Df._32(n,26).selected.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).disabled)})}function Xp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,33,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,56,{_control:0}),Df._37(335544320,57,{_placeholderChild:0}),Df._37(335544320,58,{_labelChild:0}),Df._37(603979776,59,{_errorChildren:1}),Df._37(603979776,60,{_hintChildren:1}),Df._37(603979776,61,{_prefixChildren:1}),Df._37(603979776,62,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(10,0,null,1,22,"mat-select",[["class","mat-select"],["formControlName","salary"],["placeholder","Salary Credited in this account"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,14)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,14)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,14)._onBlur()&&u}return u},TC.b,TC.a)),Df._17(11,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(13,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(14,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,63,{options:1}),Df._37(603979776,64,{optionGroups:1}),Df._37(335544320,65,{customTrigger:0}),Df._36(2048,[[56,4]],fy.c,null,[OC.c]),Df._36(2048,null,hy.l,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(21,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","Yes"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,22)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,22)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(22,8437760,[[63,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["Yes"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","No"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,26)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,26)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(26,8437760,[[63,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["No"])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(29,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","NA"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,30)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,30)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(30,8437760,[[63,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(-1,0,["NA"])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,11,0,"salary");l(n,14,0,"Salary Credited in this account");l(n,22,0,"Yes");l(n,26,0,"No");l(n,30,0,"NA")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,13).ngClassUntouched,Df._32(n,13).ngClassTouched,Df._32(n,13).ngClassPristine,Df._32(n,13).ngClassDirty,Df._32(n,13).ngClassValid,Df._32(n,13).ngClassInvalid,Df._32(n,13).ngClassPending,Df._32(n,14).id,Df._32(n,14).tabIndex,Df._32(n,14)._ariaLabel,Df._32(n,14).ariaLabelledby,Df._32(n,14).required.toString(),Df._32(n,14).disabled.toString(),Df._32(n,14).errorState,Df._32(n,14).panelOpen?Df._32(n,14)._optionIds:null,Df._32(n,14).multiple,Df._32(n,14)._ariaDescribedby||null,Df._32(n,14)._getAriaActiveDescendant(),Df._32(n,14).disabled,Df._32(n,14).errorState,Df._32(n,14).required]);l(n,21,0,Df._32(n,22)._getTabIndex(),Df._32(n,22).selected,Df._32(n,22).multiple,Df._32(n,22).active,Df._32(n,22).id,Df._32(n,22).selected.toString(),Df._32(n,22).disabled.toString(),Df._32(n,22).disabled);l(n,25,0,Df._32(n,26)._getTabIndex(),Df._32(n,26).selected,Df._32(n,26).multiple,Df._32(n,26).active,Df._32(n,26).id,Df._32(n,26).selected.toString(),Df._32(n,26).disabled.toString(),Df._32(n,26).disabled);l(n,29,0,Df._32(n,30)._getTabIndex(),Df._32(n,30).selected,Df._32(n,30).multiple,Df._32(n,30).active,Df._32(n,30).id,Df._32(n,30).selected.toString(),Df._32(n,30).disabled.toString(),Df._32(n,30).disabled)})}function Zp(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 11px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[70,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.amtInwords[n.parent.parent.context.index])})}function lf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,29,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,2,"mat-label",[],null,null,null,null,null)),Df._17(3,16384,null,0,fy.f,[],null,null),(l()(),Df._39(-1,null,["Limit In case of OD / CC account, What is the Limit"])),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(6,0,null,null,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(7,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,66,{_control:0}),Df._37(335544320,67,{_placeholderChild:0}),Df._37(335544320,68,{_labelChild:0}),Df._37(603979776,69,{_errorChildren:1}),Df._37(603979776,70,{_hintChildren:1}),Df._37(603979776,71,{_prefixChildren:1}),Df._37(603979776,72,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(16,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","limit"],["matInput",""],["name","limit"],["placeholder",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,17)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,17).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,17)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,17)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,18).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,18).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,23)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,23)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,23)._onInput()&&u}if("keyup"===n){u=!1!==t.inWords(e,l.parent.context.index,1)&&u}return u},null,null)),Df._17(17,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(18,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[66,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,Zp)),Df._17(27,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,20,0,"limit");l(n,23,0,"","number");l(n,27,0,""!=n.parent.context.$implicit.get("limit").value)},function(l,n){l(n,6,1,[Df._32(n,7)._control.errorState,Df._32(n,7)._control.errorState,Df._32(n,7)._canLabelFloat,Df._32(n,7)._shouldLabelFloat(),Df._32(n,7)._hideControlPlaceholder(),Df._32(n,7)._control.disabled,Df._32(n,7)._control.focused,"primary"==Df._32(n,7).color,"accent"==Df._32(n,7).color,"warn"==Df._32(n,7).color,Df._32(n,7)._shouldForward("untouched"),Df._32(n,7)._shouldForward("touched"),Df._32(n,7)._shouldForward("pristine"),Df._32(n,7)._shouldForward("dirty"),Df._32(n,7)._shouldForward("valid"),Df._32(n,7)._shouldForward("invalid"),Df._32(n,7)._shouldForward("pending")]);l(n,16,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23)._isServer,Df._32(n,23).id,Df._32(n,23).placeholder,Df._32(n,23).disabled,Df._32(n,23).required,Df._32(n,23).readonly,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23).errorState,Df._32(n,23).required.toString()])})}function nf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,7,"ion-col",[["class","col"],["col-2",""],["offset-1",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addBankDetails(l.parent.context.index,e)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,1,"ion-icon",[["color","optblue"],["name","add-circle"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(6,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,[" \n "]))],function(l,n){l(n,6,0,"optblue","add-circle")},function(l,n){l(n,5,0,Df._32(n,6)._hidden)})}function ef(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,194,"mat-accordion",[["class","mat-accordion"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),Df._17(4,16384,null,0,zC.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,16777216,null,null,187,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,QC.d,QC.a)),Df._36(6144,null,hy.F,null,[zC.c]),Df._17(8,1753088,null,1,zC.c,[[2,zC.a],Df.i,aC.d,Df._1],{expanded:[0,"expanded"]},null),Df._37(335544320,1,{_lazyContent:0}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(11,0,null,0,11,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,12)._toggle()&&u}if("keydown"===n){u=!1!==Df._32(l,12)._keydown(e)&&u}return u},QC.c,QC.b)),Df._17(12,180224,null,0,zC.e,[zC.c,Df.p,yy.j,Df.i],null,null),Df._34(13,{collapsedHeight:0,expandedHeight:1}),Df._34(14,{value:0,params:1}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(16,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Df._17(17,16384,null,0,zC.f,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(19,0,null,null,1,"h5",[],null,null,null,null,null)),(l()(),Df._39(20,null,["Banking details ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,1,["\n \n \n "])),(l()(),Df._18(24,0,null,1,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%;"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(25,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(34,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","applicant_name"],["placeholder","Applicant Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,39)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,39)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,39)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(36,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(38,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(39,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"],compareWith:[1,"compareWith"]},null),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Hp)),Df._17(46,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._13(16777216,null,1,1,null,Gp)),Df._17(51,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(53,0,null,1,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(54,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(63,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","bank_name"],["placeholder","Bank Name"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,68)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,68)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,68)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(65,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(67,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(68,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,26,{options:1}),Df._37(603979776,27,{optionGroups:1}),Df._37(335544320,28,{customTrigger:0}),Df._36(2048,[[19,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Yp)),Df._17(75,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._13(16777216,null,1,1,null,zp)),Df._17(80,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(82,0,null,1,27,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(84,0,null,null,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(85,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._18(94,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","account_type"],["matInput",""],["name","account_type"],["placeholder","Bank Account Type "],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,99)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,99)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,99)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.selectedAccTypeChanges(e.value,l.context.index)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(96,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(98,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(99,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,43,{options:1}),Df._37(603979776,44,{optionGroups:1}),Df._37(335544320,45,{customTrigger:0}),Df._36(2048,[[36,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Qp)),Df._17(106,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n \n \n \n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,Jp)),Df._17(112,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(114,0,null,1,4,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Xp)),Df._17(117,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,lf)),Df._17(122,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._18(129,0,null,1,46,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(131,0,null,null,1,"label",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Number of Years / Months since account was started"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(134,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(135,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,73,{_control:0}),Df._37(335544320,74,{_placeholderChild:0}),Df._37(335544320,75,{_labelChild:0}),Df._37(603979776,76,{_errorChildren:1}),Df._37(603979776,77,{_hintChildren:1}),Df._37(603979776,78,{_prefixChildren:1}),Df._37(603979776,79,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(144,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_year"],["matInput",""],["name","vintage"],["placeholder","Year"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,145)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,145).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,145)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,145)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,146).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,146).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,146).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,151)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,151)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,151)._onInput()&&u}return u},null,null)),Df._17(145,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(146,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(148,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(150,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(151,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[73,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(155,0,null,null,19,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(156,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,80,{_control:0}),Df._37(335544320,81,{_placeholderChild:0}),Df._37(335544320,82,{_labelChild:0}),Df._37(603979776,83,{_errorChildren:1}),Df._37(603979776,84,{_hintChildren:1}),Df._37(603979776,85,{_prefixChildren:1}),Df._37(603979776,86,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(165,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","vintage_month"],["matInput",""],["name","vintage"],["placeholder","month"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,166)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,166).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,166)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,166)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,167).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,167).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,167).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,172)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,172)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,172)._onInput()&&u}if("change"===n){u=!1!==t.ConvertMonthintoYear(l.context.$implicit,e.target.value)&&u}return u},null,null)),Df._17(166,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(167,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(169,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(171,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(172,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[80,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(177,0,null,1,15,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(178,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,87,{_buttons:1}),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(181,0,null,null,7,"ion-col",[["class","col"],["col-3",""],["offset-3",""]],null,null,null,null,null)),Df._17(182,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(184,0,null,null,3,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removebank(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(186,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(187,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,nf)),Df._17(191,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,8,0,e.step==n.context.index);l(n,36,0,"applicant_name");l(n,39,0,"Applicant Name",e.compareObjects);l(n,46,0,e.mergeCompanyApplicant);l(n,51,0,1==e.checkOthers(n.context.$implicit.get("applicant_name").value));l(n,65,0,"bank_name");l(n,68,0,"Bank Name");l(n,75,0,e.m_btLenderList);l(n,80,0,1==n.context.$implicit.get("bank_name").value);l(n,96,0,"account_type");l(n,99,0,"Bank Account Type ");l(n,106,0,e.accountType);l(n,112,0,"SAL"!=e.pd_cus_segment);l(n,117,0,e.salaryField);l(n,122,0,e.limitCaseFlag[n.context.index]);l(n,148,0,"vintage_year");l(n,151,0,"Year","number");l(n,169,0,"vintage_month");l(n,172,0,"month","number");l(n,187,0,"optblue","md-trash");l(n,191,0,n.context.last)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,6,0,Df._32(n,8).expanded,Df._32(n,8)._hasSpacing());l(n,11,0,Df._32(n,12).panel._headerId,Df._32(n,12).panel.disabled?-1:0,Df._32(n,12)._getPanelId(),Df._32(n,12)._isExpanded(),Df._32(n,12).panel.disabled,Df._32(n,12)._isExpanded(),l(n,14,0,Df._32(n,12)._getExpandedState(),l(n,13,0,Df._32(n,12).collapsedHeight,Df._32(n,12).expandedHeight)));l(n,20,0,n.context.index+1);l(n,24,1,[Df._32(n,25)._control.errorState,Df._32(n,25)._control.errorState,Df._32(n,25)._canLabelFloat,Df._32(n,25)._shouldLabelFloat(),Df._32(n,25)._hideControlPlaceholder(),Df._32(n,25)._control.disabled,Df._32(n,25)._control.focused,"primary"==Df._32(n,25).color,"accent"==Df._32(n,25).color,"warn"==Df._32(n,25).color,Df._32(n,25)._shouldForward("untouched"),Df._32(n,25)._shouldForward("touched"),Df._32(n,25)._shouldForward("pristine"),Df._32(n,25)._shouldForward("dirty"),Df._32(n,25)._shouldForward("valid"),Df._32(n,25)._shouldForward("invalid"),Df._32(n,25)._shouldForward("pending")]);l(n,34,1,[Df._32(n,38).ngClassUntouched,Df._32(n,38).ngClassTouched,Df._32(n,38).ngClassPristine,Df._32(n,38).ngClassDirty,Df._32(n,38).ngClassValid,Df._32(n,38).ngClassInvalid,Df._32(n,38).ngClassPending,Df._32(n,39).id,Df._32(n,39).tabIndex,Df._32(n,39)._ariaLabel,Df._32(n,39).ariaLabelledby,Df._32(n,39).required.toString(),Df._32(n,39).disabled.toString(),Df._32(n,39).errorState,Df._32(n,39).panelOpen?Df._32(n,39)._optionIds:null,Df._32(n,39).multiple,Df._32(n,39)._ariaDescribedby||null,Df._32(n,39)._getAriaActiveDescendant(),Df._32(n,39).disabled,Df._32(n,39).errorState,Df._32(n,39).required]);l(n,53,1,[Df._32(n,54)._control.errorState,Df._32(n,54)._control.errorState,Df._32(n,54)._canLabelFloat,Df._32(n,54)._shouldLabelFloat(),Df._32(n,54)._hideControlPlaceholder(),Df._32(n,54)._control.disabled,Df._32(n,54)._control.focused,"primary"==Df._32(n,54).color,"accent"==Df._32(n,54).color,"warn"==Df._32(n,54).color,Df._32(n,54)._shouldForward("untouched"),Df._32(n,54)._shouldForward("touched"),Df._32(n,54)._shouldForward("pristine"),Df._32(n,54)._shouldForward("dirty"),Df._32(n,54)._shouldForward("valid"),Df._32(n,54)._shouldForward("invalid"),Df._32(n,54)._shouldForward("pending")]);l(n,63,1,[Df._32(n,67).ngClassUntouched,Df._32(n,67).ngClassTouched,Df._32(n,67).ngClassPristine,Df._32(n,67).ngClassDirty,Df._32(n,67).ngClassValid,Df._32(n,67).ngClassInvalid,Df._32(n,67).ngClassPending,Df._32(n,68).id,Df._32(n,68).tabIndex,Df._32(n,68)._ariaLabel,Df._32(n,68).ariaLabelledby,Df._32(n,68).required.toString(),Df._32(n,68).disabled.toString(),Df._32(n,68).errorState,Df._32(n,68).panelOpen?Df._32(n,68)._optionIds:null,Df._32(n,68).multiple,Df._32(n,68)._ariaDescribedby||null,Df._32(n,68)._getAriaActiveDescendant(),Df._32(n,68).disabled,Df._32(n,68).errorState,Df._32(n,68).required]);l(n,84,1,[Df._32(n,85)._control.errorState,Df._32(n,85)._control.errorState,Df._32(n,85)._canLabelFloat,Df._32(n,85)._shouldLabelFloat(),Df._32(n,85)._hideControlPlaceholder(),Df._32(n,85)._control.disabled,Df._32(n,85)._control.focused,"primary"==Df._32(n,85).color,"accent"==Df._32(n,85).color,"warn"==Df._32(n,85).color,Df._32(n,85)._shouldForward("untouched"),Df._32(n,85)._shouldForward("touched"),Df._32(n,85)._shouldForward("pristine"),Df._32(n,85)._shouldForward("dirty"),Df._32(n,85)._shouldForward("valid"),Df._32(n,85)._shouldForward("invalid"),Df._32(n,85)._shouldForward("pending")]);l(n,94,1,[Df._32(n,98).ngClassUntouched,Df._32(n,98).ngClassTouched,Df._32(n,98).ngClassPristine,Df._32(n,98).ngClassDirty,Df._32(n,98).ngClassValid,Df._32(n,98).ngClassInvalid,Df._32(n,98).ngClassPending,Df._32(n,99).id,Df._32(n,99).tabIndex,Df._32(n,99)._ariaLabel,Df._32(n,99).ariaLabelledby,Df._32(n,99).required.toString(),Df._32(n,99).disabled.toString(),Df._32(n,99).errorState,Df._32(n,99).panelOpen?Df._32(n,99)._optionIds:null,Df._32(n,99).multiple,Df._32(n,99)._ariaDescribedby||null,Df._32(n,99)._getAriaActiveDescendant(),Df._32(n,99).disabled,Df._32(n,99).errorState,Df._32(n,99).required]);l(n,134,1,[Df._32(n,135)._control.errorState,Df._32(n,135)._control.errorState,Df._32(n,135)._canLabelFloat,Df._32(n,135)._shouldLabelFloat(),Df._32(n,135)._hideControlPlaceholder(),Df._32(n,135)._control.disabled,Df._32(n,135)._control.focused,"primary"==Df._32(n,135).color,"accent"==Df._32(n,135).color,"warn"==Df._32(n,135).color,Df._32(n,135)._shouldForward("untouched"),Df._32(n,135)._shouldForward("touched"),Df._32(n,135)._shouldForward("pristine"),Df._32(n,135)._shouldForward("dirty"),Df._32(n,135)._shouldForward("valid"),Df._32(n,135)._shouldForward("invalid"),Df._32(n,135)._shouldForward("pending")]);l(n,144,1,[Df._32(n,150).ngClassUntouched,Df._32(n,150).ngClassTouched,Df._32(n,150).ngClassPristine,Df._32(n,150).ngClassDirty,Df._32(n,150).ngClassValid,Df._32(n,150).ngClassInvalid,Df._32(n,150).ngClassPending,Df._32(n,151)._isServer,Df._32(n,151).id,Df._32(n,151).placeholder,Df._32(n,151).disabled,Df._32(n,151).required,Df._32(n,151).readonly,Df._32(n,151)._ariaDescribedby||null,Df._32(n,151).errorState,Df._32(n,151).required.toString()]);l(n,155,1,[Df._32(n,156)._control.errorState,Df._32(n,156)._control.errorState,Df._32(n,156)._canLabelFloat,Df._32(n,156)._shouldLabelFloat(),Df._32(n,156)._hideControlPlaceholder(),Df._32(n,156)._control.disabled,Df._32(n,156)._control.focused,"primary"==Df._32(n,156).color,"accent"==Df._32(n,156).color,"warn"==Df._32(n,156).color,Df._32(n,156)._shouldForward("untouched"),Df._32(n,156)._shouldForward("touched"),Df._32(n,156)._shouldForward("pristine"),Df._32(n,156)._shouldForward("dirty"),Df._32(n,156)._shouldForward("valid"),Df._32(n,156)._shouldForward("invalid"),Df._32(n,156)._shouldForward("pending")]);l(n,165,1,[Df._32(n,171).ngClassUntouched,Df._32(n,171).ngClassTouched,Df._32(n,171).ngClassPristine,Df._32(n,171).ngClassDirty,Df._32(n,171).ngClassValid,Df._32(n,171).ngClassInvalid,Df._32(n,171).ngClassPending,Df._32(n,172)._isServer,Df._32(n,172).id,Df._32(n,172).placeholder,Df._32(n,172).disabled,Df._32(n,172).required,Df._32(n,172).readonly,Df._32(n,172)._ariaDescribedby||null,Df._32(n,172).errorState,Df._32(n,172).required.toString()]);l(n,186,0,Df._32(n,187)._hidden)})}function uf(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(7,0,null,3,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(8,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(9,0,["",""])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(13,0,null,null,52,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(14,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(16,0,null,1,48,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,18).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,18).onReset()&&u}return u},null,null)),Df._17(17,16384,null,0,Jf.B,[],null,null),Df._17(18,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(20,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,7,"div",[["class","accordion"],["formArrayName","itemRows"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(23,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(25,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,ef)),Df._17(28,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(31,0,null,null,22,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(32,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(34,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(35,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,88,{_control:0}),Df._37(335544320,89,{_placeholderChild:0}),Df._37(335544320,90,{_labelChild:0}),Df._37(603979776,91,{_errorChildren:1}),Df._37(603979776,92,{_hintChildren:1}),Df._37(603979776,93,{_prefixChildren:1}),Df._37(603979776,94,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(44,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","banking_form_remark"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,45)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,45).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,45)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,45)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,50)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,50)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,50)._onInput()&&u}return u},null,null)),Df._17(45,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(47,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(49,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(50,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[88,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(55,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(56,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(59,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.savepdBank(t.bankingForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(60,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,18,0,e.bankingForm);l(n,23,0,"itemRows");l(n,28,0,e.bankingForm.controls.itemRows.controls);l(n,47,0,"banking_form_remark");l(n,50,0,"Remarks");l(n,60,0,"optblue","")},function(l,n){var e=n.component;l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,9,0,e.formDetails.form_name);l(n,13,0,Df._32(n,14).statusbarPadding,Df._32(n,14)._hasRefresher);l(n,16,0,Df._32(n,20).ngClassUntouched,Df._32(n,20).ngClassTouched,Df._32(n,20).ngClassPristine,Df._32(n,20).ngClassDirty,Df._32(n,20).ngClassValid,Df._32(n,20).ngClassInvalid,Df._32(n,20).ngClassPending);l(n,22,0,Df._32(n,25).ngClassUntouched,Df._32(n,25).ngClassTouched,Df._32(n,25).ngClassPristine,Df._32(n,25).ngClassDirty,Df._32(n,25).ngClassValid,Df._32(n,25).ngClassInvalid,Df._32(n,25).ngClassPending);l(n,34,1,[Df._32(n,35)._control.errorState,Df._32(n,35)._control.errorState,Df._32(n,35)._canLabelFloat,Df._32(n,35)._shouldLabelFloat(),Df._32(n,35)._hideControlPlaceholder(),Df._32(n,35)._control.disabled,Df._32(n,35)._control.focused,"primary"==Df._32(n,35).color,"accent"==Df._32(n,35).color,"warn"==Df._32(n,35).color,Df._32(n,35)._shouldForward("untouched"),Df._32(n,35)._shouldForward("touched"),Df._32(n,35)._shouldForward("pristine"),Df._32(n,35)._shouldForward("dirty"),Df._32(n,35)._shouldForward("valid"),Df._32(n,35)._shouldForward("invalid"),Df._32(n,35)._shouldForward("pending")]);l(n,44,1,[Df._32(n,49).ngClassUntouched,Df._32(n,49).ngClassTouched,Df._32(n,49).ngClassPristine,Df._32(n,49).ngClassDirty,Df._32(n,49).ngClassValid,Df._32(n,49).ngClassInvalid,Df._32(n,49).ngClassPending,Df._32(n,50)._isServer,Df._32(n,50).id,Df._32(n,50).placeholder,Df._32(n,50).disabled,Df._32(n,50).required,Df._32(n,50).readonly,Df._32(n,50)._ariaDescribedby||null,Df._32(n,50).errorState,Df._32(n,50).required.toString()])})}function tf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Business Income"]))],null,null)}function af(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[9,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.business_income_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.business_income_item)})}function of(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,12,{_control:0}),Df._37(335544320,13,{_placeholderChild:0}),Df._37(335544320,14,{_labelChild:0}),Df._37(603979776,15,{_errorChildren:1}),Df._37(603979776,16,{_hintChildren:1}),Df._37(603979776,17,{_prefixChildren:1}),Df._37(603979776,18,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_income_item"],["matInput",""],["name","other_income_item"],["placeholder","Other Business Income"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[12,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_income_item");l(n,16,0,"Other Business Income","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function rf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[23,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.Value[n.parent.context.index])})}function _f(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,1)._selectViaInteraction()&&u}if("keydown"===n){u=!1!==Df._32(l,1)._handleKeydown(e)&&u}return u},DC.e,DC.b)),Df._17(1,8437760,[[33,4]],0,hy.t,[Df.p,Df.i,[2,hy.l],[2,hy.s]],{value:[0,"value"]},null),(l()(),Df._39(2,0,["",""]))],function(l,n){l(n,1,0,n.context.$implicit.frequency_id)},function(l,n){l(n,0,0,Df._32(n,1)._getTabIndex(),Df._32(n,1).selected,Df._32(n,1).multiple,Df._32(n,1).active,Df._32(n,1).id,Df._32(n,1).selected.toString(),Df._32(n,1).disabled.toString(),Df._32(n,1).disabled);l(n,2,0,n.context.$implicit.name)})}function df(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(1,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,36,{_control:0}),Df._37(335544320,37,{_placeholderChild:0}),Df._37(335544320,38,{_labelChild:0}),Df._37(603979776,39,{_errorChildren:1}),Df._37(603979776,40,{_hintChildren:1}),Df._37(603979776,41,{_prefixChildren:1}),Df._37(603979776,42,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(10,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","other_frequncy_item"],["matInput",""],["name","other_frequncy_item"],["placeholder","Other Frequency"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,11)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,11).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,11)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,11)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,16)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,16)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,16)._onInput()&&u}return u},null,null)),Df._17(11,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(13,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(15,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(16,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[36,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "]))],function(l,n){l(n,13,0,"other_frequncy_item");l(n,16,0,"Other Frequency","text")},function(l,n){l(n,0,1,[Df._32(n,1)._control.errorState,Df._32(n,1)._control.errorState,Df._32(n,1)._canLabelFloat,Df._32(n,1)._shouldLabelFloat(),Df._32(n,1)._hideControlPlaceholder(),Df._32(n,1)._control.disabled,Df._32(n,1)._control.focused,"primary"==Df._32(n,1).color,"accent"==Df._32(n,1).color,"warn"==Df._32(n,1).color,Df._32(n,1)._shouldForward("untouched"),Df._32(n,1)._shouldForward("touched"),Df._32(n,1)._shouldForward("pristine"),Df._32(n,1)._shouldForward("dirty"),Df._32(n,1)._shouldForward("valid"),Df._32(n,1)._shouldForward("invalid"),Df._32(n,1)._shouldForward("pending")]);l(n,10,1,[Df._32(n,15).ngClassUntouched,Df._32(n,15).ngClassTouched,Df._32(n,15).ngClassPristine,Df._32(n,15).ngClassDirty,Df._32(n,15).ngClassValid,Df._32(n,15).ngClassInvalid,Df._32(n,15).ngClassPending,Df._32(n,16)._isServer,Df._32(n,16).id,Df._32(n,16).placeholder,Df._32(n,16).disabled,Df._32(n,16).required,Df._32(n,16).readonly,Df._32(n,16)._ariaDescribedby||null,Df._32(n,16).errorState,Df._32(n,16).required.toString()])})}function sf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"mat-hint",[["align","end"],["class","mat-hint"],["style","font-size: 12px"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Df._17(1,16384,[[47,4]],0,fy.e,[],{align:[0,"align"]},null),(l()(),Df._39(2,null,[""," "," Only"]))],function(l,n){l(n,1,0,"end")},function(l,n){var e=n.component;l(n,0,0,"end"==Df._32(n,1).align,Df._32(n,1).id,null);l(n,2,0,"₹",e.AnnualExpenses[n.parent.context.index])})}function cf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.addBusinessDetails()&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(2,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-add"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(3,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,3,0,"optblue","md-add")},function(l,n){l(n,2,0,Df._32(n,3)._hidden)})}function mf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,17,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,5,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(4,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,1,"h3",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["Total Business Income:"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,6,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(11,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(13,0,null,null,2,"h3",[],null,null,null,null,null)),(l()(),Df._18(14,0,null,null,0,"img",[["style","width: 10%; height: 10%;"]],[[8,"src",4]],null,null,null,null)),(l()(),Df._39(15,null,[" ",""])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,14,0,"http://ssa.sineedge.com/sparqapi/logo/indian-rupee-symbol.jpg");l(n,15,0,e.grandIncomeTotal)})}function pf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,158,"div",[],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(1,212992,null,0,Jf.l,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.l]),Df._17(3,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(5,0,null,null,152,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(6,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(8,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(9,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(18,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","business_income_id"],["placeholder","Buiness Income"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0;if("keydown"===n){u=!1!==Df._32(l,23)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,23)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,23)._onBlur()&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(20,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(22,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(23,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},null),Df._37(603979776,9,{options:1}),Df._37(603979776,10,{optionGroups:1}),Df._37(335544320,11,{customTrigger:0}),Df._36(2048,[[2,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,af)),Df._17(30,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n\n "])),(l()(),Df._13(16777216,null,0,1,null,of)),Df._17(35,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(37,0,null,0,21,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(38,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,19,{_control:0}),Df._37(335544320,20,{_placeholderChild:0}),Df._37(335544320,21,{_labelChild:0}),Df._37(603979776,22,{_errorChildren:1}),Df._37(603979776,23,{_hintChildren:1}),Df._37(603979776,24,{_prefixChildren:1}),Df._37(603979776,25,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(47,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","income_value"],["matInput",""],["name","income_value"],["placeholder","Amount (Rs)"],["type","tel"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0,t=l.component;if("input"===n){u=!1!==Df._32(l,48)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,48).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,48)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,48)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,53)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,53)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,53)._onInput()&&u}if("keyup"===n){t.busIncomecalculate(l.context.index,l.context.$implicit.value);u=!1!==t.inWords(e.target.value,l.context.index,1)&&u}return u},null,null)),Df._17(48,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(50,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(52,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(53,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[19,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,rf)),Df._17(57,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(60,0,null,0,24,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(61,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,26,{_control:0}),Df._37(335544320,27,{_placeholderChild:0}),Df._37(335544320,28,{_labelChild:0}),Df._37(603979776,29,{_errorChildren:1}),Df._37(603979776,30,{_hintChildren:1}),Df._37(603979776,31,{_prefixChildren:1}),Df._37(603979776,32,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(70,0,null,1,13,"mat-select",[["class","mat-select"],["formControlName","fk_frequency_id"],["placeholder","Frequency"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],function(l,n,e){var u=!0,t=l.component;if("keydown"===n){u=!1!==Df._32(l,75)._handleKeydown(e)&&u}if("focus"===n){u=!1!==Df._32(l,75)._onFocus()&&u}if("blur"===n){u=!1!==Df._32(l,75)._onBlur()&&u}if("selectionChange"===n){u=!1!==t.busIncomecalculate(l.context.index,l.context.$implicit.value)&&u}return u},TC.b,TC.a)),Df._36(6144,null,hy.l,null,[OC.c]),Df._17(72,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(74,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(75,2080768,null,3,OC.c,[LC.f,Df.i,Df.H,hy.d,Df.p,[2,AC.c],[2,Jf.u],[2,Jf.k],[2,fy.b],[2,Jf.r],[8,null],OC.a],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),Df._37(603979776,33,{options:1}),Df._37(603979776,34,{optionGroups:1}),Df._37(335544320,35,{customTrigger:0}),Df._36(2048,[[26,4]],fy.c,null,[OC.c]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,_f)),Df._17(82,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,df)),Df._17(87,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(89,0,null,0,22,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(90,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,43,{_control:0}),Df._37(335544320,44,{_placeholderChild:0}),Df._37(335544320,45,{_labelChild:0}),Df._37(603979776,46,{_errorChildren:1}),Df._37(603979776,47,{_hintChildren:1}),Df._37(603979776,48,{_prefixChildren:1}),Df._37(603979776,49,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(99,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","annual_income_value"],["matInput",""],["name","annual_income_value"],["placeholder","Annual Expenses"],["readonly",""],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,100)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,100).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,100)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,100)._compositionEnd(e.target.value)&&u}if("change"===n){u=!1!==Df._32(l,101).onChange(e.target.value)&&u}if("input"===n){u=!1!==Df._32(l,101).onChange(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,101).onTouched()&&u}if("blur"===n){u=!1!==Df._32(l,106)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,106)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,106)._onInput()&&u}return u},null,null)),Df._17(100,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._17(101,16384,null,0,Jf.A,[Df.P,Df.p],null,null),Df._36(1024,null,Jf.q,function(l,n){return[l,n]},[Jf.d,Jf.A]),Df._17(103,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(105,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(106,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"],readonly:[2,"readonly"]},null),Df._36(2048,[[43,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,7,1,null,sf)),Df._17(110,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(113,0,null,0,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(114,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,50,{_control:0}),Df._37(335544320,51,{_placeholderChild:0}),Df._37(335544320,52,{_labelChild:0}),Df._37(603979776,53,{_errorChildren:1}),Df._37(603979776,54,{_hintChildren:1}),Df._37(603979776,55,{_prefixChildren:1}),Df._37(603979776,56,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(123,0,null,1,7,"textarea",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["formControlName","comments"],["matInput",""],["placeholder","Remarks"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,124)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,124).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,124)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,124)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,129)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,129)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,129)._onInput()&&u}return u},null,null)),Df._17(124,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(126,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(128,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(129,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"]},null),Df._36(2048,[[50,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,0,["\n \n "])),(l()(),Df._18(133,0,null,0,20,"ion-buttons",[["end",""]],null,null,null,null,null)),Df._17(134,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,57,{_buttons:1}),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(137,0,null,null,8,"ion-col",[["class","col"],["col-1",""]],null,null,null,null,null)),Df._17(138,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(140,0,null,null,4,"a",[],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.deleteBuisnessDetails(l.context.index)&&u}return u},null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(142,0,null,null,1,"ion-icon",[["color","optblue"],["name","md-trash"],["role","img"],["style","font-size: 22px;"]],[[2,"hide",null]],null,null,null,null)),Df._17(143,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{color:[0,"color"],name:[1,"name"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(147,0,null,null,5,"ion-col",[["class","col"],["col-3",""],["offset-8",""]],null,null,null,null,null)),Df._17(148,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._13(16777216,null,null,1,null,cf)),Df._17(151,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n \n \n \n \n "])),(l()(),Df._39(-1,0,["\n\n \n "])),(l()(),Df._13(16777216,null,0,1,null,mf)),Df._17(156,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,null,["\n \n "]))],function(l,n){var e=n.component;l(n,1,0,n.context.index);l(n,20,0,"business_income_id");l(n,23,0,"Buiness Income");l(n,30,0,e.businessIncome);l(n,35,0,1==n.context.$implicit.get("business_income_id").value);l(n,50,0,"income_value");l(n,53,0,"Amount (Rs)","tel");l(n,57,0,null!=n.context.$implicit.get("income_value").value);l(n,72,0,"fk_frequency_id");l(n,75,0,"Frequency");l(n,82,0,e.m_freqOfPurchase);l(n,87,0,1==n.context.$implicit.get("fk_frequency_id").value);l(n,103,0,"annual_income_value");l(n,106,0,"Annual Expenses","number","");l(n,110,0,null!=n.context.$implicit.get("annual_income_value").value);l(n,126,0,"comments");l(n,129,0,"Remarks");l(n,143,0,"optblue","md-trash");l(n,151,0,n.context.last);l(n,156,0,n.context.last&&null!=e.grandIncomeTotal)},function(l,n){l(n,0,0,Df._32(n,3).ngClassUntouched,Df._32(n,3).ngClassTouched,Df._32(n,3).ngClassPristine,Df._32(n,3).ngClassDirty,Df._32(n,3).ngClassValid,Df._32(n,3).ngClassInvalid,Df._32(n,3).ngClassPending);l(n,8,1,[Df._32(n,9)._control.errorState,Df._32(n,9)._control.errorState,Df._32(n,9)._canLabelFloat,Df._32(n,9)._shouldLabelFloat(),Df._32(n,9)._hideControlPlaceholder(),Df._32(n,9)._control.disabled,Df._32(n,9)._control.focused,"primary"==Df._32(n,9).color,"accent"==Df._32(n,9).color,"warn"==Df._32(n,9).color,Df._32(n,9)._shouldForward("untouched"),Df._32(n,9)._shouldForward("touched"),Df._32(n,9)._shouldForward("pristine"),Df._32(n,9)._shouldForward("dirty"),Df._32(n,9)._shouldForward("valid"),Df._32(n,9)._shouldForward("invalid"),Df._32(n,9)._shouldForward("pending")]);l(n,18,1,[Df._32(n,22).ngClassUntouched,Df._32(n,22).ngClassTouched,Df._32(n,22).ngClassPristine,Df._32(n,22).ngClassDirty,Df._32(n,22).ngClassValid,Df._32(n,22).ngClassInvalid,Df._32(n,22).ngClassPending,Df._32(n,23).id,Df._32(n,23).tabIndex,Df._32(n,23)._ariaLabel,Df._32(n,23).ariaLabelledby,Df._32(n,23).required.toString(),Df._32(n,23).disabled.toString(),Df._32(n,23).errorState,Df._32(n,23).panelOpen?Df._32(n,23)._optionIds:null,Df._32(n,23).multiple,Df._32(n,23)._ariaDescribedby||null,Df._32(n,23)._getAriaActiveDescendant(),Df._32(n,23).disabled,Df._32(n,23).errorState,Df._32(n,23).required]);l(n,37,1,[Df._32(n,38)._control.errorState,Df._32(n,38)._control.errorState,Df._32(n,38)._canLabelFloat,Df._32(n,38)._shouldLabelFloat(),Df._32(n,38)._hideControlPlaceholder(),Df._32(n,38)._control.disabled,Df._32(n,38)._control.focused,"primary"==Df._32(n,38).color,"accent"==Df._32(n,38).color,"warn"==Df._32(n,38).color,Df._32(n,38)._shouldForward("untouched"),Df._32(n,38)._shouldForward("touched"),Df._32(n,38)._shouldForward("pristine"),Df._32(n,38)._shouldForward("dirty"),Df._32(n,38)._shouldForward("valid"),Df._32(n,38)._shouldForward("invalid"),Df._32(n,38)._shouldForward("pending")]);l(n,47,1,[Df._32(n,52).ngClassUntouched,Df._32(n,52).ngClassTouched,Df._32(n,52).ngClassPristine,Df._32(n,52).ngClassDirty,Df._32(n,52).ngClassValid,Df._32(n,52).ngClassInvalid,Df._32(n,52).ngClassPending,Df._32(n,53)._isServer,Df._32(n,53).id,Df._32(n,53).placeholder,Df._32(n,53).disabled,Df._32(n,53).required,Df._32(n,53).readonly,Df._32(n,53)._ariaDescribedby||null,Df._32(n,53).errorState,Df._32(n,53).required.toString()]);l(n,60,1,[Df._32(n,61)._control.errorState,Df._32(n,61)._control.errorState,Df._32(n,61)._canLabelFloat,Df._32(n,61)._shouldLabelFloat(),Df._32(n,61)._hideControlPlaceholder(),Df._32(n,61)._control.disabled,Df._32(n,61)._control.focused,"primary"==Df._32(n,61).color,"accent"==Df._32(n,61).color,"warn"==Df._32(n,61).color,Df._32(n,61)._shouldForward("untouched"),Df._32(n,61)._shouldForward("touched"),Df._32(n,61)._shouldForward("pristine"),Df._32(n,61)._shouldForward("dirty"),Df._32(n,61)._shouldForward("valid"),Df._32(n,61)._shouldForward("invalid"),Df._32(n,61)._shouldForward("pending")]);l(n,70,1,[Df._32(n,74).ngClassUntouched,Df._32(n,74).ngClassTouched,Df._32(n,74).ngClassPristine,Df._32(n,74).ngClassDirty,Df._32(n,74).ngClassValid,Df._32(n,74).ngClassInvalid,Df._32(n,74).ngClassPending,Df._32(n,75).id,Df._32(n,75).tabIndex,Df._32(n,75)._ariaLabel,Df._32(n,75).ariaLabelledby,Df._32(n,75).required.toString(),Df._32(n,75).disabled.toString(),Df._32(n,75).errorState,Df._32(n,75).panelOpen?Df._32(n,75)._optionIds:null,Df._32(n,75).multiple,Df._32(n,75)._ariaDescribedby||null,Df._32(n,75)._getAriaActiveDescendant(),Df._32(n,75).disabled,Df._32(n,75).errorState,Df._32(n,75).required]);l(n,89,1,[Df._32(n,90)._control.errorState,Df._32(n,90)._control.errorState,Df._32(n,90)._canLabelFloat,Df._32(n,90)._shouldLabelFloat(),Df._32(n,90)._hideControlPlaceholder(),Df._32(n,90)._control.disabled,Df._32(n,90)._control.focused,"primary"==Df._32(n,90).color,"accent"==Df._32(n,90).color,"warn"==Df._32(n,90).color,Df._32(n,90)._shouldForward("untouched"),Df._32(n,90)._shouldForward("touched"),Df._32(n,90)._shouldForward("pristine"),Df._32(n,90)._shouldForward("dirty"),Df._32(n,90)._shouldForward("valid"),Df._32(n,90)._shouldForward("invalid"),Df._32(n,90)._shouldForward("pending")]);l(n,99,1,[Df._32(n,105).ngClassUntouched,Df._32(n,105).ngClassTouched,Df._32(n,105).ngClassPristine,Df._32(n,105).ngClassDirty,Df._32(n,105).ngClassValid,Df._32(n,105).ngClassInvalid,Df._32(n,105).ngClassPending,Df._32(n,106)._isServer,Df._32(n,106).id,Df._32(n,106).placeholder,Df._32(n,106).disabled,Df._32(n,106).required,Df._32(n,106).readonly,Df._32(n,106)._ariaDescribedby||null,Df._32(n,106).errorState,Df._32(n,106).required.toString()]);l(n,113,1,[Df._32(n,114)._control.errorState,Df._32(n,114)._control.errorState,Df._32(n,114)._canLabelFloat,Df._32(n,114)._shouldLabelFloat(),Df._32(n,114)._hideControlPlaceholder(),Df._32(n,114)._control.disabled,Df._32(n,114)._control.focused,"primary"==Df._32(n,114).color,"accent"==Df._32(n,114).color,"warn"==Df._32(n,114).color,Df._32(n,114)._shouldForward("untouched"),Df._32(n,114)._shouldForward("touched"),Df._32(n,114)._shouldForward("pristine"),Df._32(n,114)._shouldForward("dirty"),Df._32(n,114)._shouldForward("valid"),Df._32(n,114)._shouldForward("invalid"),Df._32(n,114)._shouldForward("pending")]);l(n,123,1,[Df._32(n,128).ngClassUntouched,Df._32(n,128).ngClassTouched,Df._32(n,128).ngClassPristine,Df._32(n,128).ngClassDirty,Df._32(n,128).ngClassValid,Df._32(n,128).ngClassInvalid,Df._32(n,128).ngClassPending,Df._32(n,129)._isServer,Df._32(n,129).id,Df._32(n,129).placeholder,Df._32(n,129).disabled,Df._32(n,129).required,Df._32(n,129).readonly,Df._32(n,129)._ariaDescribedby||null,Df._32(n,129).errorState,Df._32(n,129).required.toString()]);l(n,142,0,Df._32(n,143)._hidden)})}function ff(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,tf)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n\n\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,28,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(24,0,null,1,24,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,26).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,26).onReset()&&u}return u},null,null)),Df._17(25,16384,null,0,Jf.B,[],null,null),Df._17(26,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(28,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,7,"div",[["formArrayName","busIncome"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Df._17(31,212992,null,0,Jf.f,[[3,Jf.c],[8,null],[8,null]],{name:[0,"name"]},null),Df._36(2048,null,Jf.c,null,[Jf.f]),Df._17(33,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,pf)),Df._17(36,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,8,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(40,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(43,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,[[null,"click"]],function(l,n,e){var u=!0,t=l.component;if("click"===n){u=!1!==t.saveBusinessData(t.BuissnessForm.value)&&u}return u},Vy.b,Vy.a)),Df._17(44,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,26,0,e.BuissnessForm);l(n,31,0,"busIncome");l(n,36,0,e.BuissnessForm.get("busIncome").controls);l(n,44,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,24,0,Df._32(n,28).ngClassUntouched,Df._32(n,28).ngClassTouched,Df._32(n,28).ngClassPristine,Df._32(n,28).ngClassDirty,Df._32(n,28).ngClassValid,Df._32(n,28).ngClassInvalid,Df._32(n,28).ngClassPending);l(n,30,0,Df._32(n,33).ngClassUntouched,Df._32(n,33).ngClassTouched,Df._32(n,33).ngClassPristine,Df._32(n,33).ngClassDirty,Df._32(n,33).ngClassValid,Df._32(n,33).ngClassInvalid,Df._32(n,33).ngClassPending)})}function hf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,6,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,[" \n "])),(l()(),Df._18(2,0,null,null,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","docName"],["placeholder","File Name"],["required",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],function(l,n,e){var u=!0,t=l.component;if("blur"===n){u=!1!==Df._32(l,4)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,4)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,4)._onInput()&&u}if("blur"===n){u=!1!==t.docnames(e.target.value,l.parent.context.index,l.parent.context.$implicit.image)&&u}return u},null,null)),Df._36(6144,null,fy.c,null,[gy.b]),Df._17(4,933888,null,0,gy.b,[Df.p,Xf.a,[8,null],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"File Name","","text")},function(l,n){l(n,2,0,Df._32(n,4)._isServer,Df._32(n,4).id,Df._32(n,4).placeholder,Df._32(n,4).disabled,Df._32(n,4).required,Df._32(n,4).readonly,Df._32(n,4)._ariaDescribedby||null,Df._32(n,4).errorState,Df._32(n,4).required.toString())})}function gf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"div",[],null,null,null,null,null)),(l()(),Df._39(1,null,["\n ","\n "]))],null,function(l,n){l(n,1,0,n.parent.context.$implicit.Name)})}function bf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,14,"ion-col",[["class","col"],["col-6",""]],null,null,null,null,null)),Df._17(1,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(3,0,null,null,1,"ion-icon",[["name","trash"],["role","img"]],[[2,"hide",null]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.removeimage(l.context.index)&&u}return u},null,null)),Df._17(4,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._18(6,0,null,null,1,"img",[["class","img-responsive"],["imageViewer",""]],[[8,"src",4]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,7).onClick(e)&&u}return u},null,null)),Df._17(7,16384,null,0,iC.a,[Df.p,oC.a],{src:[0,"src"]},null),(l()(),Df._39(-1,null,["\n\n \n "])),(l()(),Df._13(16777216,null,null,1,null,hf)),Df._17(10,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,gf)),Df._17(13,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,"trash");l(n,7,0,"");l(n,10,0,""==n.context.$implicit.name);l(n,13,0,""!=n.context.$implicit.name)},function(l,n){l(n,3,0,Df._32(n,4)._hidden);l(n,6,0,Df._21(1,"",n.context.$implicit.image,""))})}function vf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,5,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(1,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,bf)),Df._17(4,802816,null,0,rg.i,[Df._1,Df.W,Df.B],{ngForOf:[0,"ngForOf"]},null),(l()(),Df._39(-1,null,["\n "]))],function(l,n){l(n,4,0,n.component.cameraArr)},null)}function yf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,20,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,0,null,null,16,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(16,0,null,3,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(17,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(18,0,[""," - ",""])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(22,0,null,null,43,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(23,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(25,0,null,0,9,"ion-fab",[["middle",""],["right",""]],null,null,null,dC.b,dC.a)),Df._17(26,1228800,null,2,sC.a,[Gv.a],null,null),Df._37(335544320,2,{_mainButton:0}),Df._37(603979776,3,{_fabLists:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(30,0,null,0,3,"button",[["color","optblue"],["ion-fab",""]],null,[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.takePicture()&&u}return u},cC.b,cC.a)),Df._17(31,49152,[[2,4]],0,mC.a,[Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._18(32,0,null,0,1,"ion-icon",[["name","md-camera"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(33,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,1,["\n\n "])),(l()(),Df._18(36,0,null,1,16,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(37,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(39,0,null,0,3,"mat-card-header",[["class","mat-card-header"]],null,null,null,dy.c,dy.b)),Df._17(40,49152,null,0,sy.e,[],null,null),(l()(),Df._18(41,0,null,2,1,"b",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["General Images"])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._13(16777216,null,0,1,null,vf)),Df._17(45,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(47,0,null,0,4,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(48,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(54,0,null,1,10,"ion-footer",[],null,null,null,null,null)),Df._17(55,16384,null,0,Xy.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(57,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(58,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(60,0,null,null,2,"button",[["color","primary"],["full",""],["ion-button",""],["style","background-color: green !important;"]],[[8,"disabled",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==l.component.savePDImages()&&u}return u},Vy.b,Vy.a)),Df._17(61,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,["\n Save"])),(l()(),Df._39(-1,null,["\n \n \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,31,0,"optblue");l(n,33,0,"md-camera");l(n,45,0,0!=e.cameraArr.length);l(n,61,0,"primary","")},function(l,n){var e=n.component;l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,18,0,e.applicatentDetails.lender_full_name,e.applicatentDetails.lender_applicant_id);l(n,22,0,Df._32(n,23).statusbarPadding,Df._32(n,23)._hasRefresher);l(n,32,0,Df._32(n,33)._hidden);l(n,60,0,e.saveAccess)})}function Cf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(1,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Salary Category"]))],null,null)}function wf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,19,"ion-header",[],null,null,null,null,null)),Df._17(1,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(3,0,null,null,15,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(4,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(6,0,null,0,8,"button",[["ion-button",""],["menuToggle",""]],[[8,"hidden",0]],[[null,"click"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,8).toggle()&&u}return u},Vy.b,Vy.a)),Df._17(7,1097728,[[1,4]],0,jy.a,[[8,""],Wv.a,Df.p,Df.O],null,null),Df._17(8,1064960,null,0,Ny.a,[$v.a,[2,ly.a],[2,jy.a],[2,Dy.a]],{menuToggle:[0,"menuToggle"]},null),Df._17(9,16384,null,1,Wy.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),Df._37(603979776,1,{_buttons:1}),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(12,0,null,0,1,"ion-icon",[["name","menu"],["role","img"]],[[2,"hide",null]],null,null,null,null)),Df._17(13,147456,null,0,Bv.a,[Wv.a,Df.p,Df.O],{name:[0,"name"]},null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._13(16777216,null,3,1,null,Cf)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,3,["\n \n \n "])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(21,0,null,null,140,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(22,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._18(25,0,null,1,1,"h1",[["text-center",""]],null,null,null,null,null)),(l()(),Df._39(-1,null,["Salary info"])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._18(28,0,null,1,132,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],function(l,n,e){var u=!0;if("submit"===n){u=!1!==Df._32(l,30).onSubmit(e)&&u}if("reset"===n){u=!1!==Df._32(l,30).onReset()&&u}return u},null,null)),Df._17(29,16384,null,0,Jf.B,[],null,null),Df._17(30,540672,null,0,Jf.k,[[8,null],[8,null]],{form:[0,"form"]},null),Df._36(2048,null,Jf.c,null,[Jf.k]),Df._17(32,16384,null,0,Jf.t,[Jf.c],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,117,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(35,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(37,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(39,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(40,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,2,{_control:0}),Df._37(335544320,3,{_placeholderChild:0}),Df._37(335544320,4,{_labelChild:0}),Df._37(603979776,5,{_errorChildren:1}),Df._37(603979776,6,{_hintChildren:1}),Df._37(603979776,7,{_prefixChildren:1}),Df._37(603979776,8,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(49,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","gross"],["matInput",""],["name","gross"],["placeholder","Gross"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,50)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,50).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,50)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,50)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,55)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,55)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,55)._onInput()&&u}return u},null,null)),Df._17(50,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(52,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(54,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(55,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[2,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(60,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(62,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(63,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,9,{_control:0}),Df._37(335544320,10,{_placeholderChild:0}),Df._37(335544320,11,{_labelChild:0}),Df._37(603979776,12,{_errorChildren:1}),Df._37(603979776,13,{_hintChildren:1}),Df._37(603979776,14,{_prefixChildren:1}),Df._37(603979776,15,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(72,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","netTakeHome"],["matInput",""],["name","netTakeHome"],["placeholder","Net Take home"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,73)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,73).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,73)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,73)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,78)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,78)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,78)._onInput()&&u}return u},null,null)),Df._17(73,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(75,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(77,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(78,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[9,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(83,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(85,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(86,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,16,{_control:0}),Df._37(335544320,17,{_placeholderChild:0}),Df._37(335544320,18,{_labelChild:0}),Df._37(603979776,19,{_errorChildren:1}),Df._37(603979776,20,{_hintChildren:1}),Df._37(603979776,21,{_prefixChildren:1}),Df._37(603979776,22,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(95,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","bounsIncentive"],["matInput",""],["name","bounsIncentive"],["placeholder","Bonus or incentive"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,96)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,96).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,96)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,96)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,101)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,101)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,101)._onInput()&&u}return u},null,null)),Df._17(96,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(98,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(100,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(101,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[16,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(106,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(108,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(109,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,23,{_control:0}),Df._37(335544320,24,{_placeholderChild:0}),Df._37(335544320,25,{_labelChild:0}),Df._37(603979776,26,{_errorChildren:1}),Df._37(603979776,27,{_hintChildren:1}),Df._37(603979776,28,{_prefixChildren:1}),Df._37(603979776,29,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(118,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","salaryDate"],["matInput",""],["name","salaryDate"],["placeholder","Salary date"],["type","date"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,119)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,119).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,119)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,119)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,124)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,124)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,124)._onInput()&&u}return u},null,null)),Df._17(119,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(121,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(123,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(124,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[23,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(129,0,null,0,21,"div",[["fxLayout","column"],["fxLayoutAlign","start stretch"]],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(131,0,null,null,18,"mat-form-field",[["class","mat-input-container mat-form-field"],["style","width: 100%"]],[[2,"mat-input-invalid",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-focused",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,py.b,py.a)),Df._17(132,7389184,null,7,fy.b,[Df.p,Df.i,[2,hy.j]],null,null),Df._37(335544320,30,{_control:0}),Df._37(335544320,31,{_placeholderChild:0}),Df._37(335544320,32,{_labelChild:0}),Df._37(603979776,33,{_errorChildren:1}),Df._37(603979776,34,{_hintChildren:1}),Df._37(603979776,35,{_prefixChildren:1}),Df._37(603979776,36,{_suffixChildren:1}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(141,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","anydelays"],["matInput",""],["name","anydelays"],["placeholder","Any Delays"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[8,"placeholder",0],[8,"disabled",0],[8,"required",0],[8,"readOnly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],function(l,n,e){var u=!0;if("input"===n){u=!1!==Df._32(l,142)._handleInput(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,142).onTouched()&&u}if("compositionstart"===n){u=!1!==Df._32(l,142)._compositionStart()&&u}if("compositionend"===n){u=!1!==Df._32(l,142)._compositionEnd(e.target.value)&&u}if("blur"===n){u=!1!==Df._32(l,147)._focusChanged(!1)&&u}if("focus"===n){u=!1!==Df._32(l,147)._focusChanged(!0)&&u}if("input"===n){u=!1!==Df._32(l,147)._onInput()&&u}return u},null,null)),Df._17(142,16384,null,0,Jf.d,[Df.P,Df.p,[2,Jf.a]],null,null),Df._36(1024,null,Jf.q,function(l){return[l]},[Jf.d]),Df._17(144,671744,null,0,Jf.i,[[3,Jf.c],[8,null],[8,null],[2,Jf.q]],{name:[0,"name"]},null),Df._36(2048,null,Jf.r,null,[Jf.i]),Df._17(146,16384,null,0,Jf.s,[Jf.r],null,null),Df._17(147,933888,null,0,gy.b,[Df.p,Xf.a,[2,Jf.r],[2,Jf.u],[2,Jf.k],hy.d,[8,null]],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Df._36(2048,[[30,4]],fy.c,null,[gy.b]),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,[" \n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(153,0,null,null,6,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(154,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._18(156,0,null,null,2,"button",[["color","optblue"],["full",""],["ion-button",""]],null,null,null,Vy.b,Vy.a)),Df._17(157,1097728,null,0,jy.a,[[8,""],Wv.a,Df.p,Df.O],{color:[0,"color"],full:[1,"full"]},null),(l()(),Df._39(-1,0,[" Save"])),(l()(),Df._39(-1,null,["\n \n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,4,0,"optblue");l(n,8,0,"");l(n,13,0,"menu");l(n,17,0,!e.viewchange);l(n,30,0,e.salaryDetails);l(n,52,0,"gross");l(n,55,0,"Gross","text");l(n,75,0,"netTakeHome");l(n,78,0,"Net Take home","text");l(n,98,0,"bounsIncentive");l(n,101,0,"Bonus or incentive","text");l(n,121,0,"salaryDate");l(n,124,0,"Salary date","date");l(n,144,0,"anydelays");l(n,147,0,"Any Delays","text");l(n,157,0,"optblue","")},function(l,n){l(n,3,0,Df._32(n,4)._hidden,Df._32(n,4)._sbPadding);l(n,6,0,Df._32(n,8).isHidden);l(n,12,0,Df._32(n,13)._hidden);l(n,21,0,Df._32(n,22).statusbarPadding,Df._32(n,22)._hasRefresher);l(n,28,0,Df._32(n,32).ngClassUntouched,Df._32(n,32).ngClassTouched,Df._32(n,32).ngClassPristine,Df._32(n,32).ngClassDirty,Df._32(n,32).ngClassValid,Df._32(n,32).ngClassInvalid,Df._32(n,32).ngClassPending);l(n,39,1,[Df._32(n,40)._control.errorState,Df._32(n,40)._control.errorState,Df._32(n,40)._canLabelFloat,Df._32(n,40)._shouldLabelFloat(),Df._32(n,40)._hideControlPlaceholder(),Df._32(n,40)._control.disabled,Df._32(n,40)._control.focused,"primary"==Df._32(n,40).color,"accent"==Df._32(n,40).color,"warn"==Df._32(n,40).color,Df._32(n,40)._shouldForward("untouched"),Df._32(n,40)._shouldForward("touched"),Df._32(n,40)._shouldForward("pristine"),Df._32(n,40)._shouldForward("dirty"),Df._32(n,40)._shouldForward("valid"),Df._32(n,40)._shouldForward("invalid"),Df._32(n,40)._shouldForward("pending")]);l(n,49,1,[Df._32(n,54).ngClassUntouched,Df._32(n,54).ngClassTouched,Df._32(n,54).ngClassPristine,Df._32(n,54).ngClassDirty,Df._32(n,54).ngClassValid,Df._32(n,54).ngClassInvalid,Df._32(n,54).ngClassPending,Df._32(n,55)._isServer,Df._32(n,55).id,Df._32(n,55).placeholder,Df._32(n,55).disabled,Df._32(n,55).required,Df._32(n,55).readonly,Df._32(n,55)._ariaDescribedby||null,Df._32(n,55).errorState,Df._32(n,55).required.toString()]);l(n,62,1,[Df._32(n,63)._control.errorState,Df._32(n,63)._control.errorState,Df._32(n,63)._canLabelFloat,Df._32(n,63)._shouldLabelFloat(),Df._32(n,63)._hideControlPlaceholder(),Df._32(n,63)._control.disabled,Df._32(n,63)._control.focused,"primary"==Df._32(n,63).color,"accent"==Df._32(n,63).color,"warn"==Df._32(n,63).color,Df._32(n,63)._shouldForward("untouched"),Df._32(n,63)._shouldForward("touched"),Df._32(n,63)._shouldForward("pristine"),Df._32(n,63)._shouldForward("dirty"),Df._32(n,63)._shouldForward("valid"),Df._32(n,63)._shouldForward("invalid"),Df._32(n,63)._shouldForward("pending")]);l(n,72,1,[Df._32(n,77).ngClassUntouched,Df._32(n,77).ngClassTouched,Df._32(n,77).ngClassPristine,Df._32(n,77).ngClassDirty,Df._32(n,77).ngClassValid,Df._32(n,77).ngClassInvalid,Df._32(n,77).ngClassPending,Df._32(n,78)._isServer,Df._32(n,78).id,Df._32(n,78).placeholder,Df._32(n,78).disabled,Df._32(n,78).required,Df._32(n,78).readonly,Df._32(n,78)._ariaDescribedby||null,Df._32(n,78).errorState,Df._32(n,78).required.toString()]);l(n,85,1,[Df._32(n,86)._control.errorState,Df._32(n,86)._control.errorState,Df._32(n,86)._canLabelFloat,Df._32(n,86)._shouldLabelFloat(),Df._32(n,86)._hideControlPlaceholder(),Df._32(n,86)._control.disabled,Df._32(n,86)._control.focused,"primary"==Df._32(n,86).color,"accent"==Df._32(n,86).color,"warn"==Df._32(n,86).color,Df._32(n,86)._shouldForward("untouched"),Df._32(n,86)._shouldForward("touched"),Df._32(n,86)._shouldForward("pristine"),Df._32(n,86)._shouldForward("dirty"),Df._32(n,86)._shouldForward("valid"),Df._32(n,86)._shouldForward("invalid"),Df._32(n,86)._shouldForward("pending")]);l(n,95,1,[Df._32(n,100).ngClassUntouched,Df._32(n,100).ngClassTouched,Df._32(n,100).ngClassPristine,Df._32(n,100).ngClassDirty,Df._32(n,100).ngClassValid,Df._32(n,100).ngClassInvalid,Df._32(n,100).ngClassPending,Df._32(n,101)._isServer,Df._32(n,101).id,Df._32(n,101).placeholder,Df._32(n,101).disabled,Df._32(n,101).required,Df._32(n,101).readonly,Df._32(n,101)._ariaDescribedby||null,Df._32(n,101).errorState,Df._32(n,101).required.toString()]);l(n,108,1,[Df._32(n,109)._control.errorState,Df._32(n,109)._control.errorState,Df._32(n,109)._canLabelFloat,Df._32(n,109)._shouldLabelFloat(),Df._32(n,109)._hideControlPlaceholder(),Df._32(n,109)._control.disabled,Df._32(n,109)._control.focused,"primary"==Df._32(n,109).color,"accent"==Df._32(n,109).color,"warn"==Df._32(n,109).color,Df._32(n,109)._shouldForward("untouched"),Df._32(n,109)._shouldForward("touched"),Df._32(n,109)._shouldForward("pristine"),Df._32(n,109)._shouldForward("dirty"),Df._32(n,109)._shouldForward("valid"),Df._32(n,109)._shouldForward("invalid"),Df._32(n,109)._shouldForward("pending")]);l(n,118,1,[Df._32(n,123).ngClassUntouched,Df._32(n,123).ngClassTouched,Df._32(n,123).ngClassPristine,Df._32(n,123).ngClassDirty,Df._32(n,123).ngClassValid,Df._32(n,123).ngClassInvalid,Df._32(n,123).ngClassPending,Df._32(n,124)._isServer,Df._32(n,124).id,Df._32(n,124).placeholder,Df._32(n,124).disabled,Df._32(n,124).required,Df._32(n,124).readonly,Df._32(n,124)._ariaDescribedby||null,Df._32(n,124).errorState,Df._32(n,124).required.toString()]);l(n,131,1,[Df._32(n,132)._control.errorState,Df._32(n,132)._control.errorState,Df._32(n,132)._canLabelFloat,Df._32(n,132)._shouldLabelFloat(),Df._32(n,132)._hideControlPlaceholder(),Df._32(n,132)._control.disabled,Df._32(n,132)._control.focused,"primary"==Df._32(n,132).color,"accent"==Df._32(n,132).color,"warn"==Df._32(n,132).color,Df._32(n,132)._shouldForward("untouched"),Df._32(n,132)._shouldForward("touched"),Df._32(n,132)._shouldForward("pristine"),Df._32(n,132)._shouldForward("dirty"),Df._32(n,132)._shouldForward("valid"),Df._32(n,132)._shouldForward("invalid"),Df._32(n,132)._shouldForward("pending")]);l(n,141,1,[Df._32(n,146).ngClassUntouched,Df._32(n,146).ngClassTouched,Df._32(n,146).ngClassPristine,Df._32(n,146).ngClassDirty,Df._32(n,146).ngClassValid,Df._32(n,146).ngClassInvalid,Df._32(n,146).ngClassPending,Df._32(n,147)._isServer,Df._32(n,147).id,Df._32(n,147).placeholder,Df._32(n,147).disabled,Df._32(n,147).required,Df._32(n,147).readonly,Df._32(n,147)._ariaDescribedby||null,Df._32(n,147).errorState,Df._32(n,147).required.toString()])})}function Ff(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,115,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Df._17(1,16384,null,0,zC.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,16777216,null,null,111,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,QC.d,QC.a)),Df._36(6144,null,hy.F,null,[zC.c]),Df._17(5,1753088,null,1,zC.c,[[2,zC.a],Df.i,aC.d,Df._1],null,null),Df._37(335544320,1,{_lazyContent:0}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(8,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,9)._toggle()&&u}if("keydown"===n){u=!1!==Df._32(l,9)._keydown(e)&&u}return u},QC.c,QC.b)),Df._17(9,180224,null,0,zC.e,[zC.c,Df.p,yy.j,Df.i],null,null),Df._34(10,{collapsedHeight:0,expandedHeight:1}),Df._34(11,{value:0,params:1}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(13,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Df._17(14,16384,null,0,zC.f,[],null,null),(l()(),Df._18(15,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(-1,null,[" Declared By Customer "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(20,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(23,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Sales Revenue\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(27,16384,null,0,my.a,[],null,null),(l()(),Df._39(28,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(31,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(32,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(35,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Purchases\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(38,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(39,16384,null,0,my.a,[],null,null),(l()(),Df._39(40,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(44,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(46,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(47,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Gross Profit / Loss(a-b)\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(51,16384,null,0,my.a,[],null,null),(l()(),Df._39(52,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(55,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(56,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(58,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(59,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Business Expenses\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(62,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(63,16384,null,0,my.a,[],null,null),(l()(),Df._39(64,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(67,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(68,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(71,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Net Profit / Loss(c-d)\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(74,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(75,16384,null,0,my.a,[],null,null),(l()(),Df._39(76,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(79,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(80,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(82,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(83,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Household Expenses\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(86,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(87,16384,null,0,my.a,[],null,null),(l()(),Df._39(88,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(91,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(92,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(94,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(95,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Disposable Income\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(98,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(99,16384,null,0,my.a,[],null,null),(l()(),Df._39(100,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(103,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(104,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(106,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(107,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Net Margin %\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(110,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(111,16384,null,0,my.a,[],null,null),(l()(),Df._39(112,null,["\n "," %\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n"]))],null,function(l,n){var e=n.component;l(n,3,0,Df._32(n,5).expanded,Df._32(n,5)._hasSpacing());l(n,8,0,Df._32(n,9).panel._headerId,Df._32(n,9).panel.disabled?-1:0,Df._32(n,9)._getPanelId(),Df._32(n,9)._isExpanded(),Df._32(n,9).panel.disabled,Df._32(n,9)._isExpanded(),l(n,11,0,Df._32(n,9)._getExpandedState(),l(n,10,0,Df._32(n,9).collapsedHeight,Df._32(n,9).expandedHeight)));l(n,28,0,e.salesCustomer.sales_revenue);l(n,40,0,e.salesCustomer.purchases);l(n,52,0,e.salesCustomer.grossprofit);l(n,64,0,e.salesCustomer.business_expenses);l(n,76,0,e.salesCustomer.netprofit);l(n,88,0,e.salesCustomer.house_hold_expenses);l(n,100,0,e.salesCustomer.disposable_income);l(n,112,0,e.salesCustomer.netmargin)})}function xf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,115,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Df._17(1,16384,null,0,zC.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,16777216,null,null,111,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,QC.d,QC.a)),Df._36(6144,null,hy.F,null,[zC.c]),Df._17(5,1753088,null,1,zC.c,[[2,zC.a],Df.i,aC.d,Df._1],null,null),Df._37(335544320,2,{_lazyContent:0}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(8,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,9)._toggle()&&u}if("keydown"===n){u=!1!==Df._32(l,9)._keydown(e)&&u}return u},QC.c,QC.b)),Df._17(9,180224,null,0,zC.e,[zC.c,Df.p,yy.j,Df.i],null,null),Df._34(10,{collapsedHeight:0,expandedHeight:1}),Df._34(11,{value:0,params:1}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(13,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Df._17(14,16384,null,0,zC.f,[],null,null),(l()(),Df._18(15,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(-1,null,[" As Derived from Item Wise Sales "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(20,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(23,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Sales Revenue\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(27,16384,null,0,my.a,[],null,null),(l()(),Df._39(28,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(31,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(32,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(35,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Purchases\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(38,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(39,16384,null,0,my.a,[],null,null),(l()(),Df._39(40,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(44,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(46,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(47,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Gross Profit / Loss(a-b)\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(51,16384,null,0,my.a,[],null,null),(l()(),Df._39(52,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(55,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(56,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(58,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(59,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Business Expenses\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(62,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(63,16384,null,0,my.a,[],null,null),(l()(),Df._39(64,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(67,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(68,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(71,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Net Profit / Loss(c-d)\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(74,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(75,16384,null,0,my.a,[],null,null),(l()(),Df._39(76,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(79,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(80,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(82,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(83,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Household Expenses\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(86,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(87,16384,null,0,my.a,[],null,null),(l()(),Df._39(88,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(91,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(92,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(94,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(95,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Disposable Income\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(98,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(99,16384,null,0,my.a,[],null,null),(l()(),Df._39(100,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(103,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(104,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(106,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(107,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Net Margin %\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(110,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(111,16384,null,0,my.a,[],null,null),(l()(),Df._39(112,null,["\n "," %\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,Df._32(n,5).expanded,Df._32(n,5)._hasSpacing());l(n,8,0,Df._32(n,9).panel._headerId,Df._32(n,9).panel.disabled?-1:0,Df._32(n,9)._getPanelId(),Df._32(n,9)._isExpanded(),Df._32(n,9).panel.disabled,Df._32(n,9)._isExpanded(),l(n,11,0,Df._32(n,9)._getExpandedState(),l(n,10,0,Df._32(n,9).collapsedHeight,Df._32(n,9).expandedHeight)));l(n,28,0,e.salesItemWise.sales_revenue);l(n,40,0,e.salesItemWise.purchases);l(n,52,0,e.salesItemWise.grossprofit);l(n,64,0,e.salesItemWise.business_expenses);l(n,76,0,e.salesItemWise.netprofit);l(n,88,0,e.salesItemWise.house_hold_expenses);l(n,100,0,e.salesItemWise.disposable_income);l(n,112,0,e.salesItemWise.netmargin)})}function Sf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,115,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Df._17(1,16384,null,0,zC.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(3,16777216,null,null,111,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"mat-expansion-panel-spacing",null]],null,null,QC.d,QC.a)),Df._36(6144,null,hy.F,null,[zC.c]),Df._17(5,1753088,null,1,zC.c,[[2,zC.a],Df.i,aC.d,Df._1],null,null),Df._37(335544320,3,{_lazyContent:0}),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(8,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"]],function(l,n,e){var u=!0;if("click"===n){u=!1!==Df._32(l,9)._toggle()&&u}if("keydown"===n){u=!1!==Df._32(l,9)._keydown(e)&&u}return u},QC.c,QC.b)),Df._17(9,180224,null,0,zC.e,[zC.c,Df.p,yy.j,Df.i],null,null),Df._34(10,{collapsedHeight:0,expandedHeight:1}),Df._34(11,{value:0,params:1}),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._18(13,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Df._17(14,16384,null,0,zC.f,[],null,null),(l()(),Df._18(15,0,null,null,1,"h6",[],null,null,null,null,null)),(l()(),Df._39(-1,null,[" As Derived from Kuchha Sales Book/Bills "])),(l()(),Df._39(-1,2,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(19,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(20,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(23,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Sales Revenue\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(26,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(27,16384,null,0,my.a,[],null,null),(l()(),Df._39(28,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(31,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(32,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(35,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Purchases\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(38,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(39,16384,null,0,my.a,[],null,null),(l()(),Df._39(40,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(43,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(44,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(46,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(47,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Gross Profit / Loss(a-b)\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(50,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(51,16384,null,0,my.a,[],null,null),(l()(),Df._39(52,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(55,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(56,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(58,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(59,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Business Expenses\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(62,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(63,16384,null,0,my.a,[],null,null),(l()(),Df._39(64,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(67,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(68,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(70,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(71,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Net Profit / Loss(c-d)\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(74,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(75,16384,null,0,my.a,[],null,null),(l()(),Df._39(76,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(79,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(80,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(82,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(83,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Household Expenses\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(86,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(87,16384,null,0,my.a,[],null,null),(l()(),Df._39(88,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(91,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(92,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(94,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(95,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Disposable Income\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(98,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(99,16384,null,0,my.a,[],null,null),(l()(),Df._39(100,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._18(103,0,null,1,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(104,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(106,0,null,null,2,"ion-col",[["class","col"]],null,null,null,null,null)),Df._17(107,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Net Margin %\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(110,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(111,16384,null,0,my.a,[],null,null),(l()(),Df._39(112,null,["\n "," %\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,1,["\n \n "])),(l()(),Df._39(-1,null,["\n "]))],null,function(l,n){var e=n.component;l(n,3,0,Df._32(n,5).expanded,Df._32(n,5)._hasSpacing());l(n,8,0,Df._32(n,9).panel._headerId,Df._32(n,9).panel.disabled?-1:0,Df._32(n,9)._getPanelId(),Df._32(n,9)._isExpanded(),Df._32(n,9).panel.disabled,Df._32(n,9)._isExpanded(),l(n,11,0,Df._32(n,9)._getExpandedState(),l(n,10,0,Df._32(n,9).collapsedHeight,Df._32(n,9).expandedHeight)));l(n,28,0,e.salesMonthWise.sales_revenue);l(n,40,0,e.salesMonthWise.purchases);l(n,52,0,e.salesMonthWise.grossprofit);l(n,64,0,e.salesMonthWise.business_expenses);l(n,76,0,e.salesMonthWise.netprofit);l(n,88,0,e.salesMonthWise.house_hold_expenses);l(n,100,0,e.salesMonthWise.disposable_income);l(n,112,0,e.salesMonthWise.netmargin)})}function If(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,38,"mat-card",[["class","mat-card"]],null,null,null,dy.d,dy.a)),Df._17(1,49152,null,0,sy.a,[],null,null),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(3,0,null,0,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(4,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(6,0,null,null,2,"ion-col",[["class","l_cons col"]],null,null,null,null,null)),Df._17(7,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Considered Sales / Revenue\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(10,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(11,16384,null,0,my.a,[],null,null),(l()(),Df._39(12,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(15,0,null,0,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(16,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(18,0,null,null,2,"ion-col",[["class","l_cons col"]],null,null,null,null,null)),Df._17(19,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Considered Net Margin %\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(22,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(23,16384,null,0,my.a,[],null,null),(l()(),Df._39(24,null,["\n "," %\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "])),(l()(),Df._18(27,0,null,0,10,"ion-row",[["class","row"]],null,null,null,null,null)),Df._17(28,16384,null,0,cy.a,[],null,null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(30,0,null,null,2,"ion-col",[["class","l_cons col"]],null,null,null,null,null)),Df._17(31,16384,null,0,my.a,[],null,null),(l()(),Df._39(-1,null,["\n Considered Net Profit\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(34,0,null,null,2,"ion-col",[["class","val col"],["text-right",""]],null,null,null,null,null)),Df._17(35,16384,null,0,my.a,[],null,null),(l()(),Df._39(36,null,["\n ","\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,0,["\n "]))],null,function(l,n){var e=n.component;l(n,12,0,e.consolidatedReport.consolidated_sales_revenue);l(n,24,0,e.consolidatedReport.consolidated_nermagin);l(n,36,0,e.consolidatedReport.consolidated_nerprofit)})}function qf(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,22,"div",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._13(16777216,null,null,1,null,Ff)),Df._17(4,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(6,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n"])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,xf)),Df._17(10,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(12,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n\n\n "])),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._13(16777216,null,null,1,null,Sf)),Df._17(16,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n "])),(l()(),Df._18(18,0,null,null,0,"br",[],null,null,null,null,null)),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._13(16777216,null,null,1,null,If)),Df._17(21,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,null,["\n\n"]))],function(l,n){var e=n.component;l(n,4,0,null!=e.salesCustomer.sales_revenue&&""!=e.salesCustomer.sales_revenue);l(n,10,0,null!=e.salesItemWise.sales_revenue&&""!=e.salesItemWise.sales_revenue);l(n,16,0,null!=e.salesMonthWise.sales_revenue&&""!=e.salesMonthWise.sales_revenue);l(n,21,0,null!=e.consolidatedReport.consolidated_sales_revenue&&""!=e.consolidatedReport.consolidated_sales_revenue)},null)}function kf(l){return Df._41(0,[(l()(),Df._39(-1,null,["\n"])),(l()(),Df._18(1,0,null,null,10,"ion-header",[],null,null,null,null,null)),Df._17(2,16384,null,0,Ly.a,[Wv.a,Df.p,Df.O,[2,ly.a]],null,null),(l()(),Df._39(-1,null,["\n\n "])),(l()(),Df._18(4,0,null,null,6,"ion-navbar",[["class","toolbar"],["color","optblue"]],[[8,"hidden",0],[2,"statusbar-padding",null]],null,null,Ay.b,Ay.a)),Df._17(5,49152,null,0,Dy.a,[Jv.a,[2,ly.a],[2,ny.a],Wv.a,Df.p,Df.O],{color:[0,"color"]},null),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._18(7,0,null,3,2,"ion-title",[],null,null,null,qy.b,qy.a)),Df._17(8,49152,null,0,ky.a,[Wv.a,Df.p,Df.O,[2,Py.a],[2,Dy.a]],null,null),(l()(),Df._39(-1,0,["Summary"])),(l()(),Df._39(-1,3,["\n "])),(l()(),Df._39(-1,null,["\n\n"])),(l()(),Df._39(-1,null,["\n\n\n"])),(l()(),Df._18(13,0,null,null,5,"ion-content",[["padding",""]],[[2,"statusbar-padding",null],[2,"has-refresher",null]],null,null,Xv.b,Xv.a)),Df._17(14,4374528,null,0,Zv.a,[Wv.a,Gv.a,Qv.a,Df.p,Df.O,Jv.a,Yv.a,Df.H,[2,ly.a],[2,ny.a]],null,null),(l()(),Df._39(-1,1,["\n "])),(l()(),Df._13(16777216,null,1,1,null,qf)),Df._17(17,16384,null,0,rg.j,[Df._1,Df.W],{ngIf:[0,"ngIf"]},null),(l()(),Df._39(-1,1,["\n"])),(l()(),Df._39(-1,null,["\n"]))],function(l,n){var e=n.component;l(n,5,0,"optblue");l(n,17,0,1==e.loadData)},function(l,n){l(n,4,0,Df._32(n,5)._hidden,Df._32(n,5)._sbPadding);l(n,13,0,Df._32(n,14).statusbarPadding,Df._32(n,14)._hasRefresher)})}Object.defineProperty(n,"__esModule",{value:!0});var Pf=e(58),Df=e(0),Tf=e(13),Of=e(124),Lf=e(180),Af=e(65),Vf=e(333),jf=e(79),Nf=(e(420),e(56)),Wf=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Ef=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Rf=(new Vf.c({UserPoolId:"ap-south-1_y7dt3iEaX",ClientId:"291qt4smn5pql6o8cc2hi201lj"}),new Vf.c({UserPoolId:"ap-south-1_hFiGyr1Gw",ClientId:"38v9rpp1495v60e1gd14mj6rjr"}),new Vf.c({UserPoolId:"ap-south-1_qQ85yQZJO",ClientId:"2o5c3cs9k3als16nqhp3irh8rs"})),Uf=function(){function l(){this.loggedIn=!1,this.isloggin=!1}return l.prototype.getCurrentUser=function(){return Rf.getCurrentUser()},Object.defineProperty(l.prototype,"isLoggedIn",{get:function(){return this.loggedIn=null!=Rf.getCurrentUser(),this.loggedIn},enumerable:!0,configurable:!0}),l.prototype.refresh=function(){var l;null!=this.getCurrentUser()?this.getCurrentUser().getSession(function(n,e){return n?console.log("CognitoUtil: Can't set the credentials:"+n):e.isValid()?(l=e.isValid(),Object(Nf.of)(l),console.log("CognitoUtil: refreshed successfully")):(l=e.isValid(),console.log("CognitoUtil: refreshed but session is still not valid")),l}):this.loggedIn=!1},l.prototype.getAccessToken=function(){var l=this;return this.refresh(),new Promise(function(n,e){null!=l.getCurrentUser()?l.getCurrentUser().getSession(function(l,u){l?(console.log("CognitoUtil: Can't set the credentials:"+l),"",e(l)):u.isValid()&&(u,n())}):e()})},l.prototype.getToken=function(){var l="";return null!=this.getCurrentUser()?this.getCurrentUser().getSession(function(n,e){n?!1:e.isValid()?(l=e,!0):!1}):!1,l},l=Wf([Object(Df.x)(),Ef("design:paramtypes",[])],l)}(),$f=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Bf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Mf=function(){function l(l){this.http=l,this.commonimage="http://ssa.sineedge.com/sparqapi/logo/avatar.jpg",console.log("Hello ConstantsProvider Provider")}return l.prototype.apiurl=function(){return"http://ssa.sineedge.com/sparqtest/api/"},l.prototype.getcurrentDate=function(){var l=new Date,n=(l.getHours(),l.getMinutes(),l.getSeconds(),l.getFullYear()+"-"+(l.getMonth()+1)+"-"+l.getDate());l.getHours(),l.getMinutes();return(n+"T00:00").toString()},l.prototype.convertNumberToWords=function(l){var n=new Array;n[0]="",n[1]="One",n[2]="Two",n[3]="Three",n[4]="Four",n[5]="Five",n[6]="Six",n[7]="Seven",n[8]="Eight",n[9]="Nine",n[10]="Ten",n[11]="Eleven",n[12]="Twelve",n[13]="Thirteen",n[14]="Fourteen",n[15]="Fifteen",n[16]="Sixteen",n[17]="Seventeen",n[18]="Eighteen",n[19]="Nineteen",n[20]="Twenty",n[30]="Thirty",n[40]="Forty",n[50]="Fifty",n[60]="Sixty",n[70]="Seventy",n[80]="Eighty",n[90]="Ninety";var e=(l=l.toString()).split(".")[0].split(",").join(""),u=e.length,t="",a="";if(u<=9){for(var i=new Array(0,0,0,0,0,0,0,0,0),o=new Array,r=0;r=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Hf=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Gf=(new Vf.c({UserPoolId:"ap-south-1_hFiGyr1Gw",ClientId:"38v9rpp1495v60e1gd14mj6rjr"}),new Vf.c({UserPoolId:"ap-south-1_qQ85yQZJO",ClientId:"2o5c3cs9k3als16nqhp3irh8rs"})),Yf=(new Date).toJSON().slice(0,19).replace("T"," "),zf=function(){function l(l,n,e){this.http=l,this.shared=n,this.con=e,this.apiurl=e.apiurl()}return l.prototype.dologin=function(l){var n=new Vf.a(l),e=l.newpassword,u=[],t=new Vf.b({Username:l.Username,Pool:Gf});return jf.Observable.create(function(l){t.authenticateUser(n,{newPasswordRequired:function(n,a){t.completeNewPasswordChallenge(e,u,{onSuccess:function(n){l.next(n),l.complete()},onFailure:function(n){l.error(n)}})},onSuccess:function(n){l.next(n),l.complete(),this.shared.isloggin=!0},onFailure:function(n){l.error(n)}})})},l.prototype.userforgotpass=function(l){var n=new Vf.b({Username:l.Username,Pool:Gf});return jf.Observable.create(function(l){n.forgotPassword({onSuccess:function(n){l.next(n)},onFailure:function(l){alert(l.message||JSON.stringify(l))},inputVerificationCode:function(l){var e=prompt("Please input verification code ",""),u=prompt("Enter new password ","");n.confirmPassword(e,u,{onSuccess:function(){},onFailure:function(l){}})}})})},l.prototype.logout=function(){var l=this;return jf.Observable.create(function(n){l.shared.getCurrentUser().signOut(),n.next(),n.complete()})},l.prototype.getlocale=function(){return(this.shared.getToken()||null).idToken.payload.locale},l.prototype.getuserprofile=function(l){return this.http.post(this.apiurl+"getUsersDetails",{userid:l})},l.prototype.userpinupdate=function(l){var n=this.getlocale(),e={mpin:l,updatedon:Yf,fk_updatedby:n,userid:n},u=new FormData;return u.append("records",JSON.stringify(e)),this.http.post(this.apiurl+"updateExistUser",u)},l=Kf([Object(Df.x)(),Hf("design:paramtypes",[Af.c,Uf,Mf])],l)}(),Qf=e(337),Jf=e(4),Xf=e(11),Zf=e(186),lh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},nh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},eh=function(){function l(l,n){this.http=l,this.constants=n,this.apiurl=n.apiurl(),console.log("Hello PdtriggerProvider Provider")}return l.prototype.getpddetails=function(l){return console.log(l),this.http.get(this.apiurl+"listLessPDDetails/get?pdofficerid="+l)},l.prototype.getFullPDdetails=function(l){return this.http.post(this.apiurl+"getFullPDDetails",l)},l.prototype.updatepdStatus=function(l){return this.http.post(this.apiurl+"updatePDMaster",{records:l})},l.prototype.saveCurrentLocation=function(l){return this.http.post(this.apiurl+"savePDOfficerCurrentLocation",l)},l.prototype.checkotp=function(l){return this.http.post(this.apiurl+"checkOTP",{records:l})},l=lh([Object(Df.x)(),nh("design:paramtypes",[Af.c,Mf])],l)}(),uh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},th=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ah=function(){function l(l,n){this.http=l,this.constant=n,console.log("Hello QuestionCategoryProvider Provider"),this.apiurl=n.apiurl()}return l.prototype.getLoadTemplate=function(l){return this.http.get(this.apiurl+"loadFullTemplate?pd_id="+l)},l.prototype.saveQusetion=function(l){return this.http.post(this.apiurl+"savePDQuestions",{records:[l]})},l.prototype.getAnswerTemplate=function(l){return this.http.post(this.apiurl+"getAnswersForPD",l)},l.prototype.getcommondrop=function(l){return this.http.post(this.apiurl+"getListOfMaster",{master_name:l})},l.prototype.saveForm=function(l){return this.http.post(this.apiurl+"savePDFormDetails",{records:l})},l.prototype.retiverForm=function(l){return this.http.post(this.apiurl+"getPDFormDetails",l)},l.prototype.saveassessedForms=function(l,n){return this.http.post(this.apiurl+l,n)},l.prototype.retiverassessedForm=function(l,n){return this.http.post(this.apiurl+l,n)},l.prototype.updatePdApplicant=function(l){return this.http.post(this.apiurl+"updatePDApplicants",{pd_applicant_details:l})},l.prototype.getEndUseForLoan=function(l,n){return this.http.post(this.apiurl+"getEndUseOfLoan",{records:{pd_id:l,sub_product_id:n}})},l.prototype.getCompaniesListsForBusiness=function(l){return this.http.post(this.apiurl+"getCompaniesListsForBusiness",{records:{pd_id:l}})},l.prototype.getStateWiseCities=function(l){return this.http.post(this.apiurl+"getListOfStatesAndCities",{records:{state_id:l}})},l.prototype.getAllPersonsName=function(l){return this.http.post(this.apiurl+"getAllPersonsName",{pd_id:l})},l.prototype.getStateCityDetails=function(){return this.http.post(this.apiurl+"getListOfStatesCities","")},l.prototype.getAssetsWithLoanFromBusiness=function(l){return this.http.post(this.apiurl+"getAssetsWithLoanFromBusiness",{pd_id:l})},l.prototype.getTypeofActivityForSuppliedInfoForm=function(l,n){return this.http.post(this.apiurl+"getTypeOfActivetyFromBusinessForm",{records:{pd_id:l,company_id:n}})},l.prototype.stockFormAccess=function(l,n){return this.http.post(this.apiurl+"getProductsFromBusiness",{pd_id:l,company_id:n})},l.prototype.savePDImages=function(l){return this.http.post(this.apiurl+"savePDPhotos",{records:l})},l.prototype.getFamilyDetails=function(l){return this.http.post(this.apiurl+"getFamilyDetails",{pd_id:l})},l.prototype.getAddressDetails=function(l){return this.http.post(this.apiurl+"getPDAddress",{pd_id:l})},l=uh([Object(Df.x)(),th("design:paramtypes",[Af.c,Mf])],l)}(),ih=e(246),oh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},rh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},_h=function(){function l(l,n){this.http=l,this.camera=n,console.log("Hello CameraProvider Provider")}return l.prototype.getpicture=function(){return this.camera.getPicture({quality:100,destinationType:this.camera.DestinationType.DATA_URL,targetWidth:500,targetHeight:500,correctOrientation:!0}).then(function(l){return"data:image/png;base64,"+l},function(l){console.log("CAMERA ERROR -> "+JSON.stringify(l))})},l=oh([Object(Df.x)(),rh("design:paramtypes",[Af.c,ih.a])],l)}(),dh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},sh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ch=function(){function l(l,n){this.http=l,this.toast=n,console.log("Hello ToastProvider Provider")}return l.prototype.pdTriggerappmessage=function(l){this.toast.create({message:l,duration:3e3,position:"bottom",dismissOnPageChange:!0}).present()},l=dh([Object(Df.x)(),sh("design:paramtypes",[Af.c,Tf.w])],l)}(),mh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ph=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},fh=(new Date).toJSON().slice(0,19).replace("T"," "),hh=function(){function l(l,n,e,u,t,a,i,o){this.navCtrl=l,this.navParams=n,this.fb=u,this.qstDetails=t,this.aws=a,this.camera=i,this.toast=o,this.docName=[],this.docArray=[],this.imageArray=[],this.SwipedTabsIndicator=null,this.tabTitleWidthArray=[],this.tabElementWidth_px=50,this.screenWidth_px=0,this.isRight=!1,this.isLeft=!1,this.tabs=[],this.screenWidth_px=e.width(),this.questionAnswer=this.fb.group({answerDetails:[null],items:this.fb.array([])}),this.questionanotherData=this.fb.group({questionRemarks:[null]}),this.getpdQuestionDetails(),this.userid=this.aws.getlocale()}return l.prototype.ionViewDidLoad=function(){},l.prototype.ionViewDidEnter=function(){this.SwipedTabsIndicator=document.getElementById("indicator");for(var l in this.tabs)this.tabTitleWidthArray.push(document.getElementById("tabTitle"+l).offsetWidth);this.selectTab(0)},l.prototype.ionViewWillLeave=function(){this.navCtrl.setRoot(sb,{pdDetails:this.pdinfo})},l.prototype.scrollIndicatiorTab=function(){this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0)},l.prototype.selectTab=function(l){this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[l]+"px",this.SwipedTabsIndicator.style.webkitTransform="translate3d("+this.calculateDistanceToSpnd(l)+"px,0,0)",this.SwipedTabsSlider.slideTo(l)},l.prototype.calculateDistanceToSpnd=function(l){for(var n=0,e=0;en&&(this.isLeft=!1,this.isRight=!0),this.SwipedTabsSlider.isEnd()&&(this.isRight=!1),this.SwipedTabsSlider.isBeginning()&&(this.isLeft=!1),this.isRight&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])+"px,0,0)"),this.isLeft&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])+"px,0,0)"),this.isRight||this.isLeft||(this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+"px")},l.prototype.getpdQuestionDetails=function(){this.questionDetails=this.navParams.get("questionDetails"),this.pdinfo=this.navParams.get("pdDetails");for(var l=0,n=this.questionDetails.questions;l=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},bh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},vh=function(){function l(l,n,e,u,t,a,i,o){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.alerCtrl=i,this.constant=o,this.placeholderName=[],this.premisesRentAmtInwords=[],this.locality=[],this.pdlocation=[],this.addressTypes=[],this.addressRemarksAccess=!1,this.cityData=[],this.pincodeData=[],this.stateData=[],this.uomData=[],this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale(),this.getdropdownlist(),this.pdQuestionAddress=this.fb.group({addresses:this.fb.array([]),address_form_remark:[""]}),this.getaddressForm()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAddressPage")},l.prototype.ionViewWillLeave=function(){},l.prototype.getCityAndPincodeDetails=function(l,n){var e=this;this.qustCat.getStateWiseCities(l).subscribe(function(l){200==l.status&&(e.cityData[n]=l.records.cities,e.pincodeData[n]=l.records.pincode)})},l.prototype.getdropdownlist=function(){var l=this;this.qustCat.getcommondrop("ADDRESSTYPE").subscribe(function(n){1==n.dataStatus&&(l.addressTypes=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("PDLOCATIONAPPROACH").subscribe(function(n){l.pdlocation=n,1==l.pdlocation.dataStatus&&(l.pdlocation=l.pdlocation.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("COMMENTSONLOCALITY").subscribe(function(n){l.cmtlocality=n,1==l.cmtlocality.dataStatus&&(l.cmtlocality=l.cmtlocality.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("LOCALITY").subscribe(function(n){1==n.dataStatus&&(l.locality=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("RESIDENCEOWNERSHIP").subscribe(function(n){1==n.dataStatus&&(l.residence=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("CITY").subscribe(function(n){1==n.dataStatus&&(l.CITY=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("STATE").subscribe(function(n){l.stateData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("UOM").subscribe(function(n){l.uomData=n.records.filter(function(l){return 1==l.isactive&&0!=l.is_land_uom})})},l.prototype.createUnits=function(l){return this.fb.group(null==l?{no_of_additional_units:[""],premises_type:[""],premises_type_others:[""],premises_city:[""],premises_remarks:[""]}:{no_of_additional_units:[l.no_of_additional_units],premises_type:[l.premises_type],premises_type_others:[l.premises_type_others],premises_city:[l.premises_city],premises_remarks:[l.premises_remarks]})},l.prototype.addUnits=function(){this.items=this.pdQuestionAddress.get("additional_address_units"),this.items.push(this.createUnits(null))},l.prototype.removeUnits=function(l){this.items.removeAt(l)},l.prototype.ConvertMonthintoYear=function(l){var n=l%12,e=l/12;this.pdQuestionAddress.controls.business_years.setValue(+this.pdQuestionAddress.controls.business_years.value+ +Math.floor(e)),this.pdQuestionAddress.controls.business_month.setValue(Math.floor(n))},l.prototype.initAddress=function(l){return this.fb.group(null!=l?{address:[l.address,Jf.y.compose([Jf.y.required])],address_type:[l.address_type,Jf.y.compose([Jf.y.required])],address_type_others:[l.address_type_others],state:[l.state],city:[l.city],pincode:[l.pincode],pincode_others:[l.pincode_others,Jf.y.compose([Jf.y.minLength(6),Jf.y.maxLength(6)])],locality:[l.locality,Jf.y.compose([Jf.y.required])],locality_others:[l.locality_others],locality_mixuse:[l.locality_mixuse],pd_location:[l.pd_location,Jf.y.compose([Jf.y.required])],comment_locality:[l.comment_locality,Jf.y.compose([Jf.y.required])],estimated_area:[l.estimated_area],uom:[l.uom],uom_others:[l.uom_others]}:{address:["",Jf.y.compose([Jf.y.required])],address_type:["",Jf.y.compose([Jf.y.required])],address_type_others:[""],state:[""],city:[""],pincode:[""],pincode_others:["",Jf.y.compose([Jf.y.minLength(6),Jf.y.maxLength(6)])],locality:["",Jf.y.compose([Jf.y.required])],locality_others:[""],locality_mixuse:[""],pd_location:["",Jf.y.compose([Jf.y.required])],comment_locality:["",Jf.y.compose([Jf.y.required])],estimated_area:[""],uom:[""],uom_others:[""]})},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n){this.premisesRentAmtInwords[n]=this.constant.convertNumberToWords(l.target.value)},l.prototype.inWordsForRent=function(l){this.rentAmtInwords=this.constant.convertNumberToWords(l.target.value)},l.prototype.selectedAddressType=function(l,n){this.placeholderName[n]="Estimated area of the "+l},l.prototype.savepdQuestion=function(l){var n=this,e={};console.log("Answer DAta",l),e.addresses=l.addresses,e.address_form_remark=l.address_form_remark,e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.address_form_remark=l.address_form_remark,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){n.navCtrl.pop()},2e3))},function(l){n.toast.pdTriggerappmessage("Something went wrong ")})},l.prototype.getaddressForm=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){var e=l.pdQuestionAddress.controls.addresses;l.getaddressDetails=n,1==l.getaddressDetails.dataStatus?l.getaddressDetails.records.addresses?(l.getaddressDetails=l.getaddressDetails.records.addresses,0==l.getaddressDetails.length?e.push(l.initAddress("")):(l.getaddressDetails.forEach(function(n,u){var t={address:n.address,address_type:n.address_type,address_type_others:n.address_type_others,state:n.state,city:n.city,pincode:n.pincode,pincode_others:n.pincode_others,locality:n.locality,locality_others:n.locality_others,locality_mixuse:n.locality_mixuse,pd_location:n.pd_location,comment_locality:n.comment_locality,estimated_area:n.estimated_area,uom:n.uom,uom_others:n.uom_others};l.getCityAndPincodeDetails(n.state,u);var a=l.addressTypes.filter(function(l){return l.address_type_id==n.address_type})[0];l.selectedAddressType(a.address_type,u),1==n.address_type&&l.selectedAddressType(n.address_type_others,u),e.push(l.initAddress(t))}),l.pdQuestionAddress.controls.address_form_remark.setValue(n.records.address_form_remark))):e.push(l.initAddress("")):l.loadPD()})},l.prototype.loadPD=function(){var l=this,n=this.pdQuestionAddress.controls.addresses;this.qustCat.getAddressDetails(this.pdDetails.pd_id).subscribe(function(e){1==e.dataStatus?(l.addressesList=e.records.filter(function(l){return 1==l.isactive}),console.log("this.addressesList",l.addressesList),l.addressesList.length>0?l.addressesList.forEach(function(e,u){var t={address:e.addressline1,address_type:"",address_type_others:"",state:e.fk_state,city:e.fk_city,pincode:e.pincode_id,pincode_others:e.other_pincode,locality:"",locality_others:"",locality_mixuse:"",pd_location:"",comment_locality:"",estimated_area:"",uom:"",uom_others:""};l.getCityAndPincodeDetails(e.fk_state,u),n.push(l.initAddress(t))}):n.push(l.initAddress(""))):n.push(l.initAddress(""))})},l=gh([Object(Df.k)({selector:"page-pd-question-address",templateUrl:"pd-question-address.html"}),bh("design:paramtypes",[Tf.r,Tf.s,Jf.g,ah,zf,ch,Tf.a,Mf])],l)}(),yh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Ch=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},wh=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.constant=i,this.FormId=this.navParams.get("FormId"),this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale(),this.pdid=this.pdDetails.pd_id,this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase(),this.getDropDownList(),this.getCompanyFromGeneralDetails(),this.getEmploymentDetails(),this.employmentForm=this.fb.group({employer_name:[""],how_long_year:[""],how_long_month:[""],was_met:["SAL-CHQ"==this.pd_cus_segment?"No":""],name_person_met:[""],designation_person_met:[""],confirm_salary:["SAL-CHQ"==this.pd_cus_segment?"No":""],confirm_salary_amount:[""],total_business_experience:[""],total_business_previous_experience:[""],attendance_seen:["SAL-CHQ"==this.pd_cus_segment?"No":""],sal_reg_seen:["SAL-CHQ"==this.pd_cus_segment?"No":""],from_date_the_salary_is_rcv:[""],to_date_the_salary_is_rcv:[""],gross_monthly_salary:[""],net_monthly_salary:[""],bonus_incentive:[""],amount_paid_in_cash:[""],how_was_it_validated:[""],why_was_it_not_validated:[""],amount_paid_through_bank:[""],bonus_frequency:[""],bonus_type:[""],bonus_type_other:[""],any_delays:[""],employment_remarks:[""]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionEmpInfoPage")},l.prototype.getDropDownList=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.frequency_data=n.records,l.frequency_data=l.frequency_data.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){1==n.dataStatus&&(l.company_relationship_list=n.records.filter(function(l){return 1==l.isactive}),l.company_relationship_list=n.records.filter(function(l){return"Others"!=l.name}),l.company_relationship_list.push({company_relationship_id:0,name:"Not Applicable"}))})},l.prototype.getCompanyFromGeneralDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:"18"}).subscribe(function(n){1==n.dataStatus&&(l.company_list=n.records.companies.filter(function(l){return 1==l.is_active}),l.person_met_list=n.records.individuals.filter(function(l){return 1==l.is_person_met&&1==l.is_active}),l.company_related_applicants_list=n.records.company_with_relationships)})},l.prototype.saveEmpInfo=function(){var l=this;if(this.employmentForm.valid){var n={};n.pdid=this.pdDetails.pd_id,n.formid=this.FormId.form_id,n.fk_createdby=this.users,n.employer_name=this.employmentForm.controls.employer_name.value,n.how_long_year=this.employmentForm.controls.how_long_year.value,n.how_long_month=this.employmentForm.controls.how_long_month.value,n.was_met=this.employmentForm.controls.was_met.value,"yes"==this.employmentForm.controls.was_met.value?(n.name_person_met=this.employmentForm.controls.name_person_met.value,n.designation_person_met=this.employmentForm.controls.designation_person_met.value):(n.name_person_met="",n.designation_person_met=""),n.confirm_salary=this.employmentForm.controls.confirm_salary.value,"yes"==this.employmentForm.controls.confirm_salary.value?(n.confirm_salary_amount=this.employmentForm.controls.confirm_salary_amount.value,n.total_business_experience=this.employmentForm.controls.total_business_experience.value,n.total_business_previous_experience=this.employmentForm.controls.total_business_previous_experience.value):(n.confirm_salary_amount="",n.total_business_experience="",n.total_business_previous_experience=""),n.attendance_seen=this.employmentForm.controls.attendance_seen.value,n.sal_reg_seen=this.employmentForm.controls.sal_reg_seen.value,n.from_date_the_salary_is_rcv=this.employmentForm.controls.from_date_the_salary_is_rcv.value,n.to_date_the_salary_is_rcv=this.employmentForm.controls.to_date_the_salary_is_rcv.value,n.gross_monthly_salary=this.employmentForm.controls.gross_monthly_salary.value,n.net_monthly_salary=this.employmentForm.controls.net_monthly_salary.value,n.bonus_incentive=this.employmentForm.controls.bonus_incentive.value,n.amount_paid_in_cash=this.employmentForm.controls.amount_paid_in_cash.value,n.how_was_it_validated=this.employmentForm.controls.how_was_it_validated.value,n.why_was_it_not_validated=this.employmentForm.controls.why_was_it_not_validated.value,n.amount_paid_through_bank=this.employmentForm.controls.amount_paid_through_bank.value,n.bonus_frequency=this.employmentForm.controls.bonus_frequency.value,n.bonus_type=this.employmentForm.controls.bonus_type.value,n.bonus_type_other=this.employmentForm.controls.bonus_type_other.value,n.any_delays=this.employmentForm.controls.any_delays.value,n.employment_remarks=this.employmentForm.controls.employment_remarks.value,this.qustCat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})}else this.toast.pdTriggerappmessage("Form Invalid Try Again.!")},l.prototype.filtercompanyrelationship=function(l,n){var e=l.split("-"),u=this.company_related_applicants_list.filter(function(l){return l.relation_to_company==e[0]&&l.applicant_name==n});u.length>0?(this.filtered_company_relationship_list=this.company_relationship_list.filter(function(l){return l.company_relationship_id==u[0].company_relationship}),this.employmentForm.controls.designation_person_met.setValue(this.filtered_company_relationship_list[0].name+" "+e[1])):this.employmentForm.controls.designation_person_met.setValue("")},l.prototype.ConvertMonthintoYear=function(l){var n=l%12,e=l/12;this.employmentForm.controls.how_long_year.setValue(+this.employmentForm.controls.how_long_year.value+ +Math.floor(e)),this.employmentForm.controls.how_long_month.setValue(Math.floor(n))},l.prototype.inWords=function(l,n){switch(n){case 1:this.mthlySlryAmtInWords=this.constant.convertNumberToWords(l);break;case 2:this.grossMthlySlryAmtInWords=this.constant.convertNumberToWords(l);break;case 3:this.netMthlySlryAmtInWords=this.constant.convertNumberToWords(l);break;case 4:this.bonusIncentiveAmtInWords=this.constant.convertNumberToWords(l)}},l.prototype.getEmploymentDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records;console.log("emp",e),l.employmentForm.controls.employer_name.setValue(e.employer_name),l.employmentForm.controls.how_long_year.setValue(e.how_long_year),l.employmentForm.controls.how_long_month.setValue(e.how_long_month),l.employmentForm.controls.was_met.setValue(e.was_met),e.name_person_met&&l.employmentForm.controls.name_person_met.setValue(e.name_person_met),e.designation_person_met&&l.employmentForm.controls.designation_person_met.setValue(e.designation_person_met),l.employmentForm.controls.confirm_salary.setValue(e.confirm_salary),console.log("Emp.confirm_salary_amount",e.confirm_salary_amount,e.confirm_salary),e.confirm_salary&&(l.employmentForm.controls.confirm_salary_amount.setValue(e.confirm_salary_amount),l.inWords(e.confirm_salary_amount,1),l.employmentForm.controls.total_business_experience.setValue(e.total_business_experience),l.employmentForm.controls.total_business_previous_experience.setValue(e.total_business_previous_experience)),l.employmentForm.controls.attendance_seen.setValue(e.attendance_seen),l.employmentForm.controls.sal_reg_seen.setValue(e.sal_reg_seen),l.employmentForm.controls.from_date_the_salary_is_rcv.setValue(e.from_date_the_salary_is_rcv),l.employmentForm.controls.to_date_the_salary_is_rcv.setValue(e.to_date_the_salary_is_rcv),l.employmentForm.controls.gross_monthly_salary.setValue(e.gross_monthly_salary),l.employmentForm.controls.net_monthly_salary.setValue(e.net_monthly_salary),l.employmentForm.controls.bonus_incentive.setValue(e.bonus_incentive),l.employmentForm.controls.amount_paid_in_cash.setValue(e.amount_paid_in_cash),l.employmentForm.controls.how_was_it_validated.setValue(e.how_was_it_validated),l.employmentForm.controls.why_was_it_not_validated.setValue(e.why_was_it_not_validated),l.employmentForm.controls.amount_paid_through_bank.setValue(e.amount_paid_through_bank),l.employmentForm.controls.bonus_frequency.setValue(e.bonus_frequency),l.employmentForm.controls.bonus_type.setValue(e.bonus_type),l.employmentForm.controls.bonus_type_other.setValue(e.bonus_type_other),l.employmentForm.controls.any_delays.setValue(e.any_delays),l.employmentForm.controls.employment_remarks.setValue(e.employment_remarks),l.inWords(e.gross_monthly_salary,2),l.inWords(e.net_monthly_salary,3),l.inWords(e.bonus_incentive,4)}})},l=yh([Object(Df.k)({selector:"page-pd-question-emp-info",templateUrl:"pd-question-emp-info.html"}),Ch("design:paramtypes",[Tf.r,Tf.s,Jf.g,ah,zf,ch,Mf])],l)}(),Fh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},xh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Sh=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.toast=t,this.aws=a,this.constant=i,this.placeholderName=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.amtInwords=[],this.emiAmtInwords=[],this.dataFromAssets=[],this.labelArr=[],this.investmentTypeData=[],this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.applicants=this.pdDetails.applicat_details.filter(function(l){return 0!=l.pd_co_applicant_id}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.getdropdown(),this.users=this.aws.getlocale(),this.currentLoans=this.fb.group({existing_loan:[null],currentloan_remarks:[null],loan_details:this.fb.array([])})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionCurrentLoansPage"),this.getcurrentLoans()},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){l.lenderData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){l.frequencyData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("EXISTINGLOANTYPES").subscribe(function(n){l.loanTypeData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n})),this.qustCat.getcommondrop("INVESTMENTTYPE").subscribe(function(n){l.investmentTypeData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("ADDRESSTYPE").subscribe(function(n){l.addressTypeData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("PROPERTIES").subscribe(function(n){l.propertyTypeData=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.exitsCheck=function(l){"Yes"==l&&this.addLoanDetails()},l.prototype.createLoanDetail=function(l){return this.fb.group({label:null==l?[""]:[l.label],other_frequency:[""],loan_amount:[""],frequency:[""],emi:[""],loan_type:[""],others_loan_type:[""],loan_taken_by:[""],others_loan_taken:[""],lender:[""],others_lender:[""],original_tenure:[""],current_balance_tenure:[""],elapsed_tenure:[]})},l.prototype.addLoanDetails=function(){this.currentLoans.controls.loan_details.push(this.createLoanDetail(null))},l.prototype.deleteLoanDetails=function(l){var n=this.currentLoans.controls.loan_details;1==n.length?this.currentLoans.controls.loan_details.reset():n.removeAt(l)},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.checkOthers=function(l){return null!=l&&0==l.id},l.prototype.checkTenure=function(l){l.controls.current_balance_tenure.setValidators([Jf.y.required,Jf.y.max(+l.value.original_tenure)]),l.controls.current_balance_tenure.updateValueAndValidity()},l.prototype.calculateTenure=function(l){null!=l.value.original_tenure&&""!=l.value.original_tenure&&null!=l.value.current_balance_tenure&&""!=l.value.current_balance_tenure&&l.controls.elapsed_tenure.setValue(l.value.original_tenure-l.value.current_balance_tenure)},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.amtInwords[n]=this.constant.convertNumberToWords(l.target.value);break;case 2:this.emiAmtInwords[n]=this.constant.convertNumberToWords(l.target.value)}},l.prototype.selectedfrequency=function(l,n){switch(+l){case 1:this.placeholderName[n]="Instalment Amount";break;case 2:this.placeholderName[n]="Annual Instalment Amount";break;case 3:this.placeholderName[n]="Halfyearly Instalment Amount";break;case 4:this.placeholderName[n]="Fortnightly Instalment Amount";break;case 5:this.placeholderName[n]="Daily Instalment Amount";break;case 6:this.placeholderName[n]="Quarterly Instalment Amount";break;case 7:this.placeholderName[n]="Monthly Instalment Amount";break;default:this.placeholderName[n]="Instalment Amount"}},l.prototype.submitCurrentloan=function(l){var n=this,e={};e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.existing_loan=l.existing_loan,e.loan_details=l.loan_details,e.currentloan_remarks=l.currentloan_remarks,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})},l.prototype.getcurrentLoans=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){var e=l.currentLoans.controls.loan_details;if(1==n.dataStatus){var u=n.records;if(void 0!==n.records.loan_details&&null!=n.records.loan_details&&""!=n.records.loan_details){var t=Object.keys(n.records.loan_details).map(function(l){return n.records.loan_details[l]});l.currentLoans.controls.existing_loan.setValue(u.existing_loan),l.currentLoans.controls.currentloan_remarks.setValue(u.currentloan_remarks);var a=l.currentLoans.controls.loan_details;"No"!=u.existing_loan&&(0==t.length?a.push(l.createLoanDetail(null)):(t.forEach(function(n,e){a.push(l.createLoanDetail(null)),l.selectedfrequency(n.frequency,e),""!=n.loan_amount&&(l.amtInwords[e]=l.constant.convertNumberToWords(n.loan_amount)),""!=n.emi&&(l.emiAmtInwords[e]=l.constant.convertNumberToWords(n.emi))}),l.currentLoans.controls.loan_details.setValue(t)))}else l.currentLoans.controls.existing_loan.setValue(u.existing_loan),l.currentLoans.controls.currentloan_remarks.setValue(u.currentloan_remarks)}else l.qustCat.getAssetsWithLoanFromBusiness(l.pdid).subscribe(function(n){if(1==n.dataStatus){var u=n.record;if(u.business_address_asset.length>0&&u.business_address_asset.map(function(n){l.dataFromAssets.push({mode:0,mode_name:n.address_label,details:[],owner_name:n.business_name_of_the_owner,other_owner:n.business_name_of_the_other_owner,form_type:"Data From Bussiness Address"})}),u.business_assets.length>0&&u.business_assets.map(function(n){l.dataFromAssets.push({mode:n.business_assets_mode,mode_name:n.business_assets_mode_name,details:n.business_details,owner_name:n.business_name_of_the_owner,other_owner:n.business_name_of_the_other_owner,form_type:"Data From Business Assets"})}),u.other_assests.length>0&&u.other_assests.map(function(n){l.dataFromAssets.push({mode:n.assets_mode,mode_name:n.assets_mode_name,details:n.details,owner_name:n.name_of_the_owner,other_owner:n.other_owner,form_type:"Data From Other Asset"})}),l.dataFromAssets.length>0){var t=[];l.dataFromAssets.forEach(function(n,e){if(0==n.mode){var u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")});t[e]=" : "+u+" - "+n.mode_name}if(1==n.mode){var a;u="Owner Not Mentioned";n.details.forEach(function(l,n){a=l.any_other_assets}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=a?"( "+a+" )":"")}if(2==n.mode){var i,o="Owner Not Mentioned";n.details.forEach(function(e,u){i=e.property_type_name,i=1!=e.property_type?"Data From Business Assets"==n.form_type?l.addressTypeData.filter(function(l){return l.address_type_id==e.property_type})[0].address_type:"Data From Other Asset"==n.form_type?l.propertyTypeData.filter(function(l){return l.id==e.property_type})[0].name:"":e.other_property_type,n.owner_name.length>0&&(o=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}))});t[e]=" : "+o+" - "+n.mode_name+(""!=i?"( "+i+" )":"")}if(3==n.mode){var r;u="Owner Not Mentioned";n.details.forEach(function(l,n){r=l.manufacturer_model_vehicle}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=r?"( "+r+" )":"")}if(4==n.mode){var _;u="Owner Not Mentioned";n.details.forEach(function(l,n){_=l.equipment_manufacturing_description}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=_?"( "+_+" )":"")}if(6==n.mode){u="Owner Not Mentioned";n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")})),t[e]=" : "+u+" - "+n.mode_name}if(7==n.mode){var d;u="Owner Not Mentioned";n.details.forEach(function(n,e){d=1!=n.investments_type?l.investmentTypeData.filter(function(l){return l.id==n.investments_type})[0].name:n.other_investments_type}),n.owner_name.length>0&&(u=n.owner_name.map(function(l){return("Others"==l.name?n.other_owner:l.name).split(",")}));t[e]=" : "+u+" - "+n.mode_name+(""!=d?"( "+d+" )":"")}});var a=l.currentLoans.controls.loan_details;l.labelArr=t;l.labelArr.length>0&&(l.currentLoans.controls.existing_loan.setValue("Yes"),l.labelArr.forEach(function(n,e){a.push(l.createLoanDetail({label:n,loan_amount:"",frequency:"",other_frequency:"",emi:"",loan_type:"",others_loan_type:"",loan_taken_by:"",others_loan_taken:"",lender:"",others_lender:"",original_tenure:"",current_balance_tenure:"",elapsed_tenure:""}))}))}else e.push(l.createLoanDetail(null))}})})},l=Fh([Object(Df.k)({selector:"page-pd-question-current-loans",templateUrl:"pd-question-current-loans.html"}),xh("design:paramtypes",[Tf.r,Tf.s,Jf.g,ah,ch,zf,Mf])],l)}(),Ih=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},qh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},kh=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.constant=i,this.enduse=[],this.mortageAccess=!1,this.ownerNames=[],this.isOtherPurpose=!1,this.endUserList=[],this.mergeCompanyApplicant=[],this.m_endUseOFTopUpList=[],this.isContribution=!1,this.isOtherSource=!1,this.isPLSource=!1,this.sourceList=[],this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),this.applicants=this.pdDetails.applicat_details,this.productAbbr=this.pdDetails.product_abbr,this.users=this.aws.getlocale(),this.pdid=this.pdDetails.pd_id,this.getDropdown(),this.loanDetailsForm=this.fb.group({loan_amount:[this.pdDetails.loan_amount],loan_tenure:[""],sub_product:[""],end_use:["",Jf.y.compose([Jf.y.required])],end_use_other:[""],is_transfer:["",Jf.y.compose([Jf.y.required])],balance_transfer_amount:[""],topup_amount:[""],end_use_topup:[""],other_end_use_topup:[""],lender:[""],other_bt_lender:[""],own_contribution:["",Jf.y.compose([Jf.y.required])],source:[""],other_source:[""],emi_level:["",Jf.y.compose([Jf.y.required])],property_type:["",Jf.y.compose([Jf.y.required])],property_type_others:[""],owner_name:["",Jf.y.compose([Jf.y.required])],construction_status:["",Jf.y.compose([Jf.y.required])],emv_per_customer:["",Jf.y.compose([Jf.y.required])],loandetails_remarks:["",Jf.y.compose([Jf.y.required])]}),console.log(this.pdDetails.loanAmount),null!=this.loanDetailsForm.controls.loan_amount&&(this.loanAmtInWords=this.constant.convertNumberToWords(this.pdDetails.loan_amount)),this.mortagetypeAccess="BL"!=this.pdDetails.product_abbr||"PL"!=this.pdDetails.product_abbr||"LL"!=this.pdDetails.product_abbr,"PL"!=this.productAbbr&&"BL"!=this.productAbbr&&"LAP"!=this.productAbbr||(this.isContribution=!0)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionLoansPage"),this.getLoanDetails()},l.prototype.getDropdown=function(){var l=this;this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){l.m_btLenderList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getEndUseForLoan(this.pdid,this.pdDetails.fk_subproduct_id).subscribe(function(n){l.m_endUseForLoan=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("STATUSOFCONSTRUCTION").subscribe(function(n){l.m_statusofCunstruction=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("MORTAGEPROPERTIES").subscribe(function(n){if(1==n.dataStatus){var e=l;l.m_mortageTypeProperty=n.records.filter(function(l){return"LAP"!=e.pdDetails.product_abbr&&l.group_name==e.pdDetails.product_abbr&&1==l.isactive?l:"LAP"==e.pdDetails.product_abbr&&l.sub_group_name==e.pdDetails.subproduct_name?l:void 0})}}),this.qustCat.getcommondrop("SOURCEOFBALANCETRANSFER").subscribe(function(n){l.m_sourceofamount=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("SUBPRODUCTS").subscribe(function(n){if(1==n.dataStatus){var e=l;l.m_endUseofLoad=n.records.filter(function(l){if(e.pdDetails.fk_product_id==l.fk_product_id&&1==l.isactive)return l}),l.endUserChange(l.enduse)}}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}),"LAP"!=this.productAbbr&&this.mergeCompanyApplicant.push({groupName:"OTHERS",groupValues:[{id:0,name:"Not Yet Finalised",group_id:2}]})),this.qustCat.getcommondrop("ENDUSEOFTOPUP").subscribe(function(n){l.m_endUseOFTopUpList=n.records.filter(function(l){return 1==l.is_active})})},l.prototype.selectedBalancesTransferChanges=function(l){"no"==l.value?(this.loanDetailsForm.controls.source.setValidators([Jf.y.required]),this.loanDetailsForm.controls.source.updateValueAndValidity(),this.loanDetailsForm.controls.own_contribution.setValidators([Jf.y.required]),this.loanDetailsForm.controls.own_contribution.updateValueAndValidity(),this.loanDetailsForm.controls.other_bt_lender.setValue(""),this.loanDetailsForm.controls.balance_transfer_amount.setValue(""),this.loanDetailsForm.controls.lender.setValue(""),this.loanDetailsForm.controls.topup_amount.setValue(""),this.loanDetailsForm.controls.end_use_topup.setValue(""),this.loanDetailsForm.controls.other_end_use_topup.setValue(""),this.topUpAmtInWords=""):"yes"==l.value&&(this.loanDetailsForm.controls.source.setValue(""),this.loanDetailsForm.controls.source.clearValidators(),this.loanDetailsForm.controls.source.updateValueAndValidity(),this.loanDetailsForm.controls.own_contribution.setValue(""),this.loanDetailsForm.controls.own_contribution.clearValidators(),this.loanDetailsForm.controls.own_contribution.updateValueAndValidity(),this.isOtherSource=!1,this.loanDetailsForm.controls.other_source.setValue(""))},l.prototype.mortage_type=function(l){var n=this.m_mortageTypeProperty.filter(function(n){return n.mortage_property_id==l})[0];this.mortageAccess="Others (Please Specify)"==n.property_name},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.loanCalc=function(){var l,n=this.loanDetailsForm.value.balance_transfer_amount,e=this.loanDetailsForm.value.loan_amount;null!=n&&""!=n&&null!=e&&""!=e&&(e>=n?(this.loanDetailsForm.controls.topup_amount.setValue(l=e-n),this.topUpAmtInWords=this.constant.convertNumberToWords(l)):(this.toast.pdTriggerappmessage("warning !! Balances Transfer Amount is greater than Loan Amount Please check.!"),this.loanDetailsForm.controls.balance_transfer_amount.setValue(""),this.balTxrfAmtInWords="",this.loanDetailsForm.controls.topup_amount.setValue(""),this.topUpAmtInWords=""))},l.prototype.onChangeSubProduct=function(l){var n=this;this.qustCat.getEndUseForLoan(this.pdid,l).subscribe(function(l){n.m_endUseForLoan=l.records.filter(function(l){return 1==l.isactive})})},l.prototype.endUserChange=function(l){var n=this;l.forEach(function(l){var e=n.m_endUseForLoan.filter(function(n){return n.enduse_of_loan_id==l})[0];e=e.enduse_of_loan.substr(0,6).toLowerCase(),n.endUserList.push({end_use:l}),n.isOtherPurpose="others"==e})},l.prototype.ownerNameChange=function(l){var n=this;this.ownerNames=[],l.value.forEach(function(l){n.ownerNames.push({owner_name:l})})},l.prototype.sourceChange=function(l){var n=this;this.isOtherSource=l.some(function(l){return 1==l}),this.isPLSource=l.some(function(l){return 3==l}),this.sourceList=[],l.forEach(function(l){n.sourceList.push({source:l})})},l.prototype.inWords=function(l,n){switch(n){case 1:this.loanAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 2:this.balTxrfAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 3:this.valAsPerAgmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 4:this.ownContributionInWords=this.constant.convertNumberToWords(l.target.value);break;case 5:this.topUpAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 6:this.emiAmtInWords=this.constant.convertNumberToWords(l.target.value);break;case 7:this.emvAmtInWords=this.constant.convertNumberToWords(l.target.value)}},l.prototype.submitLoanDetails=function(){var l=this,n={};n.pdid=this.pdDetails.pd_id,n.formid=this.FormId.form_id,n.fk_createdby=this.users,n.loan_amount=this.loanDetailsForm.controls.loan_amount.value,n.loan_tenure=this.loanDetailsForm.controls.loan_tenure.value,n.sub_product=this.loanDetailsForm.controls.sub_product.value;var e=[];if(this.loanDetailsForm.controls.end_use.value.forEach(function(l){e.push({end_use:l})}),n.end_use_group=e,this.isOtherPurpose&&(n.end_use_other=this.loanDetailsForm.controls.end_use_other.value),n.is_transfer=this.loanDetailsForm.controls.is_transfer.value,"yes"==this.loanDetailsForm.controls.is_transfer.value)n.balance_transfer_amount=this.loanDetailsForm.controls.balance_transfer_amount.value;else if("no"==this.loanDetailsForm.controls.is_transfer.value){n.own_contribution=this.loanDetailsForm.controls.own_contribution.value;var u=[];""!=this.loanDetailsForm.controls.source.value&&this.loanDetailsForm.controls.source.value.forEach(function(l){u.push({sources:l})}),n.source_group=u}if(n.topup_amount=this.loanDetailsForm.controls.topup_amount.value,n.topup_amount>0&&(n.end_use_topup=this.loanDetailsForm.controls.end_use_topup.value,1==n.end_use_topup&&(n.other_end_use_topup=this.loanDetailsForm.controls.other_end_use_topup.value)),"yes"==this.loanDetailsForm.controls.is_transfer.value&&(n.lender=this.loanDetailsForm.controls.lender.value),1==this.loanDetailsForm.controls.lender.value&&(n.other_bt_lender=this.loanDetailsForm.controls.other_bt_lender.value),n.other_source=this.isOtherSource?this.loanDetailsForm.controls.other_source.value:"",n.emi_level=this.loanDetailsForm.controls.emi_level.value,1==this.mortageCardAccess){if(n.property_type=this.loanDetailsForm.controls.property_type.value,""!=this.loanDetailsForm.value.property_type_others&&null!=this.loanDetailsForm.value.property_type_others&&(n.property_type_others=this.loanDetailsForm.controls.property_type_others.value),""!=this.loanDetailsForm.controls.owner_name.value){var t=[];this.loanDetailsForm.controls.owner_name.value.forEach(function(l){t.push({owner_name:l})}),n.owner_name_group=t}else n.owner_name_group="";n.construction_status=this.loanDetailsForm.controls.construction_status.value}else n.property_type=null,n.property_type_others=null,n.owner_name_group=null,n.construction_status=null,n.emv_per_customer=null;n.emv_per_customer=this.loanDetailsForm.controls.emv_per_customer.value,n.loandetails_remarks=this.loanDetailsForm.controls.loandetails_remarks.value,this.qustCat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Error")})},l.prototype.getLoanDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records;Object.keys(e.end_use_group).map(function(l){return e.end_use_group[l]}).forEach(function(n){l.enduse.push(n.end_use)});var u=[];if(null!=e.owner_name_group){Object.keys(e.owner_name_group).map(function(l){return e.owner_name_group[l]}).forEach(function(n){u.push(n.owner_name),l.ownerNames.push({end_use:n.end_use})})}if(l.loanDetailsForm.controls.loan_amount.setValue(e.loan_amount),l.loanDetailsForm.controls.loan_tenure.setValue(e.loan_tenure),e.loan_amount&&(l.loanAmtInWords=l.constant.convertNumberToWords(e.loan_amount)),l.loanDetailsForm.controls.sub_product.setValue(e.sub_product),l.loanDetailsForm.controls.end_use.setValue(l.enduse),l.endUserChange(l.enduse),""!=e.end_use_other&&l.loanDetailsForm.controls.end_use_other.setValue(e.end_use_other),l.loanDetailsForm.controls.is_transfer.setValue(e.is_transfer),e.balance_transfer_amount&&(l.loanDetailsForm.controls.balance_transfer_amount.setValue(e.balance_transfer_amount),l.balTxrfAmtInWords=l.constant.convertNumberToWords(e.balance_transfer_amount)),e.topup_amount&&(l.loanDetailsForm.controls.topup_amount.setValue(e.topup_amount),l.topUpAmtInWords=l.constant.convertNumberToWords(e.topup_amount),e.topup_amount>0&&(l.loanDetailsForm.controls.end_use_topup.setValue(e.end_use_topup),1==e.end_use_topup&&l.loanDetailsForm.controls.other_end_use_topup.setValue(e.other_end_use_topup))),e.balance_transfer_amount&&l.loanDetailsForm.controls.balance_transfer_amount.setValue(e.balance_transfer_amount),e.topup_amount&&l.loanDetailsForm.controls.topup_amount.setValue(e.topup_amount),e.lender&&l.loanDetailsForm.controls.lender.setValue(e.lender),l.loanDetailsForm.controls.own_contribution.setValue(e.own_contribution),e.own_contribution&&(l.ownContributionInWords=l.constant.convertNumberToWords(e.own_contribution)),"yes"!=e.is_transfer){var t=[];Object.keys(e.source_group).map(function(l){return e.source_group[l]}).forEach(function(l){t.push(l.sources)}),l.loanDetailsForm.controls.source.setValue(t),l.sourceChange(t),e.other_source&&l.loanDetailsForm.controls.other_source.setValue(e.other_source)}e.emi_level&&(l.loanDetailsForm.controls.emi_level.setValue(e.emi_level),l.emiAmtInWords=l.constant.convertNumberToWords(e.emi_level)),l.loanDetailsForm.controls.other_bt_lender.setValue(e.other_bt_lender),l.loanDetailsForm.controls.property_type.setValue(e.property_type),l.propertyType=e.property_type,null!=e.property_type&&(l.mortage_type(l.propertyType),1==l.mortageCardAccess&&l.loanDetailsForm.controls.property_type_others.setValue(e.property_type_others),l.loanDetailsForm.controls.owner_name.setValue(u),l.loanDetailsForm.controls.construction_status.setValue(e.construction_status),l.loanDetailsForm.controls.emv_per_customer.setValue(e.emv_per_customer),e.emv_per_customer&&(l.emvAmtInWords=l.constant.convertNumberToWords(e.emv_per_customer))),l.loanDetailsForm.controls.loandetails_remarks.setValue(e.loandetails_remarks)}}),"BL"==this.productAbbr||"PL"==this.productAbbr||"LL"==this.productAbbr?(this.mortageCardAccess=!1,this.loanDetailsForm.controls.owner_name.setValue(""),this.loanDetailsForm.controls.owner_name.clearValidators(),this.loanDetailsForm.controls.owner_name.updateValueAndValidity()):(this.mortageCardAccess=!0,this.loanDetailsForm.controls.owner_name.setValidators([Jf.y.required]),this.loanDetailsForm.controls.owner_name.updateValueAndValidity())},l=Ih([Object(Df.k)({selector:"page-pd-question-loans",templateUrl:"pd-question-loans.html"}),qh("design:paramtypes",[Tf.r,Tf.s,Jf.g,ah,zf,ch,Mf])],l)}(),Ph=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Dh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Th=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cons=i,this.existCompanyList=[],this.mergeCompanyApplicant=[],this.limitCaseFlag=[],this.amtInwords=[],this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 0==l.applicant_type||1==l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.users=this.aws.getlocale(),this.bankDetails=this.fb.group({bankitems:this.fb.array([]),banking_form_remark:[null]}),this.salaryField="SE"!=this.pdDetails.customer_segment_abbr.substring(0,2),this.getdropdown(),this.retiveBankDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBankingPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("ACCOUNTTYPE").subscribe(function(n){1==n.dataStatus&&(l.accountType=n.records)}),this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){1==n.dataStatus&&(l.m_btLenderList=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}))},l.prototype.selectedAccTypeChanges=function(l,n){this.limitCaseFlag[n]=2!=l&&1!=l},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.amtInwords[n]=this.cons.convertNumberToWords(l.target.value)}},l.prototype.ConvertMonthintoYear=function(l,n){var e=n%12,u=n/12;l.controls.vintage_year.setValue(+l.controls.vintage_year.value+ +Math.floor(u)),l.controls.vintage_month.setValue(Math.floor(e))},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.checkOthers=function(l){return null!=l&&0==l.id},l.prototype.createBankItem=function(l){return this.fb.group({applicant_name:[""],bank_name:[""],account_type:[""],salary:(this.pdDetails.customer_segment_abbr.substring(0,2),[""]),limit:[""],other_bank:[""],other_applicant:[""],vintage_year:[""],vintage_month:[""]})},l.prototype.addBankDetails=function(){this.bankitems=this.bankDetails.get("bankitems"),this.bankitems.push(this.createBankItem(""))},l.prototype.addmoreBankDetils=function(){this.bankitems=this.bankDetails.get("bankitems"),this.bankitems.push(this.createBankItem(""))},l.prototype.removebank=function(l){1==this.bankitems.length?this.bankitems.reset():this.bankitems.removeAt(l)},l.prototype.savepdBank=function(l){var n=this,e={};e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.banking_details=l.bankitems,e.banking_form_remark=l.banking_form_remark,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})},l.prototype.retiveBankDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=Object.keys(n.records.banking_details).map(function(l){return n.records.banking_details[l]});l.bankDetails.controls.banking_form_remark.setValue(n.records.banking_form_remark),l.bankitems=l.bankDetails.get("bankitems"),0==e.length?l.bankitems.push(l.createBankItem("")):(e.forEach(function(n,e){l.selectedAccTypeChanges(+n.account_type,e),""!=n.limit&&(l.amtInwords[e]=l.cons.convertNumberToWords(+n.limit)),l.bankitems.push(l.createBankItem(""))}),l.bankDetails.controls.bankitems.setValue(e))}else l.addBankDetails()})},l=Ph([Object(Df.k)({selector:"page-pd-question-banking",templateUrl:"pd-question-banking.html"}),Dh("design:paramtypes",[Tf.r,Tf.s,Jf.g,zf,ah,ch,Mf])],l)}(),Oh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Lh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Ah=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.cons=i,this.earningStatus=[{type:"Earning",id:1},{type:"Non Earning",id:2}],this.cityData=[],this.pincodeData=[],this.FamilyMemberAsLabel=[],this.selectPerson=[],this.apiFamilyMembers=[],this.RentAmount=[],this.IncomePerMonth=[],this.prevFamilyMembersCtrlLength=0,this.currFamilyMembersCtrlLength=0,this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),this.selected_person=this.pdDetails.pdapplicants_details,this.selectPerson=this.pdDetails.applicat_details,this.users=this.aws.getlocale(),this.familyForm=this.fb.group({family_details:this.fb.array([]),family_details_form_remark:[""]}),this.getRelation(),this.getoccupation()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFamilyPage"),this.getFamilyData()},l.prototype.initFamilyDetails=function(l){var n=this;if(null===l){var e=this.fb.group({selected_person:["",Jf.y.compose([Jf.y.required])],residence_place:["",Jf.y.compose([])],residence_city:["",Jf.y.compose([])],residence_state:["",Jf.y.compose([])],residence_pin:["",Jf.y.compose([])],residence_other_pincode:["",Jf.y.compose([])],residence_No_of_years:["",Jf.y.compose([])],residence_ownership:["",Jf.y.compose([])],ownershipOther:[""],rent:[""],total_number_of_family_members:["",Jf.y.compose([Jf.y.min(1),Jf.y.max(20)])],family_members_details:this.fb.array([])});this.familyForm.controls.family_details.push(e)}else l.forEach(function(l,e){null!=l.rent&&n.inWords(l.rent,e,2),n.FamilyMemberAsLabel[e]=n.selectPerson.filter(function(n){return n.pd_co_applicant_id==l.selected_person})[0].applicant_name,n.getCity(l.residence_state,e);var u=n.fb.group({selected_person:[l.selected_person],residence_place:[l.residence_place],residence_city:[l.residence_city],residence_state:[l.residence_state],residence_pin:[l.residence_pin],residence_other_pincode:[l.residence_other_pincode],residence_No_of_years:[l.residence_No_of_years,Jf.y.compose([])],residence_ownership:[l.residence_ownership],rent:[l.rent||null],ownershipOther:[l.ownershipOther||null],total_number_of_family_members:[l.total_number_of_family_members,Jf.y.compose([Jf.y.min(1),Jf.y.max(20)])],family_members_details:n.fb.array([])}),t=n.familyForm.controls.family_details;t.push(u);n.initFamilyMembersDetails(t.length-1,l.family_members_details)})},l.prototype.initFamilyMembersDetails=function(l,n){var e=this,u=this.familyForm.controls.family_details.controls[l].controls.family_members_details;n.forEach(function(l,n){null!=l.earning_gross_income_per_month&&e.inWords(l.earning_gross_income_per_month,n,1);var t=e.fb.group({family_member_name:[l.family_member_name||null,Jf.y.compose([])],family_member_relationship:[l.family_member_relationship||null,Jf.y.compose([])],family_member_age:[l.family_member_age||null,Jf.y.compose([])],family_member_earning_status:[l.family_member_earning_status||null,Jf.y.compose([])],earning_segment:[l.earning_segment||null,Jf.y.compose([])],earning_if_others_segment:[l.earning_if_others_segment||null,Jf.y.compose([])],earning_gross_income_per_month:[l.earning_gross_income_per_month||null,Jf.y.compose([])],earning_name_of_the_employer_or_business:[l.earning_name_of_the_employer_or_business||null,Jf.y.compose([])],earning_number_of_years_in_employment_or_business:[l.earning_number_of_years_in_employment_or_business||null,Jf.y.compose([])],non_earning_occupation:[l.non_earning_occupation||null,Jf.y.compose([])],non_earning_if_others:[l.non_earning_if_others||null,Jf.y.compose([])],non_earning_if_schoolorcollege:[l.non_earning_if_schoolorcollege||null,Jf.y.compose([])],non_earning_if_retired_from:[l.non_earning_if_retired_from||null,Jf.y.compose([])]});u.push(t)})},l.prototype.add=function(){this.initFamilyDetails(null),this.toast.pdTriggerappmessage("Family Details Added")},l.prototype.remove_family_details=function(l){this.familyForm.controls.family_details.removeAt(l)},l.prototype.addMemberDet=function(l){this.familyForm.controls.family_details.controls[l].controls.family_members_details.push(this.generateFamilyMembersDetailsGet())},l.prototype.removeMemberDet=function(l,n){var e=this.familyForm.controls.family_details.controls[n].controls.family_members_details;e.length>1?e.removeAt(l):e.reset()},l.prototype.getNumberOfFamilyMemberDetails=function(l){var n=this.familyForm.controls.family_details.controls[l].controls;if(n.total_number_of_family_members.valid){var e=n.total_number_of_family_members.value;if(e>=(a=this.familyForm.controls.family_details.controls[l].controls.family_members_details).length)for(var u=e-a.length,t=0;t=e;t--)a.removeAt(t)}else{var a;(a=this.familyForm.controls.family_details.controls[l].controls.family_members_details).removeAt(a.length),a.controls=[]}},l.prototype.generateFamilyMembersDetailsGet=function(){return this.fb.group({family_member_name:["",Jf.y.compose([])],family_member_relationship:["",Jf.y.compose([])],family_member_age:["",Jf.y.compose([])],family_member_earning_status:["",Jf.y.compose([])],earning_segment:["",Jf.y.compose([])],earning_if_others_segment:["",Jf.y.compose([])],earning_gross_income_per_month:["",Jf.y.compose([])],earning_name_of_the_employer_or_business:["",Jf.y.compose([])],earning_number_of_years_in_employment_or_business:["",Jf.y.compose([])],non_earning_occupation:["",Jf.y.compose([])],non_earning_if_others:["",Jf.y.compose([])],non_earning_if_schoolorcollege:["",Jf.y.compose([])],non_earning_if_retired_from:["",Jf.y.compose([])]})},l.prototype.getRelation=function(){var l=this;this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){1==n.dataStatus&&(l.relationData=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("PERSONSMET").subscribe(function(n){1==n.dataStatus&&(l.filteredStates=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("EARNINGMEMBERSSTATUS").subscribe(function(n){1==n.dataStatus&&(l.cusSeg=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("RESIDENCEOWNERSHIP").subscribe(function(n){1==n.dataStatus&&(l.ownerShip=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("STATE").subscribe(function(n){1==n.dataStatus&&(l.stateData=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.getCity=function(l,n){var e=this;this.qustCat.getStateWiseCities(l).subscribe(function(l){1==l.dataStatus&&(e.cityData[n]=l.records.cities,e.pincodeData[n]=l.records.pincode)})},l.prototype.getoccupation=function(){var l=this;this.qustCat.getcommondrop("OCCUPATIONMEMBERS").subscribe(function(n){1==n.dataStatus&&(l.occupationData=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.savepdfamily=function(l){var n=this,e={};e=this.familyForm.value,Object.keys(e).forEach(function(l){return null==e[l]&&delete e[l]}),e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,this.qustCat.saveForm(e).subscribe(function(l){n.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){n.navCtrl.pop()},2e3)},function(l){n.toast.pdTriggerappmessage("Some Fields value is Missing Please Fill It")})},l.prototype.selectedPerson=function(l,n){var e=this;this.FamilyMemberAsLabel[n]=this.selectPerson.filter(function(n){return n.pd_co_applicant_id==l})[0].applicant_name;var u=this.familyForm.controls.family_details.controls[n].controls.family_members_details;this.currFamilyMembersCtrlLength=u.length;for(var t=0;t0){var a=this.apiFamilyMembers.filter(function(n){return n.relation_to==l});a.length>0?(this.prevFamilyMembersCtrlLength=a.length,console.log("familyMembersControlLength",this.prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength),a.forEach(function(l,n){u.push(e.initgenerateFamilyMembersDetailsGet({family_member_name:l.name,family_member_relationship:l.relationship,family_member_age:l.age,family_member_earning_status:"BusinessForm"==l.data_gets_from?"1":"",earning_segment:"",earning_gross_income_per_month:"",earning_name_of_the_employer_or_business:"",earning_number_of_years_in_employment_or_business:"",earning_if_others_segment:"",non_earning_occupation:"",non_earning_if_others:"",non_earning_if_retired_from:"",non_earning_if_schoolorcollege:""}))})):(this.prevFamilyMembersCtrlLength=1,console.log("familyMembersControlLength",this.prevFamilyMembersCtrlLength,this.currFamilyMembersCtrlLength),u.push(this.generateFamilyMembersDetailsGet()))}else u.push(this.generateFamilyMembersDetailsGet())},l.prototype.generateFamilyMembersDetailsGetData=function(l){var n=Object.keys(l).map(function(n){return l[n]});if(n.length>0)for(var e=0,u=n;e0){var u=Object.keys(n.record.from_general_form).map(function(l){return n.record.from_general_form[l]}).map(function(l){return{id:l.pd_co_applicant_id.toString(),name:l.applicant_name,relationship:l.relationship,relation_to:l.relation_to,age:l.age,data_gets_from:"GeneralForm"}});e.push(u)}else console.log("No data in General Form");if(n.record.from_business_form.length>0){u=Object.keys(n.record.from_business_form).map(function(l){return n.record.from_business_form[l]}).map(function(l){return{id:l.other_family_relationship_id,name:l.family_member_name,relationship:l.other_family_relationship_id,relation_to:l.relation_to_id,age:"",data_gets_from:"BusinessForm"}});e.push(u)}else console.log("No data in Business Form");l.apiFamilyMembers=[].concat.apply([],e)}});this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){console.log("Entering Retrieve"),200==n.status?n.records.family_details.length>0&&(l.familyForm.controls.family_details_form_remark.setValue(n.records.family_details_form_remark),l.resValue=n,l.initFamilyDetails(n.records.family_details)):(console.log("No Data Found"),l.initFamilyDetails(null))},function(l){console.log("Error",l)})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.IncomePerMonth[n]=this.cons.convertNumberToWords(l);break;case 2:this.RentAmount[n]=this.cons.convertNumberToWords(l)}},l.prototype.initSetValue=function(l){for(var n=0,e=l;n=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},jh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Nh=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.constprovider=i,this.m_any_asset_loan_type=[{value:"yes",viewValue:"Yes"},{value:"no",viewValue:"No"},{value:"nan",viewValue:"NA"}],this.m_vehicle_type=[],this.m_uom_type=[],this.FormList=!1,this.loadDetails=!0,this.PremiumPaidInwords=[],this.SumAssuredInwords=[],this.AmtInvestInwords=[],this.ApproxInwords=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.isOtherOwner=[],this.currentYear=(new Date).getFullYear(),this.apiLoadFinish=!1,this.assestInfo="busass",this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.users=this.aws.getlocale(),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 0==l.applicant_type||1==l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.AssetsDetailsForm=this.fb.group({assets_details:this.fb.array([]),assets_form_remark:[""]}),this.getAssetDetails(),this.getdropList(),this.loadDetails=!0}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssestsPage")},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("ASSETTYPE").subscribe(function(n){1==n.dataStatus&&(l.m_assets_type=n.records.filter(function(l){return 1==l.isactive&&5!=l.id}))}),this.qustCat.getcommondrop("PROPERTIES").subscribe(function(n){1==n.dataStatus&&(l.m_propertyType=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("INVESTMENTTYPE").subscribe(function(n){1==n.dataStatus&&(l.m_investmentType=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("INSURANCETYPE").subscribe(function(n){1==n.dataStatus&&(l.m_insuranceType=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){1==n.dataStatus&&(l.m_relation=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("VEHICLETYPE").subscribe(function(n){1==n.dataStatus&&(l.m_vehicle_type=n.records.filter(function(l){return 1==l.is_active}))}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.m_uom_type=n.records.filter(function(l){return 1==l.isactive&&1==l.is_land_uom||2==l.is_land_uom}))}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active}));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}));var u=[];l.applicants.length>0&&(u=l.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),l.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:u}))})},l.prototype.createAsset=function(){return this.fb.group({assets_mode:[null],details:this.fb.array([]),approximate_market_value:[null],name_of_the_owner:[""],other_owner:[""],purchase_year:[null,Jf.y.compose([Jf.y.minLength(4),Jf.y.maxLength(4)])],vintage_personal:[""],emi:[null]})},l.prototype.addAsset=function(l){1==l&&(this.assetItem=this.AssetsDetailsForm.get("assets_details"),this.assetItem.push(this.createAsset()))},l.prototype.deleteAsset=function(l,n){1==n&&(this.assetItem=this.AssetsDetailsForm.get("assets_details"),1==this.assetItem.length?this.AssetsDetailsForm.controls.assets_details.reset():this.assetItem.removeAt(l))},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.loanCalc=function(l,n){if(1==n){null!=l.value.original_loan_tenure&&""!=l.value.original_loan_tenure&&null!=l.value.balance_tenure&&""!=l.value.balance_tenure&&l.controls.elapsed_tenure.setValue(l.value.original_loan_tenure-l.value.balance_tenure)}},l.prototype.selectedAssetsType=function(l,n,e){var u=n;if(1==e){this.AssetsDetailsForm.controls.assets_details.at(u).get("details").controls.splice(0)}switch(l.value){case"1":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.otherAssetsDescription());break;case"2":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadProperty());break;case"3":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.load_Four_Weeler());break;case"4":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadEquipmentManufacturingDescription());break;case"5":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadConsumerDurableDescription());break;case"6":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadInsuranceDescription());break;case"7":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.loadInvestDescription());break;case"8":this.AssetsDetailsForm.controls.assets_details.at(u).get("details").push(this.otherAssetsDescription())}},l.prototype.loadProperty=function(){return this.fb.group({property_type:[""],other_property_type:[""],address_of_the_property:[""],describe_of_the_property_asset:[""],area_covered_by_this_property:[""],uom_of_the_property:[""],other_uom:[""]})},l.prototype.loadConsumerDurableDescription=function(){return this.fb.group({consumer_durable_description:[null]})},l.prototype.loadEquipmentManufacturingDescription=function(){return this.fb.group({equipment_manufacturing_description:[""]})},l.prototype.otherAssetsDescription=function(){return this.fb.group({any_other_assets:[""]})},l.prototype.loadInsuranceDescription=function(){return this.fb.group({premium_paid:[null],frequency_mode:[null],other_frequency_mode:[null],sum_assured:[null],members_coverd:[null]})},l.prototype.loadInvestDescription=function(){return this.fb.group({investments_type:[""],other_investments_type:[""],in_which_organisation:[""],amount_of_invest:[""],bank_name:[""]})},l.prototype.load_Four_Weeler=function(){return this.fb.group({manufacturer_model_vehicle:[""],vehicle_type:[""],other_vehicle_type:[""]})},l.prototype.load_Two_Weeler=function(){return this.fb.group({manufacturer_model_two_weeler:[""]})},l.prototype.loadPropertyWithData=function(l){return this.fb.group({property_type:[l.property_type],other_property_type:[l.other_property_type],address_of_the_property:[l.address_of_the_property],describe_of_the_property_asset:[l.describe_of_the_property_asset],area_covered_by_this_property:[l.area_covered_by_this_property],uom_of_the_property:[l.uom_of_the_property],other_uom:[l.other_uom]})},l.prototype.loadJwellDescriptionWithData=function(l){return this.fb.group({})},l.prototype.loadConsumerDurableDescriptionWithData=function(l){return this.fb.group({consumer_durable_description:[l.consumer_durable_description]})},l.prototype.otherAssetsDescriptionWithData=function(l){return this.fb.group({any_other_assets:[l.any_other_assets]})},l.prototype.loadInsuranceDescriptionWithData=function(l){return this.fb.group({premium_paid:[l.premium_paid],frequency_mode:[l.frequency_mode],other_frequency_mode:[l.other_frequency_mode],sum_assured:[l.sum_assured],members_coverd:[l.members_coverd]})},l.prototype.loadInvestDescriptionWithData=function(l){return this.fb.group({investments_type:[l.investments_type],other_investments_type:[l.other_investments_type],in_which_organisation:[l.in_which_organisation],amount_of_invest:[l.amount_of_invest],bank_name:[l.bank_name]})},l.prototype.load_Four_WeelerWithData=function(l){return this.fb.group({manufacturer_model_vehicle:[l.manufacturer_model_vehicle],vehicle_type:[l.vehicle_type],other_vehicle_type:[l.other_vehicle_type]})},l.prototype.loadEquipmentManufacturingDescriptionWithData=function(l){return this.fb.group({equipment_manufacturing_description:[l.equipment_manufacturing_description]})},l.prototype.load_Two_WeelerWithData=function(l){return this.fb.group({manufacturer_model_vehicle:[l.manufacturer_model_vehicle]})},l.prototype.initDetailsWithdata=function(l){return this.fb.group({assets_mode:[l.assets_mode],details:this.fb.array([]),approximate_market_value:[l.approximate_market_value],name_of_the_owner:[l.name_of_the_owner],other_owner:[l.other_owner||""],vintage_personal:[l.vintage_personal],purchase_year:[l.purchase_year,Jf.y.compose([Jf.y.minLength(4),Jf.y.maxLength(4)])],emi:[l.emi||0]})},l.prototype.saveAssetDetails=function(l){var n=this;Object.keys(l).forEach(function(n){return null==l[n]&&delete l[n]}),l.pdid=this.pdDetails.pd_id,l.formid=this.FormId.form_id,l.fk_createdby=this.users,this.qustCat.saveForm(l).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})},l.prototype.getAssetDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=Object.keys(n.records.assets_details).map(function(l){return n.records.assets_details[l]});l.AssetsDetailsForm.controls.assets_form_remark.setValue(n.records.assets_form_remark),e.length>0&&e.forEach(function(n,e){var u={assets_mode:n.assets_mode,approximate_market_value:n.approximate_market_value,name_of_the_owner:n.name_of_the_owner,other_owner:n.other_owner,purchase_year:n.purchase_year,vintage_personal:n.vintage_personal,emi:n.emi},t=1;n.name_of_the_owner.forEach(function(l){0==l.id&&2==l.group_id&&(t=l.id)}),l.isOtherOwner[e]=0==t;var a=l.AssetsDetailsForm.controls.assets_details;a.push(l.initDetailsWithdata(u)),l.inWords(+n.approximate_market_value,e,4),l.setAssetsDetailsWithData(u.assets_mode,n.details,a.length-1)}),l.apiLoadFinish=!0}else l.apiLoadFinish=!0,l.addAsset(1)})},l.prototype.setAssetsDetailsWithData=function(l,n,e){var u=this,t=e,a=n;switch(this.AssetsDetailsForm.controls.assets_details.at(t).get("details").controls.splice(0),l){case"1":var i;a.forEach(function(l,n){i={any_other_assets:l.any_other_assets}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.otherAssetsDescriptionWithData(i));break;case"2":var o;a.forEach(function(l,n){o={property_type:l.property_type,other_property_type:l.other_property_type,address_of_the_property:l.address_of_the_property,describe_of_the_property_asset:l.describe_of_the_property_asset,uom_of_the_property:l.uom_of_the_property,area_covered_by_this_property:l.area_covered_by_this_property,other_uom:l.other_uom}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadPropertyWithData(o));break;case"3":var r;a.forEach(function(l,n){r={manufacturer_model_vehicle:l.manufacturer_model_vehicle,vehicle_type:l.vehicle_type,other_vehicle_type:l.other_vehicle_type}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.load_Four_WeelerWithData(r));break;case"4":var _;a.forEach(function(l,n){_={equipment_manufacturing_description:l.equipment_manufacturing_description}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadEquipmentManufacturingDescriptionWithData(_));break;case"5":this.FormList=!0;this.AssetsDetailsForm.controls.assets_details.at(t).get("details");break;case"6":var d;a.forEach(function(l,n){d={premium_paid:l.premium_paid,frequency_mode:l.frequency_mode,other_frequency_mode:l.other_frequency_mode,sum_assured:l.sum_assured,members_coverd:l.members_coverd},u.inWords(+l.premium_paid,n,1),u.inWords(+l.sum_assured,n,2)});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadInsuranceDescriptionWithData(d));break;case"7":var s;a.forEach(function(l,n){u.inWords(+l.amount_of_invest,n,3),s={investments_type:l.investments_type,other_investments_type:l.other_investments_type,in_which_organisation:l.in_which_organisation,amount_of_invest:l.amount_of_invest,bank_name:l.bank_name}});this.AssetsDetailsForm.controls.assets_details.at(t).get("details").push(this.loadInvestDescriptionWithData(s))}},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9\-\.\ ]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.PremiumPaidInwords[n]=this.constprovider.convertNumberToWords(l);break;case 2:this.SumAssuredInwords[n]=this.constprovider.convertNumberToWords(l);break;case 3:this.AmtInvestInwords[n]=this.constprovider.convertNumberToWords(l);break;case 4:this.ApproxInwords[n]=this.constprovider.convertNumberToWords(l)}},l.prototype.calculateVintagePurchase=function(l,n,e){if(1==e);else if(2==e);else if(3==e){(u=this.AssetsDetailsForm.controls.assets_details).controls[n].controls.purchase_year.setValue(""!=l?parseInt(this.currentYear)-parseInt(l):"")}else if(4==e){var u;(u=this.AssetsDetailsForm.controls.assets_details).controls[n].controls.purchase_year.setValue(""!=l&&l<=this.currentYear?l:""),u.controls[n].controls.vintage_personal.setValue(""!=l&&l<=this.currentYear?parseInt(this.currentYear)-parseInt(l):"")}},l.prototype.setRequiredValidation=function(l,n,e,u){var t=this.AssetsDetailsForm.controls.assets_details.controls[n];if(4==u){var a=1;l.length>0&&l.forEach(function(l){0==l.id&&2==l.group_id&&(a=l.id)}),0==a?(t.controlsother_owner.setValidators([Jf.y.required]),this.isOtherOwner[n]=!0):1==a&&(t.controls.other_owner.setValue(""),t.controls.other_owner.clearValidators(),this.isOtherOwner[n]=!1),t.controls.other_owner.updateValueAndValidity()}},l=Vh([Object(Df.k)({selector:"page-pd-question-assests",templateUrl:"pd-question-assests.html"}),jh("design:paramtypes",[Tf.r,Tf.s,Jf.g,zf,ah,ch,Mf])],l)}(),Wh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Eh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Rh=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustCat=u,this.aws=t,this.toast=a,this.constant=i,this.incomeEarnedBy=[],this.amtInWords=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.applicants=[],this.isOrganisationOwner=[],this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.applicants=this.pdDetails.applicat_details,this.applicants.push({pd_co_applicant_id:0,applicant_name:"Others"}),this.getFrequency(),this.users=this.aws.getlocale(),this.otherIncomeForm=this.fb.group({other_income:[null],otherincome_remarks:[null],income_details:this.fb.array([])})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionOtherIncomePage"),this.getOtherIncome()},l.prototype.createDetail=function(){return this.fb.group({source:[""],address:[""],others_source:[""],income_earned_by:[""],others_income_earned_by:[""],amount:[""],frequency:[""],others_frequency:[""]})},l.prototype.addIncomeDetails=function(){this.incomeDetails=this.otherIncomeForm.get("income_details"),this.incomeDetails.push(this.createDetail())},l.prototype.deleteIncomeDetails=function(l){this.incomeDetails=this.otherIncomeForm.get("income_details"),1==this.incomeDetails.length?(this.otherIncomeForm.reset(),this.amtInWords[l]=""):this.incomeDetails.removeAt(l)},l.prototype.checkotherDetails=function(l){if("Yes"==l&&this.addIncomeDetails(),"No"==l){this.otherIncomeForm.controls.income_details.removeAt(0)}},l.prototype.getFrequency=function(){var l=this;this.qustCat.getAllPersonsName(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.incomeEarnedBy=n.record)}),this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return 1==l.is_active}),console.log(l.existCompanyList));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}));var u=[];l.applicants.length>0&&(u=l.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),l.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:u})),console.log("company&Applicant",l.mergeCompanyApplicant)});this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.frequencyData=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("SOURCEOFOTHERINCOME").subscribe(function(n){1==n.dataStatus&&(l.sourceIncome=n.records)})},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.getOtherOrganisationOwner=function(l,n){var e=this.otherIncomeForm.controls.income_details;console.log("ParCtrls",e);var u=e.controls[n],t=1;console.log("val",l),l.length>0&&l.forEach(function(l){0==l.id&&2==l.group_id&&(t=l.id)}),0==t?(console.log("chld",u),u.controls.others_income_earned_by.setValidators([Jf.y.required]),this.isOrganisationOwner[n]=!0):1==t&&(u.controls.others_income_earned_by.setValue(""),u.controls.others_income_earned_by.clearValidators(),this.isOrganisationOwner[n]=!1),u.controls.others_income_earned_by.updateValueAndValidity()},l.prototype.inWords=function(l,n){this.amtInWords[n]=this.constant.convertNumberToWords(l.target.value)},l.prototype.Toview=function(){alert("Rental Income Details - Is inprogress")},l.prototype.submitOtherIncome=function(l){var n=this,e={};e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.other_income=l.other_income,e.income_details=l.income_details,e.otherincome_remarks=l.otherincome_remarks,this.qustCat.saveForm(e).subscribe(function(l){n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)},function(l){})},l.prototype.getOtherIncome=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(l.incomeDetails=l.otherIncomeForm.get("income_details"),l.otherIncomeDetails=n,1==l.otherIncomeDetails.dataStatus)if(l.otherIncomeDetails=l.otherIncomeDetails.records,"Yes"==l.otherIncomeDetails.other_income){var e=Object.keys(n.records.income_details).map(function(l){return n.records.income_details[l]});l.otherIncomeForm.controls.other_income.setValue(l.otherIncomeDetails.other_income),l.otherIncomeForm.controls.otherincome_remarks.setValue(l.otherIncomeDetails.otherincome_remarks),0==e.length||e.forEach(function(n,e){l.incomeDetails.push(l.createDetail()),l.amtInWords[e]=l.constant.convertNumberToWords(n.amount),l.getOtherOrganisationOwner(n.income_earned_by,e)}),l.otherIncomeForm.controls.income_details.setValue(e)}else l.otherIncomeForm.controls.other_income.setValue(l.otherIncomeDetails.other_income),l.otherIncomeForm.controls.otherincome_remarks.setValue(l.otherIncomeDetails.otherincome_remarks)})},l=Wh([Object(Df.k)({selector:"page-pd-question-other-income",templateUrl:"pd-question-other-income.html"}),Eh("design:paramtypes",[Tf.r,Tf.s,Jf.g,ah,zf,ch,Mf])],l)}(),Uh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},$h=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Bh=function(){function l(l,n,e,u,t,a){var i=this;this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.business_manufacturingProducts=[],this.business_tradingProducts=[],this.m_titleList=[],this.m_paymentList=[],this.m_companyRelationShipList=[],this.noRecordsFound=!1,this.submitted=!1,this.errorMessage="",this.serviceProviderForm=!1,this.manufacturingForm=!1,this.tradingForm=!1,this.mfgCreditCardFlag=!1,this.trdCreditCardFlag=!1,this.mfgCounter=[],this.trdCounter=[],this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.form_id=this.formDetails.form_id,this.company_id=this.pdDetails.company_id,this.users=this.aws.getlocale(),this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdDetails.pd_id,this.company_id).subscribe(function(l){if(l.dataStatus){var n=l.records;i.initFormLoadDetails(n.type_of_activity),i.business_manufacturingProducts=n.type_of_activity.filter(function(l){if(2==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()});var e=Object.keys(n.type_of_activity).map(function(l){return n.type_of_activity[l]});e.length>0&&e.forEach(function(l){3==l.type_of_activity_id&&l.prodcuts&&i.business_tradingProducts.push(l.prodcuts),4==l.type_of_activity_id&&l.prodcuts&&i.business_tradingProducts.push(l.prodcuts)}),i.business_tradingProducts=[].concat.apply([],i.business_tradingProducts)}else i.toast.pdTriggerappmessage("No Category Records Found.!"),i.noRecordsFound=!1,i.errorMessage=l.msg},function(l){i.toast.pdTriggerappmessage("No Category Records Found.!"),i.noRecordsFound=!1,i.errorMessage="No Records Found , Something went Wrong!"}),this.getdropList()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionSupplierInfoPage")},l.prototype.initFormLoadDetails=function(l){var n=this,e={};e.pd_id=this.pdDetails.pd_id,e.pd_form_id=this.form_id,e.company_id=this.company_id,this.qustCat.retiverForm(e).subscribe(function(e){if(1==e.dataStatus){var u=e.records;if(void 0!==u){n.supplierInfoForm=n.fb.group({pdid:[n.pdDetails.pd_id],formid:[n.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});if(l.filter(function(l){return 2==l.type_of_activity_id}).length>0)if(null!=u.manufacturing_details[0]){n.initManufacturingProductsDetails(u.manufacturing_details[0].main_raw_materials),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(u.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit||null)}else n.initManufacturingProductsDetails(null),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null);if(l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0)if(null!=u.trade_details[0]){n.initTradingProductsDetails(u.trade_details[0].trading_products),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(u.trade_details[0].trading_products_total_payments_percent_on_credit||null)}else n.initTradingProductsDetails(null),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null);n.noRecordsFound=!0}else{n.supplierInfoForm=n.fb.group({pdid:[n.pdDetails.pd_id],formid:[n.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(u.trading_products_total_payments_percent_on_credit||null)),n.noRecordsFound=!0}l.filter(function(l){return 5==l.type_of_activity_id}).length>0&&(n.serviceProviderForm=!0)}else{n.supplierInfoForm=n.fb.group({pdid:[n.pdDetails.pd_id],formid:[n.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),supplier_info_form_remark:[]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 5==l.type_of_activity_id}).length>0&&(n.serviceProviderForm=!0),n.noRecordsFound=!0}},function(l){})},l.prototype.manufacturingFormCreation=function(l){return l.filter(function(l){return 2==l.type_of_activity_id}).length>0?(this.manufacturingForm=!0,this.fb.group({main_raw_materials:this.fb.array([]),main_raw_materials_total_payments_percent_on_credit:[]})):void 0},l.prototype.tradingFormCreation=function(l){return l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0?(this.tradingForm=!0,this.fb.group({trading_products:this.fb.array([]),trading_products_total_payments_percent_on_credit:[]})):void 0},l.prototype.initManufacturingProductsDetails=function(l){var n=this,e=this.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials;null===l?e.push(this.initManufacturingProducts(null)):l.forEach(function(l,u){n.checkCard(l.manufacturing_payment_type,1,u),e.push(n.initManufacturingProducts(l))})},l.prototype.initManufacturingProducts=function(l){return this.fb.group(null===l?{manufacturing_raw_material_name:[""],manufacturing_supplier_name:[""],person_title_name:[""],person_designation:[""],other_person_designation:[""],manufacturing_contact_person_name:[""],manufacturing_contact_person_mobile_number:[""],manufacturing_payment_type:[""],manufacturing_payment_mode:[""],manufacturing_credit_days_from:[""],manufacturing_credit_days_to:[""],manufacturing_frequency_of_purchase:[""],person_stdcode:[""],person_landline:[""]}:{manufacturing_raw_material_name:[l.manufacturing_raw_material_name||null],manufacturing_supplier_name:[l.manufacturing_supplier_name||null],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],other_person_designation:[l.other_person_designation||null],manufacturing_contact_person_name:[l.manufacturing_contact_person_name||null],manufacturing_contact_person_mobile_number:[l.manufacturing_contact_person_mobile_number||null],manufacturing_payment_type:[l.manufacturing_payment_type||null],manufacturing_payment_mode:[l.manufacturing_payment_mode],manufacturing_credit_days_from:[l.manufacturing_credit_days_from||null],manufacturing_credit_days_to:[l.manufacturing_credit_days_to||null],manufacturing_frequency_of_purchase:[l.manufacturing_frequency_of_purchase||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null]})},l.prototype.initTradingProductsDetails=function(l){var n=this,e=this.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products;null===l?e.push(this.initTradingProducts(null)):l.forEach(function(l,u){n.checkCard(l.trade_product_payment_type,2,u),e.push(n.initTradingProducts(l))})},l.prototype.initTradingProducts=function(l){return this.fb.group(null===l?{trade_product_name:[""],trade_supplier_name:[""],person_title_name:[""],person_designation:[""],other_person_designation:[""],trade_product_contact_person_name:[""],trade_product_contact_person_mobile_number:[""],person_stdcode:[null],person_landline:[null],trade_product_payment_type:[""],trade_product_payment_mode:[""],trade_product_frequency_of_purchase:[""],trade_product_credit_days_from:[""],trade_product_credit_days_to:[""]}:{trade_product_name:[l.trade_product_name],person_title_name:[l.person_title_name],person_designation:[l.person_designation],other_person_designation:[l.other_person_designation],trade_supplier_name:[l.trade_supplier_name],trade_product_contact_person_name:[l.trade_product_contact_person_name],trade_product_contact_person_mobile_number:[l.trade_product_contact_person_mobile_number],person_stdcode:[l.person_stdcode],person_landline:[l.person_landline],trade_product_payment_type:[l.trade_product_payment_type],trade_product_payment_mode:[l.trade_product_payment_mode],trade_product_frequency_of_purchase:[l.trade_product_frequency_of_purchase],trade_product_credit_days_from:[l.trade_product_credit_days_from],trade_product_credit_days_to:[l.trade_product_credit_days_to]})},l.prototype.addMoreRawMaterials=function(l){this.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.push(this.initManufacturingProducts(null))},l.prototype.removeRawMaterials=function(l){this.supplierInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.removeAt(l)},l.prototype.addMoretradeProduct=function(l){this.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products.push(this.initTradingProducts(null))},l.prototype.removeTradingProduct=function(l){this.supplierInfoForm.controls.trade_details.controls[0].controls.trading_products.removeAt(l)},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){l.m_companyRelationShipList=n.records}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){l.m_titleList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("PAYMENTMODE").subscribe(function(n){l.m_paymentList=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.saveSupplierInfo=function(l){var n=this,e=l;Object.keys(e).forEach(function(l){return null==e[l]&&delete e[l]}),this.qustCat.saveForm(e).subscribe(function(l){200==l.status?(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):n.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})},l.prototype.selectedPersonDesignation=function(l,n,e){},l.prototype.checkCard=function(l,n,e){2==n&&3==l?this.trdCounter[e]=1:2==n&&3!=l&&(this.trdCounter[e]=0);var u=this.trdCounter.reduce(function(l,n){return l+ +n},0);this.trdCreditCardFlag=u>0,1==n&&3==l?this.mfgCounter[e]=1:1==n&&3!=l&&(this.mfgCounter[e]=0);var t=this.mfgCounter.reduce(function(l,n){return l+ +n},0);this.mfgCreditCardFlag=t>0},l.prototype.selectedPaymentTerms=function(l,n,e){2==e?(3==n||(l.controls.trade_product_credit_days_from.clearValidators(),l.controls.trade_product_credit_days_from.setValue(""),l.controls.trade_product_credit_days_to.clearValidators(),l.controls.trade_product_credit_days_to.setValue("")),l.controls.trade_product_credit_days_from.updateValueAndValidity(),l.controls.trade_product_credit_days_to.updateValueAndValidity()):1==e&&(3==n||(l.controls.manufacturing_credit_days_from.clearValidators(),l.controls.manufacturing_credit_days_from.setValue(""),l.controls.manufacturing_credit_days_to.clearValidators(),l.controls.manufacturing_credit_days_to.setValue("")),l.controls.manufacturing_credit_days_from.updateValueAndValidity(),l.controls.manufacturing_credit_days_to.updateValueAndValidity())},l=Uh([Object(Df.k)({selector:"page-pd-question-supplier-info",templateUrl:"pd-question-supplier-info.html"}),$h("design:paramtypes",[Tf.r,Tf.s,Jf.g,zf,ah,ch])],l)}(),Mh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Kh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Hh=function(){function l(l,n,e,u,t,a){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this._fb=a,this.qualifications=["Graduate","Under Graduate","Post Graduate","Professional"],this.earningStatus=["Earning Member","House Wife","Student","Retired","Pensioner","Other Non earning member"],this.relationShipList=[],this.mainApplicantQuestions=["Name","Age","Entity","Educational Qualification","Earning Status"],this.coApplicantQuestions=["Name","Age","Entity","Educational Qualification","Earning Status","Relationship"],this.mainApplicantDetails=[],this.coApplicantDetails=[],this.repeat=3,this.loadDataStatus=!1,this.questionDetails=this.navParams.get("questionDetails"),this.pdDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale()}return l.prototype.ngOnInit=function(){this.loadPDDetails(),this.getRelationMaster(),this.mainApplicantDetails=this.pdDetails.applicat_details.filter(function(l){return 1==l.applicant_type}),this.coApplicantDetails=this.pdDetails.applicat_details.filter(function(l){return 0==l.applicant_type})},l.prototype.loadPDDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:"341"}).subscribe(function(n){if(200==n.status)l.loadFormWithIDData(n.records);else{var e=[];if(l.mainApplicantDetails.length>0)for(var u=0;u=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Yh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},zh=function(){function l(l,n,e,u,t,a,i){var o=this;this.navCtrl=l,this.navParams=n,this.qustCat=e,this.aws=u,this.toast=t,this.fb=a,this.constant=i,this.errorMessage="",this.M_rawValueInWords=[],this.M_goodsValueInWords=[],this.R_tradedGoodsValueInWords=[],this.T_tradedGoodsValueInWords=[],this.mrmCommentFlag=[],this.mfgCommentFlag=[],this.rtrdCommentFlag=[],this.wtrdCommentFlag=[],this.serviceProviderForm=!1,this.suppliers_raw_materials=[],this.suppliers_retail_trade_details=[],this.suppliers_wholesale_trade_details=[],this.suppliers_finished_goods=[],this.RMCommentCard=!1,this.TGCommentCard=!1,this.manufacturingForm=!1,this.retailForm=!1,this.tradingForm=!1,this.ManufacturingCounterArray=[],this.FinishedCounterArray=[],this.RetailCounterArray=[],this.WholeSaleCounterArray=[],this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.company_id=this.pdDetails.company_id,this.pdid=this.pdDetails.pd_id,this.qustCat.stockFormAccess(this.pdid,this.company_id).subscribe(function(l){if(1!=l.dataStatus)return o.toast.pdTriggerappmessage("Fill Business Form First! / No Company Found at this ID "+o.company_id),o.noRecordsFound=!1,void(o.errorMessage="Fill Business Form First! / No Company Found at this ID"+o.company_id+"! ....");o.initstockForm(l.record)},function(l){o.toast.pdTriggerappmessage("Business Type Of Activity Not Available Please Check Business Information.!"),o.noRecordsFound=!1,o.errorMessage="No Records Found , Something went Wrong!"}),this.getdropdown()}return l.prototype.initstockForm=function(l){var n=this,e=Object.keys(l.from_business).map(function(n){return l.from_business[n]}),u=l.from_business.filter(function(l){return 3==l.type_of_activity_id}),t=u[0].hasOwnProperty("products")?u[0].products.length:0,a=l.from_business.filter(function(l){return 4==l.type_of_activity_id}),i=a[0].hasOwnProperty("products")?a[0].products.length:0,o=l.from_supplier,r={};r.pd_id=this.pdid,r.pd_form_id=this.formDetails.form_id,r.company_id=this.company_id,this.qustCat.retiverForm(r).subscribe(function(u){if(200==u.status){var a=u.records;void 0!==a?(n.stockForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[a.stock_remarks],is_sufficiant_finished_and_traded_goods:[a.is_sufficiant_finished_and_traded_goods],finished_and_traded_goods_remarks:[a.finished_and_traded_goods_remarks],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),retail_details:n.fb.array([n.retailFormCreation(t)]),trade_details:n.fb.array([n.tradingFormCreation(i)])}),e.length>0&&(e.forEach(function(l){if(2==l.type_of_activity_id&&l.products){var e=[];e.manufacturing_raw_materials=a.manufacturing_details[0].manufacturing_raw_materials,n.stockForm.controls.manufacturing_details.controls[0].controls.is_sufficiant_raw.setValue(a.manufacturing_details[0].is_sufficiant_raw),n.stockForm.controls.manufacturing_details.controls[0].controls.rawmaterial_remarks.setValue(a.manufacturing_details[0].rawmaterial_remarks),e.manufacturing_finished_goods=a.manufacturing_details[0].manufacturing_finished_goods,n.initManufacturingDetails(e)}if(3==l.type_of_activity_id&&l.products){var u=[];u.retail_traded_goods=a.retail_details[0].retail_traded_goods,n.initRetailDetails(u)}if(4==l.type_of_activity_id&&l.products){var t=[];t.trading_traded_goods=a.trade_details[0].trading_traded_goods,console.log("Trade",t),n.initTradingDetails(t)}5==l.type_of_activity_id&&l.products&&(n.serviceProviderForm=!0)}),n.noRecordsFound=!0)):(n.stockForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[""],is_sufficiant_finished_and_traded_goods:[""],finished_and_traded_goods_remarks:[""],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),retail_details:n.fb.array([n.retailFormCreation(t)]),trade_details:n.fb.array([n.tradingFormCreation(i)])}),e.length>0&&(e.forEach(function(l){2==l.type_of_activity_id&&l.products&&(n.suppliers_finished_goods=l.products,n.initManufacturingDetails(null),n.stockForm.controls.manufacturing_details.controls[0].controls.is_sufficiant_raw.setValue(a.manufacturing_details[0].is_sufficiant_raw.value||null),n.stockForm.controls.manufacturing_details.controls[0].controls.rawmaterial_remarks.setValue(a.manufacturing_details[0].rawmaterial_remarks||null)),3==l.type_of_activity_id&&l.products&&(n.suppliers_retail_trade_details=l.products,n.initRetailDetails(null)),4==l.type_of_activity_id&&l.products&&(n.suppliers_wholesale_trade_details=l.products,n.initTradingDetails(null)),5==l.type_of_activity_id&&l.products&&(n.serviceProviderForm=!0)}),n.noRecordsFound=!0))}else console.log("Record",l),n.stockForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],stock_remarks:[""],is_sufficiant_finished_and_traded_goods:[""],finished_and_traded_goods_remarks:[""],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),retail_details:n.fb.array([n.retailFormCreation(t)]),trade_details:n.fb.array([n.tradingFormCreation(i)])}),e.length>0&&(e.forEach(function(l){2==l.type_of_activity_id&&l.products&&(n.suppliers_finished_goods=l.products,n.suppliers_raw_materials=o,n.initManufacturingDetails(null),n.stockForm.controls.manufacturing_details.controls[0].controls.is_sufficiant_raw.setValue(null),n.stockForm.controls.manufacturing_details.controls[0].controls.rawmaterial_remarks.setValue(null)),3==l.type_of_activity_id&&l.products&&(n.suppliers_retail_trade_details=l.products,n.initRetailDetails(null)),4==l.type_of_activity_id&&l.products&&(n.suppliers_wholesale_trade_details=l.products,n.initTradingDetails(null)),5==l.type_of_activity_id&&l.products&&(n.serviceProviderForm=!0)}),n.noRecordsFound=!0)})},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionStockInfoPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.uomData=n.records.filter(function(l){return 1==l.isactive&&0==l.is_land_uom||2==l.is_land_uom}))})},l.prototype.manufacturingFormCreation=function(l){var n=l.from_business.filter(function(l){return 2==l.type_of_activity_id});return n.length>0?(this.manufacturingForm=!0,this.fb.group({is_sufficiant_raw:[],rawmaterial_remarks:[],manufacturing_raw_materials:this.fb.array([]),manufacturing_finished_goods:this.fb.array([])})):void 0},l.prototype.retailFormCreation=function(l){var n=l;return console.log("retail Form ",n),n>0?(this.retailForm=!0,this.fb.group({retail_traded_goods:this.fb.array([])})):this.fb.group({retail_traded_goods:this.fb.array([])})},l.prototype.tradingFormCreation=function(l){return l>0?(this.tradingForm=!0,this.fb.group({trading_traded_goods:this.fb.array([])})):this.fb.group({trading_traded_goods:this.fb.array([])})},l.prototype.initManufacturingDetails=function(l){var n=this,e=this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_raw_materials,u=this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_finished_goods;null===l?(this.suppliers_raw_materials.length>0?this.suppliers_raw_materials.forEach(function(l){e.push(n.createRawmaterial({raw_name:l,stock_observed:"",raw_quantity:"",raw_uom:"",other_uom:"",raw_value:"",is_sufficiant_raw:"",rawmaterial_remarks:""}))}):e.push(this.createRawmaterial(null)),this.suppliers_finished_goods.length>0?this.suppliers_finished_goods.forEach(function(l){u.push(n.createGoods({goods_name:l,goods_observed:"",goods_quantity:"",goods_uom:"",goods_other_uom:"",goods_value:"",is_sufficiant_goods:"",finishedgoods_remarks:""}))}):u.push(this.createGoods(null))):(void 0!=l.manufacturing_raw_materials?l.manufacturing_raw_materials.forEach(function(l,u){l.raw_value&&n.inWords(l.raw_value,1,u),n.checkComments(l.stock_observed,1,u),e.push(n.createRawmaterial(l))}):e.push(this.createRawmaterial(null)),void 0!=l.manufacturing_finished_goods?l.manufacturing_finished_goods.forEach(function(l,e){l.goods_value&&n.inWords(l.goods_value,2,e),n.checkComments(l.goods_observed,2,e),u.push(n.createGoods(l))}):u.push(this.createGoods(null)))},l.prototype.createRawmaterial=function(l){return this.fb.group(null===l?{raw_name:[""],stock_observed:[""],raw_quantity:[""],raw_uom:[""],other_uom:[""],raw_value:[""],is_sufficiant_raw:[""],rawmaterial_remarks:[""]}:{raw_name:[l.raw_name],stock_observed:[l.stock_observed],raw_quantity:[l.raw_quantity],raw_uom:[l.raw_uom],other_uom:[l.other_uom],raw_value:[l.raw_value],is_sufficiant_raw:[l.is_sufficiant_raw],rawmaterial_remarks:[l.rawmaterial_remarks]})},l.prototype.initRetailDetails=function(l){var n=this,e=this.stockForm.controls.retail_details.controls[0].controls.retail_traded_goods;null===l?this.suppliers_retail_trade_details.length>0?this.suppliers_retail_trade_details.forEach(function(l){e.push(n.createTradedGoods({traded_goods_name:l,traded_goods_observed:"",traded_goods_quantity:"",traded_goods_uom:"",traded_goods_other_uom:"",estimated_traded_goods_value:"",is_sufficiant_traded_goods:"",traded_goods_remarks:""}))}):e.push(this.createTradedGoods(null)):void 0!==l.retail_traded_goods?l.retail_traded_goods.forEach(function(l,u){l.estimated_traded_goods_value&&n.inWords(l.estimated_traded_goods_value,3,u),n.checkComments(l.traded_goods_observed,3,u),e.push(n.createTradedGoods(l))}):e.push(this.createTradedGoods(null))},l.prototype.createGoods=function(l){return this.fb.group(null===l?{goods_name:[""],goods_observed:[""],goods_quantity:[""],goods_uom:[""],goods_other_uom:[""],goods_value:[""],is_sufficiant_goods:[""],finishedgoods_remarks:[""]}:{goods_name:[l.goods_name],goods_observed:[l.goods_observed],goods_quantity:[l.goods_quantity],goods_uom:[l.goods_uom],goods_other_uom:[l.goods_other_uom],goods_value:[l.goods_value],is_sufficiant_goods:[l.is_sufficiant_goods],finishedgoods_remarks:[l.finishedgoods_remarks]})},l.prototype.initTradingDetails=function(l){var n=this,e=this.stockForm.controls.trade_details.controls[0].controls.trading_traded_goods;null===l?this.suppliers_wholesale_trade_details.length>0?this.suppliers_wholesale_trade_details.forEach(function(l){e.push(n.createTradedGoods({traded_goods_name:l,traded_goods_observed:"",traded_goods_quantity:"",traded_goods_uom:"",traded_goods_other_uom:"",estimated_traded_goods_value:"",is_sufficiant_traded_goods:"",traded_goods_remarks:""}))}):e.push(this.createTradedGoods(null)):void 0!==l.trading_traded_goods?l.trading_traded_goods.forEach(function(l,u){l.estimated_traded_goods_value&&n.inWords(l.estimated_traded_goods_value,4,u),n.checkComments(l.traded_goods_observed,4,u),e.push(n.createTradedGoods(l))}):e.push(this.createTradedGoods(null))},l.prototype.createTradedGoods=function(l){return this.fb.group(null===l?{traded_goods_name:[""],traded_goods_observed:[""],traded_goods_quantity:[""],traded_goods_uom:[""],traded_goods_other_uom:[""],estimated_traded_goods_value:[""],is_sufficiant_traded_goods:[""],traded_goods_remarks:[""]}:{traded_goods_name:[l.traded_goods_name],traded_goods_observed:[l.traded_goods_observed],traded_goods_quantity:[l.traded_goods_quantity],traded_goods_uom:[l.traded_goods_uom],traded_goods_other_uom:[l.traded_goods_other_uom],estimated_traded_goods_value:[l.estimated_traded_goods_value],is_sufficiant_traded_goods:[l.is_sufficiant_traded_goods],traded_goods_remarks:[l.traded_goods_remarks]})},l.prototype.addRawMaterials=function(l){if(1==l){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_raw_materials.push(this.createRawmaterial(null))}},l.prototype.deleteRawMaterials=function(l,n){if(1==n){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_raw_materials.removeAt(l)}},l.prototype.addGoods=function(l){if(1==l){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_finished_goods.push(this.createGoods(null))}},l.prototype.deleteGoods=function(l,n){if(1==n){this.stockForm.controls.manufacturing_details.controls[0].controls.manufacturing_finished_goods.removeAt(l)}},l.prototype.addTradedGoods=function(l){switch(l){case 1:this.stockForm.controls.retail_details.controls[0].controls.retail_traded_goods.push(this.createTradedGoods(null));break;case 2:this.stockForm.controls.trade_details.controls[0].controls.trading_traded_goods.push(this.createTradedGoods(null))}},l.prototype.deleteTradedGoods=function(l,n){switch(n){case 1:this.stockForm.controls.retail_details.controls[0].controls.retail_traded_goods.removeAt(l);break;case 2:this.stockForm.controls.trade_details.controls[0].controls.trading_traded_goods.removeAt(l)}},l.prototype.checkComments=function(l,n,e){if(1==n){this.ManufacturingCounterArray[e]="yes"==l?1:0;var u=this.ManufacturingCounterArray.reduce(function(l,n){return l+ +n},0);this.RMCommentCard=u>0}2==n&&(this.FinishedCounterArray[e]="yes"==l?1:0),3==n&&(this.RetailCounterArray[e]="yes"==l?1:0),4==n&&(this.WholeSaleCounterArray[e]="yes"==l?1:0);var t=this.FinishedCounterArray.reduce(function(l,n){return l+ +n},0),a=this.RetailCounterArray.reduce(function(l,n){return l+ +n},0),i=this.WholeSaleCounterArray.reduce(function(l,n){return l+ +n},0);this.TGCommentCard=t+a+i>0},l.prototype.saveStockInfo=function(l){var n=this;Object.keys(l).forEach(function(n){return null==l[n]&&delete l[n]}),this.qustCat.saveForm(l).subscribe(function(l){200==l.status?(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):n.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})},l.prototype.inWords=function(l,n,e){switch(n){case 1:this.M_rawValueInWords[e]=this.constant.convertNumberToWords(l);break;case 2:this.M_goodsValueInWords[e]=this.constant.convertNumberToWords(l);break;case 3:this.R_tradedGoodsValueInWords[e]=this.constant.convertNumberToWords(l);break;case 4:this.T_tradedGoodsValueInWords[e]=this.constant.convertNumberToWords(l)}},l=Gh([Object(Df.k)({selector:"page-pd-question-stock-info",templateUrl:"pd-question-stock-info.html"}),Yh("design:paramtypes",[Tf.r,Tf.s,ah,zf,ch,Jf.g,Mf])],l)}(),Qh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Jh=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Xh=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=t,this.fb=a,this.cons=i,this.FY_annualSalesInwords=[],this.FY_netProfitAmtInwords=[],this.FY_netLossAmtInwords=[],this.AV_annualSalesInwords=[],this.AV_netProfitAmtInwords=[],this.AV_netLossAmtInwords=[],this.AV_netProfitAmtFrmInwords=[],this.AV_netProfitAmtToInwords=[],this.AV_netLossAmtFrmInwords=[],this.AV_netLossAmtToInwords=[],this.AV_SalesFrmInwords=[],this.AV_SalesToInwords=[],this.AV_SalesInwords=[],this.AV_marginProfitAmtInwords=[],this.AV_marginLossAmtInwords=[],this.av=[{id:6,name:"Letter of Credit"},{id:2,name:"Bank Guarantee"},{id:3,name:"Cash Credit Limit"},{id:7,name:"OD Limit"},{id:4,name:"Factoring"},{id:5,name:"Forfaiting"},{id:1,name:"Others"}],this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.FormId=this.formDetails.form_id,this.company_id=this.pdDetails.company_id,this.users=this.aws.getlocale(),this.initFinancialForm()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFinancialInfoPage"),this.getDetails()},l.prototype.selectedStatement=function(l){if("yes"==l)this.isDisplay=!0,this.financialForm.controls.is_financial_customer.setValue("");else if("no"==l){this.isDisplay=!1,this.financialForm.controls.is_financial_customer.setValue("no");for(var n=this.financialForm.controls.date_per_financial;0!==n.length;)n.removeAt(0);this.financialForm.controls.estimated_value.push(this.createValue("")),this.financialForm.controls.financial_starting_year.setValue(""),this.financialForm.controls.financial_no_of_year.setValue("")}},l.prototype.selectedFinancialCustomer=function(l){if("yes"==l)for(var n=this.financialForm.controls.estimated_value;0!==n.length;)n.removeAt(0);else if("no"==l){(n=this.financialForm.controls.estimated_value).push(this.createValue(""))}},l.prototype.selectedProfitOrLossType=function(l,n){1==l.value?(n.controls.financial_net_loss.setValue(""),n.controls.financial_margin_of_loss.setValue("")):2==l.value&&(n.controls.financial_net_profit.setValue(""),n.controls.financial_margin_of_profit.setValue(""))},l.prototype.dynamicalFinYear=function(l){var n=l.target.value;this.customerCommentsFlag=1!=n;for(var e=this.financialForm.controls.financial_starting_year.value,u=this.financialForm.controls.date_per_financial;0!==u.length;)u.removeAt(0);if(n>0)for(var t=1;t<=n;t++){u.push(this.createDate(t-1+ +e+"-"+(+e+ +t)))}},l.prototype.initFinancialForm=function(){this.financialForm=this.fb.group({pdid:this.pdDetails.pd_id,formid:this.FormId,company_id:this.company_id,fk_createdby:this.users,financial_remarks:[""],is_financial_statements:[""],is_financial_customer:[""],financial_starting_year:["",Jf.y.compose([Jf.y.minLength(4),Jf.y.maxLength(4)])],financial_no_of_year:[""],financial_reason:[""],financial_customer:[""],receive_the_money_in_days:[""],pay_the_money_in_days:[""],unsold_stock_lies_in_days:[""],is_there_working_capital_available:[""],working_capital_facilities_availed:[""],reason_for_working_capital_facilities_availed:[""],date_per_financial:this.fb.array([]),estimated_value:this.fb.array([])})},l.prototype.createDate=function(l){return this.fb.group({financial_year:[l,Jf.y.compose([Jf.y.pattern(/^[0-9]{4}-[0-9]{2}$/)])],financial_annual_sale:["",Jf.y.compose([Jf.y.pattern(/^[0-9\(\)]+$/)])],finanical_profit_or_loss:[""],financial_net_profit:["",Jf.y.compose([Jf.y.pattern(/^-?[1-9]\d*|0$/)])],financial_net_loss:["",Jf.y.compose([Jf.y.pattern(/^-?[1-9]\d*|0$/)])],financial_margin_of_profit:[""],financial_margin_of_loss:[""],financial_variation:[""],financial_profit_to_sale_variation:[""],financial_annualsales_variation:[""]})},l.prototype.createValue=function(l){return this.fb.group({estimate_sales_from:[""],estimate_sales_to:[""],estimate_sales_average:[""],estimate_profit_or_loss:[""],estimate_net_margin_availablity:[""],estimate_profit_range_from:[""],estimate_profit_range_to:[""],estimate_profit_margin_percent:[""],estimate_profit_margin:[""],estimate_net_profit_from:[""],estimate_net_profit_to:[""],estimate_net_profit_percent:[""],estimate_net_profit:[""],estimate_loss_range_from:[""],estimate_loss_range_to:[""],estimate_loss_margin_percent:[""],estimate_loss_margin:[""],estimate_net_loss_from:[""],estimate_net_loss_to:[""],estimate_net_loss_percent:[""],estimate_net_loss:[""],estimate_reason_for_loss:[""]})},l.prototype.submitDetails=function(){var l=this;1==this.financialForm.value.date_per_financial.finanical_profit_or_loss?(this.financialForm.value.date_per_financial.financial_net_profit.setValidators([Jf.y.required]),this.financialForm.value.date_per_financial.financial_net_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_net_loss.clearValidators(),this.financialForm.value.date_per_financial.financial_net_loss.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_profit.setValidators([Jf.y.required]),this.financialForm.value.date_per_financial.financial_margin_of_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_loss.clearValidators(),this.financialForm.value.date_per_financial.financial_margin_of_loss.updateValueAndValidity()):2==this.financialForm.value.date_per_financial.finanical_profit_or_loss&&(this.financialForm.value.date_per_financial.financial_net_profit.clearValidators(),this.financialForm.value.date_per_financial.financial_net_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_net_loss.setValidators([Jf.y.required]),this.financialForm.value.date_per_financial.financial_net_loss.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_profit.clearValidators(),this.financialForm.value.date_per_financial.financial_margin_of_profit.updateValueAndValidity(),this.financialForm.value.date_per_financial.financial_margin_of_loss.setValidators([Jf.y.required]),this.financialForm.value.date_per_financial.financial_margin_of_loss.updateValueAndValidity());this.qustCat.saveForm(this.financialForm.value).subscribe(function(n){200==n.status?(l.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Warning !! Something went Wrong")},function(n){l.toast.pdTriggerappmessage("Server is not Responding")})},l.prototype.getDetails=function(){var l=this,n=this.financialForm.controls.date_per_financial,e=this.financialForm.controls.estimated_value,u={};u.pd_id=this.pdDetails.pd_id,u.pd_form_id=this.FormId,u.company_id=this.company_id,this.qustCat.retiverForm(u).subscribe(function(u){if(1==u.dataStatus){var t=u.records;if("yes"==u.records.is_financial_statements){var a=Object.keys(u.records.date_per_financial).map(function(l){return u.records.date_per_financial[l]});a.length>0?(l.customerCommentsFlag=1!=a.length,a.forEach(function(e,u){l.FY_annualSalesInwords[u]=l.cons.convertNumberToWords(e.financial_annual_sale),l.FY_netProfitAmtInwords[u]=l.cons.convertNumberToWords(e.financial_net_profit),l.FY_netLossAmtInwords[u]=l.cons.convertNumberToWords(e.financial_net_loss),n.push(l.createDate(""))}),t.date_per_financial=a):n.push(l.createDate(""))}var i=Object.keys(u.records.estimated_value).map(function(l){return u.records.estimated_value[l]});i.length>0?(i.forEach(function(n,u){l.AV_SalesInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_sales_average)),l.AV_SalesFrmInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_sales_from)),l.AV_SalesToInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_sales_to)),l.AV_marginProfitAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netProfitAmtFrmInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netProfitAmtToInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netProfitAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_net_profit)),l.AV_marginLossAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_loss_margin)),l.AV_netLossAmtFrmInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netLossAmtToInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_profit_margin)),l.AV_netLossAmtInwords[u]=l.cons.convertNumberToWords(Math.round(n.estimate_net_loss)),e.push(l.createValue(""))}),t.estimated_value=i):e.push(l.createValue("")),t.pdid=l.pdDetails.pd_id,t.company_id=l.company_id,t.fk_createdby=l.users,t.formid=l.FormId,l.financialForm.setValue(t)}})},l.prototype.calculationForFinanicalStatement=function(){var l=this,n=this.financialForm.controls.date_per_financial,e="",u=[],t=[],a="",i="",o="",r="",_="",d="",s="";n.value.forEach(function(c,m){var p=n.controls[m];if(_=c.financial_annual_sale,0!=m){if(""!=_){var f=(_-e)/e*100,h=f!=1/0?Number.isNaN(f)?0:f.toFixed(2):0;p.controls.financial_annualsales_variation.setValue(h)}}else p.controls.financial_annualsales_variation.setValue(0);if(e=_,d=c.financial_net_profit,s=c.financial_net_loss,(""!=d||""!=s)&&0!=m)if(+d>+_)p.controls.financial_margin_of_profit.setValue("");else{s=0!=c.financial_net_loss?-1*c.financial_net_loss:c.financial_net_loss,i=0!=i?-1*i:i;var g=((""!=d?d:s)-(""!=a?a:i))/(""!=a?Math.abs(a):Math.abs(i))*100,b=g!=1/0?Number.isNaN(g)?0:g.toFixed(2):0;p.controls.financial_variation.setValue(b)}a=""!=c.financial_net_profit?c.financial_net_profit:0,i=""!=c.financial_net_loss?c.financial_net_loss:0;var v=c.finanical_profit_or_loss;if(1==v?(r="",p.controls.financial_margin_of_loss.setValue(""),""!=_&&""!=c.financial_net_profit&&(+d>+_?(l.toast.pdTriggerappmessage("profit is greater than Annual Sale "),p.controls.financial_net_profit.setValue(0),p.controls.financial_margin_of_profit.setValue(""),p.controls.financial_profit_to_sale_variation.setValue(""),p.controls.financial_variation.setValue("")):p.controls.financial_margin_of_profit.setValue((o=c.financial_net_profit/c.financial_annual_sale*100)!=1/0?Number.isNaN(o)?0:o.toFixed(2):0))):2==v&&(o="",p.controls.financial_margin_of_profit.setValue(""),""!=_&&""!=c.financial_net_loss&&(+c.financial_net_loss>+_&&(l.toast.pdTriggerappmessage("Loss is greater than Annual Sale "),p.controls.financial_net_loss.setValue(0),p.controls.financial_margin_of_loss.setValue(""),p.controls.financial_profit_to_sale_variation.setValue(""),p.controls.financial_variation.setValue("")),+s>+_?(p.controls.financial_net_loss.setValue(0),p.controls.financial_margin_of_loss.setValue(""),p.controls.financial_profit_to_sale_variation.setValue(""),p.controls.financial_variation.setValue("")):p.controls.financial_margin_of_loss.setValue((r=c.financial_net_loss/c.financial_annual_sale*100*-1)!=1/0?Number.isNaN(r)?0:r.toFixed(2):0))),u[m]=""!=c.financial_margin_of_profit?c.financial_margin_of_profit:0,t[m]=""!=c.financial_margin_of_loss?c.financial_margin_of_loss:0,(""!=o||""!=r)&&0!=m){r=void 0!==r?r:0,o=void 0!==o?o:0;var y=void 0!==t[m-1]?t[m-1]:0,C=void 0!==u[m-1]?u[m-1]:0;if(""!=_){var w=100*(((""!=o?o:r)-(0!=C?C:y))/(0!=C?Math.abs(C):Math.abs(y))),F=w!=1/0?Number.isNaN(w)?0:w!=-1/0?w.toFixed(2):0:0;p.controls.financial_profit_to_sale_variation.setValue(F)}}})},l.prototype.confirmAlert=function(l,n){var e=+n.value.estimate_sales_from,u=+n.value.estimate_sales_to;if(null!=e&&null!=u){if(+e>+u)return this.toast.pdTriggerappmessage("Given To value is lower than From Value"),n.controls.estimate_sales_to.setValue(""),void n.controls.estimate_sales_average.setValue("");var t=(u-e)/e*100;if(e<=5e6)if(t>20){if(1!=confirm("Given Sales Range is greater than 20%"))return void n.controls.estimate_sales_to.setValue("");n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}else n.controls.estimate_sales_to.setValue(u!=1/0?u:0);else if(e>5e6&&e<=1e7)if(t>15){if(1!=confirm("Given Sales Range is greater than 15%"))return void n.controls.estimate_sales_to.setValue("");n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}else n.controls.estimate_sales_to.setValue(u!=1/0?u:0);else if(e>1e7)if(t>10){if(1!=confirm("Given Sales Range is greater than 10%"))return void n.controls.estimate_sales_to.setValue("");n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}else n.controls.estimate_sales_to.setValue(u!=1/0?u:0);else n.controls.estimate_sales_to.setValue(u!=1/0?u:0)}this.calculateSalesAverage(l,n)},l.prototype.calculateSalesAverage=function(l,n){var e=n.value.estimate_sales_from,u=n.value.estimate_sales_to;if(""!=e&&""!=u){var t=+e+ +e/10,a=(+u+ +e)/2;t>a?(n.controls.estimate_sales_average.setValue(a!=1/0?a.toFixed(2):0),this.AV_SalesInwords[l]=this.cons.convertNumberToWords(Math.round(a))):(n.controls.estimate_sales_average.setValue(t!=1/0?t.toFixed(2):0),this.AV_SalesInwords[l]=this.cons.convertNumberToWords(Math.round(t)))}else n.controls.estimate_sales_average.setValue("")},l.prototype.calculateMarginProfit=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_profit_range_from.setValue(""),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");var u=n.value.estimate_profit_range_from;if(+u>100)return this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"),n.controls.estimate_profit_range_from.setValue(""),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");var t=n.value.estimate_profit_range_to;if(+t>100)return this.toast.pdTriggerappmessage("Given Profit percent is More Than 100"),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");if(""!=e&&""!=u&&""!=t){if(+u>+t)return this.toast.pdTriggerappmessage("Given To value is lower than From Value"),n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");var a=(t+u)/2,i=a*e/100;if(t-u>3){if(1!=confirm("Given Profit Percent Range is greater than 3"))return n.controls.estimate_profit_range_to.setValue(""),n.controls.estimate_profit_margin.setValue(""),void n.controls.estimate_profit_margin_percent.setValue("");n.controls.estimate_profit_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_profit_margin_percent.setValue(a!=1/0?a.toFixed(2):0),this.AV_marginProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}n.controls.estimate_profit_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_profit_margin_percent.setValue(a!=1/0?a.toFixed(2):0),this.AV_marginProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}},l.prototype.calculateProfitAmount=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_net_profit_from.setValue(""),n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");var u=n.value.estimate_net_profit_from,t=n.value.estimate_net_profit_to;if(+t>+e)return this.toast.pdTriggerappmessage("Given Profit is Greater than Sales"),n.controls.estimate_net_profit_from.setValue(""),n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");if(""!=e&&""!=u&&""!=t){if(+u>+t)return this.toast.pdTriggerappmessage("Given To value is lower than From Value"),n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");var a=(t-u)/u*100,i=+u+ +u/10,o=(+t+ +u)/2;if(u<=5e6){if(a>=20){if(1!=confirm("Given Profit Range is greater than 20%"))return n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>5e6||u<=1e7){if(a>=15){if(1!=confirm("Given Sales Range is greater than 15%"))return n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>1e7){if(a>=10){if(1!=confirm("Given Sales Range is greater than 10%"))return n.controls.estimate_net_profit_to.setValue(""),n.controls.estimate_net_profit.setValue(""),void n.controls.estimate_net_profit_percent.setValue("");n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(n.controls.estimate_net_profit_to.setValue(t!=1/0?t:0),i>o){n.controls.estimate_net_profit.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_profit.setValue(i!=1/0?i.toFixed(2):0);var r;n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netProfitAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}},l.prototype.calculateMarginLoss=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_loss_range_from.setValue(""),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");var u=n.value.estimate_loss_range_from;if(+u>100)return this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"),n.controls.estimate_loss_range_from.setValue(""),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");var t=n.value.estimate_loss_range_to;if(+t>100)return this.toast.pdTriggerappmessage("Given Loss Percent is more than 100 "),n.controls.estimate_loss_range_from.setValue(""),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");if(""!=e&&""!=u&&""!=t){if(+u>+t)return this.toast.pdTriggerappmessage("Given Loss Percent is more than 100"),n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");var a=(t+u)/2,i=a*e/100;if(t-u>3){if(1!=confirm("Given Loss Percent Range is greater than 3"))return n.controls.estimate_loss_range_to.setValue(""),n.controls.estimate_loss_margin.setValue(""),void n.controls.estimate_loss_margin_percent.setValue("");n.controls.estimate_loss_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_loss_margin_percent.setValue(a!=1/0?a.toFixed(2):0),this.AV_marginLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}n.controls.estimate_loss_margin.setValue(i!=1/0?Math.round(i):0),n.controls.estimate_loss_margin_percent.setValue(a!=1/0?a.toFixed(2):0),this.AV_marginLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}},l.prototype.calculateLossAmount=function(l,n){var e=n.value.estimate_sales_average;if(""==e)return this.toast.pdTriggerappmessage("Considered Sales Average is Empty"),n.controls.estimate_net_loss_from.setValue(""),n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");var u=n.value.estimate_net_loss_from,t=n.value.estimate_net_loss_to;if(+t>+e)return this.toast.pdTriggerappmessage("Given Loss is Greater than Sales"),n.controls.estimate_net_loss_from.setValue(""),n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");if(""!=e&&""!=u&&""!=t){if(+u>+t)return this.toast.pdTriggerappmessage("Given To value is Lower than From Value"),n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");var a=(t-u)/u*100,i=+u+ +u/10,o=(+t+ +u)/2;if(u<=5e6){if(a>=20){if(1!=confirm("Given Profit Range is greater than 20%"))return n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>5e6||u<=1e7){if(a>=15){if(1!=confirm("Given Sales Range is greater than 15%"))return n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_profit_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(u>1e7){if(a>=10){if(1!=confirm("Given Sales Range is greater than 10%"))return n.controls.estimate_net_loss_to.setValue(""),n.controls.estimate_net_loss.setValue(""),void n.controls.estimate_net_loss_percent.setValue("");n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0)}else n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0);if(i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}else if(n.controls.estimate_net_loss_to.setValue(t!=1/0?t:0),i>o){n.controls.estimate_net_loss.setValue(o!=1/0?o.toFixed(2):0);n.controls.estimate_net_loss_percent.setValue((r=o/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(o))}else{n.controls.estimate_net_loss.setValue(i!=1/0?i.toFixed(2):0);var r;n.controls.estimate_net_loss_percent.setValue((r=i/e*100)!=1/0?r.toFixed(2):0),this.AV_netLossAmtInwords[l]=this.cons.convertNumberToWords(Math.round(i))}}},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9\.]/.test(n)||l.preventDefault()},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.FY_annualSalesInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 2:this.FY_netProfitAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 3:this.FY_netLossAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 4:this.AV_annualSalesInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 5:this.AV_netProfitAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 6:this.AV_netLossAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 7:this.AV_netProfitAmtFrmInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 8:this.AV_netProfitAmtToInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 9:this.AV_netLossAmtFrmInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 10:this.AV_netLossAmtToInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 11:this.AV_SalesFrmInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 12:this.AV_SalesToInwords[n]=this.cons.convertNumberToWords(l.target.value)}},l=Qh([Object(Df.k)({selector:"page-pd-question-financial-info",templateUrl:"pd-question-financial-info.html",encapsulation:Df._2.None}),Jh("design:paramtypes",[Tf.r,Tf.s,zf,ch,ah,Jf.g,Mf])],l)}(),Zh=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},lg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ng=function(){function l(l,n,e,u,t,a){var i=this;this.navCtrl=l,this.navParams=n,this.qustCat=e,this.aws=u,this.toast=t,this.fb=a,this.submitted=!1,this.m_paymentType=[],this.companyRelationShipList=[],this.titleList=[],this.noRecordsFound=!1,this.errorMessage="",this.m_manufacturingProducts=[],this.m_tradingProducts=[],this.m_suplierProducts=[],this.manufacturingForm=!1,this.tradingForm=!1,this.serviceProviderForm=!1,this.mfgCreditCardFlag=!1,this.trdCreditCardFlag=!1,this.spCreditCardFlag=!1,this.mfgCounter=[],this.trdCounter=[],this.spCounter=[],this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.pdid=this.pdDetails.pd_id,this.company_id=this.pdDetails.company_id,this.qustCat.getTypeofActivityForSuppliedInfoForm(this.pdid,this.company_id).subscribe(function(l){if(l.dataStatus){var n=l.records;i.m_manufacturingProducts=n.type_of_activity.filter(function(l){if(2==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()}),i.m_suplierProducts=n.type_of_activity.filter(function(l){if(5==l.type_of_activity_id)return l}).map(function(l){return l.prodcuts.slice()});var e=Object.keys(n.type_of_activity).map(function(l){return n.type_of_activity[l]});e.length>0&&e.forEach(function(l){3==l.type_of_activity_id&&l.prodcuts&&i.m_tradingProducts.push(l.prodcuts),4==l.type_of_activity_id&&l.prodcuts&&i.m_tradingProducts.push(l.prodcuts)}),i.m_tradingProducts=[].concat.apply([],i.m_tradingProducts),i.initFormLoadDetails(n.type_of_activity)}else i.toast.pdTriggerappmessage("No Category Records Found.!"),i.noRecordsFound=!1,i.errorMessage=l.msg},function(l){i.toast.pdTriggerappmessage("No Category Records Found.!"),i.noRecordsFound=!1,i.errorMessage="No Records Found , Something went Wrong!"}),this.getdropList()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionClientInfoPage")},l.prototype.initFormLoadDetails=function(l){var n=this,e={};e.pd_id=this.pdid,e.pd_form_id=this.formDetails.form_id,e.company_id=this.company_id,this.qustCat.retiverForm(e).subscribe(function(e){if(e.dataStatus){var u=e.records;if(void 0!==u){n.clientInfoForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),service_provider_details:n.fb.array([n.serviceProviderFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});if(l.filter(function(l){return 2==l.type_of_activity_id}).length>0)if(u.manufacturing_details){console.log(u);n.initManufacturingProductsDetails(u.manufacturing_details[0].main_raw_materials),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(u.manufacturing_details[0].main_raw_materials_total_payments_percent_on_credit||null)}else console.log("NO Data",u),n.initManufacturingProductsDetails(null),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null);if(l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0)if(u.trade_details){n.initTradingProductsDetails(u.trade_details[0].trading_products),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(u.trade_details[0].trading_products_total_payments_percent_on_credit||null)}else n.initTradingProductsDetails(null),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null);if(l.filter(function(l){return 5==l.type_of_activity_id}).length>0)if(u.service_provider_details){n.initServiceProviderProductsDetails(t=u.service_provider_details[0].service_products),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(u.service_provider_details[0].service_products_total_payments_percent_on_credit||null)}else n.initServiceProviderProductsDetails(null),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(null);l.filter(function(l){return 3==l.type_of_activity_id});n.noRecordsFound=!0}else{n.clientInfoForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),service_provider_details:n.fb.array([n.serviceProviderFormCreation(l)]),supplier_info_form_remark:[u.supplier_info_form_remark||null]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null));if(l.filter(function(l){return 5==l.type_of_activity_id}).length>0){var t=Object.keys(u.service_products).map(function(l){return u.service_products[l]});n.initServiceProviderProductsDetails(t),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(null)}l.filter(function(l){return 3==l.type_of_activity_id});n.noRecordsFound=!0}}else{n.clientInfoForm=n.fb.group({pdid:[n.pdid],formid:[n.formDetails.form_id],company_id:[n.company_id],fk_createdby:[n.users],manufacturing_details:n.fb.array([n.manufacturingFormCreation(l)]),trade_details:n.fb.array([n.tradingFormCreation(l)]),service_provider_details:n.fb.array([n.serviceProviderFormCreation(l)]),supplier_info_form_remark:[]});l.filter(function(l){return 2==l.type_of_activity_id}).length>0&&(n.initManufacturingProductsDetails(null),n.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0&&(n.initTradingProductsDetails(null),n.clientInfoForm.controls.trade_details.controls[0].controls.trading_products_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 5==l.type_of_activity_id}).length>0&&(n.initServiceProviderProductsDetails(null),n.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products_total_payments_percent_on_credit.setValue(null));l.filter(function(l){return 3==l.type_of_activity_id});n.noRecordsFound=!0}},function(l){})},l.prototype.manufacturingFormCreation=function(l){return l.filter(function(l){return 2==l.type_of_activity_id}).length>0?(this.manufacturingForm=!0,this.fb.group({main_raw_materials:this.fb.array([]),main_raw_materials_total_payments_percent_on_credit:[]})):void 0},l.prototype.tradingFormCreation=function(l){return l.filter(function(l){return 3==l.type_of_activity_id||4==l.type_of_activity_id}).length>0?(this.tradingForm=!0,this.fb.group({trading_products:this.fb.array([]),trading_products_total_payments_percent_on_credit:[]})):void 0},l.prototype.serviceProviderFormCreation=function(l){return l.filter(function(l){return 5==l.type_of_activity_id}).length>0?(this.serviceProviderForm=!0,this.fb.group({service_products:this.fb.array([]),service_products_total_payments_percent_on_credit:[]})):void 0},l.prototype.initManufacturingProductsDetails=function(l){var n=this,e=this.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials;null===l?e.push(this.initManufacturingProducts(null)):l.forEach(function(l,u){n.checkCard(l.manufacturing_payment_type,1,u),e.push(n.initManufacturingProducts(l))})},l.prototype.initManufacturingProducts=function(l){return this.fb.group(null===l?{manufacturing_product_name:[""],manufacturing_client_name:[""],manufacturing_contact_person_name:[""],manufacturing_contact_person_mobile_number:[""],manufacturing_payment_type:[""],manufacturing_payment_mode:[""],person_title_name:[""],person_designation:[""],person_stdcode:[""],person_landline:[""],other_person_designation:[""],manufacturing_credit_days_from:[""],manufacturing_credit_days_to:[""]}:{manufacturing_product_name:[l.manufacturing_product_name||null],manufacturing_client_name:[l.manufacturing_client_name||null],manufacturing_contact_person_name:[l.manufacturing_contact_person_name||null],manufacturing_contact_person_mobile_number:[l.manufacturing_contact_person_mobile_number||null],manufacturing_payment_type:[l.manufacturing_payment_type||null],manufacturing_payment_mode:[l.manufacturing_payment_mode||null],manufacturing_credit_days:[l.manufacturing_credit_days||null],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null],other_person_designation:[l.other_person_designation||null],manufacturing_credit_days_from:[l.manufacturing_credit_days_from||null],manufacturing_credit_days_to:[l.manufacturing_credit_days_to||null]})},l.prototype.initTradingProductsDetails=function(l){var n=this,e=this.clientInfoForm.controls.trade_details.controls[0].controls.trading_products;null===l?e.push(this.initTradingProducts(null)):l.forEach(function(l,u){n.checkCard(l.trade_product_payment_type,2,u),e.push(n.initTradingProducts(l))})},l.prototype.initTradingProducts=function(l){return this.fb.group(null===l?{trade_product_name:[""],trade_client_name:[""],trade_product_contact_person_name:[""],trade_product_contact_person_mobile_number:[""],trade_product_payment_type:[""],trade_product_payment_mode:[""],trade_product_frequency_of_purchase:[""],trade_product_credit_days_from:[""],trade_product_credit_days_to:[""],person_title_name:[""],person_designation:[""],person_stdcode:[""],person_landline:[""],other_person_designation:[""]}:{trade_product_name:[l.trade_product_name],trade_client_name:[l.trade_client_name],trade_product_contact_person_name:[l.trade_product_contact_person_name],trade_product_contact_person_mobile_number:[l.trade_product_contact_person_mobile_number],trade_product_payment_type:[l.trade_product_payment_type],trade_product_payment_mode:[l.trade_product_payment_mode],trade_product_frequency_of_purchase:[l.trade_product_frequency_of_purchase],trade_product_credit_days_from:[l.trade_product_credit_days_from],trade_product_credit_days_to:[l.trade_product_credit_days_to],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null],other_person_designation:[l.other_person_designation||null]})},l.prototype.initServiceProviderProductsDetails=function(l){var n=this,e=this.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products;null===l?e.push(this.initServiceProviderProducts(null)):l.forEach(function(l,u){n.checkCard(l.service_provider_product_payment_type,3,u),e.push(n.initServiceProviderProducts(l))})},l.prototype.initServiceProviderProducts=function(l){return this.fb.group(null===l?{service_provider_product_name:[""],service_provider_client_name:[""],service_provider_product_contact_person_name:[""],service_provider_product_contact_person_mobile_number:[""],service_provider_product_payment_type:[""],service_provider_product_payment_mode:[""],service_provider_product_frequency_of_purchase:[""],service_provider_product_credit_days_from:[""],service_provider_product_credit_days_to:[""],person_title_name:[""],person_designation:[""],person_stdcode:[""],person_landline:[""],other_person_designation:[""]}:{service_provider_product_name:[l.service_provider_product_name],service_provider_client_name:[l.service_provider_client_name],service_provider_product_contact_person_name:[l.service_provider_product_contact_person_name],service_provider_product_contact_person_mobile_number:[l.service_provider_product_contact_person_mobile_number],service_provider_product_payment_type:[l.service_provider_product_payment_type],service_provider_product_payment_mode:[l.service_provider_product_payment_mode],service_provider_product_frequency_of_purchase:[l.service_provider_product_frequency_of_purchase],service_provider_product_credit_days_from:[l.service_provider_product_credit_days_from],service_provider_product_credit_days_to:[l.service_provider_product_credit_days_to],person_title_name:[l.person_title_name||null],person_designation:[l.person_designation||null],person_stdcode:[l.person_stdcode||null],person_landline:[l.person_landline||null],other_person_designation:[l.other_person_designation||null]})},l.prototype.addMoreRawMaterials=function(l){this.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.push(this.initManufacturingProducts(null))},l.prototype.removeRawMaterials=function(l){this.clientInfoForm.controls.manufacturing_details.controls[0].controls.main_raw_materials.removeAt(l)},l.prototype.addMoretradeProduct=function(l){this.clientInfoForm.controls.trade_details.controls[0].controls.trading_products.push(this.initTradingProducts(null))},l.prototype.removeTradingProduct=function(l){this.clientInfoForm.controls.trade_details.controls[0].controls.trading_products.removeAt(l)},l.prototype.addMoreServiceProduct=function(l){this.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products.push(this.initServiceProviderProducts(null))},l.prototype.removeServiceProduct=function(l){this.clientInfoForm.controls.service_provider_details.controls[0].controls.service_products.removeAt(l)},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){l.companyRelationShipList=n.records}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){l.titleList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("PAYMENTMODE").subscribe(function(n){l.m_paymentType=n.records.filter(function(l){return 1==l.isactive})})},l.prototype.saveClientInfo=function(l){var n=this;Object.keys(l).forEach(function(n){return null==l[n]&&delete l[n]}),null==l.manufacturing_details[0]&&delete l.manufacturing_details,null==l.trade_details[0]&&delete l.trade_details,null==l.service_provider_details[0]&&delete l.service_provider_details,Object.keys(l).forEach(function(n){null!==l[n]&&void 0!==l[n]&&""!==l[n]||delete l[n]}),this.qustCat.saveForm(l).subscribe(function(l){200==l.status?(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):n.toast.pdTriggerappmessage("Something Wents Wrong Try Again.!")})},l.prototype.selectedPersonDesignation=function(l,n,e){},l.prototype.checkCard=function(l,n,e){3==n&&3==l?this.spCounter[e]=1:3==n&&3!=l&&(this.spCounter[e]=0);var u=this.spCounter.reduce(function(l,n){return l+ +n},0);this.spCreditCardFlag=u>0,2==n&&3==l?this.trdCounter[e]=1:2==n&&3!=l&&(this.trdCounter[e]=0);var t=this.trdCounter.reduce(function(l,n){return l+ +n},0);this.trdCreditCardFlag=t>0,1==n&&3==l?this.mfgCounter[e]=1:1==n&&3!=l&&(this.mfgCounter[e]=0);var a=this.mfgCounter.reduce(function(l,n){return l+ +n},0);this.mfgCreditCardFlag=a>0},l=Zh([Object(Df.k)({selector:"page-pd-question-client-info",templateUrl:"pd-question-client-info.html"}),lg("design:paramtypes",[Tf.r,Tf.s,ah,zf,ch,Jf.g])],l)}(),eg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ug=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},tg=function(){function l(l,n,e,u,t,a){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=t,this.fb=a,this.FormId=this.navParams.get("FormId"),this.pdDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale(),this.rentalForms=this.fb.group({person_met:[null,Jf.y.compose([Jf.y.required])],property_own:[null,Jf.y.compose([Jf.y.required])],nature_property:[null,Jf.y.compose([Jf.y.required])],nature_others:[null],rental_home:this.fb.array([])}),this.getRentalDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionRentalInfoPage")},l.prototype.createrentalHome=function(){return this.fb.group({complete_add:[null,Jf.y.compose([Jf.y.required])],area_of_property:[null,Jf.y.compose([Jf.y.required])],structure_property:[null,Jf.y.compose([Jf.y.required])],total_room:[null,Jf.y.compose([Jf.y.required])],is_rent:[null,Jf.y.compose([Jf.y.required])],date_agreement:[null,Jf.y.compose([Jf.y.required])],date_validity:[null,Jf.y.compose([Jf.y.required])],rent_agreement:[null,Jf.y.compose([Jf.y.required])],actual_rent:[null,Jf.y.compose([Jf.y.required])],photo_areegment:[null,Jf.y.compose([Jf.y.required])],property_photographs:[null],bank:[null,Jf.y.compose([Jf.y.required])],cash:[null,Jf.y.compose([Jf.y.required])],rent_each_floor:[null,Jf.y.compose([Jf.y.required])],total_rent:[null,Jf.y.compose([Jf.y.required])],related_doc_owner:[null,Jf.y.compose([Jf.y.required])],details_tenants:this.fb.array([]),third_party_check:[null,Jf.y.compose([Jf.y.required])]})},l.prototype.createTenantsDetails=function(){return this.fb.group({name:[null,Jf.y.compose([Jf.y.required])],mobile_no:[null,Jf.y.compose([Jf.y.required])],tenants_seen:[null,Jf.y.compose([Jf.y.required])],tenants_con_owner:[null,Jf.y.compose([Jf.y.required])],rent_paid:[null,Jf.y.compose([Jf.y.required])],staying_since:[null,Jf.y.compose([Jf.y.required])]})},l.prototype.addrentalHome=function(){this.rentalForms.get("rental_home").push(this.createrentalHome()),this.addTenantsDetails(0)},l.prototype.addTenantsDetails=function(l){this.rentalForms.controls.rental_home.at(l).get("details_tenants").push(this.createTenantsDetails())},l.prototype.deleteTenantsDetails=function(l,n){this.rentalForms.controls.rental_home.at(l).get("details_tenants").removeAt(n)},l.prototype.deleterentalHome=function(l){var n=this.rentalForms.controls.rental_home;1==n.length?this.rentalForms.controls.rental_home.reset():n.removeAt(l)},l.prototype.saveRentalDetails=function(l){var n=this,e={};e.pdid=this.pdDetails.pd_id,e.formid=this.FormId.form_id,e.fk_createdby=this.users,e.person_met=l.person_met,e.property_own=l.property_own,e.nature_property=l.nature_property,"others"==l.nature_property&&(e.nature_others=l.nature_others),e.rental_home=l.rental_home,Object.keys(e.rental_home).forEach(function(n){return null==e.rental_home[n]&&delete l[n]}),this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})},l.prototype.getRentalDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e,u=n.records,t=Object.keys(n.records.rental_home).map(function(l){return n.records.rental_home[l]}),a=l.rentalForms.controls.rental_home;t.forEach(function(n,u){t[u].details_tenants=Object.keys(n.details_tenants).map(function(l){return n.details_tenants[l]}),a.push(l.createrentalHome()),e=l.rentalForms.controls.rental_home.at(u).get("details_tenants"),t[u].details_tenants.forEach(function(n,u){e.push(l.createTenantsDetails())})}),l.rentalForms.controls.person_met.setValue(u.person_met),l.rentalForms.controls.property_own.setValue(u.property_own),l.rentalForms.controls.nature_property.setValue(u.nature_property),"others"==u.nature_property&&l.rentalForms.controls.nature_others.setValue(u.nature_others),l.rentalForms.controls.rental_home.setValue(t)}else l.addrentalHome()})},l.prototype.createTenantsDetailswithData=function(l,n){return this.fb.group({name:[n.name],mobile_no:[n.mobile_no],tenants_seen:[n.tenants_seen],tenants_con_owner:[n.tenants_con_owner],rent_paid:[n.rent_paid],staying_since:[n.staying_since]})},l.prototype.validateAllFormFields=function(l){var n=this;Object.keys(l.controls).forEach(function(e){var u=l.get(e);u instanceof Jf.h?u.markAsTouched({onlySelf:!0}):u instanceof Jf.j?n.validateAllFormFields(u):u instanceof Jf.e&&n.validateAllFormFields(u)})},l=eg([Object(Df.k)({selector:"page-pd-question-rental-info",templateUrl:"pd-question-rental-info.html"}),ug("design:paramtypes",[Tf.r,Tf.s,zf,ch,ah,Jf.g])],l)}(),ag=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ig=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},og=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=t,this.toast=a,this.cons=i,this.salesData=[],this.annual=[],this.annualSaleAmtInwords=[],this.marginAmtInwords=[],this.marginFinalAmtInwords=[],this.ratePerUnitAmtInwords=[],this.margin_calculation_status=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.margin_calculation_status=this.navParams.get("margin_calculation_status"),this.users=this.aws.getlocale(),this.assessedForm=this.fb.group({salesCalItemwise:this.fb.array([])}),this.salesData=this.navParams.get("sales"),null!=this.salesData?this.getSalesItemData(this.salesData):this.addSalesCal(),this.getdropList()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedSalesPage")},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.UOM=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.createSalesCal=function(){return this.fb.group({sci_id:[null],fk_pd_id:[this.pdDetails.pd_id],sales_item:[null,Jf.y.compose([Jf.y.required])],sales_qty:[null,Jf.y.compose([Jf.y.required])],fk_uom_id:[null,Jf.y.compose([Jf.y.required])],rate_per_unit:[null,Jf.y.compose([Jf.y.required])],fk_frequency_id:[null,Jf.y.compose([Jf.y.required])],annual_sale_value:[null],margin_per:[null],margin_per_uom:[null],margin_final_value:[null],comments:[null]})},l.prototype.addSalesCal=function(){if(this.assessedForm.valid){this.assessedForm.get("salesCalItemwise").push(this.createSalesCal())}else this.toast.pdTriggerappmessage("Enter the all fields")},l.prototype.removeSalesCal=function(l){this.annual.splice(l,1),this.grandTotal=this.annual.reduce(function(l,n){return l+n},0),console.log(this.grandTotal);var n=this.assessedForm.get("salesCalItemwise");1==n.length?(n.removeAt(l),this.addSalesCal()):n.removeAt(l)},l.prototype.salecalculat=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;if(""!=n.rate_per_unit&&null!=n.rate_per_unit&&(console.log("Rate Per value",n.rate_per_unit),this.inWords(n.rate_per_unit,l,4)),""!=n.sales_qty&&""!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.fk_frequency_id){console.log("Frequency",n.fk_frequency_id);var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id}),t=parseInt(n.sales_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor);e.controls[l].controls.annual_sale_value.setValue(parseInt(n.sales_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor)),this.inWords(t,l,1)}else e.controls[l].controls.annual_sale_value.setValue("");!0===this.margin_calculation_status&&(""==n.margin_per_uom&&""!=n.margin_per?this.salesMarginPerCalculation(l,this.assessedForm.value.salesCalItemwise[l]):this.salesMarginAmtCalculation(l,this.assessedForm.value.salesCalItemwise[l]))},l.prototype.salesMarginPerCalculation=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;e.controls[l].controls.margin_per_uom.setValue(""),""!=n.margin_per&&""!=n.annual_sale_value&&null!=n.margin_per&&null!=n.annual_sale_value?(e.controls[l].controls.margin_final_value.setValue(parseInt(n.annual_sale_value)*(parseInt(n.margin_per)/100)),this.inWords(parseInt(n.annual_sale_value)*(parseInt(n.margin_per)/100),l,3)):e.controls[l].controls.margin_final_value.setValue("")},l.prototype.salesMarginAmtCalculation=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;if(e.controls[l].controls.margin_per.setValue(""),""!=n.margin_per_uom&&null!=n.margin_per_uom&&this.inWords(n.margin_per_uom,l,2),""!=n.margin_per_uom&&""!=n.sales_qty&&null!=n.margin_per_uom&&null!=n.sales_qty){var u=parseInt(n.sales_qty)*parseInt(n.margin_per_uom);e.controls[l].controls.margin_final_value.setValue(parseInt(n.sales_qty)*parseInt(n.margin_per_uom)),this.inWords(u,l,3)}else e.controls[l].controls.margin_final_value.setValue("")},l.prototype.getSalesCalc=function(l,n){var e=this.assessedForm.controls.salesCalItemwise;e.controls[l].controls.margin_per_uom.setValue(""),""!=n.margin_per&&""!=n.annual_sale_value&&null!=n.margin_per&&null!=n.annual_sale_value?(e.controls[l].controls.margin_final_value.setValue(parseInt(n.annual_sale_value)*(parseInt(n.margin_per)/100)),this.inWords(parseInt(n.annual_sale_value)*(parseInt(n.margin_per)/100),l,3)):e.controls[l].controls.margin_final_value.setValue("")},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.annualSaleAmtInwords[n]=this.cons.convertNumberToWords(l);break;case 2:this.marginAmtInwords[n]=this.cons.convertNumberToWords(l);break;case 3:this.marginFinalAmtInwords[n]=this.cons.convertNumberToWords(l);break;case 4:console.log("Rate",l),this.ratePerUnitAmtInwords[n]=this.cons.convertNumberToWords(l)}},l.prototype.saveData=function(l){var n=this,e={records:l.salesCalItemwise};console.log(e),this.qustCat.saveassessedForms("saveAssessedIncomeSalesCalculatedByItemwise",e).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})},l.prototype.getSalesItemData=function(l){var n=this;console.log(l);var e=this.assessedForm.get("salesCalItemwise");l.forEach(function(l,u){n.annual[u]=l.annual_sale_value,e.push(n.createSaleswithData(l)),n.ratePerUnitAmtInwords[u]=n.cons.convertNumberToWords(l.rate_per_unit),n.annualSaleAmtInwords[u]=n.cons.convertNumberToWords(l.annual_sale_value),n.marginAmtInwords[u]=n.cons.convertNumberToWords(l.margin_per_uom),n.marginFinalAmtInwords[u]=n.cons.convertNumberToWords(l.margin_final_value)}),this.grandTotal=this.annual.reduce(function(l,n){return l+n},0)},l.prototype.createSaleswithData=function(l){return this.fb.group({sci_id:[l.sci_id],fk_pd_id:[this.pdDetails.pd_id],sales_item:[l.sales_item,Jf.y.compose([Jf.y.required])],sales_qty:[l.sales_qty,Jf.y.compose([Jf.y.required])],fk_uom_id:[l.fk_uom_id,Jf.y.compose([Jf.y.required])],rate_per_unit:[l.rate_per_unit,Jf.y.compose([Jf.y.required])],fk_frequency_id:[l.fk_frequency_id,Jf.y.compose([Jf.y.required])],annual_sale_value:[l.annual_sale_value],margin_per:[l.margin_per],margin_per_uom:[l.margin_per_uom],margin_final_value:[l.margin_final_value],comments:[l.comments]})},l=ag([Object(Df.k)({selector:"page-pd-question-assessed-sales",templateUrl:"pd-question-assessed-sales.html"}),ig("design:paramtypes",[Tf.r,Tf.s,zf,Jf.g,ah,ch,Mf])],l)}(),rg=e(3),_g=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},dg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},sg=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.constant=i,this.pipe=new rg.d("en-US"),this.Value=[],this.marginAmtInwords=[],this.temparr=[],this.tempdate=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.salesDaily=this.navParams.get("salesDaily"),this.margin_calculation_status=this.navParams.get("margin_calculation_status"),this.users=this.aws.getlocale(),this.currentDate=i.getcurrentDate().replace("T00:00",""),this.salesDailyForm=this.fb.group({sales_product:this.fb.array([])}),null!=this.salesDaily?this.getDailySalesData(this.salesDaily):this.adddailySalaesProduct()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedDailySalesPage")},l.prototype.createdailysalesProduct=function(){return this.fb.group({sim_id:[null],sales_item:[null,Jf.y.compose([Jf.y.required])],child:this.fb.array([]),fk_pd_id:[this.pdDetails.pd_id],margin_per:[null],margin_value:[null],comments:[null],fk_createdby:[this.users],isactive:["1"]})},l.prototype.createdailyChildSaleProduct=function(){return this.fb.group({simc_id:[null],fk_sim_id:[null],sales_date:[null,Jf.y.compose([Jf.y.required])],sales_value:[null,Jf.y.compose([Jf.y.required])],isactive:["1"]})},l.prototype.getSalesCalc=function(l,n,e){var u=new Date(l.value.sales_date).getMonth()+1,t=n.value.margin_per;if(null!=t&&null!=l.value.sales_value){var a=!1,i=0;if(0!=this.tempdate.length){for(var o=0;o0&&""!=n.margin_per){var t=n.child.filter(function(l){return""!=l.sales_date&&null!=l.sales_date&&void 0!=l.sales_date&&""!=l.sales_value&&!0===l.isactive}).map(function(l){return l.custum_date=e.pipe.transform(l.sales_date,"yyyy-MM"),console.log(l),l});if(t.length>0){var a=t.map(function(l){return l.custum_date}).filter(function(l,n,e){return n===e.indexOf(l)}),i=t.map(function(l){return l.sales_value}).reduce(function(l,n){return parseInt(l)+parseInt(n)});u.controls[l].controls.margin_value.setValue(parseInt(i)*(parseInt(n.margin_per)/100)*(12/parseInt(a.length))),this.inWords(parseInt(i)*(parseInt(n.margin_per)/100)*(12/parseInt(a.length)),l,2)}else u.controls[l].controls.margin_value.setValue("")}else u.controls[l].controls.margin_value.setValue("")}},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.constant.convertNumberToWords(l);break;case 2:this.marginAmtInwords[n]=this.constant.convertNumberToWords(l)}},l.prototype.adddailySalaesProduct=function(){if(this.tempdate=[],this.salesDailyForm.valid){var l=this.salesDailyForm.get("sales_product");l.push(this.createdailysalesProduct()),this.adddailyChildSaleProduct(l.length-1)}},l.prototype.adddailyChildSaleProduct=function(l){this.salesDailyForm.get("sales_product").at(l).get("child").push(this.createdailyChildSaleProduct())},l.prototype.deletedailySalesProduct=function(l){this.tempdate.slice(l,1);var n=this.salesDailyForm.controls.sales_product;1==n.length?this.salesDailyForm.controls.sales_product.reset():n.removeAt(l)},l.prototype.deletedailyChildSaleProduct=function(l,n){this.tempdate=[];var e=this.salesDailyForm.controls.sales_product.at(l).get("child");1==e.length?(e.removeAt(n),this.adddailyChildSaleProduct(l)):e.removeAt(n)},l.prototype.saveData=function(l){var n=this;if(this.salesDailyForm.valid){this.qustCat.saveassessedForms("saveAssessedIncomeMonthwiseItems",{records:l.sales_product}).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})}},l.prototype.getDailySalesData=function(l){var n,e=this,u=this.salesDailyForm.get("sales_product"),t=[];l.forEach(function(l,a){u.push(e.dailySalesWithData(l)),e.marginAmtInwords[a]=e.constant.convertNumberToWords(l.margin_value),n=e.salesDailyForm.controls.sales_product.at(a).get("child"),t[a]=Object.keys(l.items).map(function(n){return l.items[n]}),t[a].forEach(function(u,t){u.forEach(function(u,t){var a=new Date(u.sales_date);u.sales_date=a.getFullYear()+"-"+("0"+(a.getMonth()+1)).slice(-2)+"-"+("0"+(a.getDay()+1)).slice(-2),console.log("sale",u.sales_date),n.push(e.dailySalesChildWithData(u,l.sim_id)),e.Value[t]=e.constant.convertNumberToWords(u.sales_value)})})})},l.prototype.dailySalesWithData=function(l){return this.fb.group({sim_id:[l.sim_id],sales_item:[l.sales_item,Jf.y.compose([Jf.y.required])],child:this.fb.array([]),fk_pd_id:[this.pdDetails.pd_id],fk_createdby:[this.users],isactive:["1"],margin_per:[l.margin_per],margin_value:[l.margin_value],comments:[l.comments]})},l.prototype.dailySalesChildWithData=function(l,n){return this.fb.group({simc_id:[l.simc_id],fk_sim_id:[n],sales_date:[l.sales_date,Jf.y.compose([Jf.y.required])],sales_value:[l.sales_value,Jf.y.compose([Jf.y.required])],isactive:["1"]})},l=_g([Object(Df.k)({selector:"page-pd-question-assessed-daily-sales",templateUrl:"pd-question-assessed-daily-sales.html"}),dg("design:paramtypes",[Tf.r,Tf.s,zf,ah,ch,Jf.g,Mf])],l)}(),cg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},mg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},pg=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.fb=n,this.navParams=e,this.qustCat=u,this.toast=t,this.aws=a,this.cons=i,this.annual=[],this.RateOfPurchase=[],this.AnnualPurchase=[],this.pdDetails=this.navParams.get("pdDetails"),this.purchaseDetails=this.navParams.get("purchase"),console.log("purchase",this.purchaseDetails),console.log("pd",this.pdDetails),this.users=this.aws.getlocale(),this.rawMaterialForm=this.fb.group({purchase:this.fb.array([])}),null!=this.purchaseDetails?this.getpurchaseDetails(this.purchaseDetails):this.addPurchaseDetails(),this.getdropList()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedPurchasePage")},l.prototype.createPurchaseDetails=function(){return this.fb.group({purchase_id:[null],fk_pd_id:[this.pdDetails.pd_id],purchase_item:[null,Jf.y.compose([Jf.y.required])],purchase_qty:[null,Jf.y.compose([Jf.y.required])],fk_uom_id:[null,Jf.y.compose([Jf.y.required])],uom_other:[null],rate_per_unit:[null,Jf.y.compose([Jf.y.required])],fk_frequency_id:[null,Jf.y.compose([Jf.y.required])],annual_purchase_value:[null,Jf.y.compose([Jf.y.required])],comments:[null],isactive:["1"],fk_createdby:[this.users]})},l.prototype.getdropList=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("UOM").subscribe(function(n){1==n.dataStatus&&(l.UOM=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("BUSINESSEXPENSES").subscribe(function(n){1==n.dataStatus&&(l.businessExpenses=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.addPurchaseDetails=function(){this.rawMaterialForm.controls.purchase.push(this.createPurchaseDetails())},l.prototype.deletePurchaseDetails=function(l){this.annual.splice(l,1),this.grandpurchaseTotal=this.annual.reduce(function(l,n){return+l+ +n},0);this.rawMaterialForm.controls.purchase.removeAt(l)},l.prototype.purchaseCalculation=function(l,n){var e=this.rawMaterialForm.controls.purchase;if(""!=n.purchase_qty&&""!=n.rate_per_unit&&""!=n.fk_frequency_id&&null!=n.purchase_qty&&null!=n.rate_per_unit&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_purchase_value.setValue(parseInt(n.purchase_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor)),this.inWords(parseInt(n.purchase_qty)*parseInt(n.rate_per_unit)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_purchase_value.setValue(null)},l.prototype.savepurchaseData=function(l){var n=this;if(this.rawMaterialForm.valid){var e={records:l.purchase};console.log("data",e),this.qustCat.saveassessedForms("saveAssessedIncomePurchaseDetails",e).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})}else this.toast.pdTriggerappmessage("Enter All Field")},l.prototype.getpurchaseDetails=function(l){var n=this;console.log("function in",l);var e=this.rawMaterialForm.controls.purchase;console.log(e),0==l.length?(console.log("if"),this.addPurchaseDetails()):(console.log("else"),l.forEach(function(l,u){e.push(n.createPurchasewithData(l)),n.annual[u]=l.annual_purchase_value}),this.grandpurchaseTotal=this.annual.reduce(function(l,n){return+l+ +n},0))},l.prototype.createPurchasewithData=function(l){return this.fb.group({purchase_id:[l.purchase_id],fk_pd_id:[this.pdDetails.pd_id],purchase_item:[l.purchase_item,Jf.y.compose([Jf.y.required])],purchase_qty:[l.purchase_qty,Jf.y.compose([Jf.y.required])],fk_uom_id:[l.fk_uom_id,Jf.y.compose([Jf.y.required])],uom_other:[l.uom_other],rate_per_unit:[l.rate_per_unit,Jf.y.compose([Jf.y.required])],fk_frequency_id:[l.fk_frequency_id,Jf.y.compose([Jf.y.required])],annual_purchase_value:[l.annual_purchase_value,Jf.y.compose([Jf.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users]})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.RateOfPurchase[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualPurchase[n]=this.cons.convertNumberToWords(l)}},l=cg([Object(Df.k)({selector:"page-pd-question-assessed-purchase",templateUrl:"pd-question-assessed-purchase.html"}),mg("design:paramtypes",[Tf.r,Jf.g,Tf.s,ah,ch,zf,Mf])],l)}(),fg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},hg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},gg=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cons=i,this.Value=[],this.AnnualExpenses=[],this.grandExpenseTotal=[],this.expenseannual=[],this.pdDetails=this.navParams.get("pdDetails"),this.expenseDetails=this.navParams.get("expense"),this.users=this.aws.getlocale(),this.BuissnessForm=this.fb.group({busExpense:this.fb.array([])}),null!=this.expenseDetails?this.getBuisnessExpenses(this.expenseDetails):this.addBusinessDetails(),this.getdropdown()}return l.prototype.grandpurchaseTotal=function(l){throw new Error("Method not implemented.")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("BUSINESSEXPENSES").subscribe(function(n){1==n.dataStatus&&(l.businessExpenses=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedBusinessPage")},l.prototype.createBusinessDetails=function(){return this.fb.group({pd_expense_id:[null],fk_pd_id:[this.pdDetails.pd_id],expense_item_id:[null,Jf.y.compose([Jf.y.required])],expense_value:[null,Jf.y.compose([Jf.y.required])],fk_frequency_id:[null,Jf.y.compose([Jf.y.required])],annual_expenses_value:[null,Jf.y.compose([Jf.y.required])],comments:[null],isactive:["1"],fk_createdby:[this.users]})},l.prototype.businessCalculation=function(l,n){var e=this.BuissnessForm.controls.busExpense;if(""!=n.expense_value&&""!=n.fk_frequency_id&&null!=n.expense_value&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_expenses_value.setValue(parseInt(n.expense_value)*parseInt(u[0].mutiple_factor)),this.inWords(parseInt(n.expense_value)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_expenses_value.setValue(null)},l.prototype.addBusinessDetails=function(){this.BuissnessForm.controls.busExpense.push(this.createBusinessDetails())},l.prototype.deleteBuisnessDetails=function(l){this.expenseannual.splice(l,1),this.grandExpenseTotal=this.expenseannual.reduce(function(l,n){return+l+ +n},0);this.BuissnessForm.controls.busExpense.removeAt(l)},l.prototype.busExpensecalculat=function(l,n){var e,u=n.value.fk_frequency_id,t=n.value.expense_value;null!=t?(1==u||(2==u?(this.expenseannual[l]=e=250*t,n.controls.annual_expenses_value.setValue(e),this.inWords(e,l,2)):3==u?(this.expenseannual[l]=e=t,n.controls.annual_expenses_value.setValue(e),this.inWords(e,l,2)):4==u||5==u&&(this.expenseannual[l]=e=12*t,n.controls.annual_expenses_value.setValue(e),this.inWords(e,l,2))),this.grandExpenseTotal=this.expenseannual.reduce(function(l,n){return+l+ +n},0)):this.toast.pdTriggerappmessage("Enter the Amount and Frequency")},l.prototype.saveBusinessData=function(l){var n=this;if(this.BuissnessForm.valid){this.qustCat.saveassessedForms("saveAssessedIncomeBusinessExpenses",{records:l.busExpense}).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})}else this.toast.pdTriggerappmessage("Enter The All Field")},l.prototype.getBuisnessExpenses=function(l){var n=this;if(0==l.length)this.addBusinessDetails();else{var e=this.BuissnessForm.controls.busExpense;l.forEach(function(l,u){n.expenseannual[u]=l.annual_expenses_value,e.push(n.createBusinessExpensewithData(l)),null!=l.expense_value&&(n.Value[u]=n.cons.convertNumberToWords(l.expense_value),n.AnnualExpenses[u]=n.cons.convertNumberToWords(l.annual_expenses_value))}),this.grandExpenseTotal=this.expenseannual.reduce(function(l,n){return+l+ +n},0)}},l.prototype.createBusinessExpensewithData=function(l){return this.fb.group({pd_expense_id:[l.pd_expense_id],fk_pd_id:[this.pdDetails.pd_id],expense_item_id:[l.expense_item_id,Jf.y.compose([Jf.y.required])],expense_value:[l.expense_value,Jf.y.compose([Jf.y.required])],fk_frequency_id:[l.fk_frequency_id,Jf.y.compose([Jf.y.required])],annual_expenses_value:[l.annual_expenses_value,Jf.y.compose([Jf.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users]})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualExpenses[n]=this.cons.convertNumberToWords(l)}},l=fg([Object(Df.k)({selector:"page-pd-question-assessed-business",templateUrl:"pd-question-assessed-business.html"}),hg("design:paramtypes",[Tf.r,Tf.s,Jf.g,zf,ah,ch,Mf])],l)}(),bg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},vg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},yg=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.toast=t,this.qustCat=a,this.cons=i,this.houseannual=[],this.grandHouseExpenseTotal=[],this.Value=[],this.AnnualExpenses=[],this.pdDetails=this.navParams.get("pdDetails"),this.houseExpenseDetails=this.navParams.get("FormId"),this.expenseDetails=this.navParams.get("expense"),this.users=this.aws.getlocale(),this.houseHoldForm=this.fb.group({houseExpense:this.fb.array([])}),null!=this.expenseDetails?this.getHouseholdExpense(this.expenseDetails):this.addHouseExpenses(),this.getdropdown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedHouseholdPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.createHouseExpense=function(){return this.fb.group({household_expense_id:[null],fk_pd_id:[this.pdDetails.pd_id],expense_item:[null,Jf.y.compose([Jf.y.required])],expense_value:[null,Jf.y.compose([Jf.y.required])],fk_frequency_id:[null,Jf.y.compose([Jf.y.required])],annual_expense_value:[null,Jf.y.compose([Jf.y.required])],comments:[null],isactive:["1"],fk_createdby:[this.users]})},l.prototype.addHouseExpenses=function(){this.houseHoldForm.controls.houseExpense.push(this.createHouseExpense())},l.prototype.deleteHouseExpense=function(l){this.houseannual.splice(l,1),this.grandHouseExpenseTotal=this.houseannual.reduce(function(l,n){return+l+ +n},0);this.houseHoldForm.controls.houseExpense.removeAt(l)},l.prototype.houseExpensecalculat=function(l,n){var e=this.houseHoldForm.controls.houseExpense;if(""!=n.expense_value&&""!=n.fk_frequency_id&&null!=n.expense_value&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_expense_value.setValue(parseInt(n.expense_value)*parseInt(u[0].mutiple_factor)),this.inWords(parseInt(n.expense_value)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_expense_value.setValue(null)},l.prototype.saveHouseExpenseData=function(l){var n=this;if(this.houseHoldForm.valid){this.qustCat.saveassessedForms("saveAssessedIncomeHouseholdExpenses",{records:l.houseExpense}).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})}else this.toast.pdTriggerappmessage("Enter The All Field")},l.prototype.getHouseholdExpense=function(l){var n=this;if(0==l.length)this.addHouseExpenses();else{var e=this.houseHoldForm.controls.houseExpense;l.forEach(function(l,u){n.houseannual[u]=l.annual_expense_value,e.push(n.createHouseholdwithData(l)),null!=l.expense_value&&(n.Value[u]=n.cons.convertNumberToWords(l.expense_value),n.AnnualExpenses[u]=n.cons.convertNumberToWords(l.annual_expense_value))}),this.grandHouseExpenseTotal=this.houseannual.reduce(function(l,n){return+l+ +n},0)}},l.prototype.createHouseholdwithData=function(l){return this.fb.group({household_expense_id:[l.household_expense_id],fk_pd_id:[this.pdDetails.pd_id],expense_item:[l.expense_item,Jf.y.compose([Jf.y.required])],expense_value:[l.expense_value,Jf.y.compose([Jf.y.required])],fk_frequency_id:[l.fk_frequency_id,Jf.y.compose([Jf.y.required])],annual_expense_value:[l.annual_expense_value,Jf.y.compose([Jf.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users]})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualExpenses[n]=this.cons.convertNumberToWords(l)}},l=bg([Object(Df.k)({selector:"page-pd-question-assessed-household",templateUrl:"pd-question-assessed-household.html"}),vg("design:paramtypes",[Tf.r,Tf.s,Jf.g,zf,ch,ah,Mf])],l)}(),Cg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},wg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Fg=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.fb=e,this.aws=u,this.qustCat=t,this.toast=a,this.cons=i,this.m_freqOfPurchase=[],this.grandIncomeTotal=[],this.incomeannual=[],this.Value=[],this.AnnualExpenses=[],this.pdDetails=this.navParams.get("pdDetails"),this.expenseDetails=this.navParams.get("income"),this.users=this.aws.getlocale(),this.BuissnessForm=this.fb.group({busIncome:this.fb.array([])}),null!=this.expenseDetails?this.getBuisnessExpenses(this.expenseDetails):this.addBusinessDetails(),this.getdropdown()}return l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("BUSINESSINCOME").subscribe(function(n){1==n.dataStatus&&(l.businessIncome=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.m_freqOfPurchase=n.records.filter(function(l){return 1==l.isactive}))})},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedBusinessIncomePage")},l.prototype.createBusinessDetails=function(){return this.fb.group({pd_business_income_id:[null],fk_pd_id:[this.pdDetails.pd_id],business_income_id:[null,Jf.y.compose([Jf.y.required])],income_value:[null,Jf.y.compose([Jf.y.required])],fk_frequency_id:[null,Jf.y.compose([Jf.y.required])],annual_income_value:[null,Jf.y.compose([Jf.y.required])],comments:[null],isactive:["1"],fk_createdby:[this.users],other_income_item:[null],other_frequncy_item:[null]})},l.prototype.addBusinessDetails=function(){this.BuissnessForm.controls.busIncome.push(this.createBusinessDetails())},l.prototype.deleteBuisnessDetails=function(l){this.incomeannual.splice(l,1),this.grandIncomeTotal=this.incomeannual.reduce(function(l,n){return+l+ +n},0);this.BuissnessForm.controls.busIncome.removeAt(l)},l.prototype.busIncomecalculate=function(l,n){var e=this.BuissnessForm.controls.busIncome;if(""!=n.income_value&&""!=n.fk_frequency_id&&null!=n.income_value&&null!=n.fk_frequency_id){var u=this.m_freqOfPurchase.filter(function(l){return l.frequency_id==n.fk_frequency_id});e.controls[l].controls.annual_income_value.setValue(parseInt(n.income_value)*parseInt(u[0].mutiple_factor)),this.inWords(parseInt(n.income_value)*parseInt(u[0].mutiple_factor),l,2)}else e.controls[l].controls.annual_income_value.setValue("")},l.prototype.saveBusinessData=function(l){var n=this;if(this.BuissnessForm.valid){this.qustCat.saveassessedForms("saveOtherBusinessIncome",{records:l.busIncome}).subscribe(function(l){1==l.dataStatus&&(n.navCtrl.pop(),n.toast.pdTriggerappmessage("Record Saved Successfully.!"))})}else this.toast.pdTriggerappmessage("Enter The All Field")},l.prototype.getBuisnessExpenses=function(l){var n=this;if(0==l.length)this.addBusinessDetails();else{var e=this.BuissnessForm.controls.busIncome;l.forEach(function(l,u){n.incomeannual[u]=l.annual_income_value,e.push(n.createBusinessExpensewithData(l)),null!=l.income_value&&(n.Value[u]=n.cons.convertNumberToWords(l.income_value),n.AnnualExpenses[u]=n.cons.convertNumberToWords(l.annual_income_value))}),this.grandIncomeTotal=this.incomeannual.reduce(function(l,n){return+l+ +n},0)}},l.prototype.createBusinessExpensewithData=function(l){return this.fb.group({pd_business_income_id:[l.pd_business_income_id],fk_pd_id:[this.pdDetails.pd_id],business_income_id:[l.business_income_id,Jf.y.compose([Jf.y.required])],income_value:[l.income_value,Jf.y.compose([Jf.y.required])],fk_frequency_id:[l.fk_frequency_id,Jf.y.compose([Jf.y.required])],annual_income_value:[l.annual_income_value,Jf.y.compose([Jf.y.required])],comments:[l.comments],isactive:["1"],fk_createdby:[this.users],other_income_item:[l.other_income_item],other_frequncy_item:[l.other_frequncy_item]})},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.Value[n]=this.cons.convertNumberToWords(l);break;case 2:this.AnnualExpenses[n]=this.cons.convertNumberToWords(l)}},l=Cg([Object(Df.k)({selector:"page-pd-question-assessed-business-income",templateUrl:"pd-question-assessed-business-income.html"}),wg("design:paramtypes",[Tf.r,Tf.s,Jf.g,zf,ah,ch,Mf])],l)}(),xg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Sg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Ig=function(){function l(l,n,e,u,t,a,i){switch(this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.cons=i,this.check__purchse_type=[{id:"1",name:"Yes"},{id:"2",name:"No"}],this.houseannual=[],this.expenseannual=[],this.sales_item_month_value=[],this.sales_wise_month_headers=[],this.sales_month_wise_data=[],this.grandpurchaseTotal=null,this.annual=[],this.activateMarginCalculation=!1,this.SaleAmtInwords=[],this.marginAmtInwords=[],this.pdDetails=this.navParams.get("pdDetails"),this.pageId=this.navParams.get("pageId"),this.pageId){case 1:this.FormName="Sales Page";break;case 2:this.FormName="Purchase Page";break;case 3:this.FormName="Business Expense Page";break;case 4:this.FormName="House Hold Page";break;default:this.FormName="Question Page"}this.users=this.aws.getlocale(),this.assessedForm=this.fb.group({sdc_id:[null],sales_declared_by_customer:[null],fk_pd_id:[this.pdDetails.pd_id],margin_per:[null],margin_value:[null],comments:[null],isactive:[1],fk_createdby:[this.users]}),this.grossProfitForm=this.fb.group({calc_type_id:[""],fk_pd_id:[this.pdDetails.pd_id],company_id:[this.pdDetails.company_id],mode:["",Jf.y.compose([Jf.y.required])],margin:[""]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedInfoPage")},l.prototype.ionViewDidEnter=function(){},l.prototype.ionViewCanEnter=function(){this.getAssessedDetails()},l.prototype.changeOptions=function(l){this.grossProfitForm.controls.margin.setValue(""),2==l.mode&&this.grossProfitForm.controls.margin.setValue("2")},l.prototype.getMarginCalc=function(){var l=this.assessedForm.controls.margin_per.value;console.log("Margin Per",l);var n=this.assessedForm.controls.sales_declared_by_customer.value;if(null!=l&&null!=n){this.assessedForm.controls.margin_value.setValue(n*(l/100))}},l.prototype.saveData=function(l){var n=this,e={};e={records:l},console.log(e),this.qustCat.saveassessedForms("saveAssessedIncomeSalesDeclaredByCustomer",e).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),n.getAssessedDetails())})},l.prototype.salesCalculation=function(l){""!=l.sales_declared_by_customer&&(this.SaleAmtInwords=this.cons.convertNumberToWords(l.sales_declared_by_customer)),""!=l.margin_per&&""!=l.sales_declared_by_customer&&(this.assessedForm.controls.margin_value.setValue(l.sales_declared_by_customer*(l.margin_per/100)),this.marginAmtInwords=this.cons.convertNumberToWords(l.sales_declared_by_customer*(l.margin_per/100)))},l.prototype.getAssessedDetails=function(){var l=this;this.sales_item_month_value=[],this.sales_month_wise_data=[],this.sales_item_value=[];this.qustCat.retiverassessedForm("getAssessedIncome",{pd_id:this.pdDetails.pd_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records.sales_declared_by_customer[0];l.sales_item_value=n.records.sales_calculated_by_itemwise,l.sales_item_month_value=n.records.sales_items_by_monthwise,l.purchse_details=n.records.purchase_details,l.grossprofitCalc=n.records.gross_profit_calculation_type[0],l.mode=l.grossprofitCalc.mode;var u=n.records.gross_profit_calculation_type.length;console.log("len",u),l.activateMarginCalculation=2==n.records.gross_profit_calculation_type[u-1].margin&&2==n.records.gross_profit_calculation_type[u-1].mode,console.log(l.activateMarginCalculation);var t=l.purchse_details.reduce(function(l,n){return l},[]);console.log(t),l.businessExpenses_details=n.records.business_expenses,l.houseHold_details=n.records.house_hold_expenses,l.busissnessIncome=n.records.othre_business_income,l.sales_item_month_value.forEach(function(n,e){var u=Object.keys(n.items).map(function(l){return{header:l,value:n.items[l]}}),t=[];u.forEach(function(l,n){var e=l.value.reduce(function(l,n){return l+Number(n.sales_value)},0);t.push({items:l,itemsTotal:e})});var a=t.reduce(function(l,n){return l+Number(n.itemsTotal)},0),i=12/t.length,o=[];o.push({month_message:t.length+" Month Sales : "+a,month_value:a,year_message:" Yearly Sales Arrived : "+a*i,year_value:a*i}),l.sales_month_wise_data.push({salesItem:n.sales_item,expandElements:u,footerMessage:o,simId:n.sim_id})}),console.log(l.sales_month_wise_data),void 0!==e&&(l.assessedForm.controls.sdc_id.setValue(e.sdc_id),l.assessedForm.controls.sales_declared_by_customer.setValue(e.sales_declared_by_customer),l.assessedForm.controls.margin_value.setValue(e.margin_value),l.assessedForm.controls.comments.setValue(e.comments),l.assessedForm.controls.margin_per.setValue(e.margin_per))}})},l.prototype.grossProfitWithData=function(l){return this.fb.group({calc_type_id:[l.calc_type_id],fk_pd_id:[this.pdDetails.pd_id],company_id:[l.company_id],mode:[l.mode],margin:[l.margin]})},l.prototype.AddAssessedForm=function(){this.navCtrl.push(og,{pdDetails:this.pdDetails,sales:null,margin_calculation_status:this.activateMarginCalculation})},l.prototype.editDetails=function(l){var n=this.sales_item_value.filter(function(n){return n.sci_id==l});console.log(n),this.navCtrl.push(og,{pdDetails:this.pdDetails,sales:n,margin_calculation_status:this.activateMarginCalculation})},l.prototype.editAllDetails=function(l){this.navCtrl.push(og,{pdDetails:this.pdDetails,sales:l,margin_calculation_status:this.activateMarginCalculation})},l.prototype.AddAssessedDailyForm=function(){this.navCtrl.push(sg,{pdDetails:this.pdDetails,salesDaily:null,margin_calculation_status:this.activateMarginCalculation})},l.prototype.editAssessedDailyForm=function(l){var n=this.sales_item_month_value.filter(function(n){return n.sim_id==l});console.log(n),this.navCtrl.push(sg,{pdDetails:this.pdDetails,salesDaily:n,margin_calculation_status:this.activateMarginCalculation})},l.prototype.AddPurchaseForm=function(){this.navCtrl.push(pg,{pdDetails:this.pdDetails,purchase:null})},l.prototype.editPurchaseDetails=function(l){var n=this.purchse_details.filter(function(n){return n.purchase_id==l});console.log(n),this.navCtrl.push(pg,{pdDetails:this.pdDetails,purchase:n})},l.prototype.editPurchaseAllDetails=function(l){console.log("260",l),this.navCtrl.push(pg,{pdDetails:this.pdDetails,purchase:l})},l.prototype.AddExpenseForm=function(){this.navCtrl.push(gg,{pdDetails:this.pdDetails,expense:null})},l.prototype.editExpenseDetails=function(l){var n=this.businessExpenses_details.filter(function(n){return n.pd_expense_id==l});console.log(n),this.navCtrl.push(gg,{pdDetails:this.pdDetails,expense:n})},l.prototype.editExpenseAllDetails=function(l){this.navCtrl.push(gg,{pdDetails:this.pdDetails,expense:l})},l.prototype.AddHouseExpenseForm=function(){this.navCtrl.push(yg,{pdDetails:this.pdDetails,expense:null})},l.prototype.editHouseExpenseDetails=function(l){var n=this.houseHold_details.filter(function(n){return n.household_expense_id==l});console.log(n),this.navCtrl.push(yg,{pdDetails:this.pdDetails,expense:n})},l.prototype.editHouseExpenseAllDetails=function(l){this.navCtrl.push(yg,{pdDetails:this.pdDetails,expense:l})},l.prototype.AddIncomeForm=function(){this.navCtrl.push(Fg,{pdDetails:this.pdDetails,income:null})},l.prototype.editIncomeDetails=function(l){var n=this.busissnessIncome.filter(function(n){return n.pd_business_income_id==l});console.log(n),this.navCtrl.push(Fg,{pdDetails:this.pdDetails,income:n})},l.prototype.editIncomeAllDetails=function(l){this.navCtrl.push(Fg,{pdDetails:this.pdDetails,income:l})},l=xg([Object(Df.k)({selector:"page-pd-question-assessed-info",templateUrl:"pd-question-assessed-info.html"}),Sg("design:paramtypes",[Tf.r,Tf.s,zf,ah,ch,Jf.g,Mf])],l)}(),qg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},kg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Pg=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.loadData=!1,this.pdDetails=this.navParams.get("pdDetails"),this.getAssessedDetails()}return l.prototype.ionViewWillEnter=function(){},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedSummaryPage")},l.prototype.getAssessedDetails=function(){var l=this;this.qustCat.retiverassessedForm("getAssessedIncome",{pd_id:this.pdDetails.pd_id}).subscribe(function(n){1==n.dataStatus&&(l.salesCustomer=n.records.final_data[0].sales_declared_by_customer,l.salesItemWise=n.records.final_data[0].sales_calculated_by_itemwise,l.salesMonthWise=n.records.final_data[0].sales_calculated_by_monthwise,l.consolidatedReport=n.records.final_data[0].consolidated_report,console.log(l.salesCustomer),l.loadData=!0)})},l=qg([Object(Df.k)({selector:"page-pd-question-assessed-summary",templateUrl:"pd-question-assessed-summary.html"}),kg("design:paramtypes",[Tf.r,Tf.s,ah])],l)}(),Dg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Tg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Og=function(){function l(l,n,e,u,t,a){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=t,this.toast=a,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.assessedForm=this.fb.group({calc_type_id:[null],fk_pd_id:[this.pdDetails.pd_id],mode:[null,Jf.y.compose([Jf.y.required])],margin:[null],fk_createdby:[null],fk_updatedby:[null]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionAssessedDashPage")},l.prototype.ionViewCanEnter=function(){this.getassessedIncome()},l.prototype.getViewPage=function(l){this.navCtrl.push(11==l?Pg:Ig,{pdDetails:this.pdDetails,pageId:l})},l.prototype.saveAssessedForm=function(l){var n=this;if(this.assessedForm.valid){1==l.mode.value?this.assessedForm.controls.margin.setValue(1):2==l.mode.value&&this.assessedForm.controls.margin.setValue(2),null!=this.assessedForm.controls.calc_type_id.value&&this.assessedForm.controls.fk_updatedby.setValue(this.users),null==this.assessedForm.controls.fk_createdby.value&&this.assessedForm.controls.fk_createdby.setValue(this.users);this.qustCat.saveassessedForms("saveAssessedIncomeCalculateMode",{records:this.assessedForm.value}).subscribe(function(l){1==l.dataStatus&&n.getassessedIncome()})}},l.prototype.getassessedIncome=function(){var l=this;this.qustCat.retiverassessedForm("getAssessedIncome",{pd_id:this.pdDetails.pd_id}).subscribe(function(n){1==n.dataStatus?(l.assessedProcess=!0,l.grossprofit=n.records.gross_profit_calculation_type[0],0!=n.records.purchase_details.length&&(l.purchaseData=!0),0==n.records.sales_items_by_monthwise.length&&0==n.records.sales_declared_by_customer.length&&0==n.records.sales_calculated_by_itemwise.length||(l.salesData=!0),0!=n.records.business_expenses.length&&(l.businessData=!0),0!=n.records.house_hold_expenses.length&&(l.houseExpenseData=!0),0!=n.records.othre_business_income.length&&(l.businessIncome=!0),0!=n.records.final_data.length&&(l.finalAccess=!0,l.finalData=n.records.final_data[0],l.finalIncome=l.finalData.income,l.finalExpense=l.finalData.expense),void 0!==l.grossprofit&&(l.grossAccess=!0,l.assessedForm.controls.mode.setValue(l.grossprofit.mode),l.assessedForm.controls.margin.setValue(l.grossprofit.margin),l.assessedForm.controls.calc_type_id.setValue(l.grossprofit.calc_type_id),l.assessedForm.controls.fk_createdby.setValue(l.grossprofit.fk_createdby))):l.assessedProcess=!1})},l=Dg([Object(Df.k)({selector:"page-pd-question-assessed-dash",templateUrl:"pd-question-assessed-dash.html"}),Tg("design:paramtypes",[Tf.r,Tf.s,zf,Jf.g,ah,ch])],l)}(),Lg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Ag=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Vg=function(){function l(l,n,e,u,t,a){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale(),this.representativeForm=this.fb.group({pdid:[this.pdDetails.pd_id],formid:[this.FormId.form_id],fk_createdby:[this.users],lender_representative_accompany:["",Jf.y.compose([Jf.y.required])],representative_remarks:["",Jf.y.compose([Jf.y.required])],lender_representative_details:this.fb.array([])}),this.getLenderReDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionLenderRepresentativePage")},l.prototype.createlenReDetails=function(){return this.fb.group({lender_representative_who_accompanies:["",Jf.y.compose([Jf.y.required])],lender_representative_carry_loan_files:["",Jf.y.compose([Jf.y.required])]})},l.prototype.selectedLoanChanges=function(l){if("Yes"==l.value){this.representativeForm.controls.lender_representative_details.push(this.createlenReDetails())}else if("No"==l.value){this.representativeForm.controls.lender_representative_details.removeAt(0)}},l.prototype.sumbitData=function(l){var n=this;if(this.representativeForm.valid){this.qustCat.saveForm(this.representativeForm.value).subscribe(function(l){1==l.dataStatus&&(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3))})}else this.toast.pdTriggerappmessage("Enter All Field")},l.prototype.getLenderReDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){if(1==n.dataStatus){var e=n.records;if("Yes"==e.lender_representative_accompany){l.representativeForm.controls.lender_representative_accompany.setValue(e.lender_representative_accompany),l.representativeForm.controls.representative_remarks.setValue(e.representative_remarks);var u=Object.keys(n.records.lender_representative_details).map(function(l){return n.records.lender_representative_details[l]}),t=l.representativeForm.controls.lender_representative_details;u.forEach(function(n){t.push(l.createlenReDetails())}),l.representativeForm.controls.lender_representative_details.setValue(u)}else l.representativeForm.controls.lender_representative_accompany.setValue(e.lender_representative_accompany),l.representativeForm.controls.representative_remarks.setValue(e.representative_remarks)}})},l=Lg([Object(Df.k)({selector:"page-pd-question-lender-representative",templateUrl:"pd-question-lender-representative.html"}),Ag("design:paramtypes",[Tf.r,Tf.s,zf,ah,ch,Jf.g])],l)}(),jg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Ng=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Wg=function(){function l(l,n,e,u){this.navCtrl=l,this.navParams=n,this.fb=e,this.viewCtrl=u,this.applicantInfo={pd_co_applicant_id:"0",applicant_name:"",company_name:""},this.otherForm=this.fb.group({otherName:this.fb.array([])}),this.addmore()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionGeneralOtherApplicantPage")},l.prototype.createName=function(l){return this.fb.group({pd_co_applicant_id:[l.pd_co_applicant_id],applicant_name:[l.applicant_name,Jf.y.required]})},l.prototype.addmore=function(){if(this.otherForm.valid){this.otherForm.controls.otherName.push(this.createName(this.applicantInfo))}},l.prototype.deleteappdata=function(l){var n=this.otherForm.controls.otherName;1==n.length?n.reset():n.removeAt(l)},l.prototype.closeModal=function(){this.viewCtrl.dismiss(1)},l.prototype.submitData=function(l){this.otherForm.valid&&this.viewCtrl.dismiss(this.otherForm.value)},l=jg([Object(Df.k)({selector:"page-pd-question-general-other-applicant",templateUrl:"pd-question-general-other-applicant.html"}),Ng("design:paramtypes",[Tf.r,Tf.s,Jf.g,Tf.y])],l)}(),Eg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Rg=function(){function l(){}return l.prototype.transform=function(l,n){var e=n.existRelationList.filter(function(l){return l.relation_to==n.currentApplicantID});if(e.length>0){return l.filter(function(l){return!e.some(function(e){return l.pd_co_applicant_id==n.currentApplicantID||l.pd_co_applicant_id==e.pd_co_applicant_id})})}return l.filter(function(l){return l.pd_co_applicant_id!=n.currentApplicantID})},l=Eg([Object(Df.M)({name:"pdPipe"})],l)}(),Ug=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},$g=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Bg=function(){function l(l,n,e,u,t,a,i){var o=this;this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.modal=i,this.pipe=new rg.d("en-US"),this.fetch_related_details=[],this.pd_applicants_details=[],this.OldData=[],this.OldData_indi=[],this.cart=[],this.temp=0,this.maxDate=new Date,this.pd_applicants_details=[],this.pd_applicants_details.pop(),this.pdDetails=this.navParams.get("pdDetails"),console.log(this.pdDetails),this.FormId=this.navParams.get("FormId"),this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,this.users=this.aws.getlocale(),this.getdropdown(),this.generalForm=this.fb.group({pdid:this.pdDetails.pd_id,formid:this.FormId.form_id,applicant_list:this.fb.array([]),applicant_relation:this.fb.array([]),list_value:this.fb.array([]),company_value:this.fb.array([]),individuals:this.fb.array([]),companies:this.fb.array([]),persons_with_relationships:this.fb.array([]),company_with_relationships:this.fb.array([]),rental_income_rcv_in_years:[""],rental_income_rcv_in_month:[""],general_remark:""}),this.pd_applicants_details=this.pdDetails.applicat_details,this.buttonClick=!1,this.h_companies=!1,this.addIndi=!1,this.addComp=!1,this.datav=[{name:"fairoj",id:1},{name:"ff",id:2}],this.generalForm.controls.list_value.valueChanges.subscribe(function(l){var n=o.generalForm.controls.list_value;o.individualsList=n.value.filter(function(l){return 1==l.is_applicant}),o.individualsListBothCase=n.value.filter(function(l){return 1==l.is_applicant||1==l.is_person_met}),o.fulldata=n.value}),this.generalForm.controls.company_value.valueChanges.subscribe(function(l){o.companyList=o.generalForm.controls.company_value.value.filter(function(l){return l.company_name})}),this.i=0}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionGeneralInfoPage"),this.getGeneralForm()},l.prototype.ionViewLoaded=function(){},l.prototype.initlistv=function(l,n){var e=this.generalForm.controls.list_value;if(console.log("control",e.length),"ins"==n)for(var u=0,t=l;u0&&l.forEach(function(l){u.push(e.createApplicant(l))}),n.length>0&&n.forEach(function(l){t.push(e.createApplicantRelation(l)),e.fetch_related_details.push(l.applicant_name)})},l.prototype.createApplicant=function(l){return this.fb.group({pd_co_applicant_id:[l.pd_co_applicant_id],applicant_name:[l.applicant_name],company_name:[l.company_name],exist_status:[1==l.exist_status&&l.pd_co_applicant_id>0]})},l.prototype.coapplicantChange=function(l,n,e){var u=this,t=this.generalForm.controls.applicant_relation,a=this.generalForm.controls.applicant_list;if(e.exist_status.value)if(0==e.pd_co_applicant_id.value){var i=this.modal.create(Wg);i.onDidDismiss(function(l){1!=l?l.otherName.forEach(function(l){t.push(u.createApplicantRelation({pd_co_applicant_id:l.pd_co_applicant_id,applicant_name:l.applicant_name,applicant_relation_to:"",relation:"",company_name:"",company_relation:""})),u.fetch_related_details.push(l.applicant_name)}):a.at(n).get("exist_status").setValue(!1)}),i.present()}else{t.push(this.createApplicantRelation({pd_co_applicant_id:e.pd_co_applicant_id.value,applicant_name:e.applicant_name.value,applicant_relation_to:"",relation:"",company_name:e.company_name.value,company_relation:""})),this.fetch_related_details.push(e.applicant_name.value)}else{var o=this.generalForm.controls.applicant_relation,r=o.value.map(function(l){return l.pd_co_applicant_id}).indexOf(e.pd_co_applicant_id.value);if(0!=e.pd_co_applicant_id.value){o.removeAt(r);var _=this.fetch_related_details.indexOf(e.applicant_name.value);this.fetch_related_details.splice(_,1)}else a.at(n).get("exist_status").setValue(!1)}},l.prototype.createApplicantRelation=function(l){return this.fb.group({pd_co_applicant_id:[l.pd_co_applicant_id],applicant_name:[l.applicant_name],company_name:[l.company_name,l.company_name?Jf.y.required:Jf.y.nullValidator],company_relationship:[l.company_relationship],applicant_relation_to:[l.applicant_relation_to,Jf.y.required],relationship:[l.relationship]})},l.prototype.removereferance=function(l){this.generalForm.controls.applicant_relation.removeAt(l)},l.prototype.ConvertMonthintoYearforBusiness=function(l,n,e){var u=l%12,t=l/12;if(1==e){var a=this.generalForm.get("companies");(a=a.controls[n]).controls.business_years.setValue(+a.controls.business_years.value+ +Math.floor(t)),a.controls.business_month.setValue(Math.floor(u))}else if(2==e){this.generalForm.controls.rental_income_rcv_in_years.setValue(+this.generalForm.controls.rental_income_rcv_in_years.value+ +Math.floor(t)),this.generalForm.controls.rental_income_rcv_in_month.setValue(Math.floor(u))}},l.prototype.getDateObjects=function(l,n){var e=this.generalForm.get("companies");e.controls.business_years="",e.controls.business_month="",e=e.controls[n];var u=this.pdDetails.pd_date_of_initiation.split("/").reverse().join("/"),t=this.pipe.transform(l,"yyyy/MM/dd"),a=Date.parse(u)-Date.parse(t),i=Math.floor(a/1e3);i/=2592e3,i=Math.abs(Math.round(i)),e.controls.business_years.setValue(0),e.controls.business_month.setValue(0),i&&(e.controls.business_years.setValue(Math.floor(i/12)),e.controls.business_month.setValue(Math.floor(i%12)))},l.prototype.submitData=function(l){var n=this;console.log("1)",this.temp);var e={},u=[],t=[];Object.keys(l.list_value).map(function(n){return l.list_value[n]}).forEach(function(l){u.push(l)}),this.OldData_indi.length>0&&this.OldData_indi.forEach(function(l){u.push(l)});if(Object.keys(l.company_value).map(function(n){return l.company_value[n]}).forEach(function(l){t.push(l)}),this.OldData.length>0&&this.OldData.forEach(function(l){t.push(l)}),u.length>0&&(console.log("2)",this.temp),u.forEach(function(l,e){0==l.is_person_met&&n.temp++,console.log("3)",n.temp)}),console.log("4)",this.temp,"length",u.length),this.temp==u.length))return console.log("5)",this.temp),this.toast.pdTriggerappmessage("Please Choose Name of Person Met.!"),this.temp=0,void console.log("6)",this.temp);e.individuals=u,e.companies=t,e.pdid=l.pdid,e.formid=l.formid,e.fk_createdby=this.users,e.persons_with_relationships=l.persons_with_relationships,e.company_with_relationships=l.company_with_relationships,e.general_remark=l.general_remark,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus?(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},3e3)):n.toast.pdTriggerappmessage("Error")})},l.prototype.getGeneralForm=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){l.data_all=n.records;var e,u,t=l.generalForm.get("company_value");if(t.controls=[],l.lengthv=l.data_all,1==n.dataStatus){l.generalForm.controls.general_remark.setValue(l.data_all.general_remark);var a=[],i=Object.keys(n.records.individuals).map(function(l){return n.records.individuals[l]});if(i.length>0&&i.forEach(function(n){0!=n.is_active?a.push(n):l.OldData_indi.push(n)}),l.initlistv(a,"get"),""!=l.data_all.persons_with_relationships&&l.initPersonRelationship(l.data_all.persons_with_relationships),u=Object.keys(n.records.company_with_relationships).map(function(l){return n.records.company_with_relationships[l]}),"SE-RI"!=l.customer_segment_abbr){u.length>0?u.forEach(function(n){l.initCompanyRelationShip(n)}):0==u.length&&l.initCompanyRelationShip("");var o=[];(e=Object.keys(n.records.companies).map(function(l){return n.records.companies[l]})).length>0&&e.forEach(function(n,e){0!=n.is_active?o.push(n):l.OldData.push(n)}),l.initCompanyValue(o,"get"),l.generalForm.controls.rental_income_rcv_in_years.setValue(null),l.generalForm.controls.rental_income_rcv_in_month.setValue(null)}else"SE-RI"==l.customer_segment_abbr&&(l.generalForm.controls.rental_income_rcv_in_years.setValue(n.records.rental_income_rcv_in_years?n.records.rental_income_rcv_in_years:""),l.generalForm.controls.rental_income_rcv_in_month.setValue(n.records.rental_income_rcv_in_month?n.records.rental_income_rcv_in_month:""))}else console.log("Else data",l.pd_applicants_details),l.pd_applicants_details.forEach(function(n,e){if(n.is_applicant=!0,n.is_person_met=!1,n.is_new=!1,n.is_main_applicant="1"==n.applicant_type,n.is_active=!0,n.individuals_order_id=e+1,n.age="",n.qualification="",n.course_name="",""!=n.company_name&&null!=n.company_name){console.log("company");t.push(l.createCompanies({company_order_id:t.controls.length+1,company_name:n.company_name,is_company_applicant:n.is_company_applicant,business_entity_type:n.business_entity_type,business_entity_type_other:n.business_entity_type_other,business_years:n.business_years,business_month:n.business_month,business_date_object:n.business_date_object,is_new:n.is_new,is_active:!0}))}}),console.log("applicant",l.lengthv),l.initlistv(l.pd_applicants_details,"get"),l.initPersonRelationship(l.pd_applicants_details),l.initCompanyRelationShip("")})},l.prototype.createCompanies=function(l){var n=this.businessEntityById(l.business_entity_type);return this.fb.group({company_order_id:[l.company_order_id],company_name:[l.company_name],company_messrs_name:["M/s"],is_company_applicant:[l.is_company_applicant],business_entity_type:[l.business_entity_type,Jf.y.required],business_years:[l.business_years,Jf.y.required],business_month:[l.business_month],business_date_object:[l.business_date_object],is_active:[l.is_active],is_new:[l.is_new],business_entity_type_name:[n]})},Ug([Object(Df.Z)("remark"),$g("design:type",Df.p)],l.prototype,"nameField",void 0),l=Ug([Object(Df.k)({selector:"page-pd-question-general-info",templateUrl:"pd-question-general-info.html",providers:[Rg]}),$g("design:paramtypes",[Tf.r,Tf.s,zf,ah,ch,Jf.g,Tf.p])],l)}(),Mg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Kg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Hg=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.qustCat=u,this.toast=t,this.fb=a,this.constant=i,this.check_type=[{id:0,type_name:"Neighbourhood"},{id:1,type_name:"Reference Check"}],this.finalRemarksList=[{id:1,name:"Positive"},{id:2,name:"Negative"},{id:3,name:"Insufficient information provided"}],this.isDisplay=[],this.isDisplay2=[],this.existCompanyList=[],this.mergeCompanyApplicant=[],this.isOrganisationOwner=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type}),this.applicants.push({pd_co_applicant_id:0,applicant_name:"Others"}),this.neighbourhoodForm=this.fb.group({pdid:this.pdDetails.pd_id,formid:this.FormId.form_id,check_type:0,neighbourhood_list:this.fb.array([]),neighbourhood_status:[""],referencecheck_list:this.fb.array([]),neighbour_reference_remark:""}),this.users=this.aws.getlocale(),this.getdropdown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionNeighbourHoodPage"),this.getneighbourhood()},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("RELATIONWITHBUSINESS").subscribe(function(n){1==n.dataStatus&&(l.relationBusiness=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getcommondrop("FREQUENCY").subscribe(function(n){1==n.dataStatus&&(l.frequency=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return 1==l.is_active}),console.log(l.existCompanyList));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}));var u=[];l.applicants.length>0&&(u=l.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),l.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:u})),console.log("company&Applicant",l.mergeCompanyApplicant)})},l.prototype.inWords=function(l,n){},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.ConvertMonthintoYear=function(l,n,e){if(2==e){var u=n%12,t=n/12;l.controls.year_relation_applicant.setValue(+l.controls.year_relation_applicant.value+ +Math.floor(t)),l.controls.months_relation_applicant.setValue(Math.floor(u))}else if(1==e){u=n%12,t=n/12;l.controls.how_long_do_know_in_year.setValue(+l.controls.how_long_do_know_in_year.value+ +Math.floor(t)),l.controls.how_long_do_know_in_month.setValue(Math.floor(u))}},l.prototype.toggleVisibility=function(l,n,e){1==e?this.isDisplay[n]=l:2==e&&(this.isDisplay2[n]=l)},l.prototype.checkOthers=function(l){return null!=l&&0==l},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.getOtherOrganisationOwner=function(l,n){var e=this.neighbourhoodForm.controls.neighbourhood_list.controls[n],u=1;console.log("val",l),l.length>0&&l.forEach(function(l){0==l.id&&2==l.group_id&&(u=l.id)}),0==u?(e.controls.other_organisation_owner.setValidators([Jf.y.required]),this.isOrganisationOwner[n]=!0):1==u&&(e.controls.other_organisation_owner.setValue(""),e.controls.other_organisation_owner.clearValidators(),this.isOrganisationOwner[n]=!1),e.controls.other_organisation_owner.updateValueAndValidity()},l.prototype.createreferance=function(){return this.fb.group({reference_name:[null],mobile:["",Jf.y.compose([Jf.y.minLength(10),Jf.y.maxLength(10)])],statecode:[null],landline:[null],location:[null],relationship_with:[null],others:[null],year_relation_applicant:[null],months_relation_applicant:[null],business_volume_amount:[null],business_volume_unit:[null],others_unit:[null],reference_final_remarks:[null],specify_final_remark:[null]})},l.prototype.addreferance=function(){this.neighbourhoodForm.controls.referencecheck_list.push(this.createreferance())},l.prototype.removereferance=function(l){var n=this.neighbourhoodForm.controls.referencecheck_list;1==n.length?n.reset():n.removeAt(l)},l.prototype.createNeighbourhood=function(){return this.fb.group({neighbourhood_name:[null],do_know:[""],how_long_do_know_in_year:[""],how_long_do_know_in_month:[""],organisation_owner:[""],is_applicant_owner:[""],other_organisation_owner:[""],did_not_know_the_business_operation:[""],did_not_know_the_owner:[""]})},l.prototype.addneighbourhood=function(){this.neighbourhoodForm.controls.neighbourhood_list.push(this.createNeighbourhood())},l.prototype.removeneighbourhood=function(l){var n=this.neighbourhoodForm.controls.neighbourhood_list;1==n.length?n.reset():n.removeAt(l)},l.prototype.submitData=function(l){var n=this,e=this.neighbourhoodForm.controls.neighbourhood_list,u=e.controls.length;if(u>0){for(var t=0;t0?(a.forEach(function(n,u){l.toggleVisibility(n.did_not_know_the_business_operation,u,1),l.toggleVisibility(n.did_not_know_the_owner,u,2),e.push(l.createNeighbourhood()),l.getOtherOrganisationOwner(n.organisation_owner,u)}),l.neighbourhoodForm.controls.neighbourhood_list.setValue(a)):l.addneighbourhood();var i=Object.keys(u.records.referencecheck_list).map(function(l){return u.records.referencecheck_list[l]});console.log("referencecheck_list",i),console.log("length",i.length),i.length>0?(l.neighbourhoodForm.controls.neighbour_reference_remark.setValue(t.neighbour_reference_remark),i.forEach(function(e,u){var t=e.landline.search("-");i[u].statecode=e.landline.substr(0,t),i[u].landline=e.landline.substr(+t+1,8),n.push(l.createreferance())}),l.neighbourhoodForm.controls.referencecheck_list.setValue(i)):l.addreferance()}else l.addneighbourhood(),l.addreferance()})},l=Mg([Object(Df.k)({selector:"page-pd-question-neighbour-hood",templateUrl:"pd-question-neighbour-hood.html"}),Kg("design:paramtypes",[Tf.r,Tf.s,zf,ah,ch,Jf.g,Mf])],l)}(),Gg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Yg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},zg=function(){function l(l,n,e,u,t,a){this.navCtrl=l,this.navParams=n,this.fb=e,this.qustcat=u,this.aws=t,this.toast=a,this.m_remarkTypeCustomerBehaviour=[],this.m_recommendationList=[],this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.users=t.getlocale(),this._finalRemarkForm=this.fb.group({fk_createdby:[this.users],pdid:[this.pdid],formid:[this.FormId.form_id],final_custormer_remark_type:[null],final_other_customer_behaviour:[null],is_service_provided:[null],final_form_remarks:[null],pd_officers_recommendation:[null],others_pd_officers_recommendation:[""],recommendation_positive:this.fb.array([]),recommendation_negative:this.fb.array([]),recommendation_refer_to_credit:this.fb.array([])}),this.getDropDown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionFinalRemarkPage"),this.getFinalRemark()},l.prototype.getDropDown=function(){var l=this;this.qustcat.getcommondrop("CUSTOMERBEHAVIOUR").subscribe(function(n){l.m_remarkTypeCustomerBehaviour=n.records.filter(function(l){return 1==l.isactive})}),this.qustcat.getcommondrop("PDOFFICERRECOMMENDATIONS").subscribe(function(n){l.m_recommendationList=n.records})},l.prototype.createRecomendationPositive=function(l){return console.log("val",l),this.fb.group({reason_for_positive:null!=l?[l.reason_for_positive]:[""]})},l.prototype.addRecomendationPositive=function(){this._finalRemarkForm.controls.recommendation_positive.push(this.createRecomendationPositive(null))},l.prototype.removeRecomendationPositive=function(l){this._finalRemarkForm.controls.recommendation_positive.removeAt(l)},l.prototype.createRecomendationNegative=function(l){return this.fb.group({reason_for_negative:null!=l?[l.reason_for_negative]:[""]})},l.prototype.addRecomendationNegative=function(){this._finalRemarkForm.controls.recommendation_negative.push(this.createRecomendationNegative(null))},l.prototype.removeRecomendationNegative=function(l){this._finalRemarkForm.controls.recommendation_negative.removeAt(l)},l.prototype.createRecomendationCreditRefer=function(l){return this.fb.group({reason_for_refer_to_credit:null!=l?[l.reason_for_refer_to_credit]:[""]})},l.prototype.addRecomendationCreditRefer=function(){this._finalRemarkForm.controls.recommendation_refer_to_credit.push(this.createRecomendationCreditRefer(null))},l.prototype.removeRecomendationCreditRefer=function(l){this._finalRemarkForm.controls.recommendation_refer_to_credit.removeAt(l)},l.prototype.RecommendationChange=function(l){var n=this._finalRemarkForm.get("recommendation_positive"),e=this._finalRemarkForm.get("recommendation_negative"),u=this._finalRemarkForm.get("recommendation_refer_to_credit");if(1==l){if(this._finalRemarkForm.controls.others_pd_officers_recommendation.setValidators([Jf.y.required]),this._finalRemarkForm.controls.others_pd_officers_recommendation.updateValueAndValidity(),e.controls.length>0)for(var t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0)for(t=0;t0){var e=l._finalRemarkForm.get("recommendation_positive");n.records.recommendation_positive.forEach(function(n,u){if(console.log("for",n),null!=n.reason_for_positive){e.push(l.createRecomendationPositive({reason_for_positive:n.reason_for_positive}))}})}if(n.records.recommendation_negative.length>0){var u=l._finalRemarkForm.get("recommendation_negative");n.records.recommendation_negative.forEach(function(n,e){console.log("for",n);u.push(l.createRecomendationNegative({reason_for_negative:n.reason_for_negative}))})}if(n.records.recommendation_refer_to_credit.length>0){var t=l._finalRemarkForm.get("recommendation_refer_to_credit");n.records.recommendation_refer_to_credit.forEach(function(n){t.push(l.createRecomendationCreditRefer({reason_for_refer_to_credit:n.reason_for_refer_to_credit}))})}l._finalRemarkForm.controls.final_form_remarks.setValue(n.records.final_form_remarks)}else{l._finalRemarkForm.get("recommendation_positive").push(l.createRecomendationPositive(null));l._finalRemarkForm.get("recommendation_negative").push(l.createRecomendationNegative(null));l._finalRemarkForm.get("recommendation_refer_to_credit").push(l.createRecomendationCreditRefer(null))}})},l.prototype.saveFinalRemark=function(){var l=this;if(this._finalRemarkForm.invalid)this.toast.pdTriggerappmessage("Please Fill all the Fields marked with '*' ");else{var n=this._finalRemarkForm.value;Object.keys(n).forEach(function(l){return null==n[l]&&delete n[l]}),this.qustcat.saveForm(n).subscribe(function(n){1==n.dataStatus?(l.toast.pdTriggerappmessage("Record Saved Successfully"),setTimeout(function(){l.navCtrl.pop()},2e3)):l.toast.pdTriggerappmessage("Sorry!! Something Went Wrong")})}},l=Gg([Object(Df.k)({selector:"page-pd-question-final-remark",templateUrl:"pd-question-final-remark.html"}),Yg("design:paramtypes",[Tf.r,Tf.s,Jf.g,ah,zf,ch])],l)}(),Qg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Jg=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Xg=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.qustCat=t,this.fb=a,this.cons=i,this.stateList=[],this.applicants=[],this.businessEntityTypeList={business_entity_type_id:String,business_entity_type_name:String,sourcsection_labeleName:String},this.relationData=[],this.industryData=[],this.activityData=[],this.companyRelationShipList=[],this.countryDataList=[],this.filterCityList=[],this.errorMessage=[],this.titleData=[],this.personsList=[],this.ExportFlag=!1,this.bankList=[],this.temp_additiondetailofposmachine=[],this.isreadonlyyear=[],this.isreadonlymonth=[],this.EntityTypeFlag=!1,this.yearErrorMessage=[],this.monthErrorMessage=[],this.errorMessageForExistTotalWorkExperience=[],this.ManufacturingCounterArray=[],this.RetailCounterArray=[],this.WholeSaleCounterArray=[],this.ServiceCounterArray=[],this.getStateCityDet(),this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.formdetails=this.navParams.get("formDetails"),this.FormId=this.formdetails.form_id,this.users=this.aws.getlocale(),this.applicants=this.pdDetails.applicat_details,this.generalExistEntityType=this.pdDetails.business_entity_type,this.generalExistEntityType_other=this.pdDetails.business_entity_type_other,this.generalExistBusinessYear=this.pdDetails.business_years,this.generalExistBusinessMonth=this.pdDetails.business_month,this.step=0,this.businessForm=this.fb.group({fk_createdby:[this.users],pdid:[this.pdid],formid:[this.FormId],company_id:this.pdDetails.company_id,partners:this.fb.array([]),persons_with_relationships:this.fb.array([]),select_business_activity_type:this.fb.array([]),manufacturing_activity_details:this.fb.array([]),retail_trading_activity_details:this.fb.array([]),wholesale_trading_activity_details:this.fb.array([]),service_provider_activity_details:this.fb.array([]),export_sale_of_total_sales:[""],seasonality:[""],employees_total:["",Jf.y.compose([Jf.y.required])],employees_permanent:["",Jf.y.compose([Jf.y.required])],employees_temporary:["",Jf.y.compose([Jf.y.required])],employees_appx_salary:[""],was_the_company_name_board_sighted:["",Jf.y.compose([Jf.y.required])],officer_total:["",Jf.y.compose([Jf.y.required])],shop_eat_act_cert:[""],gst_Regn_cert:[""],pf_regn:[""],esic_regn:[""],other_documents:[""],documents:this.fb.array([]),business_remarks:[""]}),this.getdropdown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessInfoPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("RELATIONSHIPS").subscribe(function(n){n.records.forEach(function(n){1==n.isactive&&l.relationData.push(n)})}),this.qustCat.getcommondrop("INDUSTRYCLASSIFICATION").subscribe(function(n){n.records.forEach(function(n){1==n.isactive&&l.industryData.push(n)})}),this.qustCat.getcommondrop("TYPEOFACTIVITY").subscribe(function(n){n.records.forEach(function(n){1==n.isactive&&1!=n.type_of_activity_id&&l.activityData.push(n)})}),this.qustCat.getcommondrop("BUSINESSENTITYTYPE").subscribe(function(n){var e=n.records.filter(function(n){return n.business_entity_type_id==l.generalExistEntityType});l.businessEntityTypeList.business_entity_type_id=1==e[0].business_entity_type_id,l.businessEntityTypeList.business_entity_type_name=1!=e[0].business_entity_type_id?e[0].business_entity_type_name:l.generalExistEntityType_other,l.businessEntityTypeList.section_label=1!=e[0].business_entity_type_id?e[0].section_label:l.generalExistEntityType_other,"OPC (One Person Company)"!=l.businessEntityTypeList.business_entity_type_name&&"Sole proprietorship"!=l.businessEntityTypeList.business_entity_type_name||(l.EntityTypeFlag=!0)}),this.qustCat.getcommondrop("COMPANYRELATIONSHIPS").subscribe(function(n){l.companyRelationShipList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("COUNTRY").subscribe(function(n){l.countryDataList=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getcommondrop("TITLES").subscribe(function(n){l.titleData=n.records.filter(function(l){return 1==l.isactive})}),this.qustCat.getAllPersonsName(this.pdid).subscribe(function(n){n.dataStatus&&(l.personsList=n.record.filter(function(l){return 1==l.applicant_type}))}),this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){l.bankList=n.records.filter(function(l){return 1==l.isactive&&1==l.lender_type})})},l.prototype.getStateCityDet=function(){var l=this;this.qustCat.getStateCityDetails().subscribe(function(n){l.stateList=n.records,l.getDetails()})},l.prototype.changeOfStartedBusiness=function(l,n,e){"yes"==e?(l.controls.current_business_experiance_year.setValue(this.generalExistBusinessYear),this.isreadonlyyear[n]=void 0!=this.generalExistBusinessYear,l.controls.current_business_experiance_month.setValue(this.generalExistBusinessMonth),this.isreadonlymonth[n]=void 0!=this.generalExistBusinessMonth):(this.isreadonlyyear[n]=!1,this.isreadonlymonth[n]=!1)},l.prototype.getDetails=function(){var l=this,n={};n.pd_id=this.pdid,n.pd_form_id=13,n.company_id=this.pdDetails.company_id,this.qustCat.retiverForm(n).subscribe(function(n){var e=n.records,u=l.businessForm.controls.partners,t=l.businessForm.controls.persons_with_relationships,a=l.businessForm.controls.select_business_activity_type,i=l.businessForm.controls.manufacturing_activity_details,o=l.businessForm.controls.retail_trading_activity_details,r=l.businessForm.controls.wholesale_trading_activity_details,_=l.businessForm.controls.service_provider_activity_details,d=l.businessForm.controls.documents;if(200==n.status){var s=void 0,c=Object.keys(n.records.partners).map(function(l){return n.records.partners[l]});if(0==c.length?u.push(l.createPartners()):c.forEach(function(n,e){u.push(l.createPartners()),"Others"==n.partner_name&&u.controls[e].addControl("partner_other_name",new Jf.h("",Jf.y.required)),parseInt(n.total_business_experiance)>parseInt(n.current_business_experiance_year)?u.controls[e].addControl("total_business_previous_experience",new Jf.h("",Jf.y.required)):u.controls[e].removeControl("total_business_previous_experience")}),n.records.persons_with_relationships){var m=Object.keys(n.records.persons_with_relationships).map(function(l){return n.records.persons_with_relationships[l]});m.length>0?(m.forEach(function(n,e){t.push(l.createRelationShip())}),e.persons_with_relationships=m):e.persons_with_relationships=[]}else e.persons_with_relationships=[];"yes"==n.records.other_documents?(s=Object.keys(n.records.documents).map(function(l){return n.records.documents[l]})).forEach(function(n){d.push(l.createDocument())}):(s=[{document:""}],d.push(l.createDocument())),e.pdid=l.pdid,e.formid=13,e.company_id=l.pdDetails.company_id,e.fk_createdby=l.users,e.partners=c,e.documents=s,e.employees_appx_salary&&(l.appxSalaryAmtInwords=l.cons.convertNumberToWords(e.employees_appx_salary));var p=l.activityData.map(function(l){return{name:l.name,type_of_activity_id:l.type_of_activity_id}}),f=[];n.records.select_business_activity_type&&(f=Object.keys(n.records.select_business_activity_type).map(function(l){return n.records.select_business_activity_type[l].type_of_activity_id}));var h=p.map(function(l){return l.type_of_activity_id}).map(function(l,n){return f.indexOf(l)<0?(p[n].exist_status=0,p[n]):(p[n].exist_status=1,p[n])}).filter(function(l){return void 0!=l});if(h.length>0&&(h.forEach(function(n,e){a.push(l.createBusinessActivity(n))}),e.select_business_activity_type=h),n.records.manufacturing_activity_details){var g=Object.keys(n.records.manufacturing_activity_details).map(function(l){return n.records.manufacturing_activity_details[l]});g.length>0?(g.length>0?l.businessForm.addControl("export_import_cert",new Jf.h("",Jf.y.required)):l.businessForm.removeControl("export_import_cert"),g.length>0?l.businessForm.addControl("factory_cert",new Jf.h("",Jf.y.required)):l.businessForm.removeControl("factory_cert"),g.forEach(function(n,e){l.CheckExport(n.area_of_sale,"MActivity",e),i.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(i.controls[e].addControl("india_where_sale_done",l.fb.array([])),i.controls[e].addControl("pan_india_options",new Jf.h("",Jf.y.required)),n.india_where_sale_done.forEach(function(n,u){i.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),i.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){i.controls[e].get("max_sale_state_name").push(l.maxSaleState())})):"Export"==n.area_of_sale?(i.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){i.controls[e].get("countries_where_export_done").push(l.createCountrySale())})):"Both"==n.area_of_sale&&(i.controls[e].addControl("india_where_sale_done",l.fb.array([])),i.controls[e].addControl("pan_india_options",new Jf.h("",Jf.y.required)),i.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){i.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){i.controls[e].get("max_sale_state_name").push(l.maxSaleState())}),i.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){i.controls[e].get("countries_where_export_done").push(l.createCountrySale())}))}),e.manufacturing_activity_details=g):e.manufacturing_activity_details=[]}else e.manufacturing_activity_details=[];if(n.records.retail_trading_activity_details){var b=Object.keys(n.records.retail_trading_activity_details).map(function(l){return n.records.retail_trading_activity_details[l]});b.length>0?(b.length>0?l.businessForm.addControl("export_import_cert",new Jf.h("",Jf.y.required)):l.businessForm.removeControl("export_import_cert"),b.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new Jf.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),b.length>0?l.businessForm.addControl("applicant_use_pos_machines",new Jf.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),b.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("no_of_pos_machines",new Jf.h("")):l.businessForm.removeControl("no_of_pos_machines"),b.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("pos_machines_details",l.fb.array([])):l.businessForm.removeControl("pos_machines_details"),b.forEach(function(n,e){l.CheckExport(n.area_of_sale,"RActivity",e),o.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(o.controls[e].addControl("india_where_sale_done",l.fb.array([])),o.controls[e].addControl("pan_india_options",new Jf.h("",Jf.y.required)),n.india_where_sale_done.forEach(function(n,u){o.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),o.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){o.controls[e].get("max_sale_state_name").push(l.maxSaleState())})):"Export"==n.area_of_sale?(o.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){o.controls[e].get("countries_where_export_done").push(l.createCountrySale())})):"Both"==n.area_of_sale&&(o.controls[e].addControl("india_where_sale_done",l.fb.array([])),o.controls[e].addControl("pan_india_options",new Jf.h("",Jf.y.required)),o.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){o.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){o.controls[e].get("max_sale_state_name").push(l.maxSaleState())}),o.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){o.controls[e].get("countries_where_export_done").push(l.createCountrySale())}))}),e.retail_trading_activity_details=b):e.retail_trading_activity_details=[]}else e.retail_trading_activity_details=[];if(n.records.wholesale_trading_activity_details){var v=Object.keys(n.records.wholesale_trading_activity_details).map(function(l){return n.records.wholesale_trading_activity_details[l]});v.length>0?(v.length>0?l.businessForm.addControl("export_import_cert",new Jf.h("",Jf.y.required)):l.businessForm.removeControl("export_import_cert"),v.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new Jf.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),v.length>0?l.businessForm.addControl("applicant_use_pos_machines",new Jf.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),v.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("no_of_pos_machines",new Jf.h("")):l.businessForm.removeControl("no_of_pos_machines"),v.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("pos_machines_details",l.fb.array([])):l.businessForm.removeControl("pos_machines_details"),v.forEach(function(n,e){l.CheckExport(n.area_of_sale,"WActivity",e),r.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(r.controls[e].addControl("india_where_sale_done",l.fb.array([])),r.controls[e].addControl("pan_india_options",new Jf.h("",Jf.y.required)),n.india_where_sale_done.forEach(function(n,u){r.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),r.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){r.controls[e].get("max_sale_state_name").push(l.maxSaleState())})):"Export"==n.area_of_sale?(r.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){r.controls[e].get("countries_where_export_done").push(l.createCountrySale())})):"Both"==n.area_of_sale&&(r.controls[e].addControl("india_where_sale_done",l.fb.array([])),r.controls[e].addControl("pan_india_options",new Jf.h("",Jf.y.required)),r.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){r.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){r.controls[e].get("max_sale_state_name").push(l.maxSaleState())}),r.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){r.controls[e].get("countries_where_export_done").push(l.createCountrySale())}))}),e.wholesale_trading_activity_details=v):e.wholesale_trading_activity_details=[]}else e.wholesale_trading_activity_details=[];if(n.records.service_provider_activity_details){var y=Object.keys(n.records.service_provider_activity_details).map(function(l){return n.records.service_provider_activity_details[l]});y.length>0?(y.length>0?l.businessForm.addControl("practice_cert",new Jf.h("",Jf.y.required)):l.businessForm.removeControl("practice_cert"),y.length>0?l.businessForm.addControl("applicant_use_mobile_wallets",new Jf.h("")):l.businessForm.removeControl("applicant_use_mobile_wallets"),y.length>0?l.businessForm.addControl("applicant_use_pos_machines",new Jf.h("")):l.businessForm.removeControl("applicant_use_pos_machines"),y.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("no_of_pos_machines",new Jf.h("")):l.businessForm.removeControl("no_of_pos_machines"),y.length>0&&"yes"==e.applicant_use_pos_machines?l.businessForm.addControl("pos_machines_details",l.fb.array([])):l.businessForm.removeControl("pos_machines_details"),y.forEach(function(n,e){l.CheckExport(n.area_of_sale,"SPActivity",e),_.push(l.manufactureDetails()),"Within India"==n.area_of_sale?(_.controls[e].addControl("india_where_sale_done",l.fb.array([])),_.controls[e].addControl("pan_india_options",new Jf.h("",Jf.y.required)),n.india_where_sale_done.forEach(function(n,u){_.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),_.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.max_sale_state_name.forEach(function(n,u){_.controls[e].get("max_sale_state_name").push(l.maxSaleState())})):"Export"==n.area_of_sale?(_.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){_.controls[e].get("countries_where_export_done").push(l.createCountrySale())})):"Both"==n.area_of_sale&&(_.controls[e].addControl("india_where_sale_done",l.fb.array([])),_.controls[e].addControl("pan_india_options",new Jf.h("",Jf.y.required)),_.controls[e].addControl("max_sale_state_name",l.fb.array([])),n.india_where_sale_done.forEach(function(n,u){_.controls[e].get("india_where_sale_done").push(l.indiaSalesDone())}),n.max_sale_state_name.forEach(function(n,u){_.controls[e].get("max_sale_state_name").push(l.maxSaleState())}),_.controls[e].addControl("countries_where_export_done",l.fb.array([])),n.countries_where_export_done.forEach(function(n,u){_.controls[e].get("countries_where_export_done").push(l.createCountrySale())}))}),e.service_provider_activity_details=y):e.service_provider_activity_details=[]}else e.service_provider_activity_details=[];if(n.dataStatus&&"YES"==n.records.seasonality.toUpperCase()&&(l.businessForm.addControl("peak_period_of_business",new Jf.h("",Jf.y.required)),l.businessForm.addControl("month_of_business_run",new Jf.h("",Jf.y.required))),"yes"==e.applicant_use_pos_machines){l.businessForm.controls.no_of_pos_machines.setValue(e.no_of_pos_machines);for(var C=l.businessForm.controls.pos_machines_details,w=1;w<=e.no_of_pos_machines;w++)C.push(l.createPOSMachinesDetails(e.pos_machines_details))}l.businessForm.setValue(e)}else{u.push(l.createPartners()),t.push(l.createRelationShip());var F=l.activityData.map(function(l){return{name:l.name,type_of_activity_id:l.type_of_activity_id,exist_status:0}});F.length>0&&F.forEach(function(n){a.push(l.createBusinessActivity(n))})}}),this.businessForm.controls.seasonality.valueChanges.subscribe(function(n){"YES"==n.toUpperCase()?l.businessForm.addControl("peak_period_of_business",new Jf.h("",Jf.y.required)):l.businessForm.removeControl("peak_period_of_business"),"YES"==n.toUpperCase()?l.businessForm.addControl("month_of_business_run",new Jf.h("",Jf.y.required)):l.businessForm.removeControl("month_of_business_run")})},l.prototype.filterCity=function(l,n){if(n){var e=this.stateList.filter(function(l){return l.state_id==n});return e.length>0?e[0].cities:[]}},l.prototype.filterMaxSaleState=function(l,n){if(this.filterCityList=n,n){var e=l.map(function(l){return l.state_id}),u=[];return(u=n.filter(function(l){return l.state_name}).map(function(l){return l.state_name}).map(function(n){var u=e.indexOf(n);return l[u]})).length>0?u:[]}},l.prototype.filterMaxSaleCities=function(l,n,e){var u=e.filter(function(l){return""!=l.city_name}).map(function(l){return l.city_name});if(u=[].concat.apply([],u),n){var t=l.map(function(l){return l.state_id}),a=n.map(function(n){var e=t.indexOf(n);return e=l[e].cities}),i=[].concat.apply([],a);if(i.length>0){return i.filter(function(l){return u.some(function(n){return l.city_id==n})})}return[]}return[]},l.prototype.checkTotalEmployee=function(l){this.businessForm.controls.employees_total.setValue((+l.value.employees_permanent||0)+(+l.value.employees_temporary||0))},l.prototype.checkWithExistBusinessYear=function(l,n,e){+l>this.generalExistBusinessYear?(this.yearErrorMessage[n]="Higher than Business Vintage",e.controls.current_business_experiance_year.setValue("")):this.yearErrorMessage[n]=""},l.prototype.checkWithExistTotalWorkExperience=function(l,n,e){+e.value.current_business_experiance_year>+l?(this.errorMessageForExistTotalWorkExperience[n]="Total Experience is Lower Than Experience in The Current Company",e.controls.total_business_experiance.setValue("")):this.errorMessageForExistTotalWorkExperience[n]=""},l.prototype.changeBusinessActivity=function(l){if(1==l.value.exist_status&&2==l.value.type_of_activity_id){this.ManufacturingChecked=l.value.exist_status;(n=this.businessForm.controls.manufacturing_activity_details).controls=[],n.setValue([])}else if(0==l.value.exist_status&&2==l.value.type_of_activity_id){this.ManufacturingChecked=l.value.exist_status;var n;(n=this.businessForm.controls.manufacturing_activity_details).push(this.manufactureDetails())}if(1==l.value.exist_status&&3==l.value.type_of_activity_id){this.RetailedChecked=l.value.exist_status;(e=this.businessForm.controls.retail_trading_activity_details).controls=[],e.setValue([])}else if(0==l.value.exist_status&&3==l.value.type_of_activity_id){this.RetailedChecked=l.value.exist_status;var e;(e=this.businessForm.controls.retail_trading_activity_details).push(this.manufactureDetails())}if(1==l.value.exist_status&&4==l.value.type_of_activity_id){this.WholeSalesChecked=l.value.exist_status;(u=this.businessForm.controls.wholesale_trading_activity_details).controls=[],u.setValue([])}else if(0==l.value.exist_status&&4==l.value.type_of_activity_id){this.WholeSalesChecked=l.value.exist_status;var u;(u=this.businessForm.controls.wholesale_trading_activity_details).push(this.manufactureDetails())}if(1==l.value.exist_status&&5==l.value.type_of_activity_id){this.ServiceChecked=l.value.exist_status;(t=this.businessForm.controls.service_provider_activity_details).controls=[],t.setValue([])}else if(0==l.value.exist_status&&5==l.value.type_of_activity_id){this.ServiceChecked=l.value.exist_status;var t;(t=this.businessForm.controls.service_provider_activity_details).push(this.manufactureDetails())}this.businessForm.value.manufacturing_activity_details.length>0||this.businessForm.value.retail_trading_activity_details.length>0||this.businessForm.value.wholesale_trading_activity_details.length>0?this.businessForm.addControl("export_import_cert",new Jf.h(this.businessForm.value.export_import_cert,Jf.y.required)):this.businessForm.removeControl("export_import_cert"),this.businessForm.value.manufacturing_activity_details.length>0?this.businessForm.addControl("factory_cert",new Jf.h(this.businessForm.value.factory_cert,Jf.y.required)):this.businessForm.removeControl("factory_cert"),this.businessForm.value.service_provider_activity_details.length>0?this.businessForm.addControl("practice_cert",new Jf.h(this.businessForm.value.practice_cert,Jf.y.required)):this.businessForm.removeControl("practice_cert"),this.businessForm.value.service_provider_activity_details.length>0||this.businessForm.value.retail_trading_activity_details.length>0||this.businessForm.value.wholesale_trading_activity_details.length>0?this.businessForm.addControl("applicant_use_mobile_wallets",new Jf.h(this.businessForm.value.applicant_use_mobile_wallets)):this.businessForm.removeControl("applicant_use_mobile_wallets"),this.businessForm.value.service_provider_activity_details.length>0||this.businessForm.value.retail_trading_activity_details.length>0||this.businessForm.value.wholesale_trading_activity_details.length>0?this.businessForm.addControl("applicant_use_pos_machines",new Jf.h(this.businessForm.value.applicant_use_pos_machines)):this.businessForm.removeControl("applicant_use_pos_machines"),(this.ManufacturingChecked||void 0==this.ManufacturingChecked&&this.RetailedChecked||void 0==this.RetailedChecked&&this.WholeSalesChecked||void 0==this.WholeSalesChecked&&this.ServiceChecked||void 0==this.ServiceChecked)&&(this.ExportFlag=!1)},l.prototype.changeManufacturingAreaSale=function(l,n){var e=this.businessForm.get("manufacturing_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new Jf.h("",Jf.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new Jf.h("",Jf.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changeRetailAreaSale=function(l,n){var e=this.businessForm.get("retail_trading_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new Jf.h("",Jf.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new Jf.h("",Jf.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changeWholesaleAreaSale=function(l,n){var e=this.businessForm.get("wholesale_trading_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new Jf.h("",Jf.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new Jf.h("",Jf.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changeServiceArea=function(l,n){var e=this.businessForm.get("service_provider_activity_details");"Within India"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("pan_india_options",new Jf.h("",Jf.y.required)),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"Export"==l.value.area_of_sale?(e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()]))):"Both"==l.value.area_of_sale&&(e.controls[n].removeControl("india_where_sale_done"),e.controls[n].removeControl("countries_where_export_done"),e.controls[n].removeControl("pan_india_options"),e.controls[n].removeControl("max_sale_state_name"),e.controls[n].addControl("india_where_sale_done",this.fb.array([])),e.controls[n].addControl("pan_india_options",new Jf.h("",Jf.y.required)),e.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])),e.controls[n].addControl("countries_where_export_done",this.fb.array([this.createCountrySale()])))},l.prototype.changePanIndiaOptions=function(l,n,e){if(1==l){(u=this.businessForm.get("manufacturing_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}else if(2==l){(u=this.businessForm.get("retail_trading_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}else if(3==l){(u=this.businessForm.get("wholesale_trading_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}else if(4==l){var u;(u=this.businessForm.get("service_provider_activity_details")).controls[n].removeControl("india_where_sale_done"),u.controls[n].removeControl("max_sale_state_name"),"Yes"==e?(u.controls[n].addControl("india_where_sale_done",this.fb.array([])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()]))):"No"==e&&(u.controls[n].addControl("india_where_sale_done",this.fb.array([this.indiaSalesDone()])),u.controls[n].addControl("max_sale_state_name",this.fb.array([this.maxSaleState()])))}},l.prototype.changePartnerGroup=function(l,n){var e=this.businessForm.get("partners");"Others"==l?e.controls[n].addControl("partner_other_name",new Jf.h("",Jf.y.required)):e.controls[n].removeControl("partner_other_name")},l.prototype.createDesignation=function(){return this.fb.group({sec_name:["",Jf.y.compose([Jf.y.required])],sec_designation:["",Jf.y.compose([Jf.y.required])]})},l.prototype.keyPress=function(l){var n=String.fromCharCode(l.charCode);8==l.keyCode||/[0-9]/.test(n)||l.preventDefault()},l.prototype.getWorkExperience=function(l,n){var e=""==l.current_business_experiance_year?0:parseInt(l.current_business_experiance_year),u=""==l.total_business_experiance?0:parseInt(l.total_business_experiance),t=this.businessForm.get("partners");u>e?t.controls[n].addControl("total_business_previous_experience",new Jf.h("",Jf.y.required)):t.controls[n].removeControl("total_business_previous_experience")},l.prototype.ConvertMonthintoYear=function(l,n,e){console.log("datas",n,e);var u=n%12,t=n/12;l.controls.current_business_experiance_year.setValue(+l.controls.current_business_experiance_year.value+ +Math.floor(t)),l.controls.current_business_experiance_month.setValue(Math.floor(u))},l.prototype.createPartners=function(){return this.fb.group({partner_name:["",Jf.y.compose([Jf.y.required])],shareholding:[""],started_business:[""],current_business_experiance_year:[""],current_business_experiance_month:[""],total_business_experiance:[""],total_business_previous_experience:[""]})},l.prototype.createRelationShip=function(){return this.fb.group({family_member_salutation:[""],family_member_name:[""],other_family_relationship_id:[""],relation_to_id:[""],relationship_with_company_id:[""],started_business:[""]})},l.prototype.createBusinessActivity=function(l){return this.fb.group({type_of_activity_id:[l.type_of_activity_id,Jf.y.compose([Jf.y.required])],name:[l.name,Jf.y.compose([Jf.y.required])],exist_status:[1==l.exist_status]})},l.prototype.createServiceActivity=function(){return this.fb.group({main_products:["",Jf.y.compose([Jf.y.required])],area_of_sale:["",Jf.y.compose([Jf.y.required])],description:[""]})},l.prototype.createOthersActivity=function(){return this.fb.group({others_details:["",Jf.y.compose([Jf.y.required])]})},l.prototype.manufactureDetails=function(){return this.fb.group({main_products:[""],area_of_sale:[""],description:[""]})},l.prototype.indiaSalesDone=function(){return this.fb.group({state_name:[""],city_name:[""]})},l.prototype.maxSaleState=function(){return this.fb.group({state_name:[""],city_name:[""]})},l.prototype.createDocument=function(){return this.fb.group({document:[""]})},l.prototype.addDesignation=function(){this.businessForm.controls.designation.push(this.createDesignation())},l.prototype.deleteDesignation=function(l){var n=this.businessForm.controls.designation;1==n.length?this.businessForm.controls.designation.reset():n.removeAt(l)},l.prototype.addPartnerDetails=function(l){var n=this.businessForm.controls.partners;l.stopPropagation();this.step=n.length,n.push(this.createPartners())},l.prototype.addPersonRelationship=function(l){l.stopPropagation();var n=this.businessForm.controls.persons_with_relationships;this.step=n.length,n.push(this.createRelationShip())},l.prototype.deletePersonRelationship=function(l){this.businessForm.controls.persons_with_relationships.removeAt(l)},l.prototype.deletePartnerDetails=function(l){var n=this.businessForm.controls.partners;1==n.length?this.businessForm.controls.partners.reset():n.removeAt(l)},l.prototype.addMoreManufacturing=function(){this.businessForm.controls.manufacturing_activity_details.push(this.manufactureDetails())},l.prototype.removeManufacturing=function(l){var n=this.businessForm.controls.manufacturing_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.addMoreRetail=function(){this.businessForm.controls.retail_trading_activity_details.push(this.manufactureDetails())},l.prototype.removeRetail=function(l){var n=this.businessForm.controls.retail_trading_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.addMoreWholesale=function(){this.businessForm.controls.wholesale_trading_activity_details.push(this.manufactureDetails())},l.prototype.removeWholesale=function(l){var n=this.businessForm.controls.wholesale_trading_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.addMoreServiceprovider=function(){this.businessForm.controls.service_provider_activity_details.push(this.manufactureDetails())},l.prototype.removeServiceProvider=function(l){var n=this.businessForm.controls.service_provider_activity_details;n.length>1?n.removeAt(l):n.reset()},l.prototype.createCountrySale=function(){return this.fb.group({country_name:["",Jf.y.compose([Jf.y.required])],approx_sale:["",Jf.y.compose([Jf.y.required])]})},l.prototype.addMoreState=function(l,n){if(1==n){this.businessForm.get("manufacturing_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("manufacturing_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeState=function(l,n,e){if(1==e){this.businessForm.get("manufacturing_activity_details").controls[l].get("india_where_sale_done").removeAt(n)}else if(2==e){this.businessForm.get("manufacturing_activity_details").controls[l].get("countries_where_export_done").removeAt(n)}},l.prototype.addRetailMoreState=function(l,n){if(1==n){this.businessForm.get("retail_trading_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("retail_trading_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeRetailState=function(l,n,e){if(1==e){this.businessForm.get("retail_trading_activity_details").controls[l].get("india_where_sale_done").removeAt(n)}else if(2==e){this.businessForm.get("retail_trading_activity_details").controls[l].get("countries_where_export_done").removeAt(n)}},l.prototype.addWholesaleMoreState=function(l,n){if(1==n){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeWholesaleState=function(l,n,e){if(1==e){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("india_where_sale_done").removeAt(n)}else if(2==e){this.businessForm.get("wholesale_trading_activity_details").controls[l].get("countries_where_export_done").removeAt(n)}},l.prototype.addServiceMoreState=function(l,n){if(1==n){this.businessForm.get("service_provider_activity_details").controls[l].get("india_where_sale_done").push(this.indiaSalesDone())}else if(2==n){this.businessForm.get("service_provider_activity_details").controls[l].get("countries_where_export_done").push(this.createCountrySale())}},l.prototype.removeServiceState=function(l,n,e){if(1==e){var u=this.businessForm.get("service_provider_activity_details");(u=u.controls[l].get("india_where_sale_done")).removeAt(n)}else if(2==e){var t=this.businessForm.get("service_provider_activity_details");(t=t.controls[l].get("countries_where_export_done")).removeAt(n)}},l.prototype.addDocuments=function(){this.businessForm.controls.documents.push(this.createDocument())},l.prototype.deleteDocuments=function(l){var n=this.businessForm.controls.documents;1==n.length?this.businessForm.controls.documents.reset():n.removeAt(l)},l.prototype.relationChanged=function(l){var n=this;this.relativeNames=[],l.value.forEach(function(l){n.relativeNames.push({member:l})})},l.prototype.createPOSMachinesDetails=function(l){return this.fb.group(null==l?{pos_machines_financial_institution_name:[""],tid_no_of_pos_machine:[""]}:{pos_machines_financial_institution_name:[l.pos_machines_financial_institution_name],tid_no_of_pos_machine:[l.tid_no_of_pos_machine]})},l.prototype.initBusinessForm=function(){this.businessForm=this.fb.group({pdid:this.pdDetails.pd_id,formid:this.FormId.form_id,fk_createdby:this.users,profession_name:["",Jf.y.compose([Jf.y.required])],business_years:["",Jf.y.compose([Jf.y.required])],industry:["",Jf.y.compose([Jf.y.required])],type_of_activity:["",Jf.y.compose([Jf.y.required])],seasonality:["",Jf.y.compose([Jf.y.required])],designation:this.fb.array([]),partners:this.fb.array([]),employees_total:["",Jf.y.compose([Jf.y.required])],employees_permanent:["",Jf.y.compose([Jf.y.required])],employees_temporary:["",Jf.y.compose([Jf.y.required])],officer_total:["",Jf.y.compose([Jf.y.required])],officer_permanent:["",Jf.y.compose([Jf.y.required])],officer_temporary:["",Jf.y.compose([Jf.y.required])],invested_amount:["",Jf.y.compose([Jf.y.required])],working_capital:["",Jf.y.compose([Jf.y.required])],is_service_provided:["",Jf.y.compose([Jf.y.required])],ownership_setup:["",Jf.y.compose([Jf.y.required])],ownership_others:[""],rent_paid:[""],shop_eat_act_cert:["",Jf.y.compose([Jf.y.required])],gst_Regn_cert:["",Jf.y.compose([Jf.y.required])],export_import_cert:["",Jf.y.compose([Jf.y.required])],factory_cert:["",Jf.y.compose([Jf.y.required])],practice_cert:["",Jf.y.compose([Jf.y.required])],pf_regn:["",Jf.y.compose([Jf.y.required])],esic_regn:["",Jf.y.compose([Jf.y.required])],other_documents:["",Jf.y.compose([Jf.y.required])],documents:this.fb.array([]),business_remarks:["",Jf.y.compose([Jf.y.required])],who_started:["",Jf.y.compose([Jf.y.required])],main_person:["",Jf.y.compose([Jf.y.required])],other_main_person:[""],family_members_involved:["",Jf.y.compose([Jf.y.required])],before_business:["",Jf.y.compose([Jf.y.required])],any_delays:["",Jf.y.compose([Jf.y.required])]})},l.prototype.submitDetails=function(){var l=this;if(1==this.EntityTypeFlag){var n=this.businessForm.controls.partners.controls[0];n.controls.shareholding.clearValidators(),n.controls.shareholding.updateValueAndValidity(),n.controls.shareholding.setValue("100"),n.controls.started_business.setValue(""),n.controls.current_business_experiance_year.clearValidators(),n.controls.current_business_experiance_year.updateValueAndValidity(),n.controls.current_business_experiance_year.setValue(""),n.controls.current_business_experiance_month.setValue(""),n.controls.total_business_experiance.clearValidators(),n.controls.total_business_experiance.updateValueAndValidity(),n.controls.total_business_experiance.setValue("")}var e;"no"==(e=this.businessForm.value).other_documents&&delete e.documents,""==e.rent_paid&&delete e.rent_paid,""==e.ownership_others&&delete e.ownership_others;var u=0;e.manufacturing_activity_details.length>0&&e.manufacturing_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(e>100||e<100)&&u++}}),e.wholesale_trading_activity_details.length>0&&e.wholesale_trading_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(e>100||e<100)&&u++}}),e.retail_trading_activity_details.length>0&&e.retail_trading_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(e>100||e<100)&&u++}}),e.service_provider_activity_details.length>0&&e.service_provider_activity_details.forEach(function(l,n){if("Within India"!=l.area_of_sale){var e=Object.keys(l.countries_where_export_done).map(function(n){return l.countries_where_export_done[n]}).reduce(function(l,n){return l+ +n.approx_sale},0);(e>100||e<100)&&u++}}),u>0?this.toast.pdTriggerappmessage("warning!! Approximate sales doesn't add upto 100%"):(e.select_business_activity_type=e.select_business_activity_type.filter(function(l){return 1==l.exist_status}),this.qustCat.saveForm(e).subscribe(function(n){1==n.dataStatus&&(l.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){l.navCtrl.pop()},3e3))}))},l.prototype.getBuisnessDetails=function(){var l=this;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.FormId.form_id}).subscribe(function(n){var e=n.records,u=l.businessForm.controls.designation,t=l.businessForm.controls.partners,a=l.businessForm.controls.documents;if(200==n.status){var i=void 0,o=Object.keys(n.records.designation).map(function(l){return n.records.designation[l]}),r=Object.keys(n.records.partners).map(function(l){return n.records.partners[l]}),_=[],d=[];Object.keys(n.records.family_members_involved).map(function(l){return n.records.family_members_involved[l]}).forEach(function(l){_.push(l.member),d.push(l)}),l.relativeNames=d,0==o.length?u.push(l.createDesignation()):o.forEach(function(n){u.push(l.createDesignation())}),0==r.length?t.push(l.createPartners()):r.forEach(function(n){t.push(l.createPartners())}),"yes"==n.records.other_documents?(i=Object.keys(n.records.documents).map(function(l){return n.records.documents[l]})).forEach(function(n){a.push(l.createDocument())}):(i=[{document:""}],a.push(l.createDocument())),"others"!=n.records.ownership_setup&&(e.ownership_others=""),"rented"!=n.records.ownership_setup&&(e.rent_paid=""),e.family_members_involved=_,e.pdid=l.pdDetails.pd_id,e.formid=l.FormId.form_id,e.fk_createdby=l.users,e.designation=o,e.partners=r,e.documents=i,l.businessForm.setValue(e)}else u.push(l.createDesignation()),t.push(l.createPartners()),a.push(l.createDocument())})},l.prototype.setStep=function(l){this.step=l},l.prototype.inWords=function(l,n){switch(n){case 1:this.appxSalaryAmtInwords=this.cons.convertNumberToWords(l.target.value)}},l.prototype.CheckExport=function(l,n,e){this.ManufacturingChecked?this.ManufacturingChecked&&"MActivity"==n&&(this.ManufacturingCounterArray[e]=0):"MActivity"==n&&"Both"==l?this.ManufacturingCounterArray[e]=1:"MActivity"==n&&"Both"!=l&&(this.ManufacturingCounterArray[e]=0),this.RetailedChecked?"RActivity"==n&&this.RetailedChecked&&(this.RetailCounterArray[e]=0):"RActivity"==n&&"Both"==l?this.RetailCounterArray[e]=1:"RActivity"==n&&"Both"!=l&&(this.RetailCounterArray[e]=0),this.WholeSalesChecked?"WActivity"==n&&this.WholeSalesChecked&&(this.WholeSaleCounterArray[e]=0):"WActivity"==n&&"Both"==l?this.WholeSaleCounterArray[e]=1:"WActivity"==n&&"Both"!=l&&(this.WholeSaleCounterArray[e]=0),this.ServiceChecked?"SPActivity"==n&&(this.ServiceCounterArray[e]=0):"SPActivity"==n&&"Both"==l?this.ServiceCounterArray[e]=1:"SPActivity"==n&&"Both"!=l&&(this.ServiceCounterArray[e]=0);var u=this.ManufacturingCounterArray.reduce(function(l,n){return l+ +n},0),t=this.RetailCounterArray.reduce(function(l,n){return l+ +n},0),a=this.WholeSaleCounterArray.reduce(function(l,n){return l+ +n},0),i=this.ServiceCounterArray.reduce(function(l,n){return l+ +n},0);this.ExportFlag=u+t+a+i>0},l.prototype.changePOSMachinesAvailablity=function(l,n){console.log(l),"yes"==l?this.businessForm.addControl("no_of_pos_machines",new Jf.h("")):this.businessForm.removeControl("no_of_pos_machines"),2==n&&("yes"==l?this.businessForm.controls.no_of_pos_machines.setValue(""):this.businessForm.removeControl("no_of_pos_machines"))},l.prototype.toGetPOSMachinesDetails=function(l,n){1==n&&this.businessForm.addControl("pos_machines_details",this.fb.array([]));for(var e=this.businessForm.controls.pos_machines_details;0!==e.length;)e.removeAt(0);if(l>0)if(1==n)for(var u=1;u<=l;u++)e.push(this.createPOSMachinesDetails(null));else if(2==n)for(u=1;u<=l;u++)e.push(this.createPOSMachinesDetails(this.temp_additiondetailofposmachine))},l=Qg([Object(Df.k)({selector:"page-pd-question-business-info",templateUrl:"pd-question-business-info.html"}),Jg("design:paramtypes",[Tf.r,Tf.s,zf,ch,ah,Jf.g,Mf])],l)}(),Zg=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},lb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},nb=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustcat=t,this.cons=a,this.toast=i,this.currentYear=(new Date).getFullYear(),this.m_any_asset_loan_type=[{value:"yes",viewValue:"Yes"},{value:"no",viewValue:"No"},{value:"nan",viewValue:"NA"}],this.AssetValueInwords=[],this.appxMarketAmtInwords=[],this.RentAmtInwords=[],this.mergeCompanyApplicant=[],this.existCompanyList=[],this.yearErrorMessage=[],this.monthErrorMessage=[],this.addressLabel=[],this.placeholderName=[],this.m_address_type=[],this.RentAmtInwordsForAddress=[],this.appxMarketAmtInwordsForAddress=[],this.isOtherOwnerForAddress=!1,this.isOtherOwner=!1,this.m_vehicle_type=[],this.apiLoadFinish=!1,this.pdDetails=this.navParams.get("pdDetails"),this.formDetails=this.navParams.get("formDetails"),this.users=this.aws.getlocale(),this.company_id=this.pdDetails.company_id,this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.generalExistBusinessYear=this.pdDetails.business_years,this.generalExistBusinessMonth=this.pdDetails.business_month,this.pageTitle=this.pdDetails.company_name+" - "+this.pageTitle,this.main_applicant=this.pdDetails.applicant_name,this.lender_applicant_id=this.pdDetails.lender_applicant_id,this.subproduct_abbr=this.pdDetails.subproduct_abbr,this.customer_segment_abbr=this.pdDetails.customer_segment_abbr,this.getDropDown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessAssetsPage"),this.getDetails()},l.prototype.getAddress=function(){var l=this,n={};n.pd_id=this.pdDetails.pd_id,n.pd_form_id="5",this.qustcat.retiverForm(n).subscribe(function(n){var e=l._businessAssetsQuesFrom.controls.business_assets_for_address;200==n.status&&n.records.addresses.length>0?n.records.addresses.forEach(function(n,u){l.addressLabel[u]="";var t=l.m_address_type.filter(function(l){return l.address_type_id==n.address_type})[0],a=n.address,i=1!=n.address_type?t.address_type:n.address_type_others;l.placeholderName[u]="Was any business activity seen at the "+i+" during PD visit?";e.push(l.initBusinessDetailsWithdata({address_label:" : "+a+" / "+i,business_years:"",business_month:"",business_address_availability:"",business_is_pd_visited:"",business_pd_visited_remark:"",business_approximate_market_value:"",business_ownership_type:"",business_monthly_rented_amt:"",business_name_of_the_owner:"",business_name_of_the_other_owner:"",business_vintage:"",business_purchase_year:"",business_emi:""}))}):e.push(l.initBusinessDetails())})},l.prototype.getDropDown=function(){var l=this;this.qustcat.getcommondrop("ADDRESSTYPE").subscribe(function(n){l.m_address_type=n.records.filter(function(l){return 1==l.isactive})}),this.qustcat.getcommondrop("VEHICLETYPE").subscribe(function(n){l.m_vehicle_type=n.records.filter(function(l){return 1==l.is_active})}),this.qustcat.getcommondrop("ASSETTYPE").subscribe(function(n){l.m_assets_type=n.records.filter(function(l){return 1==l.isactive&&1==l.flag})}),this.qustcat.getcommondrop("PROPERTIES").subscribe(function(n){l.m_propertyType=n.records.filter(function(l){return 1==l.isactive})}),this.qustcat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return 1==l.is_active}));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}));var u=[];l.applicants.length>0&&(u=l.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),l.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:u}))})},l.prototype.getDetails=function(){var l=this,n={};n.pd_id=this.pdDetails.pd_id,n.company_id=this.company_id,n.pd_form_id=22,this.qustcat.retiverForm(n).subscribe(function(n){l.formLoadData(1==n.dataStatus?n.records:null),l.apiLoadFinish=!0})},l.prototype.formLoadData=function(l){if(null==l)this._businessAssetsQuesFrom=this.fb.group({pdid:[this.pdDetails.pd_id],formid:[this.formDetails.form_id],company_id:[this.company_id],fk_createdby:[this.users],business_assets_for_address:this.fb.array([]),business_assets_details:this.fb.array([this.initBusinessDetails()]),business_assets_form_remark:[""]}),this.getAddress(),this.loadDetails=!0;else{var n=l;this._businessAssetsQuesFrom=this.fb.group({pdid:[this.pdDetails.pd_id],formid:[this.formDetails.form_id],company_id:[this.company_id],fk_createdby:[this.users],business_assets_for_address:this.fb.array([]),business_assets_details:this.fb.array([]),business_assets_form_remark:[n.business_assets_form_remark||""]}),this.addBusinessAssetsForAddress(n.business_assets_for_address),this.addBusinessAssetsDetailsWithData(n.business_assets_details)}this.loadDetails=!0},l.prototype.initBusinessDetails=function(){return this.fb.group({address_label:[""],business_assets_mode:[""],business_details:this.fb.array([]),business_years:[""],business_month:[""],business_address_availability:[""],business_is_pd_visited:[""],business_pd_visited_remark:[""],business_approximate_market_value:[""],business_ownership_type:[""],business_monthly_rented_amt:[""],business_name_of_the_owner:[],business_name_of_the_other_owner:[],business_vintage:[""],business_purchase_year:["",Jf.y.compose([Jf.y.pattern("[1-9]{1}[0-9]{3}")])],business_emi:[""]})},l.prototype.loadProperty=function(){return this.fb.group({property_type:[""],other_property_type:[""],address_of_the_property:[""]})},l.prototype.load_Four_Weeler=function(){return this.fb.group({manufacturer_model_vehicle:[""],vehicle_type:[""],other_vehicle_type:[""]})},l.prototype.loadEquipmentManufacturingDescription=function(){return this.fb.group({equipment_manufacturing_description:[""]})},l.prototype.otherBusinessAssetsDescription=function(){return this.fb.group({any_other_assets:[""],any_other_asset_value:[""],any_other_asset_loan:[""]})},l.prototype.addAssetDetails=function(l){this._businessAssetsQuesFrom.controls.business_assets_details.push(this.initBusinessDetails())},l.prototype.removeAssetsDetails=function(l){this._businessAssetsQuesFrom.controls.business_assets_details.removeAt(l)},l.prototype.createBusinessAssetsForAddress=function(){return this.fb.group({address_label:[""],business_years:[""],business_month:[""],business_address_availability:[""],business_is_pd_visited:[""],business_pd_visited_remark:[""],business_approximate_market_value:[""],business_ownership_type:[""],business_monthly_rented_amt:[""],business_name_of_the_owner:[""],business_name_of_the_other_owner:[""],business_vintage:[""],business_purchase_year:["",Jf.y.compose([Jf.y.pattern("[1-9]{1}[0-9]{3}")])],business_emi:[""]})},l.prototype.selectedAssetsType=function(l,n){var e=n;switch(this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").controls.splice(0),l.value){case"1":this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").push(this.otherBusinessAssetsDescription());break;case"2":this._businessAssetsQuesFrom.controls.business_assets_details.at(n).get("business_details").push(this.loadProperty());break;case"3":this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").push(this.load_Four_Weeler());break;case"4":this._businessAssetsQuesFrom.controls.business_assets_details.at(e).get("business_details").push(this.loadEquipmentManufacturingDescription())}},l.prototype.loadPropertyWithData=function(l){return this.fb.group({property_type:[l.property_type],other_property_type:[l.other_property_type],address_of_the_property:[l.address_of_the_property]})},l.prototype.load_Four_WeelerWithData=function(l){return this.fb.group({manufacturer_model_vehicle:[l.manufacturer_model_vehicle],vehicle_type:[l.vehicle_type],other_vehicle_type:[l.other_vehicle_type]})},l.prototype.loadEquipmentManufacturingDescriptionWithData=function(l){return this.fb.group({equipment_manufacturing_description:[l.equipment_manufacturing_description]})},l.prototype.otherBusinessAssetsDescriptionWithData=function(l){return this.fb.group({any_other_assets:[l.any_other_assets],any_other_asset_loan:[l.any_other_asset_loan]})},l.prototype.addBusinessAssetsForAddress=function(l){var n=this,e=Object.keys(l).map(function(n){return l[n]});if(e.length>0){e.forEach(function(l,e){n.RentAmtInwordsForAddress[e]=n.cons.convertNumberToWords(l.business_monthly_rented_amt),n.appxMarketAmtInwordsForAddress[e]=n.cons.convertNumberToWords(l.business_approximate_market_value);var u=1;l.business_name_of_the_owner.length>0&&l.business_name_of_the_owner.forEach(function(l){0==l.id&&2==l.group_id&&(u=l.id)}),n.isOtherOwnerForAddress=0==u});for(var u=0,t=e;u0){e.forEach(function(l,e){n.appxMarketAmtInwords[e]=n.cons.convertNumberToWords(+l.business_approximate_market_value),n.RentAmtInwords[e]=n.cons.convertNumberToWords(+l.business_monthly_rented_amt)});for(var u=0,t=e;uthis.generalExistBusinessYear?(this.yearErrorMessage[n]="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue(""),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_month.setValue("")):a==this.generalExistBusinessYear&&+u>this.generalExistBusinessMonth?(this.monthErrorMessage[n]="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue(""),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_month.setValue("")):(this.monthErrorMessage[n]="",this.yearErrorMessage[n]="",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue(+e+ +Math.floor(t)),this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_month.setValue(Math.floor(u)))},l.prototype.checkWithExistBusinessYear=function(l,n){+l>this.generalExistBusinessYear?(this.yearErrorMessage[n]="Higher than Business Vintage",this._businessAssetsQuesFrom.controls.business_assets_for_address.controls[n].controls.business_years.setValue("")):this.yearErrorMessage[n]=""},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.AssetValueInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 2:this.appxMarketAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 3:this.RentAmtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 9:this.RentAmtInwordsForAddress[n]=this.cons.convertNumberToWords(l.target.value);break;case 10:this.appxMarketAmtInwordsForAddress[n]=this.cons.convertNumberToWords(l.target.value)}},l=Zg([Object(Df.k)({selector:"page-pd-question-business-assets",templateUrl:"pd-question-business-assets.html"}),lb("design:paramtypes",[Tf.r,Tf.s,zf,Jf.g,ah,Mf,ch])],l)}(),eb=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ub=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},tb=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.fb=u,this.qustCat=t,this.cons=a,this.toast=i,this.existCompanyList=[],this.mergeCompanyApplicant=[],this.amtInwords=[],this.emiAmtInwords=[],this.limitCaseFlag=[],this.pdDetails=this.navParams.get("pdDetails"),this.pd_cus_segment=this.pdDetails.customer_segment_abbr.toUpperCase(),this.pd_cus_segment=this.pd_cus_segment.substring(0,3),this.pdid=this.pdDetails.pd_id,this.formDetails=this.navParams.get("formDetails"),this.form_id=this.formDetails.form_id,this.company_id=this.pdDetails.company_id,this.applicants=this.pdDetails.applicat_details,this.applicants=this.applicants.filter(function(l){return 2!=l.applicant_type}),this.applicants.push({pd_co_applicant_id:"0",applicant_name:"Others"}),this.users=this.aws.getlocale(),this.step=0,this.bankingForm=this.fb.group({itemRows:this.fb.array([]),banking_form_remark:[""]}),this.salaryField="SE"!=this.pdDetails.customer_segment_abbr.substring(0,2),this.getdropdown(),this.retiveBankDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessBankingPage")},l.prototype.getdropdown=function(){var l=this;this.qustCat.getcommondrop("ACCOUNTTYPE").subscribe(function(n){1==n.dataStatus&&(l.accountType=n.records)}),this.qustCat.getcommondrop("BTLENDERLIST").subscribe(function(n){1==n.dataStatus&&(l.m_btLenderList=n.records.filter(function(l){return 1==l.isactive}))}),this.qustCat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){1==n.dataStatus&&(l.existCompanyList=n.records.filter(function(l){return!0===l.is_active&&!0===l.is_company_applicant}));var e=[];l.existCompanyList.length>0&&(e=l.existCompanyList.map(function(l){return{id:l.company_order_id.toString(),name:l.company_name,group_id:1}}),l.mergeCompanyApplicant.push({groupName:"COMPANIES",groupValues:e}))});var n=[];this.applicants.length>0&&(n=this.applicants.map(function(l){return{id:l.pd_co_applicant_id,name:l.applicant_name,group_id:2}}),this.mergeCompanyApplicant.push({groupName:"APPLICANTS",groupValues:n}))},l.prototype.compareObjects=function(l,n){return l.id==n.id&&l.group_id==n.group_id},l.prototype.checkOthers=function(l){return null!=l&&0==l.id},l.prototype.selectedAccTypeChanges=function(l,n){this.limitCaseFlag[n]=2!=l&&1!=l},l.prototype.ConvertMonthintoYear=function(l,n){var e=n%12,u=n/12;l.controls.vintage_year.setValue(+l.controls.vintage_year.value+ +Math.floor(u)),l.controls.vintage_month.setValue(Math.floor(e))},l.prototype.inWords=function(l,n,e){switch(e){case 1:this.amtInwords[n]=this.cons.convertNumberToWords(l.target.value);break;case 2:this.emiAmtInwords[n]=this.cons.convertNumberToWords(l.target.value)}},l.prototype.setRequiredValidation=function(l,n,e){1==e&&(0==l?n.controls.other_applicant.setValidators([Jf.y.required]):n.controls.other_applicant.clearValidators(),n.controls.other_applicant.updateValueAndValidity()),2==e&&(1==l?n.controls.other_bank.setValidators([Jf.y.required]):n.controls.other_bank.clearValidators(),n.controls.other_bank.updateValueAndValidity())},l.prototype.createBankItem=function(l){return this.fb.group({applicant_name:[""],bank_name:[""],account_type:[""],salary:(this.pdDetails.customer_segment_abbr.substring(0,2),[""]),limit:[""],other_bank:[""],other_applicant:[""],is_main:[""],vintage_year:[""],vintage_month:[""]})},l.prototype.addBankDetails=function(l,n){n.stopPropagation();var e=this.bankingForm.controls.itemRows;this.step=e.length,e.push(this.createBankItem(""))},l.prototype.addmoreBankDetils=function(){this.itemRows=this.bankingForm.get("itemRows"),this.itemRows.push(this.createBankItem(""))},l.prototype.removebank=function(l){var n=this.bankingForm.controls.itemRows;1==n.length?n.reset():n.removeAt(l)},l.prototype.setStep=function(l){this.step=l},l.prototype.retiveBankDetails=function(){var l=this,n=this.bankingForm.controls.itemRows;this.qustCat.retiverForm({pd_id:this.pdDetails.pd_id,pd_form_id:this.form_id,company_id:this.company_id}).subscribe(function(e){if(1==e.dataStatus){var u=Object.keys(e.records.banking_details).map(function(l){return e.records.banking_details[l]});l.bankingForm.controls.banking_form_remark.setValue(e.records.banking_form_remark),0==u.length?n.push(l.createBankItem("")):(u.forEach(function(e,u){l.selectedAccTypeChanges(e.account_type,u),""!=e.limit&&(l.amtInwords[u]=l.cons.convertNumberToWords(+e.limit)),l.selectedAccTypeChanges(e.account_type,u),n.push(l.createBankItem(""))}),l.bankingForm.controls.itemRows.setValue(u))}else n.push(l.createBankItem(""))})},l.prototype.savepdBank=function(l){var n=this,e={};e.pdid=this.pdDetails.pd_id,e.formid=this.form_id,e.fk_createdby=this.users,e.company_id=this.company_id,e.banking_details=l.itemRows,e.banking_form_remark=l.banking_form_remark,this.qustCat.saveForm(e).subscribe(function(l){1==l.dataStatus?(n.toast.pdTriggerappmessage("Record Saved Successfully.!"),setTimeout(function(){n.navCtrl.pop()},2e3)):n.toast.pdTriggerappmessage("Sorry!! Something Went Wrong")})},l=eb([Object(Df.k)({selector:"page-pd-question-business-banking",templateUrl:"pd-question-business-banking.html"}),ub("design:paramtypes",[Tf.r,Tf.s,zf,Jf.g,ah,Mf,ch])],l)}(),ab=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},ib=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ob=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.qustCat=e,this.pdDetails=[],this.existCompanyList=[],this.pdDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId"),this.getCompanyListForBusiness()}return l.prototype.getCompanyListForBusiness=function(){var l=this;this.qustCat.getCompaniesListsForBusiness(this.pdDetails.pd_id).subscribe(function(n){n.dataStatus?(l.existCompanyList=n.records.filter(function(l){return l.is_active}),l.waitLoading=!0):l.waitLoading=!1})},l.prototype.OnSelectBusinessGroupForms=function(l,n){this.pdDetails.company_id=n.company_order_id,this.pdDetails.company_name=n.company_name,this.pdDetails.business_entity_type=n.business_entity_type,this.pdDetails.business_entity_type_other=n.business_entity_type_other,this.pdDetails.business_years=n.business_years,this.pdDetails.business_month=n.business_month,console.log(l.form_id),1==l.form_id&&this.navCtrl.push(Bh,{formDetails:l,pdDetails:this.pdDetails}),2==l.form_id&&this.navCtrl.push(ng,{formDetails:l,pdDetails:this.pdDetails}),11==l.form_id&&this.navCtrl.push(zh,{formDetails:l,pdDetails:this.pdDetails}),13==l.form_id&&this.navCtrl.push(Xg,{formDetails:l,pdDetails:this.pdDetails}),14==l.form_id&&this.navCtrl.push(Xh,{formDetails:l,pdDetails:this.pdDetails}),15==l.form_id&&this.navCtrl.push(Bh,{formDetails:l,pdDetails:this.pdDetails}),21==l.form_id&&this.navCtrl.push(tb,{formDetails:l,pdDetails:this.pdDetails}),22==l.form_id&&this.navCtrl.push(nb,{formDetails:l,pdDetails:this.pdDetails}),16==l.form_id&&this.navCtrl.push(Og,{formDetails:l,pdDetails:this.pdDetails})},l=ab([Object(Df.k)({selector:"page-pd-question-business-group",templateUrl:"pd-question-business-group.html"}),ib("design:paramtypes",[Tf.r,Tf.s,ah])],l)}(),rb=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},_b=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},db=(new Date).toJSON().slice(0,19).replace("T"," "),sb=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.templateget=e,this.aws=u,this.shared=t,this.toast=a,this.pdstatusprovide=i,this.bgColortempForm=[],this.bgColorqustCat=[],this.questionCateAccess=null,this.questionfinishedList=[],this.overallqustioncountAccess=!0,this.pddetails=this.navParams.get("pdDetails")}return l.prototype.ionViewCanEnter=function(){this.getcategoryList()},l.prototype.ionViewDidLoad=function(){this.shared.refresh(),console.log("ionViewDidLoad PdQuestionCategoryPage")},l.prototype.getcategoryList=function(){var l=this;this.templateget.getLoadTemplate(this.pddetails.pd_id).subscribe(function(n){l.questionCate=n,1==l.questionCate.dataStatus&&(l.questionCate=l.questionCate.records,l.random_ng_past(),""!=l.questionCate.question_answers&&""!=l.questionCate.template_forms?(l.questionCateAccess=!0,l.templateAccess=!0,l.questionCate=l.questionCate,l.dis_forms=l.questionCate.template_forms.filter(function(l){return 1==l.isAnswerable}),l.searchQuestion=l.questionCate.question_answers,l.overallqustioncountAccess=0==l.questionCate.counts.overall_answered_count||0==l.questionCate.counts.overall_question_count||l.questionCate.counts.overall_answered_count!=l.questionCate.counts.overall_question_count):""!=l.questionCate.template_forms?(l.templateAccess=!0,l.questionCate=l.questionCate,l.dis_forms=l.questionCate.template_forms.filter(function(l){return 1==l.isAnswerable}),console.log("temp",l.questionCate),l.searchTempForm=l.questionCate.template_forms):(l.questionCateAccess=!1,l.templateAccess=!1,l.questionCate="No Template Available"))})},l.prototype.random_ng_past=function(){for(var l=0,n=this.questionCate.question_answers;l=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},fb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},hb=function(){function l(l,n,e,u,t,a,i,o,r,_,d,s){this.navCtrl=l,this.navParams=n,this.pddetails=e,this.toast=u,this.Menu=t,this.commonconstant=a,this.aws=i,this.alertCtrl=o,this.qustCat=r,this.fb=_,this.geolocation=d,this.androidPermissions=s,this.timerOn=!0,this.otpStatusAccess=!0,this.maxtime=30,this.commonImage=this.commonconstant.commonimage,this.applicatentDetails=this.navParams.get("pdDetails"),this.users=this.aws.getlocale(),console.log("user",this.users),this.reasonForm=this.fb.group({reason:[null,Jf.y.compose([Jf.y.required])],others_reason:[null]}),this.getDropdown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad OtpPage")},l.prototype.ionViewDidEnter=function(){this.setPermission(),this.timer(120)},l.prototype.setPermission=function(){var l=this;this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS,this.androidPermissions.PERMISSION.GET_ACCOUNTS]),this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION,this.androidPermissions.PERMISSION.GET_ACCOUNTS])},l.prototype.ionViewWillLeave=function(){clearTimeout(this.timeLimit)},l.prototype.getDropdown=function(){var l=this;this.qustCat.getcommondrop("OTPREJECTION").subscribe(function(n){1==n.dataStatus&&(l.reason_otp=n.records.filter(function(l){return 1==l.isactive}),console.log(l.reason_otp))})},l.prototype.checkotp=function(l){var n=this;this.pddetails.checkotp({pd_id:this.applicatentDetails.pd_id,OTP:l,fk_updatedby:this.users}).subscribe(function(l){n.otpStatus=l,1==n.otpStatus.dataStatus?n.navCtrl.setRoot(sb,{pdDetails:n.applicatentDetails}):n.toast.pdTriggerappmessage("Enter the Correct OTP")})},l.prototype.timer=function(l){var n=this,e=Math.floor(l/60),u=l%60;if(e=e<10?"0"+e:e,u=u<10?"0"+u:u,this.balance_time=e+":"+u,(l-=1)>=0&&this.timerOn)this.timeLimit=setTimeout(function(){n.timer(l)},1e3);else if(this.timerOn){var t;this.alertCtrl.create({title:"OTP Expired ",message:"Do you want sure resend OTP",buttons:[{text:"OTP Without Start",handler:function(){n.otpStatusAccess=!1}},{text:"Resend OTP",handler:function(){n.geolocation.getCurrentPosition().then(function(l){t={pd_id:n.applicatentDetails.pd_id,pd_status:"STARTED",mobile_no:n.applicatentDetails.applicat_details[0].mobile_no,fk_updatedby:n.users,link:l.coords.latitude+","+l.coords.longitude},console.log(t),n.pddetails.updatepdStatus(t).subscribe(function(l){n.timer(60)})})}}]}).present()}},l.prototype.saveotpreasno=function(){var l=this;if(console.log(this.reasonForm.value),this.reasonForm.valid){this.pddetails.checkotp({pd_id:this.applicatentDetails.pd_id,reason:this.reasonForm.value.reason,other_reason:this.reasonForm.value.others_reason,fk_updatedby:this.users}).subscribe(function(n){l.otpStatus=n,1==l.otpStatus.dataStatus&&l.navCtrl.setRoot(sb,{pdDetails:l.applicatentDetails})})}else this.toast.pdTriggerappmessage("Enter The All Field")},l=pb([Object(Df.k)({selector:"page-otp",templateUrl:"otp.html"}),fb("design:paramtypes",[Tf.r,Tf.s,eh,ch,Tf.o,Mf,zf,Tf.a,ah,Jf.g,cb.a,mb.a])],l)}(),gb=e(187),bb=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},vb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},yb=function(){function l(l,n,e,u,t){this.navCtrl=l,this.navParams=n,this.camera=e,this.qustCat=u,this.toast=t,this.cameraArr=[],this.count=0,this.saveAccess=!1,this.FormId="",this.applicatentDetails=this.navParams.get("pdDetails"),this.FormId=this.navParams.get("FormId")}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdGeneralImagesPage")},l.prototype.takePicture=function(){var l=this;this.camera.getpicture().then(function(n){l.count=l.count+1,l.cameraArr.push({image:n,name:""})})},l.prototype.removeimage=function(l){this.count=this.count-1,this.cameraArr.splice(l,1)},l.prototype.docnames=function(l,n,e){this.cameraArr[n]={image:e,Name:l}},l.prototype.savePDImages=function(){var l=this;this.saveAccess=!0;var n={pd_id:this.applicatentDetails.pd_id,formid:""};n.images=this.cameraArr,this.qustCat.savePDImages(n).subscribe(function(n){1==n.dataStatus&&(l.saveAccess=!1,l.navCtrl.pop(),l.toast.pdTriggerappmessage("Record Saved Successfully.!"))})},l=bb([Object(Df.k)({selector:"page-pd-general-images",templateUrl:"pd-general-images.html"}),vb("design:paramtypes",[Tf.r,Tf.s,_h,ah,ch])],l)}(),Cb=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},wb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Fb=function(){function l(l,n,e,u,t,a,i,o){this.navCtrl=l,this.navParams=n,this.viewCtrl=e,this.aws=u,this.pdservice=t,this.qustCat=a,this.fb=i,this.toast=o,this.bounce_reason_others="",this.pdDetails=this.navParams.get("details"),this.users=this.aws.getlocale(),this.getDropdown()}return l.prototype.getDropdown=function(){var l=this;this.qustCat.getcommondrop("BOUNCEMASTER").subscribe(function(n){1==n.dataStatus&&(l.bounseMaster=n.records.filter(function(l){return 1==l.isactive}),console.log(l.bounseMaster))})},l.prototype.updatePDStatus=function(){var l=this;if(null!=this.bounce_reason&&1!=this.bounce_reason){var n={pd_id:this.pdDetails.pd_id,pd_status:this.pdDetails.pd_status,fk_updatedby:this.users,bounce_reason:this.bounce_reason,bounce_reason_others:this.bounce_reason_others};console.log(n),this.toast.pdTriggerappmessage("Thank You"),this.pdservice.updatepdStatus(n).subscribe(function(n){1==n.dataStatus&&l.navCtrl.setRoot(Ab)})}else if(1==this.bounce_reason&&""!=this.bounce_reason_others&&null!=this.bounce_reason_others){n={pd_id:this.pdDetails.pd_id,pd_status:this.pdDetails.pd_status,fk_updatedby:this.users,bounce_reason:this.bounce_reason,bounce_reason_others:this.bounce_reason_others};console.log(n),this.toast.pdTriggerappmessage("Thank You"),this.pdservice.updatepdStatus(n).subscribe(function(n){1==n.dataStatus&&l.navCtrl.setRoot(Ab)})}else this.toast.pdTriggerappmessage("Please Choose the Reason to Reject")},l=Cb([Object(Df.k)({selector:"page-bounced-reject",templateUrl:"bounced-reject.html"}),wb("design:paramtypes",[Tf.r,Tf.s,Tf.y,zf,eh,ah,Jf.g,ch])],l)}(),xb=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Sb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Ib=(new Date).toJSON().slice(0,19),qb=function(){function l(l,n,e,u,t,a,i,o,r,_,d,s,c,m){this.navCtrl=l,this.navParams=n,this.fb=e,this.statusBar=u,this.platform=t,this.launchNavigator=a,this.aws=i,this.pdDetails=o,this.geolocation=r,this.alertCtrl=_,this.locationAccuracy=d,this.toast=s,this.constant=c,this.androidPermissions=m,this.initiatedAccess=!1,this.scheduleAccess=!1,this.pipe=new rg.d("en-US"),this.acceptedAccess=!1,this.startedAccess=!1,this.timeOut=15e3,this.maxdate=this.pipe.transform(new Date,"yyyy-MM-ddThh:mm").toString(),this.statusBar.styleDefault(),this.statusBar.overlaysWebView(!1),this.statusBar.backgroundColorByHexString("#db4437");this.pipe.transform(new Date,"dd/MM/yyyy hh:mm a");this.applicatentDetails=this.navParams.get("pdDetails"),this.getFullPD(),"ALLOCATED"==this.applicatentDetails.pd_status&&(this.acceptedAccess=!0),"ACCEPTED"==this.applicatentDetails.pd_status&&(this.scheduleAccess=!0),"SCHEDULED"==this.applicatentDetails.pd_status&&(this.initiatedAccess=!0),"INITIATED"==this.applicatentDetails.pd_status&&(this.startedAccess=!0,this.getenableAccuracy()),this.users=this.aws.getlocale()}return l.prototype.ionViewDidLoad=function(){this.setPermission()},l.prototype.ionViewCanLeave=function(){clearInterval(this.timeInterval)},l.prototype.locationnavicate=function(l){this.launchNavigator.navigate(l)},l.prototype.setPermission=function(){var l=this;this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_COARSE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_LOCATION_EXTRA_COMMANDS,this.androidPermissions.PERMISSION.GET_ACCOUNTS]),this.androidPermissions.checkPermission(this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION).then(function(l){return console.log("Has permission?",l.hasPermission)},function(n){return l.androidPermissions.requestPermission(l.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION)}),this.androidPermissions.requestPermissions([this.androidPermissions.PERMISSION.ACCESS_FINE_LOCATION,this.androidPermissions.PERMISSION.GET_ACCOUNTS])},l.prototype.getFullPD=function(){var l=this;this.pdDetails.getFullPDdetails({pdid:this.applicatentDetails.pd_id}).subscribe(function(n){if(1==n.dataStatus){l.other_applicant=n.records.applicants_details,console.log(l.other_applicant);var e=l.pipe.transform(new Date,"yyyy-MM-dd HH:mm"),u=n.records.pd_master_details[0].scheduled_on_for_validation,t=Date.parse(e)-Date.parse(u),a=Math.floor(t/1e3/60/60);l.enableStartPD=a<=-4}})},l.prototype.pdStatus=function(l,n){var e=this;"BOUNCED"==l?this.navCtrl.push(Fb,{details:{pd_id:n.pd_id,pd_status:l,fk_updatedby:this.users,updatedon:Ib}}):"ACCEPTED"==l&&this.pdDetails.updatepdStatus({pd_id:n.pd_id,pd_status:l,fk_updatedby:this.users,updatedon:Ib}).subscribe(function(l){e.updateStatus=l,1==e.updateStatus.dataStatus?(e.getNewpdupdate(),e.scheduleAccess=!0):e.scheduleAccess=!1})},l.prototype.pdschedule=function(l,n){var e=this;if(console.log(l),void 0!=l){var u=l.slice(0,19).replace("T"," ");console.log(u),this.pdDetails.updatepdStatus({pd_id:n.pd_id,pd_status:"SCHEDULED",scheduled_on:u,fk_updatedby:this.users,updatedon:Ib}).subscribe(function(l){e.updateSchedule=l,1==e.updateSchedule.dataStatus&&(e.getNewpdupdate(),e.initiatedAccess=!0)})}else this.toast.pdTriggerappmessage("Please Choose the Schedule Date"),this.input_focus.setFocus()},l.prototype.getenableAccuracy=function(){var l=this;this.locationAccuracy.canRequest().then(function(n){n&&l.locationAccuracy.request(l.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function(){l.getcurrentLocation()},function(l){return alert("Error requesting location permissions"+JSON.stringify(l))})})},l.prototype.getcurrentLocation=function(){var l=this,n={frequency:3e3,enableHighAccuracy:!0,timeOut:1e3};this.timeInterval=setInterval(function(){l.currentPosPDofficer="",l.geolocation.getCurrentPosition(n).then(function(n){void 0!=n.coords&&(l.currentPosPDofficer=n.coords.latitude+","+n.coords.longitude,console.log(l.currentPosPDofficer),l.pdDetails.saveCurrentLocation({pd_id:l.applicatentDetails.pd_id,link:l.currentPosPDofficer}).subscribe(function(l){}))}).catch(function(n){l.toast.pdTriggerappmessage(n.message)})},this.timeOut)},l.prototype.pdreschedule=function(){this.scheduleAccess=!0,this.initiatedAccess=!1},l.prototype.pdinitiated=function(l){var n=this;this.locationAccuracy.canRequest().then(function(e){e&&n.locationAccuracy.request(n.locationAccuracy.REQUEST_PRIORITY_HIGH_ACCURACY).then(function(){n.geolocation.getCurrentPosition().then(function(e){n.currentPosPDofficer=e.coords.latitude+","+e.coords.longitude,n.pdDetails.updatepdStatus({pd_id:l.pd_id,pd_status:"INITIATED",mobile_no:l.applicat_details[0].mobile_no,officerName:l.pd_allocated_to,firstName:l.applicat_details[0].applicant_name,fk_updatedby:n.users,updatedon:Ib,link:n.currentPosPDofficer}).subscribe(function(l){n.updateinitiated=l,1==n.updateinitiated.dataStatus?(n.getNewpdupdate(),n.getcurrentLocation(),n.startedAccess=!0):n.startedAccess=!1})}).catch(function(l){console.log("Error getting location",l)})},function(l){return alert("Error requesting location permissions"+JSON.stringify(l))})})},l.prototype.startPdDiscussion=function(l){var n,e=this;this.alertCtrl.create({title:"Starting PD Officer",message:"Are you starting the Discussions",buttons:[{text:"No",role:"cancel",handler:function(){}},{text:"YES",handler:function(){e.geolocation.getCurrentPosition().then(function(u){e.currentPosPDofficer=u.coords.latitude+","+u.coords.longitude,n={pd_id:l.pd_id,pd_status:"STARTED",mobile_no:l.applicat_details[0].mobile_no,fk_updatedby:e.users,updatedon:Ib,link:e.currentPosPDofficer},console.log(n),e.pdDetails.updatepdStatus(n).subscribe(function(n){e.updatestarted=n,1==e.updatestarted.dataStatus&&(clearInterval(e.timeInterval),e.navCtrl.setRoot(hb,{pdDetails:l}))})})}}]}).present()},l.prototype.getNewpdupdate=function(){var l=this;this.acceptedAccess=!1,this.initiatedAccess=!1,this.scheduleAccess=!1,this.startedAccess=!1,this.pdDetails.getpddetails(this.users).subscribe(function(n){l.appdata=n,1==l.appdata.dataStatus&&(l.applicatentDetails=l.appdata.records.filter(function(n){return n.pd_id==l.applicatentDetails.pd_id})[0],"ALLOCATED"==l.applicatentDetails.pd_status&&(l.acceptedAccess=!0),"ACCEPTED"==l.applicatentDetails.pd_status&&(l.scheduleAccess=!0,l.toast.pdTriggerappmessage("Accepted Successfully")),"SCHEDULED"==l.applicatentDetails.pd_status&&(l.initiatedAccess=!0,l.getFullPD(),l.toast.pdTriggerappmessage("Scheduled Successfully")),"INITIATED"==l.applicatentDetails.pd_status&&(l.startedAccess=!0,l.toast.pdTriggerappmessage("Initiated Successfully")))})},l.prototype.camerasetup=function(){this.navCtrl.push(yb,{pdDetails:this.applicatentDetails})},xb([Object(Df.Z)("focusinp"),Sb("design:type",Object)],l.prototype,"input_focus",void 0),xb([Object(Df.Z)("scroll"),Sb("design:type",Tf.e)],l.prototype,"scrolltop",void 0),l=xb([Object(Df.k)({selector:"page-input",templateUrl:"input.html"}),Sb("design:paramtypes",[Tf.r,Tf.s,Jf.g,Of.a,Xf.a,Zf.a,zf,eh,cb.a,Tf.a,gb.a,ch,Mf,mb.a])],l)}(),kb=e(247),Pb=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Db=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Tb=function(){function l(l,n){this.http=l,this.sql=n,console.log("Hello DatabaseProvider Provider"),this.createnewdb()}return l.prototype.createnewdb=function(){var l=this;this.sql.create({name:"sinnedge",location:"defalut"}).then(function(n){n.executeSql("CREATE TABLE IF NOT EXISTS expense(rowid INTEGER PRIMARY KEY, date TEXT, type TEXT, description TEXT, amount INT)").then(function(n){l.getuserDetails()}).catch(function(l){return console.log(l)})})},l.prototype.getuserDetails=function(){this.sql.create({name:"sineedge",location:"default"}).then(function(l){l.executeSql("select * from expense ORDER BY rowid DESC").then(function(l){console.log(l)})})},l=Pb([Object(Df.x)(),Db("design:paramtypes",[Af.c,kb.a])],l)}(),Ob=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Lb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Ab=function(){function l(l,n,e,u,t,a,i){this.navCtrl=l,this.navParams=n,this.aws=e,this.pdofficer=u,this.shared=t,this.db=a,this.androidPermissions=i,this.bgColorPast=[],this.bgColor=[],this.pdinprogress=[],this.pdlistdetails=[],this.pdlist="0",this.pdlistaccess=null}return l.prototype.selectedTab=function(l){this.slider.slideTo(l)},l.prototype.moveButton=function(l){this.pdlist=l._snapIndex.toString()},l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdListPage"),this.db.getuserDetails(),this.setpermission()},l.prototype.ionViewCanEnter=function(){console.log("Pd list ionViewCanEnter"),this.getpdTriggerdetails()},l.prototype.filter=function(l){l?(this.viewchange=!1,this.pdinprogress=this.pdinprogress,this.pdschduleDetails=this.pdschduleDetails):this.viewchange=!0},l.prototype.pdlistsearch=function(l){this.pdinprogress=this.searchinprogress,this.pdschduleDetails=this.searchpast;var n=l.target.value;if("inpro"==this.pdlist){if(""==n.trim())return;this.pdinprogress=this.searchinprogress.filter(function(l){return void 0!==l.applicat_details&&l.applicat_details[0].applicant_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.pd_status.toLowerCase().indexOf(n.toLowerCase())>-1||null!=l.city_name&&l.city_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.lender_applicant_id.toLowerCase().indexOf(n.toLowerCase())>-1})}else{if(""==n.trim())return;this.pdschduleDetails=this.searchpast.filter(function(l){return l.applicat_details[0].applicant_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.pd_status.toLowerCase().indexOf(n.toLowerCase())>-1||l.city_name.toLowerCase().indexOf(n.toLowerCase())>-1||l.lender_applicant_id.toLowerCase().indexOf(n.toLowerCase())>-1})}},l.prototype.newpage=function(){this.navCtrl.push(qb)},l.prototype.getpdTriggerdetails=function(){var l=this,n=this.aws.getlocale();this.pdofficer.getpddetails(n).subscribe(function(n){l.pdlistdetails=n,1==l.pdlistdetails.dataStatus?(l.pdlistaccess=!0,l.pdschduleDetails=l.pdlistdetails.records.filter(function(l){return"ACCEPTED"==l.pd_status||"SCHEDULED"==l.pd_status||"INITIATED"==l.pd_status||"STARTED"==l.pd_status||"INPROGRESS"==l.pd_status&&l.applicat_details}),l.searchpast=l.pdschduleDetails,l.pdinprogress=l.pdlistdetails.records.filter(function(l){return"ALLOCATED"==l.pd_status}),l.searchinprogress=l.pdinprogress,l.random_bg_color(),l.random_ng_past()):(l.pdlistaccess=!1,l.pdlistdetails="No Records Found")})},l.prototype.random_bg_color=function(){for(var l=0,n=this.pdinprogress;l=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},jb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Nb=function(){function l(l,n,e,u,t){this.navCtrl=l,this.navParams=n,this.aws=e,this.toast=u,this.commonconstant=t,this.commonImage=this.commonconstant.commonimage,this.Username=this.navParams.get("Username"),this.Password=this.navParams.get("Password")}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PasswordPage")},l.prototype.setNewPassword=function(l){var n=this;if(""!=l&&null!=l&&void 0!==l){var e={Username:this.Username,Password:this.Password,newpassword:l};console.log(e),this.aws.dologin(e).subscribe(function(l){console.log(l),n.navCtrl.setRoot(Ab)},function(l){n.toast.pdTriggerappmessage(l.message)})}else this.toast.pdTriggerappmessage("Enter the new Password")},l=Vb([Object(Df.k)({selector:"page-password",templateUrl:"password.html"}),jb("design:paramtypes",[Tf.r,Tf.s,zf,ch,Mf])],l)}(),Wb=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Eb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Rb=function(){function l(l,n,e,u,t,a){this.aws=l,this.dialog=n,this.shared=e,this.navCtrl=u,this.Menu=t,this.toast=a,this.status=!1,this.config={disableClose:!1,width:"",height:"",position:{top:"",bottom:"",left:"",right:""}}}return l.prototype.ngOnInit=function(){},l.prototype.ionViewDidEnter=function(){this.Menu.enable(!1)},l.prototype.ionViewWillLeave=function(){this.Menu.enable(!0)},l.prototype.login=function(){var l=this;if(void 0!==this.email&&void 0!==this.password&&""!=this.email&&""!=this.password&&null!=this.email&&null!=this.password){this.aws.dologin({Username:this.email,Password:this.password}).subscribe(function(n){var e=l.aws.getlocale();l.aws.getuserprofile(e).subscribe(function(n){l.users=n,1==l.users.dataStatus&&("PD Officer"==l.users.records[0].role_name||"PD Executive"==l.users.records[0].role_name?l.navCtrl.setRoot(Ab):(l.toast.pdTriggerappmessage("This App only for PD Officers"),localStorage.clear()))})},function(n){console.log(JSON.stringify(n.message)),"New password is required."==n.message?l.navCtrl.setRoot(Nb,{Username:l.email,Password:l.password}):(console.log(JSON.stringify(n.message)),l.toast.pdTriggerappmessage(JSON.stringify(n.message)))})}else this.toast.pdTriggerappmessage("Enter Email or Password")},l.prototype.forgotopen=function(){this.status=!0},l.prototype.forgotpassword=function(){var l={Username:this.email};console.log(l)},l.prototype.loggedInCheck=function(){return this.shared.isLoggedIn?(alert("if"),!1):(alert("else"),!0)},l=Wb([Object(Df.k)({selector:"page-login",templateUrl:"login.html"}),Eb("design:paramtypes",[zf,Qf.h,Uf,Tf.r,Tf.o,ch])],l)}(),Ub=e(188),$b=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Bb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Mb=function(){function l(l,n){this.http=l,this.loadingCtrl=n,console.log("Hello LoadingProvider Provider")}return l.prototype.pdloader=function(l){this.loading=this.loadingCtrl.create({content:l}),this.loading.present()},l=$b([Object(Df.x)(),Bb("design:paramtypes",[Af.c,Tf.n])],l)}(),Kb=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Hb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Gb=function(){function l(l,n,e,u,t,a,i,o,r,_){this.navCtrl=l,this.navParams=n,this.Menu=e,this.fb=u,this.shared=t,this.toast=a,this.faio=i,this.aws=o,this.loadingCtrl=r,this.commonconstant=_,this.mpinaccess=!1,this.commonImage=this.commonconstant.commonimage,this.shared.refresh(),this.getuserDetails()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad AuthPage")},l.prototype.ionViewDidEnter=function(){this.Menu.enable(!1)},l.prototype.ionViewWillLeave=function(){this.Menu.enable(!0)},l.prototype.getuserDetails=function(){var l=this;this.loadingCtrl.pdloader("loading...");var n=this.aws.getlocale();this.aws.getuserprofile(n).subscribe(function(n){l.userDetails=n,1==l.userDetails.dataStatus?(l.loadingCtrl.loading.dismiss(),l.userDetails=l.userDetails.records,"PD Executive"==l.userDetails[0].role_name||"PD Officer"==l.userDetails[0].role_name?l.mpinaccess=null==l.userDetails[0].mpin:(l.toast.pdTriggerappmessage("This App only for PD Officers"),localStorage.clear())):l.toast.pdTriggerappmessage("")})},l.prototype.setnewpin=function(l){var n=this;console.log("set Pin"),this.aws.userpinupdate(l).subscribe(function(l){n.newpindetails=l,1==n.newpindetails.dataStatus&&n.navCtrl.setRoot(Ab)})},l.prototype.checkpin=function(l){console.log("Check pin",l),""!=l&&null!=l?this.userDetails[0].mpin==l?(console.log("Entering List page"),this.navCtrl.setRoot(Ab)):this.toast.pdTriggerappmessage("Enter The Correct PIN"):this.toast.pdTriggerappmessage("Enter The PIN")},l.prototype.checkfingerprint=function(){var l=this;console.log("Check Finger"),this.faio.show({clientId:"Fingerprint-Demo",clientSecret:"password",localizedFallbackTitle:"Use Pin",localizedReason:"Please authenticate",disableBackup:!0}).then(function(n){l.navCtrl.setRoot(Ab)}).catch(function(n){l.toast.pdTriggerappmessage("err: "+n)})},l=Kb([Object(Df.k)({selector:"page-auth",templateUrl:"auth.html"}),Hb("design:paramtypes",[Tf.r,Tf.s,Tf.o,Jf.g,Uf,ch,Ub.a,zf,Mb,Mf])],l)}(),Yb=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},zb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},Qb=function(){function l(l,n,e,u,t,a,i){var o=this;this.platform=l,this.statusBar=n,this.splashScreen=e,this.aws=u,this.shared=t,this.AWS=a,this.alertCtrl=i,this.userAccess=!1,this.rootPage=Rb,this.alertShown=!1,this.initializeApp(),this.pages=[{title:"Home",icon:"home",method:function(){return o.menulist(1)}},{title:"Logout",icon:"md-exit",method:function(){return o.menulist(2)}}]}return l.prototype.initializeApp=function(){var l=this;this.platform.ready().then(function(){l.statusBar.styleDefault(),l.platform.is("android")&&(l.statusBar.overlaysWebView(!1),l.statusBar.backgroundColorByHexString("#db4437")),l.splashScreen.hide(),l.shared.getAccessToken().then(function(){l.getuserDetails(),l.rootPage=Gb}).catch(function(){setTimeout(function(){l.rootPage=Rb},1e3)})}),this.platform.registerBackButtonAction(function(){if(1==l.nav.length()){if(0==l.alertShown){var n=l.alertCtrl.create({title:"Confirm Exit",message:"Do You Want Exit ?",buttons:[{text:"Cancel",role:"cancel",handler:function(){console.log("Cancel clicked"),l.alertShown=!1}},{text:"Yes",handler:function(){console.log("Exit"),l.platform.exitApp()}}]});n.present(),l.alertShown=!0}}else l.nav.pop()})},l.prototype.presentConfirm=function(){var l=this,n=this.alertCtrl.create({title:"Confirm Exit",message:"Do You Want Exit ?",buttons:[{text:"Cancel",role:"cancel",handler:function(){console.log("Cancel clicked")}},{text:"Yes",handler:function(){console.log("Exit"),l.platform.exitApp()}}]});n.present()},l.prototype.getuserDetails=function(){var l=this,n=this.aws.getlocale();this.aws.getuserprofile(n).subscribe(function(n){l.userDetails=n,1==l.userDetails.dataStatus&&(l.userAccess=!0,l.userDetails=l.userDetails.records[0])})},l.prototype.menulist=function(l){var n=this;switch(l){case 1:this.nav.setRoot(Ab);break;case 2:this.AWS.logout().subscribe(function(){n.nav.setRoot(Rb)})}},l.prototype.logout=function(){this.nav.setRoot(Rb)},Yb([Object(Df.Z)(Tf.q),zb("design:type",Tf.q)],l.prototype,"nav",void 0),l=Yb([Object(Df.k)({templateUrl:"app.html"}),zb("design:paramtypes",[Tf.u,Of.a,Lf.a,zf,Uf,zf,Tf.a])],l)}(),Jb=e(356),Xb=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},Zb=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},lv=function(){function l(){}return l.prototype.getlogin=function(){},l=Xb([Object(Df.x)(),Zb("design:paramtypes",[])],l)}(),nv=e(54),ev=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},uv=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},tv=function(){function l(l){this.shared=l}return l.prototype.intercept=function(l,n){var e;this.shared.refresh(),e=(e=this.shared.getToken()||null).getIdToken().getJwtToken();var u=l.clone({headers:new Af.h({Authorization:"sparqvenba2018",Token:e,From:"1"})});return n.handle(u).pipe(Object(nv.catchError)(this.handleError("role",[])))},l.prototype.handleError=function(l,n){return void 0===l&&(l="operation"),function(l){if(l instanceof Af.f)return console.error("Error: "+l.status),401==l.status&&localStorage.clear(),Object(Nf.of)(n)}},l=ev([Object(Df.x)(),uv("design:paramtypes",[Uf])],l)}(),av=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},iv=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},ov=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.SwipedTabsIndicator=null,this.tabTitleWidthArray=[],this.tabElementWidth_px=50,this.screenWidth_px=0,this.isRight=!0,this.isLeft=!0,this.tabs=[],this.tabs=["1","2","3","4","5","6","7","9","10","11"],console.log("Width: "+e.width()),this.screenWidth_px=e.width()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad GoogleplaytabPage")},l.prototype.ionViewDidEnter=function(){this.SwipedTabsIndicator=document.getElementById("indicator");for(var l in this.tabs)this.tabTitleWidthArray.push(document.getElementById("tabTitle"+l).offsetWidth);this.selectTab(0)},l.prototype.scrollIndicatiorTab=function(){this.ItemsTitles.scrollTo(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())-this.screenWidth_px/2,0)},l.prototype.selectTab=function(l){this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[l]+"px",this.SwipedTabsIndicator.style.webkitTransform="translate3d("+this.calculateDistanceToSpnd(l)+"px,0,0)",this.SwipedTabsSlider.slideTo(l)},l.prototype.calculateDistanceToSpnd=function(l){for(var n=0,e=0;en&&(this.isLeft=!1,this.isRight=!0),this.SwipedTabsSlider.isEnd()&&(this.isRight=!1),this.SwipedTabsSlider.isBeginning()&&(this.isLeft=!1),this.isRight&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()+1])+"px,0,0)"),this.isLeft&&(this.SwipedTabsIndicator.style.webkitTransform="translate3d("+(this.calculateDistanceToSpnd(this.SwipedTabsSlider.getActiveIndex())+(l.progress-n)*(this.SwipedTabsSlider.length()-1)*this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()-1])+"px,0,0)"),this.isRight||this.isLeft||(this.SwipedTabsIndicator.style.width=this.tabTitleWidthArray[this.SwipedTabsSlider.getActiveIndex()]+"px")},av([Object(Df.Z)("SwipedTabsSlider"),iv("design:type",Tf.v)],l.prototype,"SwipedTabsSlider",void 0),av([Object(Df.Z)("MultiItemsScrollingTabs"),iv("design:type",Tf.e)],l.prototype,"ItemsTitles",void 0),l=av([Object(Df.k)({selector:"page-googleplaytab",templateUrl:"googleplaytab.html"}),iv("design:paramtypes",[Tf.r,Tf.s,Tf.u])],l)}(),rv=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},_v=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},dv=function(){function l(l,n){this.navCtrl=l,this.navParams=n,this.pdFullDetails=[],this.pdFullDetails=this.navParams.get("pdDetails"),console.log(this.pdFullDetails)}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdAllocationPage")},l=rv([Object(Df.k)({selector:"page-pd-allocation",templateUrl:"pd-allocation.html"}),_v("design:paramtypes",[Tf.r,Tf.s])],l)}(),sv=e(451),cv=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},mv=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},pv=function(){function l(l,n,e,u){this.navCtrl=l,this.navParams=n,this.qustcat=e,this.aws=u,this.existCompanyList=[],this.pdDetails=this.navParams.get("pdDetails"),this.pdid=this.pdDetails.pd_id,this.FormId=this.navParams.get("FormId"),this.users=this.aws.getlocale,this.getDropDown()}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionBusinessPage")},l.prototype.getDropDown=function(){var l=this;this.qustcat.getCompaniesListsForBusiness(this.pdid).subscribe(function(n){l.existCompanyList=n.records.filter(function(l){return 1==l.is_active&&1==l.is_company_applicant}),console.log(l.existCompanyList)})},l=cv([Object(Df.k)({selector:"page-pd-question-business",templateUrl:"pd-question-business.html"}),mv("design:paramtypes",[Tf.r,Tf.s,ah,zf])],l)}(),fv=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},hv=this&&this.__metadata||function(l,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(l,n)},gv=function(){function l(l,n,e){this.navCtrl=l,this.navParams=n,this.fb=e,this.salaryDetails=this.fb.group({gross:[null],netTakeHome:[null],bounsIncentive:[null],salaryDate:[null],anydelays:[null]})}return l.prototype.ionViewDidLoad=function(){console.log("ionViewDidLoad PdQuestionSalaryInfoPage")},l=fv([Object(Df.k)({selector:"page-pd-question-salary-info",templateUrl:"pd-question-salary-info.html"}),hv("design:paramtypes",[Tf.r,Tf.s,Jf.g])],l)}(),bv=this&&this.__decorate||function(l,n,e,u){var t,a=arguments.length,i=a<3?n:null===u?u=Object.getOwnPropertyDescriptor(n,e):u;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(l,n,e,u);else for(var o=l.length-1;o>=0;o--)(t=l[o])&&(i=(a<3?t(i):a>3?t(n,e,i):t(n,e))||i);return a>3&&i&&Object.defineProperty(n,e,i),i},vv=function(){function l(){}return l=bv([Object(Df.E)({declarations:[Qb,Gb,Rb,Ab,sb,hh,ov,Nb,dv,qb,hb,vh,Nh,Th,Sh,wh,Ah,Xg,kh,Xh,Rh,Bh,Hh,zh,ng,tg,Ig,sg,og,Xg,yg,pg,Og,Fb,gg,Vg,Bg,Wg,Hg,zg,pv,ob,nb,tb,Fg,yb,gv,Pg],imports:[Pf.a,Jf.w,Jf.m,Tf.m.forRoot(Qb,{},{links:[]}),Jb.a,Qf.a,Qf.b,Qf.c,Qf.d,Qf.e,Qf.f,Qf.g,Qf.i,Qf.n,Qf.j,Qf.k,Qf.l,Qf.m,Qf.n,Qf.o,Qf.p,Qf.q,Qf.r,Qf.s,Qf.t,Qf.u,Qf.v,Qf.w,Qf.y,Qf.x,Qf.z,Qf.A,Qf.C,Qf.D,Qf.E,Qf.F,Qf.B,Af.d,sv.a],bootstrap:[Tf.k],entryComponents:[Qb,Gb,Rb,Ab,sb,hh,ov,Nb,dv,qb,hb,vh,Nh,Th,Sh,wh,Ah,Xg,kh,Xh,Rh,Bh,Hh,zh,ng,tg,Ig,sg,og,Xg,yg,pg,Og,Fb,gg,Vg,Bg,Wg,Hg,zg,pv,ob,nb,tb,Fg,yb,gv,Pg],providers:[Of.a,zf,lv,tv,ch,Mf,Uf,Lf.a,eh,Ub.a,kb.a,mb.a,{provide:Af.a,useClass:tv,multi:!0},{provide:Df.r,useClass:Tf.l},Zf.a,zf,ah,_h,ih.a,Rg,gb.a,Mb,cb.a,Tb]})],l)}(),yv=e(142),Cv=e(452),wv=e(453),Fv=e(454),xv=e(455),Sv=e(456),Iv=e(457),qv=e(458),kv=e(459),Pv=e(460),Dv=e(361),Tv=e(461),Ov=e(462),Lv=e(463),Av=e(464),Vv=e(115),jv=e(55),Nv=e(53),Wv=e(2),Ev=e(82),Rv=e(88),Uv=e(215),$v=e(22),Bv=e(20),Mv=e(465),Kv=e(102),Hv=e(172),Gv=e(5),Yv=e(18),zv=e(38),Qv=e(9),Jv=e(8),Xv=e(27),Zv=e(15),ly=e(6),ny=e(14),ey=e(84),uy=e(466),ty=e(147),ay=e(98),iy=e(64),oy=e(108),ry=Df._16({encapsulation:2,styles:[],data:{}}),_y=Df._14("ng-component",Qb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"ng-component",[],null,null,null,i,ry)),Df._17(1,49152,null,0,Qb,[Gv.a,Of.a,Lf.a,zf,Uf,zf,oy.a],null,null)],null,null)},{},{},[]),dy=e(33),sy=e(26),cy=e(29),my=e(39),py=e(41),fy=e(31),hy=e(7),gy=e(36),by=e(133),vy=e(77),yy=e(25),Cy=e(12),wy=Df._16({encapsulation:2,styles:[],data:{}}),Fy=Df._14("page-auth",Gb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-auth",[],null,null,null,_,wy)),Df._17(1,49152,null,0,Gb,[ny.a,Cy.a,$v.a,Jf.g,Uf,ch,Ub.a,zf,Mb,Mf],null,null)],null,null)},{},{},[]),xy=e(113),Sy=Df._16({encapsulation:2,styles:[],data:{}}),Iy=Df._14("page-login",Rb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-login",[],null,null,null,s,Sy)),Df._17(1,114688,null,0,Rb,[zf,xy.d,Uf,ny.a,$v.a,ch],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),qy=e(34),ky=e(30),Py=e(21),Dy=e(19),Ty=e(152),Oy=e(103),Ly=e(24),Ay=e(32),Vy=e(23),jy=e(17),Ny=e(37),Wy=e(35),Ey=e(149),Ry=e(248),Uy=e(111),$y=e(110),By=e(249),My=e(121),Ky=e(250),Hy=e(104),Gy=e(251),Yy=e(122),zy=e(146),Qy=Df._16({encapsulation:2,styles:[],data:{}}),Jy=Df._14("page-pd-list",Ab,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-list",[],null,null,null,F,Qy)),Df._17(1,49152,null,0,Ab,[ny.a,Cy.a,zf,eh,Uf,Tb,mb.a],null,null)],null,null)},{},{},[]),Xy=e(123),Zy=Df._16({encapsulation:2,styles:[],data:{}}),lC=Df._14("page-pd-question-category",sb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-category",[],null,null,null,V,Zy)),Df._17(1,49152,null,0,sb,[ny.a,Cy.a,ah,zf,Uf,ch,eh],null,null)],null,null)},{},{},[]),nC=e(191),eC=e(114),uC=e(93),tC=e(78),aC=e(52),iC=e(189),oC=e(132),rC=e(252),_C=e(128),dC=e(253),sC=e(119),cC=e(254),mC=e(101),pC=e(467),fC=e(177),hC=e(362),gC=Df._16({encapsulation:2,styles:[],data:{}}),bC=Df._14("page-pd-question",hh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question",[],null,null,null,J,gC)),Df._17(1,49152,null,0,hh,[ny.a,Cy.a,Gv.a,Jf.g,ah,zf,_h,ch],null,null)],null,null)},{},{},[]),vC=Df._16({encapsulation:2,styles:[],data:{}}),yC=Df._14("page-googleplaytab",ov,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-googleplaytab",[],null,null,null,ul,vC)),Df._17(1,49152,null,0,ov,[ny.a,Cy.a,Gv.a],null,null)],null,null)},{},{},[]),CC=Df._16({encapsulation:2,styles:[],data:{}}),wC=Df._14("page-password",Nb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-password",[],null,null,null,tl,CC)),Df._17(1,49152,null,0,Nb,[ny.a,Cy.a,zf,ch,Mf],null,null)],null,null)},{},{},[]),FC=Df._16({encapsulation:2,styles:[],data:{}}),xC=Df._14("page-pd-allocation",dv,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-allocation",[],null,null,null,cl,FC)),Df._17(1,49152,null,0,dv,[ny.a,Cy.a],null,null)],null,null)},{},{},[]),SC=e(109),IC=e(468),qC=e(167),kC=Df._16({encapsulation:2,styles:[],data:{}}),PC=Df._14("page-input",qb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-input",[],null,null,null,Fl,kC)),Df._17(1,49152,null,0,qb,[ny.a,Cy.a,Jf.g,Of.a,Xf.a,Zf.a,zf,eh,cb.a,oy.a,gb.a,ch,Mf,mb.a],null,null)],null,null)},{},{},[]),DC=e(49),TC=e(51),OC=e(45),LC=e(40),AC=e(16),VC=Df._16({encapsulation:2,styles:[],data:{}}),jC=Df._14("page-otp",hb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-otp",[],null,null,null,Tl,VC)),Df._17(1,49152,null,0,hb,[ny.a,Cy.a,eh,ch,$v.a,Mf,zf,oy.a,ah,Jf.g,cb.a,mb.a],null,null)],null,null)},{},{},[]),NC=Df._16({encapsulation:2,styles:[],data:{}}),WC=Df._14("page-pd-question-address",vh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-address",[],null,null,null,Yl,NC)),Df._17(1,49152,null,0,vh,[ny.a,Cy.a,Jf.g,ah,zf,ch,oy.a,Mf],null,null)],null,null)},{},{},[]),EC=Df._16({encapsulation:2,styles:[],data:{}}),RC=Df._14("page-pd-question-assests",Nh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-assests",[],null,null,null,jn,EC)),Df._17(1,49152,null,0,Nh,[ny.a,Cy.a,Jf.g,zf,ah,ch,Mf],null,null)],null,null)},{},{},[]),UC=Df._16({encapsulation:2,styles:[],data:{}}),$C=Df._14("page-pd-question-banking",Th,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-banking",[],null,null,null,zn,UC)),Df._17(1,49152,null,0,Th,[ny.a,Cy.a,Jf.g,zf,ah,ch,Mf],null,null)],null,null)},{},{},[]),BC=Df._16({encapsulation:2,styles:[],data:{}}),MC=Df._14("page-pd-question-current-loans",Sh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-current-loans",[],null,null,null,se,BC)),Df._17(1,49152,null,0,Sh,[ny.a,Cy.a,Jf.g,ah,ch,zf,Mf],null,null)],null,null)},{},{},[]),KC=Df._16({encapsulation:2,styles:[],data:{}}),HC=Df._14("page-pd-question-emp-info",wh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-emp-info",[],null,null,null,Ae,KC)),Df._17(1,49152,null,0,wh,[ny.a,Cy.a,Jf.g,ah,zf,ch,Mf],null,null)],null,null)},{},{},[]),GC=Df._16({encapsulation:2,styles:[],data:{}}),YC=Df._14("page-pd-question-family",Ah,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-family",[],null,null,null,iu,GC)),Df._17(1,49152,null,0,Ah,[ny.a,Cy.a,Jf.g,ah,zf,ch,Mf],null,null)],null,null)},{},{},[]),zC=e(92),QC=e(134),JC=Df._16({encapsulation:2,styles:[],data:{}}),XC=Df._14("page-pd-question-business-info",Xg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-business-info",[],null,null,null,mi,JC)),Df._17(1,49152,null,0,Xg,[ny.a,Cy.a,zf,ch,ah,Jf.g,Mf],null,null)],null,null)},{},{},[]),ZC=Df._16({encapsulation:2,styles:[],data:{}}),lw=Df._14("page-pd-question-loans",kh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-loans",[],null,null,null,$i,ZC)),Df._17(1,49152,null,0,kh,[ny.a,Cy.a,Jf.g,ah,zf,ch,Mf],null,null)],null,null)},{},{},[]),nw=Df._16({encapsulation:2,styles:[],data:{}}),ew=Df._14("page-pd-question-financial-info",Xh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-financial-info",[],null,null,null,Ao,nw)),Df._17(1,49152,null,0,Xh,[ny.a,Cy.a,zf,ch,ah,Jf.g,Mf],null,null)],null,null)},{},{},[]),uw=Df._16({encapsulation:2,styles:[],data:{}}),tw=Df._14("page-pd-question-other-income",Rh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-other-income",[],null,null,null,Yo,uw)),Df._17(1,49152,null,0,Rh,[ny.a,Cy.a,Jf.g,ah,zf,ch,Mf],null,null)],null,null)},{},{},[]),aw=Df._16({encapsulation:2,styles:[],data:{}}),iw=Df._14("page-pd-question-supplier-info",Bh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-supplier-info",[],null,null,null,Cr,aw)),Df._17(1,49152,null,0,Bh,[ny.a,Cy.a,Jf.g,zf,ah,ch],null,null)],null,null)},{},{},[]),ow=Df._16({encapsulation:2,styles:[],data:{}}),rw=Df._14("page-pd-question-personal-info",Hh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-personal-info",[],null,null,null,Tr,ow)),Df._17(1,114688,null,0,Hh,[ny.a,Cy.a,zf,ah,ch,Jf.g],null,null)],function(l,n){l(n,1,0)},null)},{},{},[]),_w=Df._16({encapsulation:2,styles:[],data:{}}),dw=Df._14("page-pd-question-stock-info",zh,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-stock-info",[],null,null,null,w_,_w)),Df._17(1,49152,null,0,zh,[ny.a,Cy.a,ah,zf,ch,Jf.g,Mf],null,null)],null,null)},{},{},[]),sw=Df._16({encapsulation:2,styles:[],data:{}}),cw=Df._14("page-pd-question-client-info",ng,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-client-info",[],null,null,null,rd,sw)),Df._17(1,49152,null,0,ng,[ny.a,Cy.a,ah,zf,ch,Jf.g],null,null)],null,null)},{},{},[]),mw=Df._16({encapsulation:2,styles:[],data:{}}),pw=Df._14("page-pd-question-rental-info",tg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-rental-info",[],null,null,null,hd,mw)),Df._17(1,49152,null,0,tg,[ny.a,Cy.a,zf,ch,ah,Jf.g],null,null)],null,null)},{},{},[]),fw=Df._16({encapsulation:2,styles:[],data:{}}),hw=Df._14("page-pd-question-assessed-info",Ig,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-assessed-info",[],null,null,null,Ed,fw)),Df._17(1,49152,null,0,Ig,[ny.a,Cy.a,zf,ah,ch,Jf.g,Mf],null,null)],null,null)},{},{},[]),gw=Df._16({encapsulation:2,styles:[],data:{}}),bw=Df._14("page-pd-question-assessed-daily-sales",sg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-assessed-daily-sales",[],null,null,null,Yd,gw)),Df._17(1,49152,null,0,sg,[ny.a,Cy.a,zf,ah,ch,Jf.g,Mf],null,null)],null,null)},{},{},[]),vw=Df._16({encapsulation:2,styles:[],data:{}}),yw=Df._14("page-pd-question-assessed-sales",og,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-assessed-sales",[],null,null,null,as,vw)),Df._17(1,49152,null,0,og,[ny.a,Cy.a,zf,Jf.g,ah,ch,Mf],null,null)],null,null)},{},{},[]),Cw=Df._16({encapsulation:2,styles:[],data:{}}),ww=Df._14("page-pd-question-assessed-household",yg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-assessed-household",[],null,null,null,ms,Cw)),Df._17(1,49152,null,0,yg,[ny.a,Cy.a,Jf.g,zf,ch,ah,Mf],null,null)],null,null)},{},{},[]),Fw=Df._16({encapsulation:2,styles:[],data:{}}),xw=Df._14("page-pd-question-assessed-purchase",pg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-assessed-purchase",[],null,null,null,Fs,Fw)),Df._17(1,49152,null,0,pg,[ny.a,Jf.g,Cy.a,ah,ch,zf,Mf],null,null)],null,null)},{},{},[]),Sw=Df._16({encapsulation:2,styles:[],data:{}}),Iw=Df._14("page-pd-question-assessed-dash",Og,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-assessed-dash",[],null,null,null,Ws,Sw)),Df._17(1,49152,null,0,Og,[ny.a,Cy.a,zf,Jf.g,ah,ch],null,null)],null,null)},{},{},[]),qw=Df._16({encapsulation:2,styles:[],data:{}}),kw=Df._14("page-bounced-reject",Fb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-bounced-reject",[],null,null,null,Us,qw)),Df._17(1,49152,null,0,Fb,[ny.a,Cy.a,ly.a,zf,eh,ah,Jf.g,ch],null,null)],null,null)},{},{},[]),Pw=Df._16({encapsulation:2,styles:[],data:{}}),Dw=Df._14("page-pd-question-assessed-business",gg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-assessed-business",[],null,null,null,Qs,Pw)),Df._17(1,49152,null,0,gg,[ny.a,Cy.a,Jf.g,zf,ah,ch,Mf],null,null)],null,null)},{},{},[]),Tw=Df._16({encapsulation:2,styles:[],data:{}}),Ow=Df._14("page-pd-question-lender-representative",Vg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-lender-representative",[],null,null,null,lc,Tw)),Df._17(1,49152,null,0,Vg,[ny.a,Cy.a,zf,ah,ch,Jf.g],null,null)],null,null)},{},{},[]),Lw=e(469),Aw=e(169),Vw=e(168),jw=e(470),Nw=e(164),Ww=e(182),Ew=e(174),Rw=Df._16({encapsulation:2,styles:[],data:{}}),Uw=Df._14("page-pd-question-general-info",Bg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,2,"page-pd-question-general-info",[],null,null,null,Kc,Rw)),Df._36(4608,null,Rg,Rg,[]),Df._17(2,49152,null,0,Bg,[ny.a,Cy.a,zf,ah,ch,Jf.g,Ew.a],null,null)],null,null)},{},{},[]),$w=Df._16({encapsulation:2,styles:[],data:{}}),Bw=Df._14("page-pd-question-general-other-applicant",Wg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-general-other-applicant",[],null,null,null,zc,$w)),Df._17(1,49152,null,0,Wg,[ny.a,Cy.a,Jf.g,ly.a],null,null)],null,null)},{},{},[]),Mw=e(471),Kw=e(185),Hw=Df._16({encapsulation:2,styles:[],data:{}}),Gw=Df._14("page-pd-question-neighbour-hood",Hg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-neighbour-hood",[],null,null,null,qm,Hw)),Df._17(1,49152,null,0,Hg,[ny.a,Cy.a,zf,ah,ch,Jf.g,Mf],null,null)],null,null)},{},{},[]),Yw=Df._16({encapsulation:2,styles:[],data:{}}),zw=Df._14("page-pd-question-final-remark",zg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-final-remark",[],null,null,null,Km,Yw)),Df._17(1,49152,null,0,zg,[ny.a,Cy.a,Jf.g,ah,zf,ch],null,null)],null,null)},{},{},[]),Qw=Df._16({encapsulation:2,styles:[],data:{}}),Jw=Df._14("page-pd-question-business",pv,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-business",[],null,null,null,Hm,Qw)),Df._17(1,49152,null,0,pv,[ny.a,Cy.a,ah,zf],null,null)],null,null)},{},{},[]),Xw=Df._16({encapsulation:2,styles:[],data:{}}),Zw=Df._14("page-pd-question-business-group",ob,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-business-group",[],null,null,null,lp,Xw)),Df._17(1,49152,null,0,ob,[ny.a,Cy.a,ah],null,null)],null,null)},{},{},[]),lF=Df._16({encapsulation:2,styles:[],data:{}}),nF=Df._14("page-pd-question-business-assets",nb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-business-assets",[],null,null,null,Mp,lF)),Df._17(1,49152,null,0,nb,[ny.a,Cy.a,zf,Jf.g,ah,Mf,ch],null,null)],null,null)},{},{},[]),eF=Df._16({encapsulation:2,styles:[],data:{}}),uF=Df._14("page-pd-question-business-banking",tb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-business-banking",[],null,null,null,uf,eF)),Df._17(1,49152,null,0,tb,[ny.a,Cy.a,zf,Jf.g,ah,Mf,ch],null,null)],null,null)},{},{},[]),tF=Df._16({encapsulation:2,styles:[],data:{}}),aF=Df._14("page-pd-question-assessed-business-income",Fg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-assessed-business-income",[],null,null,null,ff,tF)),Df._17(1,49152,null,0,Fg,[ny.a,Cy.a,Jf.g,zf,ah,ch,Mf],null,null)],null,null)},{},{},[]),iF=Df._16({encapsulation:2,styles:[],data:{}}),oF=Df._14("page-pd-general-images",yb,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-general-images",[],null,null,null,yf,iF)),Df._17(1,49152,null,0,yb,[ny.a,Cy.a,_h,ah,ch],null,null)],null,null)},{},{},[]),rF=Df._16({encapsulation:2,styles:[],data:{}}),_F=Df._14("page-pd-question-salary-info",gv,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-salary-info",[],null,null,null,wf,rF)),Df._17(1,49152,null,0,gv,[ny.a,Cy.a,Jf.g],null,null)],null,null)},{},{},[]),dF=Df._16({encapsulation:2,styles:[],data:{}}),sF=Df._14("page-pd-question-assessed-summary",Pg,function(l){return Df._41(0,[(l()(),Df._18(0,0,null,null,1,"page-pd-question-assessed-summary",[],null,null,null,kf,dF)),Df._17(1,49152,null,0,Pg,[ny.a,Cy.a,ah],null,null)],null,null)},{},{},[]),cF=e(234),mF=e(357),pF=e(71),fF=e(70),hF=e(338),gF=e(129),bF=e(330),vF=e(130),yF=e(343),CF=e(184),wF=e(344),FF=e(244),xF=e(243),SF=e(349),IF=e(351),qF=e(144),kF=e(120),PF=e(209),DF=e(231),TF=e(100),OF=e(214),LF=e(165),AF=e(222),VF=e(230),jF=e(226),NF=e(329),WF=e(232),EF=e(217),RF=e(233),UF=e(61),$F=e(340),BF=e(341),MF=e(183),KF=e(242),HF=e(342),GF=e(345),YF=e(346),zF=e(347),QF=e(348),JF=e(245),XF=e(353),ZF=e(354),lx=e(355),nx=e(352),ex=e(358),ux=Df._15(vv,[yv.b],function(l){return Df._29([Df._30(512,Df.l,Df._11,[[8,[Cv.a,wv.a,Fv.a,xv.a,Sv.a,Iv.a,qv.a,kv.a,Pv.a,Dv.a,Tv.a,Ov.a,Lv.a,Lv.b,Av.a,_y,Fy,Iy,Jy,lC,bC,yC,wC,xC,PC,jC,WC,RC,$C,MC,HC,YC,XC,lw,ew,tw,iw,rw,dw,cw,pw,hw,bw,yw,ww,xw,Iw,kw,Dw,Ow,Uw,Bw,Gw,zw,Jw,Zw,nF,uF,aF,oF,_F,sF]],[3,Df.l],Df.F]),Df._30(5120,Df.D,Df._28,[[3,Df.D]]),Df._30(4608,rg.l,rg.k,[Df.D,[2,rg.w]]),Df._30(5120,Df.b,Df._19,[]),Df._30(5120,Df.B,Df._25,[]),Df._30(5120,Df.C,Df._26,[]),Df._30(4608,Pf.c,Pf.q,[rg.c]),Df._30(6144,Df.S,null,[Pf.c]),Df._30(4608,Pf.f,cF.a,[]),Df._30(5120,Pf.d,function(l,n,e,u,t){return[new Pf.k(l,n),new Pf.o(e),new Pf.n(u,t)]},[rg.c,Df.H,rg.c,rg.c,Pf.f]),Df._30(4608,Pf.e,Pf.e,[Pf.d,Df.H]),Df._30(135680,Pf.m,Pf.m,[rg.c]),Df._30(4608,Pf.l,Pf.l,[Pf.e,Pf.m]),Df._30(5120,mF.a,Jb.d,[]),Df._30(5120,mF.c,Jb.e,[]),Df._30(4608,mF.b,Jb.c,[mF.a,mF.c]),Df._30(5120,Df.Q,Jb.f,[Pf.l,mF.b,Df.H]),Df._30(6144,Pf.p,null,[Pf.m]),Df._30(4608,Df.X,Df.X,[Df.H]),Df._30(4608,Pf.h,Pf.h,[rg.c]),Df._30(4608,Pf.i,Pf.i,[rg.c]),Df._30(4608,Jf.g,Jf.g,[]),Df._30(4608,Jf.C,Jf.C,[]),Df._30(4608,pF.b,Jb.b,[Df.Q,Pf.b]),Df._30(6144,AC.b,null,[rg.c]),Df._30(4608,AC.c,AC.c,[[2,AC.b]]),Df._30(4608,Xf.a,Xf.a,[]),Df._30(5120,LC.c,LC.a,[[3,LC.c],Df.H,Xf.a]),Df._30(5120,LC.f,LC.e,[[3,LC.f],Xf.a,Df.H]),Df._30(4608,fF.i,fF.i,[LC.c,LC.f,Df.H,rg.c]),Df._30(5120,fF.e,fF.k,[[3,fF.e],rg.c]),Df._30(4608,fF.h,fF.h,[LC.f,rg.c]),Df._30(5120,fF.f,fF.n,[[3,fF.f],rg.c]),Df._30(4608,fF.c,fF.c,[fF.i,fF.e,Df.l,fF.h,fF.f,Df.f,Df.z,Df.H,rg.c]),Df._30(5120,fF.l,fF.m,[fF.c]),Df._30(5120,hF.a,hF.b,[fF.c]),Df._30(4608,yy.l,yy.l,[Xf.a]),Df._30(4608,yy.k,yy.k,[yy.l,Df.H,rg.c]),Df._30(136192,yy.e,yy.c,[[3,yy.e],rg.c]),Df._30(5120,yy.p,yy.o,[[3,yy.p],[2,yy.m],rg.c]),Df._30(5120,yy.j,yy.h,[[3,yy.j],Df.H,Xf.a]),Df._30(5120,aC.d,aC.e,[[3,aC.d]]),Df._30(4608,gF.b,gF.b,[]),Df._30(4608,hy.d,hy.d,[]),Df._30(5120,rg.g,bF.b,[rg.r,[2,rg.a],Wv.a]),Df._30(4608,rg.f,rg.f,[rg.g]),Df._30(5120,xy.b,xy.c,[fF.c]),Df._30(4608,xy.d,xy.d,[fF.c,Df.z,[2,rg.f],[2,xy.a],xy.b,[3,xy.d],fF.e]),Df._30(4608,Af.l,Af.l,[]),Df._30(6144,Af.k,null,[Af.l]),Df._30(4608,Af.i,Af.i,[Af.k]),Df._30(6144,Af.b,null,[Af.i]),Df._30(4608,Af.j,Af.o,[rg.c,Df.K,Af.m]),Df._30(4608,Af.p,Af.p,[Af.j,Af.n]),Df._30(4608,Uf,Uf,[]),Df._30(5120,Af.a,function(l,n){return[l,new tv(n)]},[Af.p,Uf]),Df._30(5120,Af.g,Af.q,[Af.b,[2,Af.a]]),Df._30(4608,Af.c,Af.c,[Af.g]),Df._30(5120,vF.d,vF.a,[[3,vF.d],[2,Af.c],Pf.c,[2,rg.c]]),Df._30(4608,Ww.h,Ww.h,[]),Df._30(5120,Ww.a,Ww.b,[fF.c]),Df._30(5120,yF.b,yF.d,[fF.c]),Df._30(6144,hy.h,null,[Df.D]),Df._30(4608,hy.c,hy.z,[[2,hy.h]]),Df._30(5120,OC.a,OC.b,[fF.c]),Df._30(5120,CF.b,CF.c,[fF.c]),Df._30(5120,wF.b,wF.a,[[3,wF.b]]),Df._30(4608,FF.d,FF.d,[Xf.a]),Df._30(135680,FF.a,FF.a,[FF.d,Df.H]),Df._30(4608,xF.b,xF.b,[fF.c,yy.p,Df.z,FF.a,[3,xF.b]]),Df._30(5120,SF.b,SF.a,[[3,SF.b]]),Df._30(4608,IF.a,IF.a,[]),Df._30(5120,qF.b,qF.d,[Jv.a,qF.a]),Df._30(5120,iy.a,iy.b,[Jv.a,qF.b,rg.f,kF.b,Df.l]),Df._30(4608,oC.a,oC.a,[Jv.a,Wv.a,iy.a]),Df._30(4608,PF.a,PF.a,[Jv.a,Wv.a]),Df._30(4608,oy.a,oy.a,[Jv.a,Wv.a]),Df._30(4608,DF.a,DF.a,[]),Df._30(4608,Nv.a,Nv.a,[]),Df._30(4608,TF.a,TF.a,[Gv.a]),Df._30(4608,Yv.a,Yv.a,[Wv.a,Gv.a,Df.H,Qv.a]),Df._30(4608,OF.a,OF.a,[Jv.a,Wv.a]),Df._30(4608,Ew.a,Ew.a,[Jv.a,Wv.a,iy.a]),Df._30(4608,LF.a,LF.a,[Jv.a,Wv.a]),Df._30(4608,AF.a,AF.a,[Jv.a,Wv.a,iy.a]),Df._30(4608,VF.a,VF.a,[Wv.a,Gv.a,Qv.a,Jv.a,zv.l]),Df._30(4608,jF.a,jF.a,[Jv.a,Wv.a]),Df._30(4608,ay.a,ay.a,[Gv.a,Wv.a]),Df._30(4608,Of.a,Of.a,[]),Df._30(4608,Mf,Mf,[Af.c]),Df._30(4608,zf,zf,[Af.c,Uf,Mf]),Df._30(4608,lv,lv,[]),Df._30(4608,tv,tv,[Uf]),Df._30(4608,ch,ch,[Af.c,jF.a]),Df._30(4608,Lf.a,Lf.a,[]),Df._30(4608,eh,eh,[Af.c,Mf]),Df._30(4608,Ub.a,Ub.a,[]),Df._30(4608,kb.a,kb.a,[]),Df._30(4608,mb.a,mb.a,[]),Df._30(4608,Zf.a,Zf.a,[]),Df._30(4608,ah,ah,[Af.c,Mf]),Df._30(4608,ih.a,ih.a,[]),Df._30(4608,_h,_h,[Af.c,ih.a]),Df._30(4608,Rg,Rg,[]),Df._30(4608,gb.a,gb.a,[]),Df._30(4608,Mb,Mb,[Af.c,OF.a]),Df._30(4608,cb.a,cb.a,[]),Df._30(4608,Tb,Tb,[Af.c,kb.a]),Df._30(512,rg.b,rg.b,[]),Df._30(512,Df.r,NF.a,[]),Df._30(256,Wv.b,{},[]),Df._30(1024,WF.a,WF.b,[]),Df._30(1024,Gv.a,Gv.b,[Pf.b,WF.a,Df.H]),Df._30(1024,Wv.a,Wv.c,[Wv.b,Gv.a]),Df._30(512,Qv.a,Qv.a,[Gv.a]),Df._30(512,$v.a,$v.a,[]),Df._30(512,Jv.a,Jv.a,[Wv.a,Gv.a,[2,$v.a]]),Df._30(512,zv.l,zv.l,[Jv.a]),Df._30(256,qF.a,{links:[]},[]),Df._30(512,Df.j,Df.j,[]),Df._30(512,EF.a,EF.a,[Df.j]),Df._30(1024,kF.b,kF.c,[EF.a,Df.z]),Df._30(1024,Df.c,function(l,n,e,u,t,a,i,o,r,_,d,s,c){return[Pf.s(l),RF.a(n),DF.b(e,u),VF.b(t,a,i,o,r),kF.d(_,d,s,c)]},[[2,Df.G],Wv.a,Gv.a,Qv.a,Wv.a,Gv.a,Qv.a,Jv.a,zv.l,Wv.a,qF.a,kF.b,Df.H]),Df._30(512,Df.d,Df.d,[[2,Df.c]]),Df._30(131584,Df.f,Df.f,[Df.H,Df._12,Df.z,Df.r,Df.l,Df.d]),Df._30(512,Df.e,Df.e,[Df.f]),Df._30(512,Pf.a,Pf.a,[[3,Pf.a]]),Df._30(512,Jf.z,Jf.z,[]),Df._30(512,Jf.w,Jf.w,[]),Df._30(512,Jf.m,Jf.m,[]),Df._30(512,bF.a,bF.a,[]),Df._30(512,Jb.a,Jb.a,[]),Df._30(512,AC.a,AC.a,[]),Df._30(256,hy.f,!0,[]),Df._30(512,hy.n,hy.n,[[2,hy.f]]),Df._30(512,Xf.b,Xf.b,[]),Df._30(512,hy.y,hy.y,[]),Df._30(512,hy.w,hy.w,[]),Df._30(512,hy.u,hy.u,[]),Df._30(512,UF.g,UF.g,[]),Df._30(512,LC.b,LC.b,[]),Df._30(512,fF.g,fF.g,[]),Df._30(512,hF.c,hF.c,[]),Df._30(512,yy.a,yy.a,[]),Df._30(512,vy.d,vy.d,[]),Df._30(512,$F.a,$F.a,[]),Df._30(512,sy.f,sy.f,[]),Df._30(512,gF.c,gF.c,[]),Df._30(512,_C.c,_C.c,[]),Df._30(512,BF.a,BF.a,[]),Df._30(512,xy.g,xy.g,[]),Df._30(512,vF.c,vF.c,[]),Df._30(512,Ww.i,Ww.i,[]),Df._30(512,hy.p,hy.p,[]),Df._30(512,MF.a,MF.a,[]),Df._30(512,eC.c,eC.c,[]),Df._30(512,KF.c,KF.c,[]),Df._30(512,zC.b,zC.b,[]),Df._30(512,HF.a,HF.a,[]),Df._30(512,fy.d,fy.d,[]),Df._30(512,gy.c,gy.c,[]),Df._30(512,yF.c,yF.c,[]),Df._30(512,hy.A,hy.A,[]),Df._30(512,hy.r,hy.r,[]),Df._30(512,OC.d,OC.d,[]),Df._30(512,CF.d,CF.d,[]),Df._30(512,wF.c,wF.c,[]),Df._30(512,GF.a,GF.a,[]),Df._30(512,YF.a,YF.a,[]),Df._30(512,tC.c,tC.c,[]),Df._30(512,zF.b,zF.b,[]),Df._30(512,QF.a,QF.a,[]),Df._30(512,Kw.b,Kw.b,[]),Df._30(512,FF.c,FF.c,[]),Df._30(512,xF.d,xF.d,[]),Df._30(512,SF.c,SF.c,[]),Df._30(512,JF.m,JF.m,[]),Df._30(512,XF.a,XF.a,[]),Df._30(512,ZF.a,ZF.a,[]),Df._30(512,lx.a,lx.a,[]),Df._30(512,nx.d,nx.d,[]),Df._30(512,IF.b,IF.b,[]),Df._30(512,Af.e,Af.e,[]),Df._30(512,Af.d,Af.d,[]),Df._30(512,ex.a,ex.a,[]),Df._30(512,vv,vv,[]),Df._30(256,rg.a,"/",[]),Df._30(256,Af.m,"XSRF-TOKEN",[]),Df._30(256,Af.n,"X-XSRF-TOKEN",[]),Df._30(256,yF.a,{overlapTrigger:!0,xPosition:"after",yPosition:"below"},[]),Df._30(256,hy.g,hy.k,[]),Df._30(256,CF.a,{showDelay:0,hideDelay:0,touchendHideDelay:1500},[]),Df._30(256,zF.a,!1,[]),Df._30(256,yv.a,Qb,[])])});Object(Df._5)(),Object(Pf.j)().bootstrapModuleFactory(ux)}},[363]); \ No newline at end of file diff --git a/platforms/android/app/build/intermediates/assets/debug/www/build/vendor.js b/platforms/android/app/build/intermediates/assets/debug/www/build/vendor.js index af4f5d88..cc20d75c 100644 --- a/platforms/android/app/build/intermediates/assets/debug/www/build/vendor.js +++ b/platforms/android/app/build/intermediates/assets/debug/www/build/vendor.js @@ -1,198695 +1 @@ -/******/ (function(modules) { // webpackBootstrap -/******/ // install a JSONP callback for chunk loading -/******/ var parentJsonpFunction = window["webpackJsonp"]; -/******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0, resolves = [], result; -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) { -/******/ resolves.push(installedChunks[chunkId][0]); -/******/ } -/******/ installedChunks[chunkId] = 0; -/******/ } -/******/ for(moduleId in moreModules) { -/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { -/******/ modules[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) { -/******/ resolves.shift()(); -/******/ } -/******/ if(executeModules) { -/******/ for(i=0; i < executeModules.length; i++) { -/******/ result = __webpack_require__(__webpack_require__.s = executeModules[i]); -/******/ } -/******/ } -/******/ return result; -/******/ }; -/******/ -/******/ // The module cache -/******/ var installedModules = {}; -/******/ -/******/ // objects to store loaded and loading chunks -/******/ var installedChunks = { -/******/ 1: 0 -/******/ }; -/******/ -/******/ // The require function -/******/ function __webpack_require__(moduleId) { -/******/ -/******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) { -/******/ return installedModules[moduleId].exports; -/******/ } -/******/ // Create a new module (and put it into the cache) -/******/ var module = installedModules[moduleId] = { -/******/ i: moduleId, -/******/ l: false, -/******/ exports: {} -/******/ }; -/******/ -/******/ // Execute the module function -/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); -/******/ -/******/ // Flag the module as loaded -/******/ module.l = true; -/******/ -/******/ // Return the exports of the module -/******/ return module.exports; -/******/ } -/******/ -/******/ // This file contains only the entry chunk. -/******/ // The chunk loading function for additional chunks -/******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ var installedChunkData = installedChunks[chunkId]; -/******/ if(installedChunkData === 0) { -/******/ return new Promise(function(resolve) { resolve(); }); -/******/ } -/******/ -/******/ // a Promise means "currently loading". -/******/ if(installedChunkData) { -/******/ return installedChunkData[2]; -/******/ } -/******/ -/******/ // setup Promise in chunk cache -/******/ var promise = new Promise(function(resolve, reject) { -/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; -/******/ }); -/******/ installedChunkData[2] = promise; -/******/ -/******/ // start chunk loading -/******/ var head = document.getElementsByTagName('head')[0]; -/******/ var script = document.createElement('script'); -/******/ script.type = 'text/javascript'; -/******/ script.charset = 'utf-8'; -/******/ script.async = true; -/******/ script.timeout = 120000; -/******/ -/******/ if (__webpack_require__.nc) { -/******/ script.setAttribute("nonce", __webpack_require__.nc); -/******/ } -/******/ script.src = __webpack_require__.p + "" + chunkId + ".js"; -/******/ var timeout = setTimeout(onScriptComplete, 120000); -/******/ script.onerror = script.onload = onScriptComplete; -/******/ function onScriptComplete() { -/******/ // avoid mem leaks in IE. -/******/ script.onerror = script.onload = null; -/******/ clearTimeout(timeout); -/******/ var chunk = installedChunks[chunkId]; -/******/ if(chunk !== 0) { -/******/ if(chunk) { -/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); -/******/ } -/******/ installedChunks[chunkId] = undefined; -/******/ } -/******/ }; -/******/ head.appendChild(script); -/******/ -/******/ return promise; -/******/ }; -/******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = modules; -/******/ -/******/ // expose the module cache -/******/ __webpack_require__.c = installedModules; -/******/ -/******/ // define getter function for harmony exports -/******/ __webpack_require__.d = function(exports, name, getter) { -/******/ if(!__webpack_require__.o(exports, name)) { -/******/ Object.defineProperty(exports, name, { -/******/ configurable: false, -/******/ enumerable: true, -/******/ get: getter -/******/ }); -/******/ } -/******/ }; -/******/ -/******/ // getDefaultExport function for compatibility with non-harmony modules -/******/ __webpack_require__.n = function(module) { -/******/ var getter = module && module.__esModule ? -/******/ function getDefault() { return module['default']; } : -/******/ function getModuleExports() { return module; }; -/******/ __webpack_require__.d(getter, 'a', getter); -/******/ return getter; -/******/ }; -/******/ -/******/ // Object.prototype.hasOwnProperty.call -/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; -/******/ -/******/ // __webpack_public_path__ -/******/ __webpack_require__.p = "build/"; -/******/ -/******/ // on error function for async loading -/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; -/******/ }) -/************************************************************************/ -/******/ ([ -/* 0 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* WEBPACK VAR INJECTION */(function(global) {/* unused harmony export createPlatform */ -/* unused harmony export assertPlatform */ -/* unused harmony export destroyPlatform */ -/* unused harmony export getPlatform */ -/* unused harmony export PlatformRef */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return ApplicationRef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_15", function() { return enableProdMode; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_18", function() { return isDevMode; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_14", function() { return createPlatformFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "M", function() { return NgProbeToken; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return APP_ID; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Q", function() { return PACKAGE_ROOT_URL; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "S", function() { return PLATFORM_INITIALIZER; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "R", function() { return PLATFORM_ID; }); -/* unused harmony export APP_BOOTSTRAP_LISTENER */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return APP_INITIALIZER; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return ApplicationInitStatus; }); -/* unused harmony export DebugElement */ -/* unused harmony export DebugNode */ -/* unused harmony export asNativeElements */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_17", function() { return getDebugNode; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_7", function() { return Testability; }); -/* unused harmony export TestabilityRegistry */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_20", function() { return setTestabilityGetter; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_4", function() { return TRANSLATIONS; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_5", function() { return TRANSLATIONS_FORMAT; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "H", function() { return LOCALE_ID; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "I", function() { return MissingTranslationStrategy; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return ApplicationModule; }); -/* unused harmony export wtfCreateScope */ -/* unused harmony export wtfLeave */ -/* unused harmony export wtfStartTimeRange */ -/* unused harmony export wtfEndTimeRange */ -/* unused harmony export Type */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "w", function() { return EventEmitter; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "v", function() { return ErrorHandler; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_0", function() { return Sanitizer; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_1", function() { return SecurityContext; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return ANALYZE_FOR_ENTRY_COMPONENTS; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return Attribute; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "q", function() { return ContentChild; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "r", function() { return ContentChildren; }); -/* unused harmony export Query */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_9", function() { return ViewChild; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_10", function() { return ViewChildren; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return Component; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "s", function() { return Directive; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "y", function() { return HostBinding; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "z", function() { return HostListener; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "E", function() { return Input; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "P", function() { return Output; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "T", function() { return Pipe; }); -/* unused harmony export CUSTOM_ELEMENTS_SCHEMA */ -/* unused harmony export NO_ERRORS_SCHEMA */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "J", function() { return NgModule; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_12", function() { return ViewEncapsulation; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_8", function() { return Version; }); -/* unused harmony export VERSION */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_16", function() { return forwardRef; }); -/* unused harmony export resolveForwardRef */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "D", function() { return Injector; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "V", function() { return ReflectiveInjector; }); -/* unused harmony export ResolvedReflectiveFactory */ -/* unused harmony export ReflectiveKey */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "C", function() { return InjectionToken; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "A", function() { return Inject; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "O", function() { return Optional; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "B", function() { return Injectable; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_2", function() { return Self; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_3", function() { return SkipSelf; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "x", function() { return Host; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "N", function() { return NgZone; }); -/* unused harmony export RenderComponentType */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "W", function() { return Renderer; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "X", function() { return Renderer2; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Y", function() { return RendererFactory2; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "Z", function() { return RendererStyleFlags2; }); -/* unused harmony export RootRenderer */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return COMPILER_OPTIONS; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return Compiler; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return CompilerFactory; }); -/* unused harmony export ModuleWithComponentFactories */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "n", function() { return ComponentFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "p", function() { return ComponentRef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return ComponentFactoryResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "t", function() { return ElementRef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "K", function() { return NgModuleFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "L", function() { return NgModuleRef; }); -/* unused harmony export NgModuleFactoryLoader */ -/* unused harmony export getModuleFactory */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "U", function() { return QueryList; }); -/* unused harmony export SystemJsNgModuleLoader */ -/* unused harmony export SystemJsNgModuleLoaderConfig */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_6", function() { return TemplateRef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_11", function() { return ViewContainerRef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "u", function() { return EmbeddedViewRef; }); -/* unused harmony export ViewRef */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return ChangeDetectionStrategy; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return ChangeDetectorRef; }); -/* unused harmony export DefaultIterableDiffer */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "F", function() { return IterableDiffers; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "G", function() { return KeyValueDiffers; }); -/* unused harmony export SimpleChange */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_13", function() { return WrappedValue; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_19", function() { return platformCore; }); -/* unused harmony export ɵALLOW_MULTIPLE_PLATFORMS */ -/* unused harmony export ɵAPP_ID_RANDOM_PROVIDER */ -/* unused harmony export ɵValueUnwrapper */ -/* unused harmony export ɵdevModeEqual */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_35", function() { return isListLikeIterable; }); -/* unused harmony export ɵChangeDetectorStatus */ -/* unused harmony export ɵisDefaultChangeDetectionStrategy */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_22", function() { return Console; }); -/* unused harmony export ɵComponentFactory */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_21", function() { return CodegenComponentFactoryResolver; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_25", function() { return ReflectionCapabilities; }); -/* unused harmony export ɵRenderDebugInfo */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_32", function() { return _global; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_38", function() { return looseIdentical; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_50", function() { return stringify; }); -/* unused harmony export ɵmakeDecorator */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_36", function() { return isObservable; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_37", function() { return isPromise; }); -/* unused harmony export ɵclearProviderOverrides */ -/* unused harmony export ɵoverrideProvider */ -/* unused harmony export ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_49", function() { return registerModuleFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_23", function() { return EMPTY_ARRAY; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_24", function() { return EMPTY_MAP; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_26", function() { return anchorDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_27", function() { return createComponentFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_28", function() { return createNgModuleFactory; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_29", function() { return createRendererType2; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_30", function() { return directiveDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_31", function() { return elementDef; }); -/* unused harmony export ɵelementEventFullName */ -/* unused harmony export ɵgetComponentViewDefinitionFactory */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_33", function() { return inlineInterpolate; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_34", function() { return interpolate; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_39", function() { return moduleDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_40", function() { return moduleProvideDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_41", function() { return ngContentDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_42", function() { return nodeValue; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_44", function() { return pipeDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_47", function() { return providerDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_43", function() { return pureArrayDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_45", function() { return pureObjectDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_46", function() { return purePipeDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_48", function() { return queryDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_51", function() { return textDef; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_52", function() { return unwrapValue; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "_53", function() { return viewDef; }); -/* unused harmony export AUTO_STYLE */ -/* unused harmony export trigger */ -/* unused harmony export animate */ -/* unused harmony export group */ -/* unused harmony export sequence */ -/* unused harmony export style */ -/* unused harmony export state */ -/* unused harmony export keyframes */ -/* unused harmony export transition */ -/* unused harmony export ɵx */ -/* unused harmony export ɵy */ -/* unused harmony export ɵbc */ -/* unused harmony export ɵz */ -/* unused harmony export ɵbb */ -/* unused harmony export ɵba */ -/* unused harmony export ɵbd */ -/* unused harmony export ɵw */ -/* unused harmony export ɵk */ -/* unused harmony export ɵl */ -/* unused harmony export ɵm */ -/* unused harmony export ɵf */ -/* unused harmony export ɵg */ -/* unused harmony export ɵh */ -/* unused harmony export ɵi */ -/* unused harmony export ɵj */ -/* unused harmony export ɵb */ -/* unused harmony export ɵc */ -/* unused harmony export ɵd */ -/* unused harmony export ɵe */ -/* unused harmony export ɵn */ -/* unused harmony export ɵp */ -/* unused harmony export ɵo */ -/* unused harmony export ɵs */ -/* unused harmony export ɵq */ -/* unused harmony export ɵr */ -/* unused harmony export ɵa */ -/* unused harmony export ɵt */ -/* unused harmony export ɵu */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ = __webpack_require__(1); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__ = __webpack_require__(48); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_observable_merge__ = __webpack_require__(41); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_observable_merge___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_observable_merge__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_operator_share__ = __webpack_require__(446); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_operator_share___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_operator_share__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_Subject__ = __webpack_require__(20); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_Subject___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_rxjs_Subject__); -/** - * @license Angular v5.0.3 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ - - - - - - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Creates a token that can be used in a DI Provider. - * - * Use an `InjectionToken` whenever the type you are injecting is not reified (does not have a - * runtime representation) such as when injecting an interface, callable type, array or - * parametrized type. - * - * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by - * the `Injector`. This provides additional level of type safety. - * - * ``` - * interface MyInterface {...} - * var myInterface = injector.get(new InjectionToken('SomeToken')); - * // myInterface is inferred to be MyInterface. - * ``` - * - * ### Example - * - * {\@example core/di/ts/injector_spec.ts region='InjectionToken'} - * - * \@stable - */ -var InjectionToken = (function () { - function InjectionToken(_desc) { - this._desc = _desc; - /** - * \@internal - */ - this.ngMetadataName = 'InjectionToken'; - } - /** - * @return {?} - */ - InjectionToken.prototype.toString = /** - * @return {?} - */ - function () { return "InjectionToken " + this._desc; }; - return InjectionToken; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * An interface implemented by all Angular type decorators, which allows them to be used as ES7 - * decorators as well as - * Angular DSL syntax. - * - * ES7 syntax: - * - * ``` - * \@ng.Component({...}) - * class MyClass {...} - * ``` - * \@stable - * @record - */ - -var ANNOTATIONS = '__annotations__'; -var PARAMETERS = '__paramaters__'; -var PROP_METADATA = '__prop__metadata__'; -/** - * @suppress {globalThis} - * @param {?} name - * @param {?=} props - * @param {?=} parentClass - * @param {?=} chainFn - * @return {?} - */ -function makeDecorator(name, props, parentClass, chainFn) { - var /** @type {?} */ metaCtor = makeMetadataCtor(props); - /** - * @param {?} objOrType - * @return {?} - */ - function DecoratorFactory(objOrType) { - if (this instanceof DecoratorFactory) { - metaCtor.call(this, objOrType); - return this; - } - var /** @type {?} */ annotationInstance = new (/** @type {?} */ (DecoratorFactory))(objOrType); - var /** @type {?} */ TypeDecorator = /** @type {?} */ (function TypeDecorator(cls) { - // Use of Object.defineProperty is important since it creates non-enumerable property which - // prevents the property is copied during subclassing. - var /** @type {?} */ annotations = cls.hasOwnProperty(ANNOTATIONS) ? - (/** @type {?} */ (cls))[ANNOTATIONS] : - Object.defineProperty(cls, ANNOTATIONS, { value: [] })[ANNOTATIONS]; - annotations.push(annotationInstance); - return cls; - }); - if (chainFn) - chainFn(TypeDecorator); - return TypeDecorator; - } - if (parentClass) { - DecoratorFactory.prototype = Object.create(parentClass.prototype); - } - DecoratorFactory.prototype.ngMetadataName = name; - (/** @type {?} */ (DecoratorFactory)).annotationCls = DecoratorFactory; - return /** @type {?} */ (DecoratorFactory); -} -/** - * @param {?=} props - * @return {?} - */ -function makeMetadataCtor(props) { - return function ctor() { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - if (props) { - var /** @type {?} */ values = props.apply(void 0, args); - for (var /** @type {?} */ propName in values) { - this[propName] = values[propName]; - } - } - }; -} -/** - * @param {?} name - * @param {?=} props - * @param {?=} parentClass - * @return {?} - */ -function makeParamDecorator(name, props, parentClass) { - var /** @type {?} */ metaCtor = makeMetadataCtor(props); - /** - * @param {...?} args - * @return {?} - */ - function ParamDecoratorFactory() { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - if (this instanceof ParamDecoratorFactory) { - metaCtor.apply(this, args); - return this; - } - var /** @type {?} */ annotationInstance = new ((_a = (/** @type {?} */ (ParamDecoratorFactory))).bind.apply(_a, [void 0].concat(args)))(); - (/** @type {?} */ (ParamDecorator)).annotation = annotationInstance; - return ParamDecorator; - /** - * @param {?} cls - * @param {?} unusedKey - * @param {?} index - * @return {?} - */ - function ParamDecorator(cls, unusedKey, index) { - // Use of Object.defineProperty is important since it creates non-enumerable property which - // prevents the property is copied during subclassing. - var /** @type {?} */ parameters = cls.hasOwnProperty(PARAMETERS) ? - (/** @type {?} */ (cls))[PARAMETERS] : - Object.defineProperty(cls, PARAMETERS, { value: [] })[PARAMETERS]; - // there might be gaps if some in between parameters do not have annotations. - // we pad with nulls. - while (parameters.length <= index) { - parameters.push(null); - } - (parameters[index] = parameters[index] || []).push(annotationInstance); - return cls; - } - var _a; - } - if (parentClass) { - ParamDecoratorFactory.prototype = Object.create(parentClass.prototype); - } - ParamDecoratorFactory.prototype.ngMetadataName = name; - (/** @type {?} */ (ParamDecoratorFactory)).annotationCls = ParamDecoratorFactory; - return ParamDecoratorFactory; -} -/** - * @param {?} name - * @param {?=} props - * @param {?=} parentClass - * @return {?} - */ -function makePropDecorator(name, props, parentClass) { - var /** @type {?} */ metaCtor = makeMetadataCtor(props); - /** - * @param {...?} args - * @return {?} - */ - function PropDecoratorFactory() { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - if (this instanceof PropDecoratorFactory) { - metaCtor.apply(this, args); - return this; - } - var /** @type {?} */ decoratorInstance = new ((_a = (/** @type {?} */ (PropDecoratorFactory))).bind.apply(_a, [void 0].concat(args)))(); - return function PropDecorator(target, name) { - var /** @type {?} */ constructor = target.constructor; - // Use of Object.defineProperty is important since it creates non-enumerable property which - // prevents the property is copied during subclassing. - var /** @type {?} */ meta = constructor.hasOwnProperty(PROP_METADATA) ? - (/** @type {?} */ (constructor))[PROP_METADATA] : - Object.defineProperty(constructor, PROP_METADATA, { value: {} })[PROP_METADATA]; - meta[name] = meta.hasOwnProperty(name) && meta[name] || []; - meta[name].unshift(decoratorInstance); - }; - var _a; - } - if (parentClass) { - PropDecoratorFactory.prototype = Object.create(parentClass.prototype); - } - PropDecoratorFactory.prototype.ngMetadataName = name; - (/** @type {?} */ (PropDecoratorFactory)).annotationCls = PropDecoratorFactory; - return PropDecoratorFactory; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * This token can be used to create a virtual provider that will populate the - * `entryComponents` fields of components and ng modules based on its `useValue`. - * All components that are referenced in the `useValue` value (either directly - * or in a nested array or map) will be added to the `entryComponents` property. - * - * ### Example - * The following example shows how the router can populate the `entryComponents` - * field of an NgModule based on the router configuration which refers - * to components. - * - * ```typescript - * // helper function inside the router - * function provideRoutes(routes) { - * return [ - * {provide: ROUTES, useValue: routes}, - * {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true} - * ]; - * } - * - * // user code - * let routes = [ - * {path: '/root', component: RootComp}, - * {path: '/teams', component: TeamsComp} - * ]; - * - * \@NgModule({ - * providers: [provideRoutes(routes)] - * }) - * class ModuleWithRoutes {} - * ``` - * - * \@experimental - */ -var ANALYZE_FOR_ENTRY_COMPONENTS = new InjectionToken('AnalyzeForEntryComponents'); -/** - * Type of the Attribute decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Attribute decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Attribute = makeParamDecorator('Attribute', function (attributeName) { return ({ attributeName: attributeName }); }); -/** - * Base class for query metadata. - * - * See {\@link ContentChildren}, {\@link ContentChild}, {\@link ViewChildren}, {\@link ViewChild} for - * more information. - * - * \@stable - * @abstract - */ -var Query = (function () { - function Query() { - } - return Query; -}()); -/** - * Type of the ContentChildren decorator / constructor function. - * - * See {\@link ContentChildren}. - * - * \@stable - * @record - */ - -/** - * ContentChildren decorator and metadata. - * - * \@stable - * \@Annotation - */ -var ContentChildren = makePropDecorator('ContentChildren', function (selector, data) { - if (data === void 0) { data = {}; } - return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ selector: selector, first: false, isViewQuery: false, descendants: false }, data)); -}, Query); -/** - * Type of the ContentChild decorator / constructor function. - * - * - * \@stable - * @record - */ - -/** - * ContentChild decorator and metadata. - * - * \@stable - * \@Annotation - */ -var ContentChild = makePropDecorator('ContentChild', function (selector, data) { - if (data === void 0) { data = {}; } - return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ selector: selector, first: true, isViewQuery: false, descendants: true }, data)); -}, Query); -/** - * Type of the ViewChildren decorator / constructor function. - * - * See {\@link ViewChildren}. - * - * \@stable - * @record - */ - -/** - * ViewChildren decorator and metadata. - * - * \@stable - * \@Annotation - */ -var ViewChildren = makePropDecorator('ViewChildren', function (selector, data) { - if (data === void 0) { data = {}; } - return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ selector: selector, first: false, isViewQuery: true, descendants: true }, data)); -}, Query); -/** - * Type of the ViewChild decorator / constructor function. - * - * See {\@link ViewChild} - * - * \@stable - * @record - */ - -/** - * ViewChild decorator and metadata. - * - * \@stable - * \@Annotation - */ -var ViewChild = makePropDecorator('ViewChild', function (selector, data) { - return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ selector: selector, first: true, isViewQuery: true, descendants: true }, data)); -}, Query); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** @enum {number} */ -var ChangeDetectionStrategy = { - /** - * `OnPush` means that the change detector's mode will be initially set to `CheckOnce`. - */ - OnPush: 0, - /** - * `Default` means that the change detector's mode will be initially set to `CheckAlways`. - */ - Default: 1, -}; -ChangeDetectionStrategy[ChangeDetectionStrategy.OnPush] = "OnPush"; -ChangeDetectionStrategy[ChangeDetectionStrategy.Default] = "Default"; -/** @enum {number} */ -var ChangeDetectorStatus = { - /** - * `CheckOnce` means that after calling detectChanges the mode of the change detector - * will become `Checked`. - */ - CheckOnce: 0, - /** - * `Checked` means that the change detector should be skipped until its mode changes to - * `CheckOnce`. - */ - Checked: 1, - /** - * `CheckAlways` means that after calling detectChanges the mode of the change detector - * will remain `CheckAlways`. - */ - CheckAlways: 2, - /** - * `Detached` means that the change detector sub tree is not a part of the main tree and - * should be skipped. - */ - Detached: 3, - /** - * `Errored` means that the change detector encountered an error checking a binding - * or calling a directive lifecycle method and is now in an inconsistent state. Change - * detectors in this state will no longer detect changes. - */ - Errored: 4, - /** - * `Destroyed` means that the change detector is destroyed. - */ - Destroyed: 5, -}; -ChangeDetectorStatus[ChangeDetectorStatus.CheckOnce] = "CheckOnce"; -ChangeDetectorStatus[ChangeDetectorStatus.Checked] = "Checked"; -ChangeDetectorStatus[ChangeDetectorStatus.CheckAlways] = "CheckAlways"; -ChangeDetectorStatus[ChangeDetectorStatus.Detached] = "Detached"; -ChangeDetectorStatus[ChangeDetectorStatus.Errored] = "Errored"; -ChangeDetectorStatus[ChangeDetectorStatus.Destroyed] = "Destroyed"; -/** - * @param {?} changeDetectionStrategy - * @return {?} - */ -function isDefaultChangeDetectionStrategy(changeDetectionStrategy) { - return changeDetectionStrategy == null || - changeDetectionStrategy === ChangeDetectionStrategy.Default; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Type of the Directive decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Directive decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Directive = makeDecorator('Directive', function (dir) { - if (dir === void 0) { dir = {}; } - return dir; -}); -/** - * Type of the Component decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Component decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Component = makeDecorator('Component', function (c) { - if (c === void 0) { c = {}; } - return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ changeDetection: ChangeDetectionStrategy.Default }, c)); -}, Directive); -/** - * Type of the Pipe decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Pipe decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Pipe = makeDecorator('Pipe', function (p) { return (Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({ pure: true }, p)); }); -/** - * Type of the Input decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Input decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Input = makePropDecorator('Input', function (bindingPropertyName) { return ({ bindingPropertyName: bindingPropertyName }); }); -/** - * Type of the Output decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Output decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Output = makePropDecorator('Output', function (bindingPropertyName) { return ({ bindingPropertyName: bindingPropertyName }); }); -/** - * Type of the HostBinding decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * HostBinding decorator and metadata. - * - * \@stable - * \@Annotation - */ -var HostBinding = makePropDecorator('HostBinding', function (hostPropertyName) { return ({ hostPropertyName: hostPropertyName }); }); -/** - * Type of the HostListener decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * HostListener decorator and metadata. - * - * \@stable - * \@Annotation - */ -var HostListener = makePropDecorator('HostListener', function (eventName, args) { return ({ eventName: eventName, args: args }); }); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * A wrapper around a module that also includes the providers. - * - * \@stable - * @record - */ - -/** - * Interface for schema definitions in \@NgModules. - * - * \@experimental - * @record - */ - -/** - * Defines a schema that will allow: - * - any non-Angular elements with a `-` in their name, - * - any properties on elements with a `-` in their name which is the common rule for custom - * elements. - * - * \@stable - */ -var CUSTOM_ELEMENTS_SCHEMA = { - name: 'custom-elements' -}; -/** - * Defines a schema that will allow any property on any element. - * - * \@experimental - */ -var NO_ERRORS_SCHEMA = { - name: 'no-errors-schema' -}; -/** - * Type of the NgModule decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * NgModule decorator and metadata. - * - * \@stable - * \@Annotation - */ -var NgModule = makeDecorator('NgModule', function (ngModule) { return ngModule; }); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** @enum {number} */ -var ViewEncapsulation = { - /** - * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host - * Element and pre-processing the style rules provided via {@link Component#styles styles} or - * {@link Component#styleUrls styleUrls}, and adding the new Host Element attribute to all - * selectors. - * - * This is the default option. - */ - Emulated: 0, - /** - * Use the native encapsulation mechanism of the renderer. - * - * For the DOM this means using [Shadow DOM](https://w3c.github.io/webcomponents/spec/shadow/) and - * creating a ShadowRoot for Component's Host Element. - */ - Native: 1, - /** - * Don't provide any template or style encapsulation. - */ - None: 2, -}; -ViewEncapsulation[ViewEncapsulation.Emulated] = "Emulated"; -ViewEncapsulation[ViewEncapsulation.Native] = "Native"; -ViewEncapsulation[ViewEncapsulation.None] = "None"; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * \@whatItDoes Represents the version of Angular - * - * \@stable - */ -var Version = (function () { - function Version(full) { - this.full = full; - this.major = full.split('.')[0]; - this.minor = full.split('.')[1]; - this.patch = full.split('.').slice(2).join('.'); - } - return Version; -}()); -/** - * \@stable - */ -var VERSION = new Version('5.0.3'); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Type of the Inject decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Inject decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Inject = makeParamDecorator('Inject', function (token) { return ({ token: token }); }); -/** - * Type of the Optional decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Optional decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Optional = makeParamDecorator('Optional'); -/** - * Type of the Injectable decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Injectable decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Injectable = makeDecorator('Injectable'); -/** - * Type of the Self decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Self decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Self = makeParamDecorator('Self'); -/** - * Type of the SkipSelf decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * SkipSelf decorator and metadata. - * - * \@stable - * \@Annotation - */ -var SkipSelf = makeParamDecorator('SkipSelf'); -/** - * Type of the Host decorator / constructor function. - * - * \@stable - * @record - */ - -/** - * Host decorator and metadata. - * - * \@stable - * \@Annotation - */ -var Host = makeParamDecorator('Host'); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -var __window = typeof window !== 'undefined' && window; -var __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && - self instanceof WorkerGlobalScope && self; -var __global = typeof global !== 'undefined' && global; -var _global = __window || __global || __self; -var _symbolIterator = null; -/** - * @return {?} - */ -function getSymbolIterator() { - if (!_symbolIterator) { - var /** @type {?} */ Symbol_1 = _global['Symbol']; - if (Symbol_1 && Symbol_1.iterator) { - _symbolIterator = Symbol_1.iterator; - } - else { - // es6-shim specific logic - var /** @type {?} */ keys = Object.getOwnPropertyNames(Map.prototype); - for (var /** @type {?} */ i = 0; i < keys.length; ++i) { - var /** @type {?} */ key = keys[i]; - if (key !== 'entries' && key !== 'size' && - (/** @type {?} */ (Map)).prototype[key] === Map.prototype['entries']) { - _symbolIterator = key; - } - } - } - } - return _symbolIterator; -} -/** - * @param {?} fn - * @return {?} - */ -function scheduleMicroTask(fn) { - Zone.current.scheduleMicroTask('scheduleMicrotask', fn); -} -/** - * @param {?} a - * @param {?} b - * @return {?} - */ -function looseIdentical(a, b) { - return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b); -} -/** - * @param {?} token - * @return {?} - */ -function stringify(token) { - if (typeof token === 'string') { - return token; - } - if (token instanceof Array) { - return '[' + token.map(stringify).join(', ') + ']'; - } - if (token == null) { - return '' + token; - } - if (token.overriddenName) { - return "" + token.overriddenName; - } - if (token.name) { - return "" + token.name; - } - var /** @type {?} */ res = token.toString(); - if (res == null) { - return '' + res; - } - var /** @type {?} */ newLineIndex = res.indexOf('\n'); - return newLineIndex === -1 ? res : res.substring(0, newLineIndex); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * An interface that a function passed into {\@link forwardRef} has to implement. - * - * ### Example - * - * {\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref_fn'} - * \@experimental - * @record - */ - -/** - * Allows to refer to references which are not yet defined. - * - * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of - * DI is declared, - * but not yet defined. It is also used when the `token` which we use when creating a query is not - * yet defined. - * - * ### Example - * {\@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'} - * \@experimental - * @param {?} forwardRefFn - * @return {?} - */ -function forwardRef(forwardRefFn) { - (/** @type {?} */ (forwardRefFn)).__forward_ref__ = forwardRef; - (/** @type {?} */ (forwardRefFn)).toString = function () { return stringify(this()); }; - return (/** @type {?} */ (/** @type {?} */ (forwardRefFn))); -} -/** - * Lazily retrieves the reference value from a forwardRef. - * - * Acts as the identity function when given a non-forward-ref value. - * - * ### Example ([live demo](http://plnkr.co/edit/GU72mJrk1fiodChcmiDR?p=preview)) - * - * {\@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'} - * - * See: {\@link forwardRef} - * \@experimental - * @param {?} type - * @return {?} - */ -function resolveForwardRef(type) { - if (typeof type === 'function' && type.hasOwnProperty('__forward_ref__') && - type.__forward_ref__ === forwardRef) { - return (/** @type {?} */ (type))(); - } - else { - return type; - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -var _THROW_IF_NOT_FOUND = new Object(); -var THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND; -var _NullInjector = (function () { - function _NullInjector() { - } - /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - _NullInjector.prototype.get = /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - function (token, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = _THROW_IF_NOT_FOUND; } - if (notFoundValue === _THROW_IF_NOT_FOUND) { - throw new Error("NullInjectorError: No provider for " + stringify(token) + "!"); - } - return notFoundValue; - }; - return _NullInjector; -}()); -/** - * \@whatItDoes Injector interface - * \@howToUse - * ``` - * const injector: Injector = ...; - * injector.get(...); - * ``` - * - * \@description - * For more details, see the {\@linkDocs guide/dependency-injection "Dependency Injection Guide"}. - * - * ### Example - * - * {\@example core/di/ts/injector_spec.ts region='Injector'} - * - * `Injector` returns itself when given `Injector` as a token: - * {\@example core/di/ts/injector_spec.ts region='injectInjector'} - * - * \@stable - * @abstract - */ -var Injector = (function () { - function Injector() { - } - /** - * Create a new Injector which is configure using `StaticProvider`s. - * - * ### Example - * - * {@example core/di/ts/provider_spec.ts region='ConstructorProvider'} - */ - /** - * Create a new Injector which is configure using `StaticProvider`s. - * - * ### Example - * - * {\@example core/di/ts/provider_spec.ts region='ConstructorProvider'} - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - Injector.create = /** - * Create a new Injector which is configure using `StaticProvider`s. - * - * ### Example - * - * {\@example core/di/ts/provider_spec.ts region='ConstructorProvider'} - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - function (providers, parent) { - return new StaticInjector(providers, parent); - }; - Injector.THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND; - Injector.NULL = new _NullInjector(); - return Injector; -}()); -var IDENT = function (value) { - return value; -}; -var EMPTY = /** @type {?} */ ([]); -var CIRCULAR = IDENT; -var MULTI_PROVIDER_FN = function () { - return Array.prototype.slice.call(arguments); -}; -var GET_PROPERTY_NAME = /** @type {?} */ ({}); -var ɵ2 = GET_PROPERTY_NAME; -var USE_VALUE = getClosureSafeProperty({ provide: String, useValue: ɵ2 }); -var NG_TOKEN_PATH = 'ngTokenPath'; -var NG_TEMP_TOKEN_PATH = 'ngTempTokenPath'; -var NULL_INJECTOR = Injector.NULL; -var NEW_LINE = /\n/gm; -var NO_NEW_LINE = 'ɵ'; -var StaticInjector = (function () { - function StaticInjector(providers, parent) { - if (parent === void 0) { parent = NULL_INJECTOR; } - this.parent = parent; - var /** @type {?} */ records = this._records = new Map(); - records.set(Injector, /** @type {?} */ ({ token: Injector, fn: IDENT, deps: EMPTY, value: this, useNew: false })); - recursivelyProcessProviders(records, providers); - } - /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - StaticInjector.prototype.get = /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - function (token, notFoundValue) { - var /** @type {?} */ record = this._records.get(token); - try { - return tryResolveToken(token, record, this._records, this.parent, notFoundValue); - } - catch (/** @type {?} */ e) { - var /** @type {?} */ tokenPath = e[NG_TEMP_TOKEN_PATH]; - e.message = formatError('\n' + e.message, tokenPath); - e[NG_TOKEN_PATH] = tokenPath; - e[NG_TEMP_TOKEN_PATH] = null; - throw e; - } - }; - /** - * @return {?} - */ - StaticInjector.prototype.toString = /** - * @return {?} - */ - function () { - var /** @type {?} */ tokens = /** @type {?} */ ([]), /** @type {?} */ records = this._records; - records.forEach(function (v, token) { return tokens.push(stringify(token)); }); - return "StaticInjector[" + tokens.join(', ') + "]"; - }; - return StaticInjector; -}()); -/** - * @param {?} provider - * @return {?} - */ -function resolveProvider(provider) { - var /** @type {?} */ deps = computeDeps(provider); - var /** @type {?} */ fn = IDENT; - var /** @type {?} */ value = EMPTY; - var /** @type {?} */ useNew = false; - var /** @type {?} */ provide = resolveForwardRef(provider.provide); - if (USE_VALUE in provider) { - // We need to use USE_VALUE in provider since provider.useValue could be defined as undefined. - value = (/** @type {?} */ (provider)).useValue; - } - else if ((/** @type {?} */ (provider)).useFactory) { - fn = (/** @type {?} */ (provider)).useFactory; - } - else if ((/** @type {?} */ (provider)).useExisting) { - // Just use IDENT - } - else if ((/** @type {?} */ (provider)).useClass) { - useNew = true; - fn = resolveForwardRef((/** @type {?} */ (provider)).useClass); - } - else if (typeof provide == 'function') { - useNew = true; - fn = provide; - } - else { - throw staticError('StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable', provider); - } - return { deps: deps, fn: fn, useNew: useNew, value: value }; -} -/** - * @param {?} token - * @return {?} - */ -function multiProviderMixError(token) { - return staticError('Cannot mix multi providers and regular providers', token); -} -/** - * @param {?} records - * @param {?} provider - * @return {?} - */ -function recursivelyProcessProviders(records, provider) { - if (provider) { - provider = resolveForwardRef(provider); - if (provider instanceof Array) { - // if we have an array recurse into the array - for (var /** @type {?} */ i = 0; i < provider.length; i++) { - recursivelyProcessProviders(records, provider[i]); - } - } - else if (typeof provider === 'function') { - // Functions were supported in ReflectiveInjector, but are not here. For safety give useful - // error messages - throw staticError('Function/Class not supported', provider); - } - else if (provider && typeof provider === 'object' && provider.provide) { - // At this point we have what looks like a provider: {provide: ?, ....} - var /** @type {?} */ token = resolveForwardRef(provider.provide); - var /** @type {?} */ resolvedProvider = resolveProvider(provider); - if (provider.multi === true) { - // This is a multi provider. - var /** @type {?} */ multiProvider = records.get(token); - if (multiProvider) { - if (multiProvider.fn !== MULTI_PROVIDER_FN) { - throw multiProviderMixError(token); - } - } - else { - // Create a placeholder factory which will look up the constituents of the multi provider. - records.set(token, multiProvider = /** @type {?} */ ({ - token: provider.provide, - deps: [], - useNew: false, - fn: MULTI_PROVIDER_FN, - value: EMPTY - })); - } - // Treat the provider as the token. - token = provider; - multiProvider.deps.push({ token: token, options: 6 /* Default */ }); - } - var /** @type {?} */ record = records.get(token); - if (record && record.fn == MULTI_PROVIDER_FN) { - throw multiProviderMixError(token); - } - records.set(token, resolvedProvider); - } - else { - throw staticError('Unexpected provider', provider); - } - } -} -/** - * @param {?} token - * @param {?} record - * @param {?} records - * @param {?} parent - * @param {?} notFoundValue - * @return {?} - */ -function tryResolveToken(token, record, records, parent, notFoundValue) { - try { - return resolveToken(token, record, records, parent, notFoundValue); - } - catch (/** @type {?} */ e) { - // ensure that 'e' is of type Error. - if (!(e instanceof Error)) { - e = new Error(e); - } - var /** @type {?} */ path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || []; - path.unshift(token); - if (record && record.value == CIRCULAR) { - // Reset the Circular flag. - record.value = EMPTY; - } - throw e; - } -} -/** - * @param {?} token - * @param {?} record - * @param {?} records - * @param {?} parent - * @param {?} notFoundValue - * @return {?} - */ -function resolveToken(token, record, records, parent, notFoundValue) { - var /** @type {?} */ value; - if (record) { - // If we don't have a record, this implies that we don't own the provider hence don't know how - // to resolve it. - value = record.value; - if (value == CIRCULAR) { - throw Error(NO_NEW_LINE + 'Circular dependency'); - } - else if (value === EMPTY) { - record.value = CIRCULAR; - var /** @type {?} */ obj = undefined; - var /** @type {?} */ useNew = record.useNew; - var /** @type {?} */ fn = record.fn; - var /** @type {?} */ depRecords = record.deps; - var /** @type {?} */ deps = EMPTY; - if (depRecords.length) { - deps = []; - for (var /** @type {?} */ i = 0; i < depRecords.length; i++) { - var /** @type {?} */ depRecord = depRecords[i]; - var /** @type {?} */ options = depRecord.options; - var /** @type {?} */ childRecord = options & 2 /* CheckSelf */ ? records.get(depRecord.token) : undefined; - deps.push(tryResolveToken( - // Current Token to resolve - depRecord.token, childRecord, records, - // If we don't know how to resolve dependency and we should not check parent for it, - // than pass in Null injector. - !childRecord && !(options & 4 /* CheckParent */) ? NULL_INJECTOR : parent, options & 1 /* Optional */ ? null : Injector.THROW_IF_NOT_FOUND)); - } - } - record.value = value = useNew ? new ((_a = (/** @type {?} */ (fn))).bind.apply(_a, [void 0].concat(deps)))() : fn.apply(obj, deps); - } - } - else { - value = parent.get(token, notFoundValue); - } - return value; - var _a; -} -/** - * @param {?} provider - * @return {?} - */ -function computeDeps(provider) { - var /** @type {?} */ deps = EMPTY; - var /** @type {?} */ providerDeps = (/** @type {?} */ (provider)).deps; - if (providerDeps && providerDeps.length) { - deps = []; - for (var /** @type {?} */ i = 0; i < providerDeps.length; i++) { - var /** @type {?} */ options = 6; - var /** @type {?} */ token = resolveForwardRef(providerDeps[i]); - if (token instanceof Array) { - for (var /** @type {?} */ j = 0, /** @type {?} */ annotations = token; j < annotations.length; j++) { - var /** @type {?} */ annotation = annotations[j]; - if (annotation instanceof Optional || annotation == Optional) { - options = options | 1 /* Optional */; - } - else if (annotation instanceof SkipSelf || annotation == SkipSelf) { - options = options & ~2 /* CheckSelf */; - } - else if (annotation instanceof Self || annotation == Self) { - options = options & ~4 /* CheckParent */; - } - else if (annotation instanceof Inject) { - token = (/** @type {?} */ (annotation)).token; - } - else { - token = resolveForwardRef(annotation); - } - } - } - deps.push({ token: token, options: options }); - } - } - else if ((/** @type {?} */ (provider)).useExisting) { - var /** @type {?} */ token = resolveForwardRef((/** @type {?} */ (provider)).useExisting); - deps = [{ token: token, options: 6 /* Default */ }]; - } - else if (!providerDeps && !(USE_VALUE in provider)) { - // useValue & useExisting are the only ones which are exempt from deps all others need it. - throw staticError('\'deps\' required', provider); - } - return deps; -} -/** - * @param {?} text - * @param {?} obj - * @return {?} - */ -function formatError(text, obj) { - text = text && text.charAt(0) === '\n' && text.charAt(1) == NO_NEW_LINE ? text.substr(2) : text; - var /** @type {?} */ context = stringify(obj); - if (obj instanceof Array) { - context = obj.map(stringify).join(' -> '); - } - else if (typeof obj === 'object') { - var /** @type {?} */ parts = /** @type {?} */ ([]); - for (var /** @type {?} */ key in obj) { - if (obj.hasOwnProperty(key)) { - var /** @type {?} */ value = obj[key]; - parts.push(key + ':' + (typeof value === 'string' ? JSON.stringify(value) : stringify(value))); - } - } - context = "{" + parts.join(', ') + "}"; - } - return "StaticInjectorError[" + context + "]: " + text.replace(NEW_LINE, '\n '); -} -/** - * @param {?} text - * @param {?} obj - * @return {?} - */ -function staticError(text, obj) { - return new Error(formatError(text, obj)); -} -/** - * @template T - * @param {?} objWithPropertyToExtract - * @return {?} - */ -function getClosureSafeProperty(objWithPropertyToExtract) { - for (var /** @type {?} */ key in objWithPropertyToExtract) { - if (objWithPropertyToExtract[key] === GET_PROPERTY_NAME) { - return key; - } - } - throw Error('!prop'); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ - -var ERROR_DEBUG_CONTEXT = 'ngDebugContext'; -var ERROR_ORIGINAL_ERROR = 'ngOriginalError'; -var ERROR_LOGGER = 'ngErrorLogger'; -/** - * @param {?} error - * @return {?} - */ - -/** - * @param {?} error - * @return {?} - */ -function getDebugContext(error) { - return (/** @type {?} */ (error))[ERROR_DEBUG_CONTEXT]; -} -/** - * @param {?} error - * @return {?} - */ -function getOriginalError(error) { - return (/** @type {?} */ (error))[ERROR_ORIGINAL_ERROR]; -} -/** - * @param {?} error - * @return {?} - */ -function getErrorLogger(error) { - return (/** @type {?} */ (error))[ERROR_LOGGER] || defaultErrorLogger; -} -/** - * @param {?} console - * @param {...?} values - * @return {?} - */ -function defaultErrorLogger(console) { - var values = []; - for (var _i = 1; _i < arguments.length; _i++) { - values[_i - 1] = arguments[_i]; - } - console.error.apply(console, values); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * \@whatItDoes Provides a hook for centralized exception handling. - * - * \@description - * - * The default implementation of `ErrorHandler` prints error messages to the `console`. To - * intercept error handling, write a custom exception handler that replaces this default as - * appropriate for your app. - * - * ### Example - * - * ``` - * class MyErrorHandler implements ErrorHandler { - * handleError(error) { - * // do something with the exception - * } - * } - * - * \@NgModule({ - * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}] - * }) - * class MyModule {} - * ``` - * - * \@stable - */ -var ErrorHandler = (function () { - function ErrorHandler() { - /** - * \@internal - */ - this._console = console; - } - /** - * @param {?} error - * @return {?} - */ - ErrorHandler.prototype.handleError = /** - * @param {?} error - * @return {?} - */ - function (error) { - var /** @type {?} */ originalError = this._findOriginalError(error); - var /** @type {?} */ context = this._findContext(error); - // Note: Browser consoles show the place from where console.error was called. - // We can use this to give users additional information about the error. - var /** @type {?} */ errorLogger = getErrorLogger(error); - errorLogger(this._console, "ERROR", error); - if (originalError) { - errorLogger(this._console, "ORIGINAL ERROR", originalError); - } - if (context) { - errorLogger(this._console, 'ERROR CONTEXT', context); - } - }; - /** @internal */ - /** - * \@internal - * @param {?} error - * @return {?} - */ - ErrorHandler.prototype._findContext = /** - * \@internal - * @param {?} error - * @return {?} - */ - function (error) { - if (error) { - return getDebugContext(error) ? getDebugContext(error) : - this._findContext(getOriginalError(error)); - } - return null; - }; - /** @internal */ - /** - * \@internal - * @param {?} error - * @return {?} - */ - ErrorHandler.prototype._findOriginalError = /** - * \@internal - * @param {?} error - * @return {?} - */ - function (error) { - var /** @type {?} */ e = getOriginalError(error); - while (e && getOriginalError(e)) { - e = getOriginalError(e); - } - return e; - }; - return ErrorHandler; -}()); -/** - * @param {?} message - * @param {?} originalError - * @return {?} - */ -function wrappedError(message, originalError) { - var /** @type {?} */ msg = message + " caused by: " + (originalError instanceof Error ? originalError.message : originalError); - var /** @type {?} */ error = Error(msg); - (/** @type {?} */ (error))[ERROR_ORIGINAL_ERROR] = originalError; - return error; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} keys - * @return {?} - */ -function findFirstClosedCycle(keys) { - var /** @type {?} */ res = []; - for (var /** @type {?} */ i = 0; i < keys.length; ++i) { - if (res.indexOf(keys[i]) > -1) { - res.push(keys[i]); - return res; - } - res.push(keys[i]); - } - return res; -} -/** - * @param {?} keys - * @return {?} - */ -function constructResolvingPath(keys) { - if (keys.length > 1) { - var /** @type {?} */ reversed = findFirstClosedCycle(keys.slice().reverse()); - var /** @type {?} */ tokenStrs = reversed.map(function (k) { return stringify(k.token); }); - return ' (' + tokenStrs.join(' -> ') + ')'; - } - return ''; -} -/** - * @record - */ - -/** - * @param {?} injector - * @param {?} key - * @param {?} constructResolvingMessage - * @param {?=} originalError - * @return {?} - */ -function injectionError(injector, key, constructResolvingMessage, originalError) { - var /** @type {?} */ keys = [key]; - var /** @type {?} */ errMsg = constructResolvingMessage(keys); - var /** @type {?} */ error = /** @type {?} */ ((originalError ? wrappedError(errMsg, originalError) : Error(errMsg))); - error.addKey = addKey; - error.keys = keys; - error.injectors = [injector]; - error.constructResolvingMessage = constructResolvingMessage; - (/** @type {?} */ (error))[ERROR_ORIGINAL_ERROR] = originalError; - return error; -} -/** - * @this {?} - * @param {?} injector - * @param {?} key - * @return {?} - */ -function addKey(injector, key) { - this.injectors.push(injector); - this.keys.push(key); - // Note: This updated message won't be reflected in the `.stack` property - this.message = this.constructResolvingMessage(this.keys); -} -/** - * Thrown when trying to retrieve a dependency by key from {\@link Injector}, but the - * {\@link Injector} does not have a {\@link Provider} for the given key. - * - * ### Example ([live demo](http://plnkr.co/edit/vq8D3FRB9aGbnWJqtEPE?p=preview)) - * - * ```typescript - * class A { - * constructor(b:B) {} - * } - * - * expect(() => Injector.resolveAndCreate([A])).toThrowError(); - * ``` - * @param {?} injector - * @param {?} key - * @return {?} - */ -function noProviderError(injector, key) { - return injectionError(injector, key, function (keys) { - var /** @type {?} */ first = stringify(keys[0].token); - return "No provider for " + first + "!" + constructResolvingPath(keys); - }); -} -/** - * Thrown when dependencies form a cycle. - * - * ### Example ([live demo](http://plnkr.co/edit/wYQdNos0Tzql3ei1EV9j?p=info)) - * - * ```typescript - * var injector = Injector.resolveAndCreate([ - * {provide: "one", useFactory: (two) => "two", deps: [[new Inject("two")]]}, - * {provide: "two", useFactory: (one) => "one", deps: [[new Inject("one")]]} - * ]); - * - * expect(() => injector.get("one")).toThrowError(); - * ``` - * - * Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed. - * @param {?} injector - * @param {?} key - * @return {?} - */ -function cyclicDependencyError(injector, key) { - return injectionError(injector, key, function (keys) { - return "Cannot instantiate cyclic dependency!" + constructResolvingPath(keys); - }); -} -/** - * Thrown when a constructing type returns with an Error. - * - * The `InstantiationError` class contains the original error plus the dependency graph which caused - * this object to be instantiated. - * - * ### Example ([live demo](http://plnkr.co/edit/7aWYdcqTQsP0eNqEdUAf?p=preview)) - * - * ```typescript - * class A { - * constructor() { - * throw new Error('message'); - * } - * } - * - * var injector = Injector.resolveAndCreate([A]); - * try { - * injector.get(A); - * } catch (e) { - * expect(e instanceof InstantiationError).toBe(true); - * expect(e.originalException.message).toEqual("message"); - * expect(e.originalStack).toBeDefined(); - * } - * ``` - * @param {?} injector - * @param {?} originalException - * @param {?} originalStack - * @param {?} key - * @return {?} - */ -function instantiationError(injector, originalException, originalStack, key) { - return injectionError(injector, key, function (keys) { - var /** @type {?} */ first = stringify(keys[0].token); - return originalException.message + ": Error during instantiation of " + first + "!" + constructResolvingPath(keys) + "."; - }, originalException); -} -/** - * Thrown when an object other then {\@link Provider} (or `Type`) is passed to {\@link Injector} - * creation. - * - * ### Example ([live demo](http://plnkr.co/edit/YatCFbPAMCL0JSSQ4mvH?p=preview)) - * - * ```typescript - * expect(() => Injector.resolveAndCreate(["not a type"])).toThrowError(); - * ``` - * @param {?} provider - * @return {?} - */ -function invalidProviderError(provider) { - return Error("Invalid provider - only instances of Provider and Type are allowed, got: " + provider); -} -/** - * Thrown when the class has no annotation information. - * - * Lack of annotation information prevents the {\@link Injector} from determining which dependencies - * need to be injected into the constructor. - * - * ### Example ([live demo](http://plnkr.co/edit/rHnZtlNS7vJOPQ6pcVkm?p=preview)) - * - * ```typescript - * class A { - * constructor(b) {} - * } - * - * expect(() => Injector.resolveAndCreate([A])).toThrowError(); - * ``` - * - * This error is also thrown when the class not marked with {\@link Injectable} has parameter types. - * - * ```typescript - * class B {} - * - * class A { - * constructor(b:B) {} // no information about the parameter types of A is available at runtime. - * } - * - * expect(() => Injector.resolveAndCreate([A,B])).toThrowError(); - * ``` - * \@stable - * @param {?} typeOrFunc - * @param {?} params - * @return {?} - */ -function noAnnotationError(typeOrFunc, params) { - var /** @type {?} */ signature = []; - for (var /** @type {?} */ i = 0, /** @type {?} */ ii = params.length; i < ii; i++) { - var /** @type {?} */ parameter = params[i]; - if (!parameter || parameter.length == 0) { - signature.push('?'); - } - else { - signature.push(parameter.map(stringify).join(' ')); - } - } - return Error('Cannot resolve all parameters for \'' + stringify(typeOrFunc) + '\'(' + - signature.join(', ') + '). ' + - 'Make sure that all the parameters are decorated with Inject or have valid type annotations and that \'' + - stringify(typeOrFunc) + '\' is decorated with Injectable.'); -} -/** - * Thrown when getting an object by index. - * - * ### Example ([live demo](http://plnkr.co/edit/bRs0SX2OTQiJzqvjgl8P?p=preview)) - * - * ```typescript - * class A {} - * - * var injector = Injector.resolveAndCreate([A]); - * - * expect(() => injector.getAt(100)).toThrowError(); - * ``` - * \@stable - * @param {?} index - * @return {?} - */ -function outOfBoundsError(index) { - return Error("Index " + index + " is out-of-bounds."); -} -/** - * Thrown when a multi provider and a regular provider are bound to the same token. - * - * ### Example - * - * ```typescript - * expect(() => Injector.resolveAndCreate([ - * { provide: "Strings", useValue: "string1", multi: true}, - * { provide: "Strings", useValue: "string2", multi: false} - * ])).toThrowError(); - * ``` - * @param {?} provider1 - * @param {?} provider2 - * @return {?} - */ -function mixingMultiProvidersWithRegularProvidersError(provider1, provider2) { - return Error("Cannot mix multi providers and regular providers, got: " + provider1 + " " + provider2); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A unique object used for retrieving items from the {\@link ReflectiveInjector}. - * - * Keys have: - * - a system-wide unique `id`. - * - a `token`. - * - * `Key` is used internally by {\@link ReflectiveInjector} because its system-wide unique `id` allows - * the - * injector to store created objects in a more efficient way. - * - * `Key` should not be created directly. {\@link ReflectiveInjector} creates keys automatically when - * resolving - * providers. - * @deprecated No replacement - */ -var ReflectiveKey = (function () { - /** - * Private - */ - function ReflectiveKey(token, id) { - this.token = token; - this.id = id; - if (!token) { - throw new Error('Token must be defined!'); - } - this.displayName = stringify(this.token); - } - /** - * Retrieves a `Key` for a token. - */ - /** - * Retrieves a `Key` for a token. - * @param {?} token - * @return {?} - */ - ReflectiveKey.get = /** - * Retrieves a `Key` for a token. - * @param {?} token - * @return {?} - */ - function (token) { - return _globalKeyRegistry.get(resolveForwardRef(token)); - }; - Object.defineProperty(ReflectiveKey, "numberOfKeys", { - /** - * @returns the number of keys registered in the system. - */ - get: /** - * @return {?} the number of keys registered in the system. - */ - function () { return _globalKeyRegistry.numberOfKeys; }, - enumerable: true, - configurable: true - }); - return ReflectiveKey; -}()); -/** - * \@internal - */ -var KeyRegistry = (function () { - function KeyRegistry() { - this._allKeys = new Map(); - } - /** - * @param {?} token - * @return {?} - */ - KeyRegistry.prototype.get = /** - * @param {?} token - * @return {?} - */ - function (token) { - if (token instanceof ReflectiveKey) - return token; - if (this._allKeys.has(token)) { - return /** @type {?} */ ((this._allKeys.get(token))); - } - var /** @type {?} */ newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys); - this._allKeys.set(token, newKey); - return newKey; - }; - Object.defineProperty(KeyRegistry.prototype, "numberOfKeys", { - get: /** - * @return {?} - */ - function () { return this._allKeys.size; }, - enumerable: true, - configurable: true - }); - return KeyRegistry; -}()); -var _globalKeyRegistry = new KeyRegistry(); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * \@whatItDoes Represents a type that a Component or other object is instances of. - * - * \@description - * - * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by - * the `MyCustomComponent` constructor function. - * - * \@stable - */ -var Type = Function; -/** - * @param {?} v - * @return {?} - */ -function isType(v) { - return typeof v === 'function'; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Attention: This regex has to hold even if the code is minified! - */ -var DELEGATE_CTOR = /^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/; -var ReflectionCapabilities = (function () { - function ReflectionCapabilities(reflect) { - this._reflect = reflect || _global['Reflect']; - } - /** - * @return {?} - */ - ReflectionCapabilities.prototype.isReflectionEnabled = /** - * @return {?} - */ - function () { return true; }; - /** - * @template T - * @param {?} t - * @return {?} - */ - ReflectionCapabilities.prototype.factory = /** - * @template T - * @param {?} t - * @return {?} - */ - function (t) { return function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - return new (t.bind.apply(t, [void 0].concat(args)))(); - }; }; - /** @internal */ - /** - * \@internal - * @param {?} paramTypes - * @param {?} paramAnnotations - * @return {?} - */ - ReflectionCapabilities.prototype._zipTypesAndAnnotations = /** - * \@internal - * @param {?} paramTypes - * @param {?} paramAnnotations - * @return {?} - */ - function (paramTypes, paramAnnotations) { - var /** @type {?} */ result; - if (typeof paramTypes === 'undefined') { - result = new Array(paramAnnotations.length); - } - else { - result = new Array(paramTypes.length); - } - for (var /** @type {?} */ i = 0; i < result.length; i++) { - // TS outputs Object for parameters without types, while Traceur omits - // the annotations. For now we preserve the Traceur behavior to aid - // migration, but this can be revisited. - if (typeof paramTypes === 'undefined') { - result[i] = []; - } - else if (paramTypes[i] != Object) { - result[i] = [paramTypes[i]]; - } - else { - result[i] = []; - } - if (paramAnnotations && paramAnnotations[i] != null) { - result[i] = result[i].concat(paramAnnotations[i]); - } - } - return result; - }; - /** - * @param {?} type - * @param {?} parentCtor - * @return {?} - */ - ReflectionCapabilities.prototype._ownParameters = /** - * @param {?} type - * @param {?} parentCtor - * @return {?} - */ - function (type, parentCtor) { - // If we have no decorators, we only have function.length as metadata. - // In that case, to detect whether a child class declared an own constructor or not, - // we need to look inside of that constructor to check whether it is - // just calling the parent. - // This also helps to work around for https://github.com/Microsoft/TypeScript/issues/12439 - // that sets 'design:paramtypes' to [] - // if a class inherits from another class but has no ctor declared itself. - if (DELEGATE_CTOR.exec(type.toString())) { - return null; - } - // Prefer the direct API. - if ((/** @type {?} */ (type)).parameters && (/** @type {?} */ (type)).parameters !== parentCtor.parameters) { - return (/** @type {?} */ (type)).parameters; - } - // API of tsickle for lowering decorators to properties on the class. - var /** @type {?} */ tsickleCtorParams = (/** @type {?} */ (type)).ctorParameters; - if (tsickleCtorParams && tsickleCtorParams !== parentCtor.ctorParameters) { - // Newer tsickle uses a function closure - // Retain the non-function case for compatibility with older tsickle - var /** @type {?} */ ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams; - var /** @type {?} */ paramTypes_1 = ctorParameters.map(function (ctorParam) { return ctorParam && ctorParam.type; }); - var /** @type {?} */ paramAnnotations_1 = ctorParameters.map(function (ctorParam) { - return ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators); - }); - return this._zipTypesAndAnnotations(paramTypes_1, paramAnnotations_1); - } - // API for metadata created by invoking the decorators. - var /** @type {?} */ paramAnnotations = type.hasOwnProperty(PARAMETERS) && (/** @type {?} */ (type))[PARAMETERS]; - var /** @type {?} */ paramTypes = this._reflect && this._reflect.getOwnMetadata && - this._reflect.getOwnMetadata('design:paramtypes', type); - if (paramTypes || paramAnnotations) { - return this._zipTypesAndAnnotations(paramTypes, paramAnnotations); - } - // If a class has no decorators, at least create metadata - // based on function.length. - // Note: We know that this is a real constructor as we checked - // the content of the constructor above. - return new Array((/** @type {?} */ (type.length))).fill(undefined); - }; - /** - * @param {?} type - * @return {?} - */ - ReflectionCapabilities.prototype.parameters = /** - * @param {?} type - * @return {?} - */ - function (type) { - // Note: only report metadata if we have at least one class decorator - // to stay in sync with the static reflector. - if (!isType(type)) { - return []; - } - var /** @type {?} */ parentCtor = getParentCtor(type); - var /** @type {?} */ parameters = this._ownParameters(type, parentCtor); - if (!parameters && parentCtor !== Object) { - parameters = this.parameters(parentCtor); - } - return parameters || []; - }; - /** - * @param {?} typeOrFunc - * @param {?} parentCtor - * @return {?} - */ - ReflectionCapabilities.prototype._ownAnnotations = /** - * @param {?} typeOrFunc - * @param {?} parentCtor - * @return {?} - */ - function (typeOrFunc, parentCtor) { - // Prefer the direct API. - if ((/** @type {?} */ (typeOrFunc)).annotations && (/** @type {?} */ (typeOrFunc)).annotations !== parentCtor.annotations) { - var /** @type {?} */ annotations = (/** @type {?} */ (typeOrFunc)).annotations; - if (typeof annotations === 'function' && annotations.annotations) { - annotations = annotations.annotations; - } - return annotations; - } - // API of tsickle for lowering decorators to properties on the class. - if ((/** @type {?} */ (typeOrFunc)).decorators && (/** @type {?} */ (typeOrFunc)).decorators !== parentCtor.decorators) { - return convertTsickleDecoratorIntoMetadata((/** @type {?} */ (typeOrFunc)).decorators); - } - // API for metadata created by invoking the decorators. - if (typeOrFunc.hasOwnProperty(ANNOTATIONS)) { - return (/** @type {?} */ (typeOrFunc))[ANNOTATIONS]; - } - return null; - }; - /** - * @param {?} typeOrFunc - * @return {?} - */ - ReflectionCapabilities.prototype.annotations = /** - * @param {?} typeOrFunc - * @return {?} - */ - function (typeOrFunc) { - if (!isType(typeOrFunc)) { - return []; - } - var /** @type {?} */ parentCtor = getParentCtor(typeOrFunc); - var /** @type {?} */ ownAnnotations = this._ownAnnotations(typeOrFunc, parentCtor) || []; - var /** @type {?} */ parentAnnotations = parentCtor !== Object ? this.annotations(parentCtor) : []; - return parentAnnotations.concat(ownAnnotations); - }; - /** - * @param {?} typeOrFunc - * @param {?} parentCtor - * @return {?} - */ - ReflectionCapabilities.prototype._ownPropMetadata = /** - * @param {?} typeOrFunc - * @param {?} parentCtor - * @return {?} - */ - function (typeOrFunc, parentCtor) { - // Prefer the direct API. - if ((/** @type {?} */ (typeOrFunc)).propMetadata && - (/** @type {?} */ (typeOrFunc)).propMetadata !== parentCtor.propMetadata) { - var /** @type {?} */ propMetadata = (/** @type {?} */ (typeOrFunc)).propMetadata; - if (typeof propMetadata === 'function' && propMetadata.propMetadata) { - propMetadata = propMetadata.propMetadata; - } - return propMetadata; - } - // API of tsickle for lowering decorators to properties on the class. - if ((/** @type {?} */ (typeOrFunc)).propDecorators && - (/** @type {?} */ (typeOrFunc)).propDecorators !== parentCtor.propDecorators) { - var /** @type {?} */ propDecorators_1 = (/** @type {?} */ (typeOrFunc)).propDecorators; - var /** @type {?} */ propMetadata_1 = /** @type {?} */ ({}); - Object.keys(propDecorators_1).forEach(function (prop) { - propMetadata_1[prop] = convertTsickleDecoratorIntoMetadata(propDecorators_1[prop]); - }); - return propMetadata_1; - } - // API for metadata created by invoking the decorators. - if (typeOrFunc.hasOwnProperty(PROP_METADATA)) { - return (/** @type {?} */ (typeOrFunc))[PROP_METADATA]; - } - return null; - }; - /** - * @param {?} typeOrFunc - * @return {?} - */ - ReflectionCapabilities.prototype.propMetadata = /** - * @param {?} typeOrFunc - * @return {?} - */ - function (typeOrFunc) { - if (!isType(typeOrFunc)) { - return {}; - } - var /** @type {?} */ parentCtor = getParentCtor(typeOrFunc); - var /** @type {?} */ propMetadata = {}; - if (parentCtor !== Object) { - var /** @type {?} */ parentPropMetadata_1 = this.propMetadata(parentCtor); - Object.keys(parentPropMetadata_1).forEach(function (propName) { - propMetadata[propName] = parentPropMetadata_1[propName]; - }); - } - var /** @type {?} */ ownPropMetadata = this._ownPropMetadata(typeOrFunc, parentCtor); - if (ownPropMetadata) { - Object.keys(ownPropMetadata).forEach(function (propName) { - var /** @type {?} */ decorators = []; - if (propMetadata.hasOwnProperty(propName)) { - decorators.push.apply(decorators, propMetadata[propName]); - } - decorators.push.apply(decorators, ownPropMetadata[propName]); - propMetadata[propName] = decorators; - }); - } - return propMetadata; - }; - /** - * @param {?} type - * @param {?} lcProperty - * @return {?} - */ - ReflectionCapabilities.prototype.hasLifecycleHook = /** - * @param {?} type - * @param {?} lcProperty - * @return {?} - */ - function (type, lcProperty) { - return type instanceof Type && lcProperty in type.prototype; - }; - /** - * @param {?} name - * @return {?} - */ - ReflectionCapabilities.prototype.getter = /** - * @param {?} name - * @return {?} - */ - function (name) { return /** @type {?} */ (new Function('o', 'return o.' + name + ';')); }; - /** - * @param {?} name - * @return {?} - */ - ReflectionCapabilities.prototype.setter = /** - * @param {?} name - * @return {?} - */ - function (name) { - return /** @type {?} */ (new Function('o', 'v', 'return o.' + name + ' = v;')); - }; - /** - * @param {?} name - * @return {?} - */ - ReflectionCapabilities.prototype.method = /** - * @param {?} name - * @return {?} - */ - function (name) { - var /** @type {?} */ functionBody = "if (!o." + name + ") throw new Error('\"" + name + "\" is undefined');\n return o." + name + ".apply(o, args);"; - return /** @type {?} */ (new Function('o', 'args', functionBody)); - }; - // There is not a concept of import uri in Js, but this is useful in developing Dart applications. - /** - * @param {?} type - * @return {?} - */ - ReflectionCapabilities.prototype.importUri = /** - * @param {?} type - * @return {?} - */ - function (type) { - // StaticSymbol - if (typeof type === 'object' && type['filePath']) { - return type['filePath']; - } - // Runtime type - return "./" + stringify(type); - }; - /** - * @param {?} type - * @return {?} - */ - ReflectionCapabilities.prototype.resourceUri = /** - * @param {?} type - * @return {?} - */ - function (type) { return "./" + stringify(type); }; - /** - * @param {?} name - * @param {?} moduleUrl - * @param {?} members - * @param {?} runtime - * @return {?} - */ - ReflectionCapabilities.prototype.resolveIdentifier = /** - * @param {?} name - * @param {?} moduleUrl - * @param {?} members - * @param {?} runtime - * @return {?} - */ - function (name, moduleUrl, members, runtime) { - return runtime; - }; - /** - * @param {?} enumIdentifier - * @param {?} name - * @return {?} - */ - ReflectionCapabilities.prototype.resolveEnum = /** - * @param {?} enumIdentifier - * @param {?} name - * @return {?} - */ - function (enumIdentifier, name) { return enumIdentifier[name]; }; - return ReflectionCapabilities; -}()); -/** - * @param {?} decoratorInvocations - * @return {?} - */ -function convertTsickleDecoratorIntoMetadata(decoratorInvocations) { - if (!decoratorInvocations) { - return []; - } - return decoratorInvocations.map(function (decoratorInvocation) { - var /** @type {?} */ decoratorType = decoratorInvocation.type; - var /** @type {?} */ annotationCls = decoratorType.annotationCls; - var /** @type {?} */ annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : []; - return new (annotationCls.bind.apply(annotationCls, [void 0].concat(annotationArgs)))(); - }); -} -/** - * @param {?} ctor - * @return {?} - */ -function getParentCtor(ctor) { - var /** @type {?} */ parentProto = Object.getPrototypeOf(ctor.prototype); - var /** @type {?} */ parentCtor = parentProto ? parentProto.constructor : null; - // Note: We always use `Object` as the null value - // to simplify checking later on. - return parentCtor || Object; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Provides access to reflection data about symbols. Used internally by Angular - * to power dependency injection and compilation. - */ -var Reflector = (function () { - function Reflector(reflectionCapabilities) { - this.reflectionCapabilities = reflectionCapabilities; - } - /** - * @param {?} caps - * @return {?} - */ - Reflector.prototype.updateCapabilities = /** - * @param {?} caps - * @return {?} - */ - function (caps) { this.reflectionCapabilities = caps; }; - /** - * @param {?} type - * @return {?} - */ - Reflector.prototype.factory = /** - * @param {?} type - * @return {?} - */ - function (type) { return this.reflectionCapabilities.factory(type); }; - /** - * @param {?} typeOrFunc - * @return {?} - */ - Reflector.prototype.parameters = /** - * @param {?} typeOrFunc - * @return {?} - */ - function (typeOrFunc) { - return this.reflectionCapabilities.parameters(typeOrFunc); - }; - /** - * @param {?} typeOrFunc - * @return {?} - */ - Reflector.prototype.annotations = /** - * @param {?} typeOrFunc - * @return {?} - */ - function (typeOrFunc) { - return this.reflectionCapabilities.annotations(typeOrFunc); - }; - /** - * @param {?} typeOrFunc - * @return {?} - */ - Reflector.prototype.propMetadata = /** - * @param {?} typeOrFunc - * @return {?} - */ - function (typeOrFunc) { - return this.reflectionCapabilities.propMetadata(typeOrFunc); - }; - /** - * @param {?} type - * @param {?} lcProperty - * @return {?} - */ - Reflector.prototype.hasLifecycleHook = /** - * @param {?} type - * @param {?} lcProperty - * @return {?} - */ - function (type, lcProperty) { - return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty); - }; - /** - * @param {?} name - * @return {?} - */ - Reflector.prototype.getter = /** - * @param {?} name - * @return {?} - */ - function (name) { return this.reflectionCapabilities.getter(name); }; - /** - * @param {?} name - * @return {?} - */ - Reflector.prototype.setter = /** - * @param {?} name - * @return {?} - */ - function (name) { return this.reflectionCapabilities.setter(name); }; - /** - * @param {?} name - * @return {?} - */ - Reflector.prototype.method = /** - * @param {?} name - * @return {?} - */ - function (name) { return this.reflectionCapabilities.method(name); }; - /** - * @param {?} type - * @return {?} - */ - Reflector.prototype.importUri = /** - * @param {?} type - * @return {?} - */ - function (type) { return this.reflectionCapabilities.importUri(type); }; - /** - * @param {?} type - * @return {?} - */ - Reflector.prototype.resourceUri = /** - * @param {?} type - * @return {?} - */ - function (type) { return this.reflectionCapabilities.resourceUri(type); }; - /** - * @param {?} name - * @param {?} moduleUrl - * @param {?} members - * @param {?} runtime - * @return {?} - */ - Reflector.prototype.resolveIdentifier = /** - * @param {?} name - * @param {?} moduleUrl - * @param {?} members - * @param {?} runtime - * @return {?} - */ - function (name, moduleUrl, members, runtime) { - return this.reflectionCapabilities.resolveIdentifier(name, moduleUrl, members, runtime); - }; - /** - * @param {?} identifier - * @param {?} name - * @return {?} - */ - Reflector.prototype.resolveEnum = /** - * @param {?} identifier - * @param {?} name - * @return {?} - */ - function (identifier, name) { - return this.reflectionCapabilities.resolveEnum(identifier, name); - }; - return Reflector; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * The {\@link Reflector} used internally in Angular to access metadata - * about symbols. - */ -var reflector = new Reflector(new ReflectionCapabilities()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * `Dependency` is used by the framework to extend DI. - * This is internal to Angular and should not be used directly. - */ -var ReflectiveDependency = (function () { - function ReflectiveDependency(key, optional, visibility) { - this.key = key; - this.optional = optional; - this.visibility = visibility; - } - /** - * @param {?} key - * @return {?} - */ - ReflectiveDependency.fromKey = /** - * @param {?} key - * @return {?} - */ - function (key) { - return new ReflectiveDependency(key, false, null); - }; - return ReflectiveDependency; -}()); -var _EMPTY_LIST = []; -/** - * An internal resolved representation of a {\@link Provider} used by the {\@link Injector}. - * - * It is usually created automatically by `Injector.resolveAndCreate`. - * - * It can be created manually, as follows: - * - * ### Example ([live demo](http://plnkr.co/edit/RfEnhh8kUEI0G3qsnIeT?p%3Dpreview&p=preview)) - * - * ```typescript - * var resolvedProviders = Injector.resolve([{ provide: 'message', useValue: 'Hello' }]); - * var injector = Injector.fromResolvedProviders(resolvedProviders); - * - * expect(injector.get('message')).toEqual('Hello'); - * ``` - * - * \@experimental - * @record - */ - -var ResolvedReflectiveProvider_ = (function () { - function ResolvedReflectiveProvider_(key, resolvedFactories, multiProvider) { - this.key = key; - this.resolvedFactories = resolvedFactories; - this.multiProvider = multiProvider; - } - Object.defineProperty(ResolvedReflectiveProvider_.prototype, "resolvedFactory", { - get: /** - * @return {?} - */ - function () { return this.resolvedFactories[0]; }, - enumerable: true, - configurable: true - }); - return ResolvedReflectiveProvider_; -}()); -/** - * An internal resolved representation of a factory function created by resolving {\@link - * Provider}. - * \@experimental - */ -var ResolvedReflectiveFactory = (function () { - function ResolvedReflectiveFactory(factory, dependencies) { - this.factory = factory; - this.dependencies = dependencies; - } - return ResolvedReflectiveFactory; -}()); -/** - * Resolve a single provider. - * @param {?} provider - * @return {?} - */ -function resolveReflectiveFactory(provider) { - var /** @type {?} */ factoryFn; - var /** @type {?} */ resolvedDeps; - if (provider.useClass) { - var /** @type {?} */ useClass = resolveForwardRef(provider.useClass); - factoryFn = reflector.factory(useClass); - resolvedDeps = _dependenciesFor(useClass); - } - else if (provider.useExisting) { - factoryFn = function (aliasInstance) { return aliasInstance; }; - resolvedDeps = [ReflectiveDependency.fromKey(ReflectiveKey.get(provider.useExisting))]; - } - else if (provider.useFactory) { - factoryFn = provider.useFactory; - resolvedDeps = constructDependencies(provider.useFactory, provider.deps); - } - else { - factoryFn = function () { return provider.useValue; }; - resolvedDeps = _EMPTY_LIST; - } - return new ResolvedReflectiveFactory(factoryFn, resolvedDeps); -} -/** - * Converts the {\@link Provider} into {\@link ResolvedProvider}. - * - * {\@link Injector} internally only uses {\@link ResolvedProvider}, {\@link Provider} contains - * convenience provider syntax. - * @param {?} provider - * @return {?} - */ -function resolveReflectiveProvider(provider) { - return new ResolvedReflectiveProvider_(ReflectiveKey.get(provider.provide), [resolveReflectiveFactory(provider)], provider.multi || false); -} -/** - * Resolve a list of Providers. - * @param {?} providers - * @return {?} - */ -function resolveReflectiveProviders(providers) { - var /** @type {?} */ normalized = _normalizeProviders(providers, []); - var /** @type {?} */ resolved = normalized.map(resolveReflectiveProvider); - var /** @type {?} */ resolvedProviderMap = mergeResolvedReflectiveProviders(resolved, new Map()); - return Array.from(resolvedProviderMap.values()); -} -/** - * Merges a list of ResolvedProviders into a list where - * each key is contained exactly once and multi providers - * have been merged. - * @param {?} providers - * @param {?} normalizedProvidersMap - * @return {?} - */ -function mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) { - for (var /** @type {?} */ i = 0; i < providers.length; i++) { - var /** @type {?} */ provider = providers[i]; - var /** @type {?} */ existing = normalizedProvidersMap.get(provider.key.id); - if (existing) { - if (provider.multiProvider !== existing.multiProvider) { - throw mixingMultiProvidersWithRegularProvidersError(existing, provider); - } - if (provider.multiProvider) { - for (var /** @type {?} */ j = 0; j < provider.resolvedFactories.length; j++) { - existing.resolvedFactories.push(provider.resolvedFactories[j]); - } - } - else { - normalizedProvidersMap.set(provider.key.id, provider); - } - } - else { - var /** @type {?} */ resolvedProvider = void 0; - if (provider.multiProvider) { - resolvedProvider = new ResolvedReflectiveProvider_(provider.key, provider.resolvedFactories.slice(), provider.multiProvider); - } - else { - resolvedProvider = provider; - } - normalizedProvidersMap.set(provider.key.id, resolvedProvider); - } - } - return normalizedProvidersMap; -} -/** - * @param {?} providers - * @param {?} res - * @return {?} - */ -function _normalizeProviders(providers, res) { - providers.forEach(function (b) { - if (b instanceof Type) { - res.push({ provide: b, useClass: b }); - } - else if (b && typeof b == 'object' && (/** @type {?} */ (b)).provide !== undefined) { - res.push(/** @type {?} */ (b)); - } - else if (b instanceof Array) { - _normalizeProviders(b, res); - } - else { - throw invalidProviderError(b); - } - }); - return res; -} -/** - * @param {?} typeOrFunc - * @param {?=} dependencies - * @return {?} - */ -function constructDependencies(typeOrFunc, dependencies) { - if (!dependencies) { - return _dependenciesFor(typeOrFunc); - } - else { - var /** @type {?} */ params_1 = dependencies.map(function (t) { return [t]; }); - return dependencies.map(function (t) { return _extractToken(typeOrFunc, t, params_1); }); - } -} -/** - * @param {?} typeOrFunc - * @return {?} - */ -function _dependenciesFor(typeOrFunc) { - var /** @type {?} */ params = reflector.parameters(typeOrFunc); - if (!params) - return []; - if (params.some(function (p) { return p == null; })) { - throw noAnnotationError(typeOrFunc, params); - } - return params.map(function (p) { return _extractToken(typeOrFunc, p, params); }); -} -/** - * @param {?} typeOrFunc - * @param {?} metadata - * @param {?} params - * @return {?} - */ -function _extractToken(typeOrFunc, metadata, params) { - var /** @type {?} */ token = null; - var /** @type {?} */ optional = false; - if (!Array.isArray(metadata)) { - if (metadata instanceof Inject) { - return _createDependency(metadata.token, optional, null); - } - else { - return _createDependency(metadata, optional, null); - } - } - var /** @type {?} */ visibility = null; - for (var /** @type {?} */ i = 0; i < metadata.length; ++i) { - var /** @type {?} */ paramMetadata = metadata[i]; - if (paramMetadata instanceof Type) { - token = paramMetadata; - } - else if (paramMetadata instanceof Inject) { - token = paramMetadata.token; - } - else if (paramMetadata instanceof Optional) { - optional = true; - } - else if (paramMetadata instanceof Self || paramMetadata instanceof SkipSelf) { - visibility = paramMetadata; - } - else if (paramMetadata instanceof InjectionToken) { - token = paramMetadata; - } - } - token = resolveForwardRef(token); - if (token != null) { - return _createDependency(token, optional, visibility); - } - else { - throw noAnnotationError(typeOrFunc, params); - } -} -/** - * @param {?} token - * @param {?} optional - * @param {?} visibility - * @return {?} - */ -function _createDependency(token, optional, visibility) { - return new ReflectiveDependency(ReflectiveKey.get(token), optional, visibility); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// Threshold for the dynamic version -var UNDEFINED = new Object(); -/** - * A ReflectiveDependency injection container used for instantiating objects and resolving - * dependencies. - * - * An `Injector` is a replacement for a `new` operator, which can automatically resolve the - * constructor dependencies. - * - * In typical use, application code asks for the dependencies in the constructor and they are - * resolved by the `Injector`. - * - * ### Example ([live demo](http://plnkr.co/edit/jzjec0?p=preview)) - * - * The following example creates an `Injector` configured to create `Engine` and `Car`. - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]); - * var car = injector.get(Car); - * expect(car instanceof Car).toBe(true); - * expect(car.engine instanceof Engine).toBe(true); - * ``` - * - * Notice, we don't use the `new` operator because we explicitly want to have the `Injector` - * resolve all of the object's dependencies automatically. - * - * @deprecated from v5 - slow and brings in a lot of code, Use `Injector.create` instead. - * @abstract - */ -var ReflectiveInjector = (function () { - function ReflectiveInjector() { - } - /** - * Turns an array of provider definitions into an array of resolved providers. - * - * A resolution is a process of flattening multiple nested arrays and converting individual - * providers into an array of {@link ResolvedReflectiveProvider}s. - * - * ### Example ([live demo](http://plnkr.co/edit/AiXTHi?p=preview)) - * - * ```typescript - * @Injectable() - * class Engine { - * } - * - * @Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]); - * - * expect(providers.length).toEqual(2); - * - * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true); - * expect(providers[0].key.displayName).toBe("Car"); - * expect(providers[0].dependencies.length).toEqual(1); - * expect(providers[0].factory).toBeDefined(); - * - * expect(providers[1].key.displayName).toBe("Engine"); - * }); - * ``` - * - * See {@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders} for more info. - */ - /** - * Turns an array of provider definitions into an array of resolved providers. - * - * A resolution is a process of flattening multiple nested arrays and converting individual - * providers into an array of {\@link ResolvedReflectiveProvider}s. - * - * ### Example ([live demo](http://plnkr.co/edit/AiXTHi?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]); - * - * expect(providers.length).toEqual(2); - * - * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true); - * expect(providers[0].key.displayName).toBe("Car"); - * expect(providers[0].dependencies.length).toEqual(1); - * expect(providers[0].factory).toBeDefined(); - * - * expect(providers[1].key.displayName).toBe("Engine"); - * }); - * ``` - * - * See {\@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders} for more info. - * @param {?} providers - * @return {?} - */ - ReflectiveInjector.resolve = /** - * Turns an array of provider definitions into an array of resolved providers. - * - * A resolution is a process of flattening multiple nested arrays and converting individual - * providers into an array of {\@link ResolvedReflectiveProvider}s. - * - * ### Example ([live demo](http://plnkr.co/edit/AiXTHi?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]); - * - * expect(providers.length).toEqual(2); - * - * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true); - * expect(providers[0].key.displayName).toBe("Car"); - * expect(providers[0].dependencies.length).toEqual(1); - * expect(providers[0].factory).toBeDefined(); - * - * expect(providers[1].key.displayName).toBe("Engine"); - * }); - * ``` - * - * See {\@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders} for more info. - * @param {?} providers - * @return {?} - */ - function (providers) { - return resolveReflectiveProviders(providers); - }; - /** - * Resolves an array of providers and creates an injector from those providers. - * - * The passed-in providers can be an array of `Type`, {@link Provider}, - * or a recursive array of more providers. - * - * ### Example ([live demo](http://plnkr.co/edit/ePOccA?p=preview)) - * - * ```typescript - * @Injectable() - * class Engine { - * } - * - * @Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * - * This function is slower than the corresponding `fromResolvedProviders` - * because it needs to resolve the passed-in providers first. - * See {@link ReflectiveInjector#resolve resolve} and - * {@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders}. - */ - /** - * Resolves an array of providers and creates an injector from those providers. - * - * The passed-in providers can be an array of `Type`, {\@link Provider}, - * or a recursive array of more providers. - * - * ### Example ([live demo](http://plnkr.co/edit/ePOccA?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * - * This function is slower than the corresponding `fromResolvedProviders` - * because it needs to resolve the passed-in providers first. - * See {\@link ReflectiveInjector#resolve resolve} and - * {\@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders}. - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - ReflectiveInjector.resolveAndCreate = /** - * Resolves an array of providers and creates an injector from those providers. - * - * The passed-in providers can be an array of `Type`, {\@link Provider}, - * or a recursive array of more providers. - * - * ### Example ([live demo](http://plnkr.co/edit/ePOccA?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * - * This function is slower than the corresponding `fromResolvedProviders` - * because it needs to resolve the passed-in providers first. - * See {\@link ReflectiveInjector#resolve resolve} and - * {\@link ReflectiveInjector#fromResolvedProviders fromResolvedProviders}. - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - function (providers, parent) { - var /** @type {?} */ ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers); - return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent); - }; - /** - * Creates an injector from previously resolved providers. - * - * This API is the recommended way to construct injectors in performance-sensitive parts. - * - * ### Example ([live demo](http://plnkr.co/edit/KrSMci?p=preview)) - * - * ```typescript - * @Injectable() - * class Engine { - * } - * - * @Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, Engine]); - * var injector = ReflectiveInjector.fromResolvedProviders(providers); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * @experimental - */ - /** - * Creates an injector from previously resolved providers. - * - * This API is the recommended way to construct injectors in performance-sensitive parts. - * - * ### Example ([live demo](http://plnkr.co/edit/KrSMci?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, Engine]); - * var injector = ReflectiveInjector.fromResolvedProviders(providers); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * \@experimental - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - ReflectiveInjector.fromResolvedProviders = /** - * Creates an injector from previously resolved providers. - * - * This API is the recommended way to construct injectors in performance-sensitive parts. - * - * ### Example ([live demo](http://plnkr.co/edit/KrSMci?p=preview)) - * - * ```typescript - * \@Injectable() - * class Engine { - * } - * - * \@Injectable() - * class Car { - * constructor(public engine:Engine) {} - * } - * - * var providers = ReflectiveInjector.resolve([Car, Engine]); - * var injector = ReflectiveInjector.fromResolvedProviders(providers); - * expect(injector.get(Car) instanceof Car).toBe(true); - * ``` - * \@experimental - * @param {?} providers - * @param {?=} parent - * @return {?} - */ - function (providers, parent) { - return new ReflectiveInjector_(providers, parent); - }; - return ReflectiveInjector; -}()); -var ReflectiveInjector_ = (function () { - /** - * Private - */ - function ReflectiveInjector_(_providers, _parent) { - /** - * \@internal - */ - this._constructionCounter = 0; - this._providers = _providers; - this.parent = _parent || null; - var /** @type {?} */ len = _providers.length; - this.keyIds = new Array(len); - this.objs = new Array(len); - for (var /** @type {?} */ i = 0; i < len; i++) { - this.keyIds[i] = _providers[i].key.id; - this.objs[i] = UNDEFINED; - } - } - /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - ReflectiveInjector_.prototype.get = /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - function (token, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = THROW_IF_NOT_FOUND; } - return this._getByKey(ReflectiveKey.get(token), null, notFoundValue); - }; - /** - * @param {?} providers - * @return {?} - */ - ReflectiveInjector_.prototype.resolveAndCreateChild = /** - * @param {?} providers - * @return {?} - */ - function (providers) { - var /** @type {?} */ ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers); - return this.createChildFromResolved(ResolvedReflectiveProviders); - }; - /** - * @param {?} providers - * @return {?} - */ - ReflectiveInjector_.prototype.createChildFromResolved = /** - * @param {?} providers - * @return {?} - */ - function (providers) { - var /** @type {?} */ inj = new ReflectiveInjector_(providers); - (/** @type {?} */ (inj)).parent = this; - return inj; - }; - /** - * @param {?} provider - * @return {?} - */ - ReflectiveInjector_.prototype.resolveAndInstantiate = /** - * @param {?} provider - * @return {?} - */ - function (provider) { - return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]); - }; - /** - * @param {?} provider - * @return {?} - */ - ReflectiveInjector_.prototype.instantiateResolved = /** - * @param {?} provider - * @return {?} - */ - function (provider) { - return this._instantiateProvider(provider); - }; - /** - * @param {?} index - * @return {?} - */ - ReflectiveInjector_.prototype.getProviderAtIndex = /** - * @param {?} index - * @return {?} - */ - function (index) { - if (index < 0 || index >= this._providers.length) { - throw outOfBoundsError(index); - } - return this._providers[index]; - }; - /** @internal */ - /** - * \@internal - * @param {?} provider - * @return {?} - */ - ReflectiveInjector_.prototype._new = /** - * \@internal - * @param {?} provider - * @return {?} - */ - function (provider) { - if (this._constructionCounter++ > this._getMaxNumberOfObjects()) { - throw cyclicDependencyError(this, provider.key); - } - return this._instantiateProvider(provider); - }; - /** - * @return {?} - */ - ReflectiveInjector_.prototype._getMaxNumberOfObjects = /** - * @return {?} - */ - function () { return this.objs.length; }; - /** - * @param {?} provider - * @return {?} - */ - ReflectiveInjector_.prototype._instantiateProvider = /** - * @param {?} provider - * @return {?} - */ - function (provider) { - if (provider.multiProvider) { - var /** @type {?} */ res = new Array(provider.resolvedFactories.length); - for (var /** @type {?} */ i = 0; i < provider.resolvedFactories.length; ++i) { - res[i] = this._instantiate(provider, provider.resolvedFactories[i]); - } - return res; - } - else { - return this._instantiate(provider, provider.resolvedFactories[0]); - } - }; - /** - * @param {?} provider - * @param {?} ResolvedReflectiveFactory - * @return {?} - */ - ReflectiveInjector_.prototype._instantiate = /** - * @param {?} provider - * @param {?} ResolvedReflectiveFactory - * @return {?} - */ - function (provider, ResolvedReflectiveFactory$$1) { - var _this = this; - var /** @type {?} */ factory = ResolvedReflectiveFactory$$1.factory; - var /** @type {?} */ deps; - try { - deps = - ResolvedReflectiveFactory$$1.dependencies.map(function (dep) { return _this._getByReflectiveDependency(dep); }); - } - catch (/** @type {?} */ e) { - if (e.addKey) { - e.addKey(this, provider.key); - } - throw e; - } - var /** @type {?} */ obj; - try { - obj = factory.apply(void 0, deps); - } - catch (/** @type {?} */ e) { - throw instantiationError(this, e, e.stack, provider.key); - } - return obj; - }; - /** - * @param {?} dep - * @return {?} - */ - ReflectiveInjector_.prototype._getByReflectiveDependency = /** - * @param {?} dep - * @return {?} - */ - function (dep) { - return this._getByKey(dep.key, dep.visibility, dep.optional ? null : THROW_IF_NOT_FOUND); - }; - /** - * @param {?} key - * @param {?} visibility - * @param {?} notFoundValue - * @return {?} - */ - ReflectiveInjector_.prototype._getByKey = /** - * @param {?} key - * @param {?} visibility - * @param {?} notFoundValue - * @return {?} - */ - function (key, visibility, notFoundValue) { - if (key === ReflectiveInjector_.INJECTOR_KEY) { - return this; - } - if (visibility instanceof Self) { - return this._getByKeySelf(key, notFoundValue); - } - else { - return this._getByKeyDefault(key, notFoundValue, visibility); - } - }; - /** - * @param {?} keyId - * @return {?} - */ - ReflectiveInjector_.prototype._getObjByKeyId = /** - * @param {?} keyId - * @return {?} - */ - function (keyId) { - for (var /** @type {?} */ i = 0; i < this.keyIds.length; i++) { - if (this.keyIds[i] === keyId) { - if (this.objs[i] === UNDEFINED) { - this.objs[i] = this._new(this._providers[i]); - } - return this.objs[i]; - } - } - return UNDEFINED; - }; - /** @internal */ - /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @return {?} - */ - ReflectiveInjector_.prototype._throwOrNull = /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @return {?} - */ - function (key, notFoundValue) { - if (notFoundValue !== THROW_IF_NOT_FOUND) { - return notFoundValue; - } - else { - throw noProviderError(this, key); - } - }; - /** @internal */ - /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @return {?} - */ - ReflectiveInjector_.prototype._getByKeySelf = /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @return {?} - */ - function (key, notFoundValue) { - var /** @type {?} */ obj = this._getObjByKeyId(key.id); - return (obj !== UNDEFINED) ? obj : this._throwOrNull(key, notFoundValue); - }; - /** @internal */ - /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @param {?} visibility - * @return {?} - */ - ReflectiveInjector_.prototype._getByKeyDefault = /** - * \@internal - * @param {?} key - * @param {?} notFoundValue - * @param {?} visibility - * @return {?} - */ - function (key, notFoundValue, visibility) { - var /** @type {?} */ inj; - if (visibility instanceof SkipSelf) { - inj = this.parent; - } - else { - inj = this; - } - while (inj instanceof ReflectiveInjector_) { - var /** @type {?} */ inj_ = /** @type {?} */ (inj); - var /** @type {?} */ obj = inj_._getObjByKeyId(key.id); - if (obj !== UNDEFINED) - return obj; - inj = inj_.parent; - } - if (inj !== null) { - return inj.get(key.token, notFoundValue); - } - else { - return this._throwOrNull(key, notFoundValue); - } - }; - Object.defineProperty(ReflectiveInjector_.prototype, "displayName", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ providers = _mapProviders(this, function (b) { return ' "' + b.key.displayName + '" '; }) - .join(', '); - return "ReflectiveInjector(providers: [" + providers + "])"; - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ReflectiveInjector_.prototype.toString = /** - * @return {?} - */ - function () { return this.displayName; }; - ReflectiveInjector_.INJECTOR_KEY = ReflectiveKey.get(Injector); - return ReflectiveInjector_; -}()); -/** - * @param {?} injector - * @param {?} fn - * @return {?} - */ -function _mapProviders(injector, fn) { - var /** @type {?} */ res = new Array(injector._providers.length); - for (var /** @type {?} */ i = 0; i < injector._providers.length; ++i) { - res[i] = fn(injector.getProviderAtIndex(i)); - } - return res; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @module - * @description - * The `di` module provides dependency injection container services. - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Determine if the argument is shaped like a Promise - * @param {?} obj - * @return {?} - */ -function isPromise(obj) { - // allow any Promise/A+ compliant thenable. - // It's up to the caller to ensure that obj.then conforms to the spec - return !!obj && typeof obj.then === 'function'; -} -/** - * Determine if the argument is an Observable - * @param {?} obj - * @return {?} - */ -function isObservable(obj) { - // TODO use Symbol.observable when https://github.com/ReactiveX/rxjs/issues/2415 will be resolved - return !!obj && typeof obj.subscribe === 'function'; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A function that will be executed when an application is initialized. - * \@experimental - */ -var APP_INITIALIZER = new InjectionToken('Application Initializer'); -/** - * A class that reflects the state of running {\@link APP_INITIALIZER}s. - * - * \@experimental - */ -var ApplicationInitStatus = (function () { - function ApplicationInitStatus(appInits) { - var _this = this; - this.appInits = appInits; - this.initialized = false; - this.done = false; - this.donePromise = new Promise(function (res, rej) { - _this.resolve = res; - _this.reject = rej; - }); - } - /** @internal */ - /** - * \@internal - * @return {?} - */ - ApplicationInitStatus.prototype.runInitializers = /** - * \@internal - * @return {?} - */ - function () { - var _this = this; - if (this.initialized) { - return; - } - var /** @type {?} */ asyncInitPromises = []; - var /** @type {?} */ complete = function () { - (/** @type {?} */ (_this)).done = true; - _this.resolve(); - }; - if (this.appInits) { - for (var /** @type {?} */ i = 0; i < this.appInits.length; i++) { - var /** @type {?} */ initResult = this.appInits[i](); - if (isPromise(initResult)) { - asyncInitPromises.push(initResult); - } - } - } - Promise.all(asyncInitPromises).then(function () { complete(); }).catch(function (e) { _this.reject(e); }); - if (asyncInitPromises.length === 0) { - complete(); - } - this.initialized = true; - }; - ApplicationInitStatus.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - ApplicationInitStatus.ctorParameters = function () { return [ - { type: Array, decorators: [{ type: Inject, args: [APP_INITIALIZER,] }, { type: Optional },] }, - ]; }; - return ApplicationInitStatus; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A DI Token representing a unique string id assigned to the application by Angular and used - * primarily for prefixing application attributes and CSS styles when - * {\@link ViewEncapsulation#Emulated ViewEncapsulation.Emulated} is being used. - * - * If you need to avoid randomly generated value to be used as an application id, you can provide - * a custom value via a DI provider configuring the root {\@link Injector} - * using this token. - * \@experimental - */ -var APP_ID = new InjectionToken('AppId'); -/** - * @return {?} - */ -function _appIdRandomProviderFactory() { - return "" + _randomChar() + _randomChar() + _randomChar(); -} -/** - * Providers that will generate a random APP_ID_TOKEN. - * \@experimental - */ -var APP_ID_RANDOM_PROVIDER = { - provide: APP_ID, - useFactory: _appIdRandomProviderFactory, - deps: /** @type {?} */ ([]), -}; -/** - * @return {?} - */ -function _randomChar() { - return String.fromCharCode(97 + Math.floor(Math.random() * 25)); -} -/** - * A function that will be executed when a platform is initialized. - * \@experimental - */ -var PLATFORM_INITIALIZER = new InjectionToken('Platform Initializer'); -/** - * A token that indicates an opaque platform id. - * \@experimental - */ -var PLATFORM_ID = new InjectionToken('Platform ID'); -/** - * All callbacks provided via this token will be called for every component that is bootstrapped. - * Signature of the callback: - * - * `(componentRef: ComponentRef) => void`. - * - * \@experimental - */ -var APP_BOOTSTRAP_LISTENER = new InjectionToken('appBootstrapListener'); -/** - * A token which indicates the root directory of the application - * \@experimental - */ -var PACKAGE_ROOT_URL = new InjectionToken('Application Packages Root URL'); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var Console = (function () { - function Console() { - } - /** - * @param {?} message - * @return {?} - */ - Console.prototype.log = /** - * @param {?} message - * @return {?} - */ - function (message) { - // tslint:disable-next-line:no-console - console.log(message); - }; - // Note: for reporting errors use `DOM.logError()` as it is platform specific - /** - * @param {?} message - * @return {?} - */ - Console.prototype.warn = /** - * @param {?} message - * @return {?} - */ - function (message) { - // tslint:disable-next-line:no-console - console.warn(message); - }; - Console.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - Console.ctorParameters = function () { return []; }; - return Console; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Combination of NgModuleFactory and ComponentFactorys. - * - * \@experimental - */ -var ModuleWithComponentFactories = (function () { - function ModuleWithComponentFactories(ngModuleFactory, componentFactories) { - this.ngModuleFactory = ngModuleFactory; - this.componentFactories = componentFactories; - } - return ModuleWithComponentFactories; -}()); -/** - * @return {?} - */ -function _throwError() { - throw new Error("Runtime compiler is not loaded"); -} -/** - * Low-level service for running the angular compiler during runtime - * to create {\@link ComponentFactory}s, which - * can later be used to create and render a Component instance. - * - * Each `\@NgModule` provides an own `Compiler` to its injector, - * that will use the directives/pipes of the ng module for compilation - * of components. - * \@stable - */ -var Compiler = (function () { - function Compiler() { - } - /** - * Compiles the given NgModule and all of its components. All templates of the components listed - * in `entryComponents` have to be inlined. - */ - /** - * Compiles the given NgModule and all of its components. All templates of the components listed - * in `entryComponents` have to be inlined. - * @template T - * @param {?} moduleType - * @return {?} - */ - Compiler.prototype.compileModuleSync = /** - * Compiles the given NgModule and all of its components. All templates of the components listed - * in `entryComponents` have to be inlined. - * @template T - * @param {?} moduleType - * @return {?} - */ - function (moduleType) { throw _throwError(); }; - /** - * Compiles the given NgModule and all of its components - */ - /** - * Compiles the given NgModule and all of its components - * @template T - * @param {?} moduleType - * @return {?} - */ - Compiler.prototype.compileModuleAsync = /** - * Compiles the given NgModule and all of its components - * @template T - * @param {?} moduleType - * @return {?} - */ - function (moduleType) { throw _throwError(); }; - /** - * Same as {@link #compileModuleSync} but also creates ComponentFactories for all components. - */ - /** - * Same as {\@link #compileModuleSync} but also creates ComponentFactories for all components. - * @template T - * @param {?} moduleType - * @return {?} - */ - Compiler.prototype.compileModuleAndAllComponentsSync = /** - * Same as {\@link #compileModuleSync} but also creates ComponentFactories for all components. - * @template T - * @param {?} moduleType - * @return {?} - */ - function (moduleType) { - throw _throwError(); - }; - /** - * Same as {@link #compileModuleAsync} but also creates ComponentFactories for all components. - */ - /** - * Same as {\@link #compileModuleAsync} but also creates ComponentFactories for all components. - * @template T - * @param {?} moduleType - * @return {?} - */ - Compiler.prototype.compileModuleAndAllComponentsAsync = /** - * Same as {\@link #compileModuleAsync} but also creates ComponentFactories for all components. - * @template T - * @param {?} moduleType - * @return {?} - */ - function (moduleType) { - throw _throwError(); - }; - /** - * Clears all caches. - */ - /** - * Clears all caches. - * @return {?} - */ - Compiler.prototype.clearCache = /** - * Clears all caches. - * @return {?} - */ - function () { }; - /** - * Clears the cache for the given component/ngModule. - */ - /** - * Clears the cache for the given component/ngModule. - * @param {?} type - * @return {?} - */ - Compiler.prototype.clearCacheFor = /** - * Clears the cache for the given component/ngModule. - * @param {?} type - * @return {?} - */ - function (type) { }; - Compiler.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - Compiler.ctorParameters = function () { return []; }; - return Compiler; -}()); -/** - * Token to provide CompilerOptions in the platform injector. - * - * \@experimental - */ -var COMPILER_OPTIONS = new InjectionToken('compilerOptions'); -/** - * A factory for creating a Compiler - * - * \@experimental - * @abstract - */ -var CompilerFactory = (function () { - function CompilerFactory() { - } - return CompilerFactory; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Represents an instance of a Component created via a {\@link ComponentFactory}. - * - * `ComponentRef` provides access to the Component Instance as well other objects related to this - * Component Instance and allows you to destroy the Component Instance via the {\@link #destroy} - * method. - * \@stable - * @abstract - */ -var ComponentRef = (function () { - function ComponentRef() { - } - return ComponentRef; -}()); -/** - * \@stable - * @abstract - */ -var ComponentFactory = (function () { - function ComponentFactory() { - } - return ComponentFactory; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @param {?} component - * @return {?} - */ -function noComponentFactoryError(component) { - var /** @type {?} */ error = Error("No component factory found for " + stringify(component) + ". Did you add it to @NgModule.entryComponents?"); - (/** @type {?} */ (error))[ERROR_COMPONENT] = component; - return error; -} -var ERROR_COMPONENT = 'ngComponent'; -/** - * @param {?} error - * @return {?} - */ - -var _NullComponentFactoryResolver = (function () { - function _NullComponentFactoryResolver() { - } - /** - * @template T - * @param {?} component - * @return {?} - */ - _NullComponentFactoryResolver.prototype.resolveComponentFactory = /** - * @template T - * @param {?} component - * @return {?} - */ - function (component) { - throw noComponentFactoryError(component); - }; - return _NullComponentFactoryResolver; -}()); -/** - * \@stable - * @abstract - */ -var ComponentFactoryResolver = (function () { - function ComponentFactoryResolver() { - } - ComponentFactoryResolver.NULL = new _NullComponentFactoryResolver(); - return ComponentFactoryResolver; -}()); -var CodegenComponentFactoryResolver = (function () { - function CodegenComponentFactoryResolver(factories, _parent, _ngModule) { - this._parent = _parent; - this._ngModule = _ngModule; - this._factories = new Map(); - for (var /** @type {?} */ i = 0; i < factories.length; i++) { - var /** @type {?} */ factory = factories[i]; - this._factories.set(factory.componentType, factory); - } - } - /** - * @template T - * @param {?} component - * @return {?} - */ - CodegenComponentFactoryResolver.prototype.resolveComponentFactory = /** - * @template T - * @param {?} component - * @return {?} - */ - function (component) { - var /** @type {?} */ factory = this._factories.get(component); - if (!factory && this._parent) { - factory = this._parent.resolveComponentFactory(component); - } - if (!factory) { - throw noComponentFactoryError(component); - } - return new ComponentFactoryBoundToModule(factory, this._ngModule); - }; - return CodegenComponentFactoryResolver; -}()); -var ComponentFactoryBoundToModule = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(ComponentFactoryBoundToModule, _super); - function ComponentFactoryBoundToModule(factory, ngModule) { - var _this = _super.call(this) || this; - _this.factory = factory; - _this.ngModule = ngModule; - return _this; - } - Object.defineProperty(ComponentFactoryBoundToModule.prototype, "selector", { - get: /** - * @return {?} - */ - function () { return this.factory.selector; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentFactoryBoundToModule.prototype, "componentType", { - get: /** - * @return {?} - */ - function () { return this.factory.componentType; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentFactoryBoundToModule.prototype, "ngContentSelectors", { - get: /** - * @return {?} - */ - function () { return this.factory.ngContentSelectors; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentFactoryBoundToModule.prototype, "inputs", { - get: /** - * @return {?} - */ - function () { return this.factory.inputs; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentFactoryBoundToModule.prototype, "outputs", { - get: /** - * @return {?} - */ - function () { return this.factory.outputs; }, - enumerable: true, - configurable: true - }); - /** - * @param {?} injector - * @param {?=} projectableNodes - * @param {?=} rootSelectorOrNode - * @param {?=} ngModule - * @return {?} - */ - ComponentFactoryBoundToModule.prototype.create = /** - * @param {?} injector - * @param {?=} projectableNodes - * @param {?=} rootSelectorOrNode - * @param {?=} ngModule - * @return {?} - */ - function (injector, projectableNodes, rootSelectorOrNode, ngModule) { - return this.factory.create(injector, projectableNodes, rootSelectorOrNode, ngModule || this.ngModule); - }; - return ComponentFactoryBoundToModule; -}(ComponentFactory)); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Represents an instance of an NgModule created via a {\@link NgModuleFactory}. - * - * `NgModuleRef` provides access to the NgModule Instance as well other objects related to this - * NgModule Instance. - * - * \@stable - * @abstract - */ -var NgModuleRef = (function () { - function NgModuleRef() { - } - return NgModuleRef; -}()); -/** - * @record - */ - -/** - * \@experimental - * @abstract - */ -var NgModuleFactory = (function () { - function NgModuleFactory() { - } - return NgModuleFactory; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A scope function for the Web Tracing Framework (WTF). - * - * \@experimental - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -var trace; -var events; -/** - * @return {?} - */ -function detectWTF() { - var /** @type {?} */ wtf = (/** @type {?} */ (_global /** TODO #9100 */) /** TODO #9100 */)['wtf']; - if (wtf) { - trace = wtf['trace']; - if (trace) { - events = trace['events']; - return true; - } - } - return false; -} -/** - * @param {?} signature - * @param {?=} flags - * @return {?} - */ -function createScope(signature, flags) { - if (flags === void 0) { flags = null; } - return events.createScope(signature, flags); -} -/** - * @template T - * @param {?} scope - * @param {?=} returnValue - * @return {?} - */ -function leave(scope, returnValue) { - trace.leaveScope(scope, returnValue); - return returnValue; -} -/** - * @param {?} rangeType - * @param {?} action - * @return {?} - */ -function startTimeRange(rangeType, action) { - return trace.beginTimeRange(rangeType, action); -} -/** - * @param {?} range - * @return {?} - */ -function endTimeRange(range) { - trace.endTimeRange(range); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * True if WTF is enabled. - */ -var wtfEnabled = detectWTF(); -/** - * @param {?=} arg0 - * @param {?=} arg1 - * @return {?} - */ -function noopScope(arg0, arg1) { - return null; -} -/** - * Create trace scope. - * - * Scopes must be strictly nested and are analogous to stack frames, but - * do not have to follow the stack frames. Instead it is recommended that they follow logical - * nesting. You may want to use - * [Event - * Signatures](http://google.github.io/tracing-framework/instrumenting-code.html#custom-events) - * as they are defined in WTF. - * - * Used to mark scope entry. The return value is used to leave the scope. - * - * var myScope = wtfCreateScope('MyClass#myMethod(ascii someVal)'); - * - * someMethod() { - * var s = myScope('Foo'); // 'Foo' gets stored in tracing UI - * // DO SOME WORK HERE - * return wtfLeave(s, 123); // Return value 123 - * } - * - * Note, adding try-finally block around the work to ensure that `wtfLeave` gets called can - * negatively impact the performance of your application. For this reason we recommend that - * you don't add them to ensure that `wtfLeave` gets called. In production `wtfLeave` is a noop and - * so try-finally block has no value. When debugging perf issues, skipping `wtfLeave`, do to - * exception, will produce incorrect trace, but presence of exception signifies logic error which - * needs to be fixed before the app should be profiled. Add try-finally only when you expect that - * an exception is expected during normal execution while profiling. - * - * \@experimental - */ -var wtfCreateScope = wtfEnabled ? createScope : function (signature, flags) { return noopScope; }; -/** - * Used to mark end of Scope. - * - * - `scope` to end. - * - `returnValue` (optional) to be passed to the WTF. - * - * Returns the `returnValue for easy chaining. - * \@experimental - */ -var wtfLeave = wtfEnabled ? leave : function (s, r) { return r; }; -/** - * Used to mark Async start. Async are similar to scope but they don't have to be strictly nested. - * The return value is used in the call to [endAsync]. Async ranges only work if WTF has been - * enabled. - * - * someMethod() { - * var s = wtfStartTimeRange('HTTP:GET', 'some.url'); - * var future = new Future.delay(5).then((_) { - * wtfEndTimeRange(s); - * }); - * } - * \@experimental - */ -var wtfStartTimeRange = wtfEnabled ? startTimeRange : function (rangeType, action) { return null; }; -/** - * Ends a async time range operation. - * [range] is the return value from [wtfStartTimeRange] Async ranges only work if WTF has been - * enabled. - * \@experimental - */ -var wtfEndTimeRange = wtfEnabled ? endTimeRange : function (r) { return null; }; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Use by directives and components to emit custom Events. - * - * ### Examples - * - * In the following example, `Zippy` alternatively emits `open` and `close` events when its - * title gets clicked: - * - * ``` - * \@Component({ - * selector: 'zippy', - * template: ` - *
- *
Toggle
- *
- * - *
- *
`}) - * export class Zippy { - * visible: boolean = true; - * \@Output() open: EventEmitter = new EventEmitter(); - * \@Output() close: EventEmitter = new EventEmitter(); - * - * toggle() { - * this.visible = !this.visible; - * if (this.visible) { - * this.open.emit(null); - * } else { - * this.close.emit(null); - * } - * } - * } - * ``` - * - * The events payload can be accessed by the parameter `$event` on the components output event - * handler: - * - * ``` - * - * ``` - * - * Uses Rx.Observable but provides an adapter to make it work as specified here: - * https://github.com/jhusain/observable-spec - * - * Once a reference implementation of the spec is available, switch to it. - * \@stable - */ -var EventEmitter = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(EventEmitter, _super); - /** - * Creates an instance of {@link EventEmitter}, which depending on `isAsync`, - * delivers events synchronously or asynchronously. - * - * @param isAsync By default, events are delivered synchronously (default value: `false`). - * Set to `true` for asynchronous event delivery. - */ - function EventEmitter(isAsync) { - if (isAsync === void 0) { isAsync = false; } - var _this = _super.call(this) || this; - _this.__isAsync = isAsync; - return _this; - } - /** - * @param {?=} value - * @return {?} - */ - EventEmitter.prototype.emit = /** - * @param {?=} value - * @return {?} - */ - function (value) { _super.prototype.next.call(this, value); }; - /** - * @param {?=} generatorOrNext - * @param {?=} error - * @param {?=} complete - * @return {?} - */ - EventEmitter.prototype.subscribe = /** - * @param {?=} generatorOrNext - * @param {?=} error - * @param {?=} complete - * @return {?} - */ - function (generatorOrNext, error, complete) { - var /** @type {?} */ schedulerFn; - var /** @type {?} */ errorFn = function (err) { return null; }; - var /** @type {?} */ completeFn = function () { return null; }; - if (generatorOrNext && typeof generatorOrNext === 'object') { - schedulerFn = this.__isAsync ? function (value) { - setTimeout(function () { return generatorOrNext.next(value); }); - } : function (value) { generatorOrNext.next(value); }; - if (generatorOrNext.error) { - errorFn = this.__isAsync ? function (err) { setTimeout(function () { return generatorOrNext.error(err); }); } : - function (err) { generatorOrNext.error(err); }; - } - if (generatorOrNext.complete) { - completeFn = this.__isAsync ? function () { setTimeout(function () { return generatorOrNext.complete(); }); } : - function () { generatorOrNext.complete(); }; - } - } - else { - schedulerFn = this.__isAsync ? function (value) { setTimeout(function () { return generatorOrNext(value); }); } : - function (value) { generatorOrNext(value); }; - if (error) { - errorFn = - this.__isAsync ? function (err) { setTimeout(function () { return error(err); }); } : function (err) { error(err); }; - } - if (complete) { - completeFn = - this.__isAsync ? function () { setTimeout(function () { return complete(); }); } : function () { complete(); }; - } - } - return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn); - }; - return EventEmitter; -}(__WEBPACK_IMPORTED_MODULE_4_rxjs_Subject__["Subject"])); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * An injectable service for executing work inside or outside of the Angular zone. - * - * The most common use of this service is to optimize performance when starting a work consisting of - * one or more asynchronous tasks that don't require UI updates or error handling to be handled by - * Angular. Such tasks can be kicked off via {\@link #runOutsideAngular} and if needed, these tasks - * can reenter the Angular zone via {\@link #run}. - * - * - * - * ### Example - * - * ``` - * import {Component, NgZone} from '\@angular/core'; - * import {NgIf} from '\@angular/common'; - * - * \@Component({ - * selector: 'ng-zone-demo'. - * template: ` - *

Demo: NgZone

- * - *

Progress: {{progress}}%

- *

Done processing {{label}} of Angular zone!

- * - * - * - * `, - * }) - * export class NgZoneDemo { - * progress: number = 0; - * label: string; - * - * constructor(private _ngZone: NgZone) {} - * - * // Loop inside the Angular zone - * // so the UI DOES refresh after each setTimeout cycle - * processWithinAngularZone() { - * this.label = 'inside'; - * this.progress = 0; - * this._increaseProgress(() => console.log('Inside Done!')); - * } - * - * // Loop outside of the Angular zone - * // so the UI DOES NOT refresh after each setTimeout cycle - * processOutsideOfAngularZone() { - * this.label = 'outside'; - * this.progress = 0; - * this._ngZone.runOutsideAngular(() => { - * this._increaseProgress(() => { - * // reenter the Angular zone and display done - * this._ngZone.run(() => {console.log('Outside Done!') }); - * }})); - * } - * - * _increaseProgress(doneCallback: () => void) { - * this.progress += 1; - * console.log(`Current progress: ${this.progress}%`); - * - * if (this.progress < 100) { - * window.setTimeout(() => this._increaseProgress(doneCallback)), 10) - * } else { - * doneCallback(); - * } - * } - * } - * ``` - * - * \@experimental - */ -var NgZone = (function () { - function NgZone(_a) { - var _b = _a.enableLongStackTrace, enableLongStackTrace = _b === void 0 ? false : _b; - this.hasPendingMicrotasks = false; - this.hasPendingMacrotasks = false; - /** - * Whether there are no outstanding microtasks or macrotasks. - */ - this.isStable = true; - /** - * Notifies when code enters Angular Zone. This gets fired first on VM Turn. - */ - this.onUnstable = new EventEmitter(false); - /** - * Notifies when there is no more microtasks enqueued in the current VM Turn. - * This is a hint for Angular to do change detection, which may enqueue more microtasks. - * For this reason this event can fire multiple times per VM Turn. - */ - this.onMicrotaskEmpty = new EventEmitter(false); - /** - * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which - * implies we are about to relinquish VM turn. - * This event gets called just once. - */ - this.onStable = new EventEmitter(false); - /** - * Notifies that an error has been delivered. - */ - this.onError = new EventEmitter(false); - if (typeof Zone == 'undefined') { - throw new Error("In this configuration Angular requires Zone.js"); - } - Zone.assertZonePatched(); - var /** @type {?} */ self = /** @type {?} */ ((this)); - self._nesting = 0; - self._outer = self._inner = Zone.current; - if ((/** @type {?} */ (Zone))['wtfZoneSpec']) { - self._inner = self._inner.fork((/** @type {?} */ (Zone))['wtfZoneSpec']); - } - if (enableLongStackTrace && (/** @type {?} */ (Zone))['longStackTraceZoneSpec']) { - self._inner = self._inner.fork((/** @type {?} */ (Zone))['longStackTraceZoneSpec']); - } - forkInnerZoneWithAngularBehavior(self); - } - /** - * @return {?} - */ - NgZone.isInAngularZone = /** - * @return {?} - */ - function () { return Zone.current.get('isAngularZone') === true; }; - /** - * @return {?} - */ - NgZone.assertInAngularZone = /** - * @return {?} - */ - function () { - if (!NgZone.isInAngularZone()) { - throw new Error('Expected to be in Angular Zone, but it is not!'); - } - }; - /** - * @return {?} - */ - NgZone.assertNotInAngularZone = /** - * @return {?} - */ - function () { - if (NgZone.isInAngularZone()) { - throw new Error('Expected to not be in Angular Zone, but it is!'); - } - }; - /** - * Executes the `fn` function synchronously within the Angular zone and returns value returned by - * the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - */ - /** - * Executes the `fn` function synchronously within the Angular zone and returns value returned by - * the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {\@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @return {?} - */ - NgZone.prototype.run = /** - * Executes the `fn` function synchronously within the Angular zone and returns value returned by - * the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {\@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @return {?} - */ - function (fn, applyThis, applyArgs) { - return /** @type {?} */ ((/** @type {?} */ ((this)))._inner.run(fn, applyThis, applyArgs)); - }; - /** - * Executes the `fn` function synchronously within the Angular zone as a task and returns value - * returned by the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - */ - /** - * Executes the `fn` function synchronously within the Angular zone as a task and returns value - * returned by the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {\@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @param {?=} name - * @return {?} - */ - NgZone.prototype.runTask = /** - * Executes the `fn` function synchronously within the Angular zone as a task and returns value - * returned by the function. - * - * Running functions via `run` allows you to reenter Angular zone from a task that was executed - * outside of the Angular zone (typically started via {\@link #runOutsideAngular}). - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * within the Angular zone. - * - * If a synchronous error happens it will be rethrown and not reported via `onError`. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @param {?=} name - * @return {?} - */ - function (fn, applyThis, applyArgs, name) { - var /** @type {?} */ zone = (/** @type {?} */ ((this)))._inner; - var /** @type {?} */ task = zone.scheduleEventTask('NgZoneEvent: ' + name, fn, EMPTY_PAYLOAD, noop, noop); - try { - return /** @type {?} */ (zone.runTask(task, applyThis, applyArgs)); - } - finally { - zone.cancelTask(task); - } - }; - /** - * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not - * rethrown. - */ - /** - * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not - * rethrown. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @return {?} - */ - NgZone.prototype.runGuarded = /** - * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not - * rethrown. - * @template T - * @param {?} fn - * @param {?=} applyThis - * @param {?=} applyArgs - * @return {?} - */ - function (fn, applyThis, applyArgs) { - return /** @type {?} */ ((/** @type {?} */ ((this)))._inner.runGuarded(fn, applyThis, applyArgs)); - }; - /** - * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by - * the function. - * - * Running functions via {@link #runOutsideAngular} allows you to escape Angular's zone and do - * work that - * doesn't trigger Angular change-detection or is subject to Angular's error handling. - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * outside of the Angular zone. - * - * Use {@link #run} to reenter the Angular zone and do work that updates the application model. - */ - /** - * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by - * the function. - * - * Running functions via {\@link #runOutsideAngular} allows you to escape Angular's zone and do - * work that - * doesn't trigger Angular change-detection or is subject to Angular's error handling. - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * outside of the Angular zone. - * - * Use {\@link #run} to reenter the Angular zone and do work that updates the application model. - * @template T - * @param {?} fn - * @return {?} - */ - NgZone.prototype.runOutsideAngular = /** - * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by - * the function. - * - * Running functions via {\@link #runOutsideAngular} allows you to escape Angular's zone and do - * work that - * doesn't trigger Angular change-detection or is subject to Angular's error handling. - * - * Any future tasks or microtasks scheduled from within this function will continue executing from - * outside of the Angular zone. - * - * Use {\@link #run} to reenter the Angular zone and do work that updates the application model. - * @template T - * @param {?} fn - * @return {?} - */ - function (fn) { - return /** @type {?} */ ((/** @type {?} */ ((this)))._outer.run(fn)); - }; - return NgZone; -}()); -/** - * @return {?} - */ -function noop() { } -var EMPTY_PAYLOAD = {}; -/** - * @param {?} zone - * @return {?} - */ -function checkStable(zone) { - if (zone._nesting == 0 && !zone.hasPendingMicrotasks && !zone.isStable) { - try { - zone._nesting++; - zone.onMicrotaskEmpty.emit(null); - } - finally { - zone._nesting--; - if (!zone.hasPendingMicrotasks) { - try { - zone.runOutsideAngular(function () { return zone.onStable.emit(null); }); - } - finally { - zone.isStable = true; - } - } - } - } -} -/** - * @param {?} zone - * @return {?} - */ -function forkInnerZoneWithAngularBehavior(zone) { - zone._inner = zone._inner.fork({ - name: 'angular', - properties: /** @type {?} */ ({ 'isAngularZone': true }), - onInvokeTask: function (delegate, current, target, task, applyThis, applyArgs) { - try { - onEnter(zone); - return delegate.invokeTask(target, task, applyThis, applyArgs); - } - finally { - onLeave(zone); - } - }, - onInvoke: function (delegate, current, target, callback, applyThis, applyArgs, source) { - try { - onEnter(zone); - return delegate.invoke(target, callback, applyThis, applyArgs, source); - } - finally { - onLeave(zone); - } - }, - onHasTask: function (delegate, current, target, hasTaskState) { - delegate.hasTask(target, hasTaskState); - if (current === target) { - // We are only interested in hasTask events which originate from our zone - // (A child hasTask event is not interesting to us) - if (hasTaskState.change == 'microTask') { - zone.hasPendingMicrotasks = hasTaskState.microTask; - checkStable(zone); - } - else if (hasTaskState.change == 'macroTask') { - zone.hasPendingMacrotasks = hasTaskState.macroTask; - } - } - }, - onHandleError: function (delegate, current, target, error) { - delegate.handleError(target, error); - zone.runOutsideAngular(function () { return zone.onError.emit(error); }); - return false; - } - }); -} -/** - * @param {?} zone - * @return {?} - */ -function onEnter(zone) { - zone._nesting++; - if (zone.isStable) { - zone.isStable = false; - zone.onUnstable.emit(null); - } -} -/** - * @param {?} zone - * @return {?} - */ -function onLeave(zone) { - zone._nesting--; - checkStable(zone); -} -/** - * Provides a noop implementation of `NgZone` which does nothing. This zone requires explicit calls - * to framework to perform rendering. - * - * \@internal - */ -var NoopNgZone = (function () { - function NoopNgZone() { - this.hasPendingMicrotasks = false; - this.hasPendingMacrotasks = false; - this.isStable = true; - this.onUnstable = new EventEmitter(); - this.onMicrotaskEmpty = new EventEmitter(); - this.onStable = new EventEmitter(); - this.onError = new EventEmitter(); - } - /** - * @param {?} fn - * @return {?} - */ - NoopNgZone.prototype.run = /** - * @param {?} fn - * @return {?} - */ - function (fn) { return fn(); }; - /** - * @param {?} fn - * @return {?} - */ - NoopNgZone.prototype.runGuarded = /** - * @param {?} fn - * @return {?} - */ - function (fn) { return fn(); }; - /** - * @param {?} fn - * @return {?} - */ - NoopNgZone.prototype.runOutsideAngular = /** - * @param {?} fn - * @return {?} - */ - function (fn) { return fn(); }; - /** - * @template T - * @param {?} fn - * @return {?} - */ - NoopNgZone.prototype.runTask = /** - * @template T - * @param {?} fn - * @return {?} - */ - function (fn) { return fn(); }; - return NoopNgZone; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * The Testability service provides testing hooks that can be accessed from - * the browser and by services such as Protractor. Each bootstrapped Angular - * application on the page will have an instance of Testability. - * \@experimental - */ -var Testability = (function () { - function Testability(_ngZone) { - this._ngZone = _ngZone; - /** - * \@internal - */ - this._pendingCount = 0; - /** - * \@internal - */ - this._isZoneStable = true; - /** - * Whether any work was done since the last 'whenStable' callback. This is - * useful to detect if this could have potentially destabilized another - * component while it is stabilizing. - * \@internal - */ - this._didWork = false; - /** - * \@internal - */ - this._callbacks = []; - this._watchAngularEvents(); - } - /** @internal */ - /** - * \@internal - * @return {?} - */ - Testability.prototype._watchAngularEvents = /** - * \@internal - * @return {?} - */ - function () { - var _this = this; - this._ngZone.onUnstable.subscribe({ - next: function () { - _this._didWork = true; - _this._isZoneStable = false; - } - }); - this._ngZone.runOutsideAngular(function () { - _this._ngZone.onStable.subscribe({ - next: function () { - NgZone.assertNotInAngularZone(); - scheduleMicroTask(function () { - _this._isZoneStable = true; - _this._runCallbacksIfReady(); - }); - } - }); - }); - }; - /** - * Increases the number of pending request - */ - /** - * Increases the number of pending request - * @return {?} - */ - Testability.prototype.increasePendingRequestCount = /** - * Increases the number of pending request - * @return {?} - */ - function () { - this._pendingCount += 1; - this._didWork = true; - return this._pendingCount; - }; - /** - * Decreases the number of pending request - */ - /** - * Decreases the number of pending request - * @return {?} - */ - Testability.prototype.decreasePendingRequestCount = /** - * Decreases the number of pending request - * @return {?} - */ - function () { - this._pendingCount -= 1; - if (this._pendingCount < 0) { - throw new Error('pending async requests below zero'); - } - this._runCallbacksIfReady(); - return this._pendingCount; - }; - /** - * Whether an associated application is stable - */ - /** - * Whether an associated application is stable - * @return {?} - */ - Testability.prototype.isStable = /** - * Whether an associated application is stable - * @return {?} - */ - function () { - return this._isZoneStable && this._pendingCount == 0 && !this._ngZone.hasPendingMacrotasks; - }; - /** @internal */ - /** - * \@internal - * @return {?} - */ - Testability.prototype._runCallbacksIfReady = /** - * \@internal - * @return {?} - */ - function () { - var _this = this; - if (this.isStable()) { - // Schedules the call backs in a new frame so that it is always async. - scheduleMicroTask(function () { - while (_this._callbacks.length !== 0) { - (/** @type {?} */ ((_this._callbacks.pop())))(_this._didWork); - } - _this._didWork = false; - }); - } - else { - // Not Ready - this._didWork = true; - } - }; - /** - * Run callback when the application is stable - * @param callback function to be called after the application is stable - */ - /** - * Run callback when the application is stable - * @param {?} callback function to be called after the application is stable - * @return {?} - */ - Testability.prototype.whenStable = /** - * Run callback when the application is stable - * @param {?} callback function to be called after the application is stable - * @return {?} - */ - function (callback) { - this._callbacks.push(callback); - this._runCallbacksIfReady(); - }; - /** - * Get the number of pending requests - */ - /** - * Get the number of pending requests - * @return {?} - */ - Testability.prototype.getPendingRequestCount = /** - * Get the number of pending requests - * @return {?} - */ - function () { return this._pendingCount; }; - /** - * Find providers by name - * @param using The root element to search from - * @param provider The name of binding variable - * @param exactMatch Whether using exactMatch - */ - /** - * Find providers by name - * @param {?} using The root element to search from - * @param {?} provider The name of binding variable - * @param {?} exactMatch Whether using exactMatch - * @return {?} - */ - Testability.prototype.findProviders = /** - * Find providers by name - * @param {?} using The root element to search from - * @param {?} provider The name of binding variable - * @param {?} exactMatch Whether using exactMatch - * @return {?} - */ - function (using, provider, exactMatch) { - // TODO(juliemr): implement. - return []; - }; - Testability.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - Testability.ctorParameters = function () { return [ - { type: NgZone, }, - ]; }; - return Testability; -}()); -/** - * A global registry of {\@link Testability} instances for specific elements. - * \@experimental - */ -var TestabilityRegistry = (function () { - function TestabilityRegistry() { - /** - * \@internal - */ - this._applications = new Map(); - _testabilityGetter.addToWindow(this); - } - /** - * Registers an application with a testability hook so that it can be tracked - * @param token token of application, root element - * @param testability Testability hook - */ - /** - * Registers an application with a testability hook so that it can be tracked - * @param {?} token token of application, root element - * @param {?} testability Testability hook - * @return {?} - */ - TestabilityRegistry.prototype.registerApplication = /** - * Registers an application with a testability hook so that it can be tracked - * @param {?} token token of application, root element - * @param {?} testability Testability hook - * @return {?} - */ - function (token, testability) { - this._applications.set(token, testability); - }; - /** - * Unregisters an application. - * @param token token of application, root element - */ - /** - * Unregisters an application. - * @param {?} token token of application, root element - * @return {?} - */ - TestabilityRegistry.prototype.unregisterApplication = /** - * Unregisters an application. - * @param {?} token token of application, root element - * @return {?} - */ - function (token) { this._applications.delete(token); }; - /** - * Unregisters all applications - */ - /** - * Unregisters all applications - * @return {?} - */ - TestabilityRegistry.prototype.unregisterAllApplications = /** - * Unregisters all applications - * @return {?} - */ - function () { this._applications.clear(); }; - /** - * Get a testability hook associated with the application - * @param elem root element - */ - /** - * Get a testability hook associated with the application - * @param {?} elem root element - * @return {?} - */ - TestabilityRegistry.prototype.getTestability = /** - * Get a testability hook associated with the application - * @param {?} elem root element - * @return {?} - */ - function (elem) { return this._applications.get(elem) || null; }; - /** - * Get all registered testabilities - */ - /** - * Get all registered testabilities - * @return {?} - */ - TestabilityRegistry.prototype.getAllTestabilities = /** - * Get all registered testabilities - * @return {?} - */ - function () { return Array.from(this._applications.values()); }; - /** - * Get all registered applications(root elements) - */ - /** - * Get all registered applications(root elements) - * @return {?} - */ - TestabilityRegistry.prototype.getAllRootElements = /** - * Get all registered applications(root elements) - * @return {?} - */ - function () { return Array.from(this._applications.keys()); }; - /** - * Find testability of a node in the Tree - * @param elem node - * @param findInAncestors whether finding testability in ancestors if testability was not found in - * current node - */ - /** - * Find testability of a node in the Tree - * @param {?} elem node - * @param {?=} findInAncestors whether finding testability in ancestors if testability was not found in - * current node - * @return {?} - */ - TestabilityRegistry.prototype.findTestabilityInTree = /** - * Find testability of a node in the Tree - * @param {?} elem node - * @param {?=} findInAncestors whether finding testability in ancestors if testability was not found in - * current node - * @return {?} - */ - function (elem, findInAncestors) { - if (findInAncestors === void 0) { findInAncestors = true; } - return _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors); - }; - TestabilityRegistry.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - TestabilityRegistry.ctorParameters = function () { return []; }; - return TestabilityRegistry; -}()); -/** - * Adapter interface for retrieving the `Testability` service associated for a - * particular context. - * - * \@experimental Testability apis are primarily intended to be used by e2e test tool vendors like - * the Protractor team. - * @record - */ - -var _NoopGetTestability = (function () { - function _NoopGetTestability() { - } - /** - * @param {?} registry - * @return {?} - */ - _NoopGetTestability.prototype.addToWindow = /** - * @param {?} registry - * @return {?} - */ - function (registry) { }; - /** - * @param {?} registry - * @param {?} elem - * @param {?} findInAncestors - * @return {?} - */ - _NoopGetTestability.prototype.findTestabilityInTree = /** - * @param {?} registry - * @param {?} elem - * @param {?} findInAncestors - * @return {?} - */ - function (registry, elem, findInAncestors) { - return null; - }; - return _NoopGetTestability; -}()); -/** - * Set the {\@link GetTestability} implementation used by the Angular testing framework. - * \@experimental - * @param {?} getter - * @return {?} - */ -function setTestabilityGetter(getter) { - _testabilityGetter = getter; -} -var _testabilityGetter = new _NoopGetTestability(); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var _devMode = true; -var _runModeLocked = false; -var _platform; -var ALLOW_MULTIPLE_PLATFORMS = new InjectionToken('AllowMultipleToken'); -/** - * Disable Angular's development mode, which turns off assertions and other - * checks within the framework. - * - * One important assertion this disables verifies that a change detection pass - * does not result in additional changes to any bindings (also known as - * unidirectional data flow). - * - * \@stable - * @return {?} - */ -function enableProdMode() { - if (_runModeLocked) { - throw new Error('Cannot enable prod mode after platform setup.'); - } - _devMode = false; -} -/** - * Returns whether Angular is in development mode. After called once, - * the value is locked and won't change any more. - * - * By default, this is true, unless a user calls `enableProdMode` before calling this. - * - * \@experimental APIs related to application bootstrap are currently under review. - * @return {?} - */ -function isDevMode() { - _runModeLocked = true; - return _devMode; -} -/** - * A token for third-party components that can register themselves with NgProbe. - * - * \@experimental - */ -var NgProbeToken = (function () { - function NgProbeToken(name, token) { - this.name = name; - this.token = token; - } - return NgProbeToken; -}()); -/** - * Creates a platform. - * Platforms have to be eagerly created via this function. - * - * \@experimental APIs related to application bootstrap are currently under review. - * @param {?} injector - * @return {?} - */ -function createPlatform(injector) { - if (_platform && !_platform.destroyed && - !_platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) { - throw new Error('There can be only one platform. Destroy the previous one to create a new one.'); - } - _platform = injector.get(PlatformRef); - var /** @type {?} */ inits = injector.get(PLATFORM_INITIALIZER, null); - if (inits) - inits.forEach(function (init) { return init(); }); - return _platform; -} -/** - * Creates a factory for a platform - * - * \@experimental APIs related to application bootstrap are currently under review. - * @param {?} parentPlatformFactory - * @param {?} name - * @param {?=} providers - * @return {?} - */ -function createPlatformFactory(parentPlatformFactory, name, providers) { - if (providers === void 0) { providers = []; } - var /** @type {?} */ marker = new InjectionToken("Platform: " + name); - return function (extraProviders) { - if (extraProviders === void 0) { extraProviders = []; } - var /** @type {?} */ platform = getPlatform(); - if (!platform || platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) { - if (parentPlatformFactory) { - parentPlatformFactory(providers.concat(extraProviders).concat({ provide: marker, useValue: true })); - } - else { - createPlatform(Injector.create(providers.concat(extraProviders).concat({ provide: marker, useValue: true }))); - } - } - return assertPlatform(marker); - }; -} -/** - * Checks that there currently is a platform which contains the given token as a provider. - * - * \@experimental APIs related to application bootstrap are currently under review. - * @param {?} requiredToken - * @return {?} - */ -function assertPlatform(requiredToken) { - var /** @type {?} */ platform = getPlatform(); - if (!platform) { - throw new Error('No platform exists!'); - } - if (!platform.injector.get(requiredToken, null)) { - throw new Error('A platform with a different configuration has been created. Please destroy it first.'); - } - return platform; -} -/** - * Destroy the existing platform. - * - * \@experimental APIs related to application bootstrap are currently under review. - * @return {?} - */ -function destroyPlatform() { - if (_platform && !_platform.destroyed) { - _platform.destroy(); - } -} -/** - * Returns the current platform. - * - * \@experimental APIs related to application bootstrap are currently under review. - * @return {?} - */ -function getPlatform() { - return _platform && !_platform.destroyed ? _platform : null; -} -/** - * Provides additional options to the bootstraping process. - * - * \@stable - * @record - */ - -/** - * The Angular platform is the entry point for Angular on a web page. Each page - * has exactly one platform, and services (such as reflection) which are common - * to every Angular application running on the page are bound in its scope. - * - * A page's platform is initialized implicitly when a platform is created via a platform factory - * (e.g. {\@link platformBrowser}), or explicitly by calling the {\@link createPlatform} function. - * - * \@stable - */ -var PlatformRef = (function () { - /** @internal */ - function PlatformRef(_injector) { - this._injector = _injector; - this._modules = []; - this._destroyListeners = []; - this._destroyed = false; - } - /** - * Creates an instance of an `@NgModule` for the given platform - * for offline compilation. - * - * ## Simple Example - * - * ```typescript - * my_module.ts: - * - * @NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * main.ts: - * import {MyModuleNgFactory} from './my_module.ngfactory'; - * import {platformBrowser} from '@angular/platform-browser'; - * - * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory); - * ``` - * - * @experimental APIs related to application bootstrap are currently under review. - */ - /** - * Creates an instance of an `\@NgModule` for the given platform - * for offline compilation. - * - * ## Simple Example - * - * ```typescript - * my_module.ts: - * - * \@NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * main.ts: - * import {MyModuleNgFactory} from './my_module.ngfactory'; - * import {platformBrowser} from '\@angular/platform-browser'; - * - * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory); - * ``` - * - * \@experimental APIs related to application bootstrap are currently under review. - * @template M - * @param {?} moduleFactory - * @param {?=} options - * @return {?} - */ - PlatformRef.prototype.bootstrapModuleFactory = /** - * Creates an instance of an `\@NgModule` for the given platform - * for offline compilation. - * - * ## Simple Example - * - * ```typescript - * my_module.ts: - * - * \@NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * main.ts: - * import {MyModuleNgFactory} from './my_module.ngfactory'; - * import {platformBrowser} from '\@angular/platform-browser'; - * - * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory); - * ``` - * - * \@experimental APIs related to application bootstrap are currently under review. - * @template M - * @param {?} moduleFactory - * @param {?=} options - * @return {?} - */ - function (moduleFactory, options) { - var _this = this; - // Note: We need to create the NgZone _before_ we instantiate the module, - // as instantiating the module creates some providers eagerly. - // So we create a mini parent injector that just contains the new NgZone and - // pass that as parent to the NgModuleFactory. - var /** @type {?} */ ngZoneOption = options ? options.ngZone : undefined; - var /** @type {?} */ ngZone = getNgZone(ngZoneOption); - // Attention: Don't use ApplicationRef.run here, - // as we want to be sure that all possible constructor calls are inside `ngZone.run`! - return ngZone.run(function () { - var /** @type {?} */ ngZoneInjector = Injector.create([{ provide: NgZone, useValue: ngZone }], _this.injector); - var /** @type {?} */ moduleRef = /** @type {?} */ (moduleFactory.create(ngZoneInjector)); - var /** @type {?} */ exceptionHandler = moduleRef.injector.get(ErrorHandler, null); - if (!exceptionHandler) { - throw new Error('No ErrorHandler. Is platform module (BrowserModule) included?'); - } - moduleRef.onDestroy(function () { return remove(_this._modules, moduleRef); }); /** @type {?} */ - ((ngZone)).runOutsideAngular(function () { return /** @type {?} */ ((ngZone)).onError.subscribe({ next: function (error) { exceptionHandler.handleError(error); } }); }); - return _callAndReportToErrorHandler(exceptionHandler, /** @type {?} */ ((ngZone)), function () { - var /** @type {?} */ initStatus = moduleRef.injector.get(ApplicationInitStatus); - initStatus.runInitializers(); - return initStatus.donePromise.then(function () { - _this._moduleDoBootstrap(moduleRef); - return moduleRef; - }); - }); - }); - }; - /** - * Creates an instance of an `@NgModule` for a given platform using the given runtime compiler. - * - * ## Simple Example - * - * ```typescript - * @NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * let moduleRef = platformBrowser().bootstrapModule(MyModule); - * ``` - * @stable - */ - /** - * Creates an instance of an `\@NgModule` for a given platform using the given runtime compiler. - * - * ## Simple Example - * - * ```typescript - * \@NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * let moduleRef = platformBrowser().bootstrapModule(MyModule); - * ``` - * \@stable - * @template M - * @param {?} moduleType - * @param {?=} compilerOptions - * @return {?} - */ - PlatformRef.prototype.bootstrapModule = /** - * Creates an instance of an `\@NgModule` for a given platform using the given runtime compiler. - * - * ## Simple Example - * - * ```typescript - * \@NgModule({ - * imports: [BrowserModule] - * }) - * class MyModule {} - * - * let moduleRef = platformBrowser().bootstrapModule(MyModule); - * ``` - * \@stable - * @template M - * @param {?} moduleType - * @param {?=} compilerOptions - * @return {?} - */ - function (moduleType, compilerOptions) { - var _this = this; - if (compilerOptions === void 0) { compilerOptions = []; } - var /** @type {?} */ compilerFactory = this.injector.get(CompilerFactory); - var /** @type {?} */ options = optionsReducer({}, compilerOptions); - var /** @type {?} */ compiler = compilerFactory.createCompiler([options]); - return compiler.compileModuleAsync(moduleType) - .then(function (moduleFactory) { return _this.bootstrapModuleFactory(moduleFactory, options); }); - }; - /** - * @param {?} moduleRef - * @return {?} - */ - PlatformRef.prototype._moduleDoBootstrap = /** - * @param {?} moduleRef - * @return {?} - */ - function (moduleRef) { - var /** @type {?} */ appRef = /** @type {?} */ (moduleRef.injector.get(ApplicationRef)); - if (moduleRef._bootstrapComponents.length > 0) { - moduleRef._bootstrapComponents.forEach(function (f) { return appRef.bootstrap(f); }); - } - else if (moduleRef.instance.ngDoBootstrap) { - moduleRef.instance.ngDoBootstrap(appRef); - } - else { - throw new Error("The module " + stringify(moduleRef.instance.constructor) + " was bootstrapped, but it does not declare \"@NgModule.bootstrap\" components nor a \"ngDoBootstrap\" method. " + - "Please define one of these."); - } - this._modules.push(moduleRef); - }; - /** - * Register a listener to be called when the platform is disposed. - */ - /** - * Register a listener to be called when the platform is disposed. - * @param {?} callback - * @return {?} - */ - PlatformRef.prototype.onDestroy = /** - * Register a listener to be called when the platform is disposed. - * @param {?} callback - * @return {?} - */ - function (callback) { this._destroyListeners.push(callback); }; - Object.defineProperty(PlatformRef.prototype, "injector", { - /** - * Retrieve the platform {@link Injector}, which is the parent injector for - * every Angular application on the page and provides singleton providers. - */ - get: /** - * Retrieve the platform {\@link Injector}, which is the parent injector for - * every Angular application on the page and provides singleton providers. - * @return {?} - */ - function () { return this._injector; }, - enumerable: true, - configurable: true - }); - /** - * Destroy the Angular platform and all Angular applications on the page. - */ - /** - * Destroy the Angular platform and all Angular applications on the page. - * @return {?} - */ - PlatformRef.prototype.destroy = /** - * Destroy the Angular platform and all Angular applications on the page. - * @return {?} - */ - function () { - if (this._destroyed) { - throw new Error('The platform has already been destroyed!'); - } - this._modules.slice().forEach(function (module) { return module.destroy(); }); - this._destroyListeners.forEach(function (listener) { return listener(); }); - this._destroyed = true; - }; - Object.defineProperty(PlatformRef.prototype, "destroyed", { - get: /** - * @return {?} - */ - function () { return this._destroyed; }, - enumerable: true, - configurable: true - }); - PlatformRef.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - PlatformRef.ctorParameters = function () { return [ - { type: Injector, }, - ]; }; - return PlatformRef; -}()); -/** - * @param {?=} ngZoneOption - * @return {?} - */ -function getNgZone(ngZoneOption) { - var /** @type {?} */ ngZone; - if (ngZoneOption === 'noop') { - ngZone = new NoopNgZone(); - } - else { - ngZone = (ngZoneOption === 'zone.js' ? undefined : ngZoneOption) || - new NgZone({ enableLongStackTrace: isDevMode() }); - } - return ngZone; -} -/** - * @param {?} errorHandler - * @param {?} ngZone - * @param {?} callback - * @return {?} - */ -function _callAndReportToErrorHandler(errorHandler, ngZone, callback) { - try { - var /** @type {?} */ result = callback(); - if (isPromise(result)) { - return result.catch(function (e) { - ngZone.runOutsideAngular(function () { return errorHandler.handleError(e); }); - // rethrow as the exception handler might not do it - throw e; - }); - } - return result; - } - catch (/** @type {?} */ e) { - ngZone.runOutsideAngular(function () { return errorHandler.handleError(e); }); - // rethrow as the exception handler might not do it - throw e; - } -} -/** - * @template T - * @param {?} dst - * @param {?} objs - * @return {?} - */ -function optionsReducer(dst, objs) { - if (Array.isArray(objs)) { - dst = objs.reduce(optionsReducer, dst); - } - else { - dst = Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({}, dst, (/** @type {?} */ (objs))); - } - return dst; -} -/** - * A reference to an Angular application running on a page. - * - * \@stable - */ -var ApplicationRef = (function () { - /** @internal */ - function ApplicationRef(_zone, _console, _injector, _exceptionHandler, _componentFactoryResolver, _initStatus) { - var _this = this; - this._zone = _zone; - this._console = _console; - this._injector = _injector; - this._exceptionHandler = _exceptionHandler; - this._componentFactoryResolver = _componentFactoryResolver; - this._initStatus = _initStatus; - this._bootstrapListeners = []; - this._views = []; - this._runningTick = false; - this._enforceNoNewChanges = false; - this._stable = true; - /** - * Get a list of component types registered to this application. - * This list is populated even before the component is created. - */ - this.componentTypes = []; - /** - * Get a list of components registered to this application. - */ - this.components = []; - this._enforceNoNewChanges = isDevMode(); - this._zone.onMicrotaskEmpty.subscribe({ next: function () { _this._zone.run(function () { _this.tick(); }); } }); - var /** @type {?} */ isCurrentlyStable = new __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__["Observable"](function (observer) { - _this._stable = _this._zone.isStable && !_this._zone.hasPendingMacrotasks && - !_this._zone.hasPendingMicrotasks; - _this._zone.runOutsideAngular(function () { - observer.next(_this._stable); - observer.complete(); - }); - }); - var /** @type {?} */ isStable = new __WEBPACK_IMPORTED_MODULE_1_rxjs_Observable__["Observable"](function (observer) { - // Create the subscription to onStable outside the Angular Zone so that - // the callback is run outside the Angular Zone. - var /** @type {?} */ stableSub; - _this._zone.runOutsideAngular(function () { - stableSub = _this._zone.onStable.subscribe(function () { - NgZone.assertNotInAngularZone(); - // Check whether there are no pending macro/micro tasks in the next tick - // to allow for NgZone to update the state. - scheduleMicroTask(function () { - if (!_this._stable && !_this._zone.hasPendingMacrotasks && - !_this._zone.hasPendingMicrotasks) { - _this._stable = true; - observer.next(true); - } - }); - }); - }); - var /** @type {?} */ unstableSub = _this._zone.onUnstable.subscribe(function () { - NgZone.assertInAngularZone(); - if (_this._stable) { - _this._stable = false; - _this._zone.runOutsideAngular(function () { observer.next(false); }); - } - }); - return function () { - stableSub.unsubscribe(); - unstableSub.unsubscribe(); - }; - }); - (/** @type {?} */ (this)).isStable = - Object(__WEBPACK_IMPORTED_MODULE_2_rxjs_observable_merge__["merge"])(isCurrentlyStable, __WEBPACK_IMPORTED_MODULE_3_rxjs_operator_share__["share"].call(isStable)); - } - /** - * Bootstrap a new component at the root level of the application. - * - * ### Bootstrap process - * - * When bootstrapping a new root component into an application, Angular mounts the - * specified application component onto DOM elements identified by the [componentType]'s - * selector and kicks off automatic change detection to finish initializing the component. - * - * Optionally, a component can be mounted onto a DOM element that does not match the - * [componentType]'s selector. - * - * ### Example - * {@example core/ts/platform/platform.ts region='longform'} - */ - /** - * Bootstrap a new component at the root level of the application. - * - * ### Bootstrap process - * - * When bootstrapping a new root component into an application, Angular mounts the - * specified application component onto DOM elements identified by the [componentType]'s - * selector and kicks off automatic change detection to finish initializing the component. - * - * Optionally, a component can be mounted onto a DOM element that does not match the - * [componentType]'s selector. - * - * ### Example - * {\@example core/ts/platform/platform.ts region='longform'} - * @template C - * @param {?} componentOrFactory - * @param {?=} rootSelectorOrNode - * @return {?} - */ - ApplicationRef.prototype.bootstrap = /** - * Bootstrap a new component at the root level of the application. - * - * ### Bootstrap process - * - * When bootstrapping a new root component into an application, Angular mounts the - * specified application component onto DOM elements identified by the [componentType]'s - * selector and kicks off automatic change detection to finish initializing the component. - * - * Optionally, a component can be mounted onto a DOM element that does not match the - * [componentType]'s selector. - * - * ### Example - * {\@example core/ts/platform/platform.ts region='longform'} - * @template C - * @param {?} componentOrFactory - * @param {?=} rootSelectorOrNode - * @return {?} - */ - function (componentOrFactory, rootSelectorOrNode) { - var _this = this; - if (!this._initStatus.done) { - throw new Error('Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.'); - } - var /** @type {?} */ componentFactory; - if (componentOrFactory instanceof ComponentFactory) { - componentFactory = componentOrFactory; - } - else { - componentFactory = - /** @type {?} */ ((this._componentFactoryResolver.resolveComponentFactory(componentOrFactory))); - } - this.componentTypes.push(componentFactory.componentType); - // Create a factory associated with the current module if it's not bound to some other - var /** @type {?} */ ngModule = componentFactory instanceof ComponentFactoryBoundToModule ? - null : - this._injector.get(NgModuleRef); - var /** @type {?} */ selectorOrNode = rootSelectorOrNode || componentFactory.selector; - var /** @type {?} */ compRef = componentFactory.create(Injector.NULL, [], selectorOrNode, ngModule); - compRef.onDestroy(function () { _this._unloadComponent(compRef); }); - var /** @type {?} */ testability = compRef.injector.get(Testability, null); - if (testability) { - compRef.injector.get(TestabilityRegistry) - .registerApplication(compRef.location.nativeElement, testability); - } - this._loadComponent(compRef); - if (isDevMode()) { - this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."); - } - return compRef; - }; - /** - * Invoke this method to explicitly process change detection and its side-effects. - * - * In development mode, `tick()` also performs a second change detection cycle to ensure that no - * further changes are detected. If additional changes are picked up during this second cycle, - * bindings in the app have side-effects that cannot be resolved in a single change detection - * pass. - * In this case, Angular throws an error, since an Angular application can only have one change - * detection pass during which all change detection must complete. - */ - /** - * Invoke this method to explicitly process change detection and its side-effects. - * - * In development mode, `tick()` also performs a second change detection cycle to ensure that no - * further changes are detected. If additional changes are picked up during this second cycle, - * bindings in the app have side-effects that cannot be resolved in a single change detection - * pass. - * In this case, Angular throws an error, since an Angular application can only have one change - * detection pass during which all change detection must complete. - * @return {?} - */ - ApplicationRef.prototype.tick = /** - * Invoke this method to explicitly process change detection and its side-effects. - * - * In development mode, `tick()` also performs a second change detection cycle to ensure that no - * further changes are detected. If additional changes are picked up during this second cycle, - * bindings in the app have side-effects that cannot be resolved in a single change detection - * pass. - * In this case, Angular throws an error, since an Angular application can only have one change - * detection pass during which all change detection must complete. - * @return {?} - */ - function () { - var _this = this; - if (this._runningTick) { - throw new Error('ApplicationRef.tick is called recursively'); - } - var /** @type {?} */ scope = ApplicationRef._tickScope(); - try { - this._runningTick = true; - this._views.forEach(function (view) { return view.detectChanges(); }); - if (this._enforceNoNewChanges) { - this._views.forEach(function (view) { return view.checkNoChanges(); }); - } - } - catch (/** @type {?} */ e) { - // Attention: Don't rethrow as it could cancel subscriptions to Observables! - this._zone.runOutsideAngular(function () { return _this._exceptionHandler.handleError(e); }); - } - finally { - this._runningTick = false; - wtfLeave(scope); - } - }; - /** - * Attaches a view so that it will be dirty checked. - * The view will be automatically detached when it is destroyed. - * This will throw if the view is already attached to a ViewContainer. - */ - /** - * Attaches a view so that it will be dirty checked. - * The view will be automatically detached when it is destroyed. - * This will throw if the view is already attached to a ViewContainer. - * @param {?} viewRef - * @return {?} - */ - ApplicationRef.prototype.attachView = /** - * Attaches a view so that it will be dirty checked. - * The view will be automatically detached when it is destroyed. - * This will throw if the view is already attached to a ViewContainer. - * @param {?} viewRef - * @return {?} - */ - function (viewRef) { - var /** @type {?} */ view = (/** @type {?} */ (viewRef)); - this._views.push(view); - view.attachToAppRef(this); - }; - /** - * Detaches a view from dirty checking again. - */ - /** - * Detaches a view from dirty checking again. - * @param {?} viewRef - * @return {?} - */ - ApplicationRef.prototype.detachView = /** - * Detaches a view from dirty checking again. - * @param {?} viewRef - * @return {?} - */ - function (viewRef) { - var /** @type {?} */ view = (/** @type {?} */ (viewRef)); - remove(this._views, view); - view.detachFromAppRef(); - }; - /** - * @param {?} componentRef - * @return {?} - */ - ApplicationRef.prototype._loadComponent = /** - * @param {?} componentRef - * @return {?} - */ - function (componentRef) { - this.attachView(componentRef.hostView); - this.tick(); - this.components.push(componentRef); - // Get the listeners lazily to prevent DI cycles. - var /** @type {?} */ listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, []).concat(this._bootstrapListeners); - listeners.forEach(function (listener) { return listener(componentRef); }); - }; - /** - * @param {?} componentRef - * @return {?} - */ - ApplicationRef.prototype._unloadComponent = /** - * @param {?} componentRef - * @return {?} - */ - function (componentRef) { - this.detachView(componentRef.hostView); - remove(this.components, componentRef); - }; - /** @internal */ - /** - * \@internal - * @return {?} - */ - ApplicationRef.prototype.ngOnDestroy = /** - * \@internal - * @return {?} - */ - function () { - // TODO(alxhub): Dispose of the NgZone. - this._views.slice().forEach(function (view) { return view.destroy(); }); - }; - Object.defineProperty(ApplicationRef.prototype, "viewCount", { - /** - * Returns the number of attached views. - */ - get: /** - * Returns the number of attached views. - * @return {?} - */ - function () { return this._views.length; }, - enumerable: true, - configurable: true - }); - /** - * \@internal - */ - ApplicationRef._tickScope = wtfCreateScope('ApplicationRef#tick()'); - ApplicationRef.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - ApplicationRef.ctorParameters = function () { return [ - { type: NgZone, }, - { type: Console, }, - { type: Injector, }, - { type: ErrorHandler, }, - { type: ComponentFactoryResolver, }, - { type: ApplicationInitStatus, }, - ]; }; - return ApplicationRef; -}()); -/** - * @template T - * @param {?} list - * @param {?} el - * @return {?} - */ -function remove(list, el) { - var /** @type {?} */ index = list.indexOf(el); - if (index > -1) { - list.splice(index, 1); - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// Public API for Zone - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @deprecated Use `RendererType2` (and `Renderer2`) instead. - */ -var RenderComponentType = (function () { - function RenderComponentType(id, templateUrl, slotCount, encapsulation, styles, animations) { - this.id = id; - this.templateUrl = templateUrl; - this.slotCount = slotCount; - this.encapsulation = encapsulation; - this.styles = styles; - this.animations = animations; - } - return RenderComponentType; -}()); -/** - * @deprecated Debug info is handeled internally in the view engine now. - * @abstract - */ -var RenderDebugInfo = (function () { - function RenderDebugInfo() { - } - return RenderDebugInfo; -}()); -/** - * @deprecated Use the `Renderer2` instead. - * @record - */ - -/** - * @deprecated Use the `Renderer2` instead. - * @abstract - */ -var Renderer = (function () { - function Renderer() { - } - return Renderer; -}()); -var Renderer2Interceptor = new InjectionToken('Renderer2Interceptor'); -/** - * Injectable service that provides a low-level interface for modifying the UI. - * - * Use this service to bypass Angular's templating and make custom UI changes that can't be - * expressed declaratively. For example if you need to set a property or an attribute whose name is - * not statically known, use {\@link Renderer#setElementProperty setElementProperty} or - * {\@link Renderer#setElementAttribute setElementAttribute} respectively. - * - * If you are implementing a custom renderer, you must implement this interface. - * - * The default Renderer implementation is `DomRenderer`. Also available is `WebWorkerRenderer`. - * - * @deprecated Use `RendererFactory2` instead. - * @abstract - */ -var RootRenderer = (function () { - function RootRenderer() { - } - return RootRenderer; -}()); -/** - * \@experimental - * @record - */ - -/** - * \@experimental - * @abstract - */ -var RendererFactory2 = (function () { - function RendererFactory2() { - } - return RendererFactory2; -}()); -/** @enum {number} */ -var RendererStyleFlags2 = { - Important: 1, - DashCase: 2, -}; -RendererStyleFlags2[RendererStyleFlags2.Important] = "Important"; -RendererStyleFlags2[RendererStyleFlags2.DashCase] = "DashCase"; -/** - * \@experimental - * @abstract - */ -var Renderer2 = (function () { - function Renderer2() { - } - return Renderer2; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// Public API for render - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * A wrapper around a native element inside of a View. - * - * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM - * element. - * - * \@security Permitting direct access to the DOM can make your application more vulnerable to - * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the - * [Security Guide](http://g.co/ng/security). - * - * \@stable - */ -var ElementRef = (function () { - function ElementRef(nativeElement) { - this.nativeElement = nativeElement; - } - return ElementRef; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Used to load ng module factories. - * \@stable - * @abstract - */ -var NgModuleFactoryLoader = (function () { - function NgModuleFactoryLoader() { - } - return NgModuleFactoryLoader; -}()); -var moduleFactories = new Map(); -/** - * Registers a loaded module. Should only be called from generated NgModuleFactory code. - * \@experimental - * @param {?} id - * @param {?} factory - * @return {?} - */ -function registerModuleFactory(id, factory) { - var /** @type {?} */ existing = moduleFactories.get(id); - if (existing) { - throw new Error("Duplicate module registered for " + id + " - " + existing.moduleType.name + " vs " + factory.moduleType.name); - } - moduleFactories.set(id, factory); -} -/** - * @return {?} - */ - -/** - * Returns the NgModuleFactory with the given id, if it exists and has been loaded. - * Factories for modules that do not specify an `id` cannot be retrieved. Throws if the module - * cannot be found. - * \@experimental - * @param {?} id - * @return {?} - */ -function getModuleFactory(id) { - var /** @type {?} */ factory = moduleFactories.get(id); - if (!factory) - throw new Error("No module with ID " + id + " loaded"); - return factory; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * An unmodifiable list of items that Angular keeps up to date when the state - * of the application changes. - * - * The type of object that {\@link ViewChildren}, {\@link ContentChildren}, and {\@link QueryList} - * provide. - * - * Implements an iterable interface, therefore it can be used in both ES6 - * javascript `for (var i of items)` loops as well as in Angular templates with - * `*ngFor="let i of myList"`. - * - * Changes can be observed by subscribing to the changes `Observable`. - * - * NOTE: In the future this class will implement an `Observable` interface. - * - * ### Example ([live demo](http://plnkr.co/edit/RX8sJnQYl9FWuSCWme5z?p=preview)) - * ```typescript - * \@Component({...}) - * class Container { - * \@ViewChildren(Item) items:QueryList; - * } - * ``` - * \@stable - */ -var QueryList = (function () { - function QueryList() { - this.dirty = true; - this._results = []; - this.changes = new EventEmitter(); - } - Object.defineProperty(QueryList.prototype, "length", { - get: /** - * @return {?} - */ - function () { return this._results.length; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(QueryList.prototype, "first", { - get: /** - * @return {?} - */ - function () { return this._results[0]; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(QueryList.prototype, "last", { - get: /** - * @return {?} - */ - function () { return this._results[this.length - 1]; }, - enumerable: true, - configurable: true - }); - /** - * See - * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) - */ - /** - * See - * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) - * @template U - * @param {?} fn - * @return {?} - */ - QueryList.prototype.map = /** - * See - * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map) - * @template U - * @param {?} fn - * @return {?} - */ - function (fn) { return this._results.map(fn); }; - /** - * See - * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) - */ - /** - * See - * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) - * @param {?} fn - * @return {?} - */ - QueryList.prototype.filter = /** - * See - * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter) - * @param {?} fn - * @return {?} - */ - function (fn) { - return this._results.filter(fn); - }; - /** - * See - * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find) - */ - /** - * See - * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find) - * @param {?} fn - * @return {?} - */ - QueryList.prototype.find = /** - * See - * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find) - * @param {?} fn - * @return {?} - */ - function (fn) { - return this._results.find(fn); - }; - /** - * See - * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce) - */ - /** - * See - * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce) - * @template U - * @param {?} fn - * @param {?} init - * @return {?} - */ - QueryList.prototype.reduce = /** - * See - * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce) - * @template U - * @param {?} fn - * @param {?} init - * @return {?} - */ - function (fn, init) { - return this._results.reduce(fn, init); - }; - /** - * See - * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach) - */ - /** - * See - * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach) - * @param {?} fn - * @return {?} - */ - QueryList.prototype.forEach = /** - * See - * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach) - * @param {?} fn - * @return {?} - */ - function (fn) { this._results.forEach(fn); }; - /** - * See - * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some) - */ - /** - * See - * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some) - * @param {?} fn - * @return {?} - */ - QueryList.prototype.some = /** - * See - * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some) - * @param {?} fn - * @return {?} - */ - function (fn) { - return this._results.some(fn); - }; - /** - * @return {?} - */ - QueryList.prototype.toArray = /** - * @return {?} - */ - function () { return this._results.slice(); }; - /** - * @return {?} - */ - QueryList.prototype[getSymbolIterator()] = /** - * @return {?} - */ - function () { return (/** @type {?} */ (this._results))[getSymbolIterator()](); }; - /** - * @return {?} - */ - QueryList.prototype.toString = /** - * @return {?} - */ - function () { return this._results.toString(); }; - /** - * @param {?} res - * @return {?} - */ - QueryList.prototype.reset = /** - * @param {?} res - * @return {?} - */ - function (res) { - this._results = flatten(res); - (/** @type {?} */ (this)).dirty = false; - }; - /** - * @return {?} - */ - QueryList.prototype.notifyOnChanges = /** - * @return {?} - */ - function () { (/** @type {?} */ (this.changes)).emit(this); }; - /** internal */ - /** - * internal - * @return {?} - */ - QueryList.prototype.setDirty = /** - * internal - * @return {?} - */ - function () { (/** @type {?} */ (this)).dirty = true; }; - /** internal */ - /** - * internal - * @return {?} - */ - QueryList.prototype.destroy = /** - * internal - * @return {?} - */ - function () { - (/** @type {?} */ (this.changes)).complete(); - (/** @type {?} */ (this.changes)).unsubscribe(); - }; - return QueryList; -}()); -/** - * @template T - * @param {?} list - * @return {?} - */ -function flatten(list) { - return list.reduce(function (flat, item) { - var /** @type {?} */ flatItem = Array.isArray(item) ? flatten(item) : item; - return (/** @type {?} */ (flat)).concat(flatItem); - }, []); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var _SEPARATOR = '#'; -var FACTORY_CLASS_SUFFIX = 'NgFactory'; -/** - * Configuration for SystemJsNgModuleLoader. - * token. - * - * \@experimental - * @abstract - */ -var SystemJsNgModuleLoaderConfig = (function () { - function SystemJsNgModuleLoaderConfig() { - } - return SystemJsNgModuleLoaderConfig; -}()); -var DEFAULT_CONFIG = { - factoryPathPrefix: '', - factoryPathSuffix: '.ngfactory', -}; -/** - * NgModuleFactoryLoader that uses SystemJS to load NgModuleFactory - * \@experimental - */ -var SystemJsNgModuleLoader = (function () { - function SystemJsNgModuleLoader(_compiler, config) { - this._compiler = _compiler; - this._config = config || DEFAULT_CONFIG; - } - /** - * @param {?} path - * @return {?} - */ - SystemJsNgModuleLoader.prototype.load = /** - * @param {?} path - * @return {?} - */ - function (path) { - var /** @type {?} */ offlineMode = this._compiler instanceof Compiler; - return offlineMode ? this.loadFactory(path) : this.loadAndCompile(path); - }; - /** - * @param {?} path - * @return {?} - */ - SystemJsNgModuleLoader.prototype.loadAndCompile = /** - * @param {?} path - * @return {?} - */ - function (path) { - var _this = this; - var _a = path.split(_SEPARATOR), module = _a[0], exportName = _a[1]; - if (exportName === undefined) { - exportName = 'default'; - } - return __webpack_require__(246)(module) - .then(function (module) { return module[exportName]; }) - .then(function (type) { return checkNotEmpty(type, module, exportName); }) - .then(function (type) { return _this._compiler.compileModuleAsync(type); }); - }; - /** - * @param {?} path - * @return {?} - */ - SystemJsNgModuleLoader.prototype.loadFactory = /** - * @param {?} path - * @return {?} - */ - function (path) { - var _a = path.split(_SEPARATOR), module = _a[0], exportName = _a[1]; - var /** @type {?} */ factoryClassSuffix = FACTORY_CLASS_SUFFIX; - if (exportName === undefined) { - exportName = 'default'; - factoryClassSuffix = ''; - } - return __webpack_require__(246)(this._config.factoryPathPrefix + module + this._config.factoryPathSuffix) - .then(function (module) { return module[exportName + factoryClassSuffix]; }) - .then(function (factory) { return checkNotEmpty(factory, module, exportName); }); - }; - SystemJsNgModuleLoader.decorators = [ - { type: Injectable }, - ]; - /** @nocollapse */ - SystemJsNgModuleLoader.ctorParameters = function () { return [ - { type: Compiler, }, - { type: SystemJsNgModuleLoaderConfig, decorators: [{ type: Optional },] }, - ]; }; - return SystemJsNgModuleLoader; -}()); -/** - * @param {?} value - * @param {?} modulePath - * @param {?} exportName - * @return {?} - */ -function checkNotEmpty(value, modulePath, exportName) { - if (!value) { - throw new Error("Cannot find '" + exportName + "' in '" + modulePath + "'"); - } - return value; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Represents an Embedded Template that can be used to instantiate Embedded Views. - * - * You can access a `TemplateRef`, in two ways. Via a directive placed on a `` element - * (or directive prefixed with `*`) and have the `TemplateRef` for this Embedded View injected into - * the constructor of the directive using the `TemplateRef` Token. Alternatively you can query for - * the `TemplateRef` from a Component or a Directive via {\@link Query}. - * - * To instantiate Embedded Views based on a Template, use {\@link ViewContainerRef# - * createEmbeddedView}, which will create the View and attach it to the View Container. - * \@stable - * @abstract - */ -var TemplateRef = (function () { - function TemplateRef() { - } - return TemplateRef; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Represents a container where one or more Views can be attached. - * - * The container can contain two kinds of Views. Host Views, created by instantiating a - * {\@link Component} via {\@link #createComponent}, and Embedded Views, created by instantiating an - * {\@link TemplateRef Embedded Template} via {\@link #createEmbeddedView}. - * - * The location of the View Container within the containing View is specified by the Anchor - * `element`. Each View Container can have only one Anchor Element and each Anchor Element can only - * have a single View Container. - * - * Root elements of Views attached to this container become siblings of the Anchor Element in - * the Rendered View. - * - * To access a `ViewContainerRef` of an Element, you can either place a {\@link Directive} injected - * with `ViewContainerRef` on the Element, or you obtain it via a {\@link ViewChild} query. - * \@stable - * @abstract - */ -var ViewContainerRef = (function () { - function ViewContainerRef() { - } - return ViewContainerRef; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * \@stable - * @abstract - */ -var ChangeDetectorRef = (function () { - function ChangeDetectorRef() { - } - return ChangeDetectorRef; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * \@stable - * @abstract - */ -var ViewRef = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(ViewRef, _super); - function ViewRef() { - return _super !== null && _super.apply(this, arguments) || this; - } - return ViewRef; -}(ChangeDetectorRef)); -/** - * Represents an Angular View. - * - * - * A View is a fundamental building block of the application UI. It is the smallest grouping of - * Elements which are created and destroyed together. - * - * Properties of elements in a View can change, but the structure (number and order) of elements in - * a View cannot. Changing the structure of Elements can only be done by inserting, moving or - * removing nested Views via a {\@link ViewContainerRef}. Each View can contain many View Containers. - * - * - * ### Example - * - * Given this template... - * - * ``` - * Count: {{items.length}} - *
    - *
  • {{item}}
  • - *
- * ``` - * - * We have two {\@link TemplateRef}s: - * - * Outer {\@link TemplateRef}: - * ``` - * Count: {{items.length}} - *
    - * - *
- * ``` - * - * Inner {\@link TemplateRef}: - * ``` - *
  • {{item}}
  • - * ``` - * - * Notice that the original template is broken down into two separate {\@link TemplateRef}s. - * - * The outer/inner {\@link TemplateRef}s are then assembled into views like so: - * - * ``` - * - * Count: 2 - *
      - * - *
    • first
    • - *
    • second
    • - *
    - * - * ``` - * \@experimental - * @abstract - */ -var EmbeddedViewRef = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(EmbeddedViewRef, _super); - function EmbeddedViewRef() { - return _super !== null && _super.apply(this, arguments) || this; - } - return EmbeddedViewRef; -}(ViewRef)); -/** - * @record - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -// Public API for compiler - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -var EventListener = (function () { - function EventListener(name, callback) { - this.name = name; - this.callback = callback; - } - return EventListener; -}()); -/** - * \@experimental All debugging apis are currently experimental. - */ -var DebugNode = (function () { - function DebugNode(nativeNode, parent, _debugContext) { - this._debugContext = _debugContext; - this.nativeNode = nativeNode; - if (parent && parent instanceof DebugElement) { - parent.addChild(this); - } - else { - this.parent = null; - } - this.listeners = []; - } - Object.defineProperty(DebugNode.prototype, "injector", { - get: /** - * @return {?} - */ - function () { return this._debugContext.injector; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugNode.prototype, "componentInstance", { - get: /** - * @return {?} - */ - function () { return this._debugContext.component; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugNode.prototype, "context", { - get: /** - * @return {?} - */ - function () { return this._debugContext.context; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugNode.prototype, "references", { - get: /** - * @return {?} - */ - function () { return this._debugContext.references; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugNode.prototype, "providerTokens", { - get: /** - * @return {?} - */ - function () { return this._debugContext.providerTokens; }, - enumerable: true, - configurable: true - }); - return DebugNode; -}()); -/** - * \@experimental All debugging apis are currently experimental. - */ -var DebugElement = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(DebugElement, _super); - function DebugElement(nativeNode, parent, _debugContext) { - var _this = _super.call(this, nativeNode, parent, _debugContext) || this; - _this.properties = {}; - _this.attributes = {}; - _this.classes = {}; - _this.styles = {}; - _this.childNodes = []; - _this.nativeElement = nativeNode; - return _this; - } - /** - * @param {?} child - * @return {?} - */ - DebugElement.prototype.addChild = /** - * @param {?} child - * @return {?} - */ - function (child) { - if (child) { - this.childNodes.push(child); - child.parent = this; - } - }; - /** - * @param {?} child - * @return {?} - */ - DebugElement.prototype.removeChild = /** - * @param {?} child - * @return {?} - */ - function (child) { - var /** @type {?} */ childIndex = this.childNodes.indexOf(child); - if (childIndex !== -1) { - child.parent = null; - this.childNodes.splice(childIndex, 1); - } - }; - /** - * @param {?} child - * @param {?} newChildren - * @return {?} - */ - DebugElement.prototype.insertChildrenAfter = /** - * @param {?} child - * @param {?} newChildren - * @return {?} - */ - function (child, newChildren) { - var _this = this; - var /** @type {?} */ siblingIndex = this.childNodes.indexOf(child); - if (siblingIndex !== -1) { - (_a = this.childNodes).splice.apply(_a, [siblingIndex + 1, 0].concat(newChildren)); - newChildren.forEach(function (c) { - if (c.parent) { - c.parent.removeChild(c); - } - c.parent = _this; - }); - } - var _a; - }; - /** - * @param {?} refChild - * @param {?} newChild - * @return {?} - */ - DebugElement.prototype.insertBefore = /** - * @param {?} refChild - * @param {?} newChild - * @return {?} - */ - function (refChild, newChild) { - var /** @type {?} */ refIndex = this.childNodes.indexOf(refChild); - if (refIndex === -1) { - this.addChild(newChild); - } - else { - if (newChild.parent) { - newChild.parent.removeChild(newChild); - } - newChild.parent = this; - this.childNodes.splice(refIndex, 0, newChild); - } - }; - /** - * @param {?} predicate - * @return {?} - */ - DebugElement.prototype.query = /** - * @param {?} predicate - * @return {?} - */ - function (predicate) { - var /** @type {?} */ results = this.queryAll(predicate); - return results[0] || null; - }; - /** - * @param {?} predicate - * @return {?} - */ - DebugElement.prototype.queryAll = /** - * @param {?} predicate - * @return {?} - */ - function (predicate) { - var /** @type {?} */ matches = []; - _queryElementChildren(this, predicate, matches); - return matches; - }; - /** - * @param {?} predicate - * @return {?} - */ - DebugElement.prototype.queryAllNodes = /** - * @param {?} predicate - * @return {?} - */ - function (predicate) { - var /** @type {?} */ matches = []; - _queryNodeChildren(this, predicate, matches); - return matches; - }; - Object.defineProperty(DebugElement.prototype, "children", { - get: /** - * @return {?} - */ - function () { - return /** @type {?} */ (this.childNodes.filter(function (node) { return node instanceof DebugElement; })); - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} eventName - * @param {?} eventObj - * @return {?} - */ - DebugElement.prototype.triggerEventHandler = /** - * @param {?} eventName - * @param {?} eventObj - * @return {?} - */ - function (eventName, eventObj) { - this.listeners.forEach(function (listener) { - if (listener.name == eventName) { - listener.callback(eventObj); - } - }); - }; - return DebugElement; -}(DebugNode)); -/** - * \@experimental - * @param {?} debugEls - * @return {?} - */ -function asNativeElements(debugEls) { - return debugEls.map(function (el) { return el.nativeElement; }); -} -/** - * @param {?} element - * @param {?} predicate - * @param {?} matches - * @return {?} - */ -function _queryElementChildren(element, predicate, matches) { - element.childNodes.forEach(function (node) { - if (node instanceof DebugElement) { - if (predicate(node)) { - matches.push(node); - } - _queryElementChildren(node, predicate, matches); - } - }); -} -/** - * @param {?} parentNode - * @param {?} predicate - * @param {?} matches - * @return {?} - */ -function _queryNodeChildren(parentNode, predicate, matches) { - if (parentNode instanceof DebugElement) { - parentNode.childNodes.forEach(function (node) { - if (predicate(node)) { - matches.push(node); - } - if (node instanceof DebugElement) { - _queryNodeChildren(node, predicate, matches); - } - }); - } -} -// Need to keep the nodes in a global Map so that multiple angular apps are supported. -var _nativeNodeToDebugNode = new Map(); -/** - * \@experimental - * @param {?} nativeNode - * @return {?} - */ -function getDebugNode(nativeNode) { - return _nativeNodeToDebugNode.get(nativeNode) || null; -} -/** - * @return {?} - */ - -/** - * @param {?} node - * @return {?} - */ -function indexDebugNode(node) { - _nativeNodeToDebugNode.set(node.nativeNode, node); -} -/** - * @param {?} node - * @return {?} - */ -function removeDebugNodeFromIndex(node) { - _nativeNodeToDebugNode.delete(node.nativeNode); -} -/** - * A boolean-valued function over a value, possibly including context information - * regarding that value's position in an array. - * - * \@experimental All debugging apis are currently experimental. - * @record - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} a - * @param {?} b - * @return {?} - */ -function devModeEqual(a, b) { - var /** @type {?} */ isListLikeIterableA = isListLikeIterable(a); - var /** @type {?} */ isListLikeIterableB = isListLikeIterable(b); - if (isListLikeIterableA && isListLikeIterableB) { - return areIterablesEqual(a, b, devModeEqual); - } - else { - var /** @type {?} */ isAObject = a && (typeof a === 'object' || typeof a === 'function'); - var /** @type {?} */ isBObject = b && (typeof b === 'object' || typeof b === 'function'); - if (!isListLikeIterableA && isAObject && !isListLikeIterableB && isBObject) { - return true; - } - else { - return looseIdentical(a, b); - } - } -} -/** - * Indicates that the result of a {\@link Pipe} transformation has changed even though the - * reference - * has not changed. - * - * The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored. - * - * Example: - * - * ``` - * if (this._latestValue === this._latestReturnedValue) { - * return this._latestReturnedValue; - * } else { - * this._latestReturnedValue = this._latestValue; - * return WrappedValue.wrap(this._latestValue); // this will force update - * } - * ``` - * \@stable - */ -var WrappedValue = (function () { - function WrappedValue(wrapped) { - this.wrapped = wrapped; - } - /** - * @param {?} value - * @return {?} - */ - WrappedValue.wrap = /** - * @param {?} value - * @return {?} - */ - function (value) { return new WrappedValue(value); }; - return WrappedValue; -}()); -/** - * Helper class for unwrapping WrappedValue s - */ -var ValueUnwrapper = (function () { - function ValueUnwrapper() { - this.hasWrappedValue = false; - } - /** - * @param {?} value - * @return {?} - */ - ValueUnwrapper.prototype.unwrap = /** - * @param {?} value - * @return {?} - */ - function (value) { - if (value instanceof WrappedValue) { - this.hasWrappedValue = true; - return value.wrapped; - } - return value; - }; - /** - * @return {?} - */ - ValueUnwrapper.prototype.reset = /** - * @return {?} - */ - function () { this.hasWrappedValue = false; }; - return ValueUnwrapper; -}()); -/** - * Represents a basic change from a previous to a new value. - * \@stable - */ -var SimpleChange = (function () { - function SimpleChange(previousValue, currentValue, firstChange) { - this.previousValue = previousValue; - this.currentValue = currentValue; - this.firstChange = firstChange; - } - /** - * Check whether the new value is the first value assigned. - */ - /** - * Check whether the new value is the first value assigned. - * @return {?} - */ - SimpleChange.prototype.isFirstChange = /** - * Check whether the new value is the first value assigned. - * @return {?} - */ - function () { return this.firstChange; }; - return SimpleChange; -}()); -/** - * @param {?} obj - * @return {?} - */ -function isListLikeIterable(obj) { - if (!isJsObject(obj)) - return false; - return Array.isArray(obj) || - (!(obj instanceof Map) && - // JS Map are iterables but return entries as [k, v] - getSymbolIterator() in obj); // JS Iterable have a Symbol.iterator prop -} -/** - * @param {?} a - * @param {?} b - * @param {?} comparator - * @return {?} - */ -function areIterablesEqual(a, b, comparator) { - var /** @type {?} */ iterator1 = a[getSymbolIterator()](); - var /** @type {?} */ iterator2 = b[getSymbolIterator()](); - while (true) { - var /** @type {?} */ item1 = iterator1.next(); - var /** @type {?} */ item2 = iterator2.next(); - if (item1.done && item2.done) - return true; - if (item1.done || item2.done) - return false; - if (!comparator(item1.value, item2.value)) - return false; - } -} -/** - * @param {?} obj - * @param {?} fn - * @return {?} - */ -function iterateListLike(obj, fn) { - if (Array.isArray(obj)) { - for (var /** @type {?} */ i = 0; i < obj.length; i++) { - fn(obj[i]); - } - } - else { - var /** @type {?} */ iterator = obj[getSymbolIterator()](); - var /** @type {?} */ item = void 0; - while (!((item = iterator.next()).done)) { - fn(item.value); - } - } -} -/** - * @param {?} o - * @return {?} - */ -function isJsObject(o) { - return o !== null && (typeof o === 'function' || typeof o === 'object'); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var DefaultIterableDifferFactory = (function () { - function DefaultIterableDifferFactory() { - } - /** - * @param {?} obj - * @return {?} - */ - DefaultIterableDifferFactory.prototype.supports = /** - * @param {?} obj - * @return {?} - */ - function (obj) { return isListLikeIterable(obj); }; - /** - * @template V - * @param {?=} trackByFn - * @return {?} - */ - DefaultIterableDifferFactory.prototype.create = /** - * @template V - * @param {?=} trackByFn - * @return {?} - */ - function (trackByFn) { - return new DefaultIterableDiffer(trackByFn); - }; - return DefaultIterableDifferFactory; -}()); -var trackByIdentity = function (index, item) { return item; }; -/** - * @deprecated v4.0.0 - Should not be part of public API. - */ -var DefaultIterableDiffer = (function () { - function DefaultIterableDiffer(trackByFn) { - this.length = 0; - this._linkedRecords = null; - this._unlinkedRecords = null; - this._previousItHead = null; - this._itHead = null; - this._itTail = null; - this._additionsHead = null; - this._additionsTail = null; - this._movesHead = null; - this._movesTail = null; - this._removalsHead = null; - this._removalsTail = null; - this._identityChangesHead = null; - this._identityChangesTail = null; - this._trackByFn = trackByFn || trackByIdentity; - } - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._itHead; record !== null; record = record._next) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachOperation = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ nextIt = this._itHead; - var /** @type {?} */ nextRemove = this._removalsHead; - var /** @type {?} */ addRemoveOffset = 0; - var /** @type {?} */ moveOffsets = null; - while (nextIt || nextRemove) { - // Figure out which is the next record to process - // Order: remove, add, move - var /** @type {?} */ record = !nextRemove || - nextIt && /** @type {?} */ ((nextIt.currentIndex)) < getPreviousIndex(nextRemove, addRemoveOffset, moveOffsets) ? - /** @type {?} */ ((nextIt)) : - nextRemove; - var /** @type {?} */ adjPreviousIndex = getPreviousIndex(record, addRemoveOffset, moveOffsets); - var /** @type {?} */ currentIndex = record.currentIndex; - // consume the item, and adjust the addRemoveOffset and update moveDistance if necessary - if (record === nextRemove) { - addRemoveOffset--; - nextRemove = nextRemove._nextRemoved; - } - else { - nextIt = /** @type {?} */ ((nextIt))._next; - if (record.previousIndex == null) { - addRemoveOffset++; - } - else { - // INVARIANT: currentIndex < previousIndex - if (!moveOffsets) - moveOffsets = []; - var /** @type {?} */ localMovePreviousIndex = adjPreviousIndex - addRemoveOffset; - var /** @type {?} */ localCurrentIndex = /** @type {?} */ ((currentIndex)) - addRemoveOffset; - if (localMovePreviousIndex != localCurrentIndex) { - for (var /** @type {?} */ i = 0; i < localMovePreviousIndex; i++) { - var /** @type {?} */ offset = i < moveOffsets.length ? moveOffsets[i] : (moveOffsets[i] = 0); - var /** @type {?} */ index = offset + i; - if (localCurrentIndex <= index && index < localMovePreviousIndex) { - moveOffsets[i] = offset + 1; - } - } - var /** @type {?} */ previousIndex = record.previousIndex; - moveOffsets[previousIndex] = localCurrentIndex - localMovePreviousIndex; - } - } - } - if (adjPreviousIndex !== currentIndex) { - fn(record, adjPreviousIndex, currentIndex); - } - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachPreviousItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._previousItHead; record !== null; record = record._nextPrevious) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachAddedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._additionsHead; record !== null; record = record._nextAdded) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachMovedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._movesHead; record !== null; record = record._nextMoved) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachRemovedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._removalsHead; record !== null; record = record._nextRemoved) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultIterableDiffer.prototype.forEachIdentityChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) { - fn(record); - } - }; - /** - * @param {?} collection - * @return {?} - */ - DefaultIterableDiffer.prototype.diff = /** - * @param {?} collection - * @return {?} - */ - function (collection) { - if (collection == null) - collection = []; - if (!isListLikeIterable(collection)) { - throw new Error("Error trying to diff '" + stringify(collection) + "'. Only arrays and iterables are allowed"); - } - if (this.check(collection)) { - return this; - } - else { - return null; - } - }; - /** - * @return {?} - */ - DefaultIterableDiffer.prototype.onDestroy = /** - * @return {?} - */ - function () { }; - /** - * @param {?} collection - * @return {?} - */ - DefaultIterableDiffer.prototype.check = /** - * @param {?} collection - * @return {?} - */ - function (collection) { - var _this = this; - this._reset(); - var /** @type {?} */ record = this._itHead; - var /** @type {?} */ mayBeDirty = false; - var /** @type {?} */ index; - var /** @type {?} */ item; - var /** @type {?} */ itemTrackBy; - if (Array.isArray(collection)) { - (/** @type {?} */ (this)).length = collection.length; - for (var /** @type {?} */ index_1 = 0; index_1 < this.length; index_1++) { - item = collection[index_1]; - itemTrackBy = this._trackByFn(index_1, item); - if (record === null || !looseIdentical(record.trackById, itemTrackBy)) { - record = this._mismatch(record, item, itemTrackBy, index_1); - mayBeDirty = true; - } - else { - if (mayBeDirty) { - // TODO(misko): can we limit this to duplicates only? - record = this._verifyReinsertion(record, item, itemTrackBy, index_1); - } - if (!looseIdentical(record.item, item)) - this._addIdentityChange(record, item); - } - record = record._next; - } - } - else { - index = 0; - iterateListLike(collection, function (item) { - itemTrackBy = _this._trackByFn(index, item); - if (record === null || !looseIdentical(record.trackById, itemTrackBy)) { - record = _this._mismatch(record, item, itemTrackBy, index); - mayBeDirty = true; - } - else { - if (mayBeDirty) { - // TODO(misko): can we limit this to duplicates only? - record = _this._verifyReinsertion(record, item, itemTrackBy, index); - } - if (!looseIdentical(record.item, item)) - _this._addIdentityChange(record, item); - } - record = record._next; - index++; - }); - (/** @type {?} */ (this)).length = index; - } - this._truncate(record); - (/** @type {?} */ (this)).collection = collection; - return this.isDirty; - }; - Object.defineProperty(DefaultIterableDiffer.prototype, "isDirty", { - /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity - * changes. - */ - get: /** - * @return {?} - */ - function () { - return this._additionsHead !== null || this._movesHead !== null || - this._removalsHead !== null || this._identityChangesHead !== null; - }, - enumerable: true, - configurable: true - }); - /** - * Reset the state of the change objects to show no changes. This means set previousKey to - * currentKey, and clear all of the queues (additions, moves, removals). - * Set the previousIndexes of moved and added items to their currentIndexes - * Reset the list of additions, moves and removals - * - * @internal - */ - /** - * Reset the state of the change objects to show no changes. This means set previousKey to - * currentKey, and clear all of the queues (additions, moves, removals). - * Set the previousIndexes of moved and added items to their currentIndexes - * Reset the list of additions, moves and removals - * - * \@internal - * @return {?} - */ - DefaultIterableDiffer.prototype._reset = /** - * Reset the state of the change objects to show no changes. This means set previousKey to - * currentKey, and clear all of the queues (additions, moves, removals). - * Set the previousIndexes of moved and added items to their currentIndexes - * Reset the list of additions, moves and removals - * - * \@internal - * @return {?} - */ - function () { - if (this.isDirty) { - var /** @type {?} */ record = void 0; - var /** @type {?} */ nextRecord = void 0; - for (record = this._previousItHead = this._itHead; record !== null; record = record._next) { - record._nextPrevious = record._next; - } - for (record = this._additionsHead; record !== null; record = record._nextAdded) { - record.previousIndex = record.currentIndex; - } - this._additionsHead = this._additionsTail = null; - for (record = this._movesHead; record !== null; record = nextRecord) { - record.previousIndex = record.currentIndex; - nextRecord = record._nextMoved; - } - this._movesHead = this._movesTail = null; - this._removalsHead = this._removalsTail = null; - this._identityChangesHead = this._identityChangesTail = null; - // todo(vicb) when assert gets supported - // assert(!this.isDirty); - } - }; - /** - * This is the core function which handles differences between collections. - * - * - `record` is the record which we saw at this position last time. If null then it is a new - * item. - * - `item` is the current item in the collection - * - `index` is the position of the item in the collection - * - * @internal - */ - /** - * This is the core function which handles differences between collections. - * - * - `record` is the record which we saw at this position last time. If null then it is a new - * item. - * - `item` is the current item in the collection - * - `index` is the position of the item in the collection - * - * \@internal - * @param {?} record - * @param {?} item - * @param {?} itemTrackBy - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._mismatch = /** - * This is the core function which handles differences between collections. - * - * - `record` is the record which we saw at this position last time. If null then it is a new - * item. - * - `item` is the current item in the collection - * - `index` is the position of the item in the collection - * - * \@internal - * @param {?} record - * @param {?} item - * @param {?} itemTrackBy - * @param {?} index - * @return {?} - */ - function (record, item, itemTrackBy, index) { - // The previous record after which we will append the current one. - var /** @type {?} */ previousRecord; - if (record === null) { - previousRecord = this._itTail; - } - else { - previousRecord = record._prev; - // Remove the record from the collection since we know it does not match the item. - this._remove(record); - } - // Attempt to see if we have seen the item before. - record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index); - if (record !== null) { - // We have seen this before, we need to move it forward in the collection. - // But first we need to check if identity changed, so we can update in view if necessary - if (!looseIdentical(record.item, item)) - this._addIdentityChange(record, item); - this._moveAfter(record, previousRecord, index); - } - else { - // Never seen it, check evicted list. - record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null); - if (record !== null) { - // It is an item which we have evicted earlier: reinsert it back into the list. - // But first we need to check if identity changed, so we can update in view if necessary - if (!looseIdentical(record.item, item)) - this._addIdentityChange(record, item); - this._reinsertAfter(record, previousRecord, index); - } - else { - // It is a new item: add it. - record = - this._addAfter(new IterableChangeRecord_(item, itemTrackBy), previousRecord, index); - } - } - return record; - }; - /** - * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty) - * - * Use case: `[a, a]` => `[b, a, a]` - * - * If we did not have this check then the insertion of `b` would: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) leave `a` at index `1` as is. <-- this is wrong! - * 3) reinsert `a` at index 2. <-- this is wrong! - * - * The correct behavior is: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) reinsert `a` at index 1. - * 3) move `a` at from `1` to `2`. - * - * - * Double check that we have not evicted a duplicate item. We need to check if the item type may - * have already been removed: - * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted - * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a - * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a' - * at the end. - * - * @internal - */ - /** - * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty) - * - * Use case: `[a, a]` => `[b, a, a]` - * - * If we did not have this check then the insertion of `b` would: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) leave `a` at index `1` as is. <-- this is wrong! - * 3) reinsert `a` at index 2. <-- this is wrong! - * - * The correct behavior is: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) reinsert `a` at index 1. - * 3) move `a` at from `1` to `2`. - * - * - * Double check that we have not evicted a duplicate item. We need to check if the item type may - * have already been removed: - * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted - * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a - * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a' - * at the end. - * - * \@internal - * @param {?} record - * @param {?} item - * @param {?} itemTrackBy - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._verifyReinsertion = /** - * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty) - * - * Use case: `[a, a]` => `[b, a, a]` - * - * If we did not have this check then the insertion of `b` would: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) leave `a` at index `1` as is. <-- this is wrong! - * 3) reinsert `a` at index 2. <-- this is wrong! - * - * The correct behavior is: - * 1) evict first `a` - * 2) insert `b` at `0` index. - * 3) reinsert `a` at index 1. - * 3) move `a` at from `1` to `2`. - * - * - * Double check that we have not evicted a duplicate item. We need to check if the item type may - * have already been removed: - * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted - * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a - * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a' - * at the end. - * - * \@internal - * @param {?} record - * @param {?} item - * @param {?} itemTrackBy - * @param {?} index - * @return {?} - */ - function (record, item, itemTrackBy, index) { - var /** @type {?} */ reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy, null); - if (reinsertRecord !== null) { - record = this._reinsertAfter(reinsertRecord, /** @type {?} */ ((record._prev)), index); - } - else if (record.currentIndex != index) { - record.currentIndex = index; - this._addToMoves(record, index); - } - return record; - }; - /** - * Get rid of any excess {@link IterableChangeRecord_}s from the previous collection - * - * - `record` The first excess {@link IterableChangeRecord_}. - * - * @internal - */ - /** - * Get rid of any excess {\@link IterableChangeRecord_}s from the previous collection - * - * - `record` The first excess {\@link IterableChangeRecord_}. - * - * \@internal - * @param {?} record - * @return {?} - */ - DefaultIterableDiffer.prototype._truncate = /** - * Get rid of any excess {\@link IterableChangeRecord_}s from the previous collection - * - * - `record` The first excess {\@link IterableChangeRecord_}. - * - * \@internal - * @param {?} record - * @return {?} - */ - function (record) { - // Anything after that needs to be removed; - while (record !== null) { - var /** @type {?} */ nextRecord = record._next; - this._addToRemovals(this._unlink(record)); - record = nextRecord; - } - if (this._unlinkedRecords !== null) { - this._unlinkedRecords.clear(); - } - if (this._additionsTail !== null) { - this._additionsTail._nextAdded = null; - } - if (this._movesTail !== null) { - this._movesTail._nextMoved = null; - } - if (this._itTail !== null) { - this._itTail._next = null; - } - if (this._removalsTail !== null) { - this._removalsTail._nextRemoved = null; - } - if (this._identityChangesTail !== null) { - this._identityChangesTail._nextIdentityChange = null; - } - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._reinsertAfter = /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - function (record, prevRecord, index) { - if (this._unlinkedRecords !== null) { - this._unlinkedRecords.remove(record); - } - var /** @type {?} */ prev = record._prevRemoved; - var /** @type {?} */ next = record._nextRemoved; - if (prev === null) { - this._removalsHead = next; - } - else { - prev._nextRemoved = next; - } - if (next === null) { - this._removalsTail = prev; - } - else { - next._prevRemoved = prev; - } - this._insertAfter(record, prevRecord, index); - this._addToMoves(record, index); - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._moveAfter = /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - function (record, prevRecord, index) { - this._unlink(record); - this._insertAfter(record, prevRecord, index); - this._addToMoves(record, index); - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._addAfter = /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - function (record, prevRecord, index) { - this._insertAfter(record, prevRecord, index); - if (this._additionsTail === null) { - // todo(vicb) - // assert(this._additionsHead === null); - this._additionsTail = this._additionsHead = record; - } - else { - // todo(vicb) - // assert(_additionsTail._nextAdded === null); - // assert(record._nextAdded === null); - this._additionsTail = this._additionsTail._nextAdded = record; - } - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - DefaultIterableDiffer.prototype._insertAfter = /** - * \@internal - * @param {?} record - * @param {?} prevRecord - * @param {?} index - * @return {?} - */ - function (record, prevRecord, index) { - // todo(vicb) - // assert(record != prevRecord); - // assert(record._next === null); - // assert(record._prev === null); - var /** @type {?} */ next = prevRecord === null ? this._itHead : prevRecord._next; - // todo(vicb) - // assert(next != record); - // assert(prevRecord != record); - record._next = next; - record._prev = prevRecord; - if (next === null) { - this._itTail = record; - } - else { - next._prev = record; - } - if (prevRecord === null) { - this._itHead = record; - } - else { - prevRecord._next = record; - } - if (this._linkedRecords === null) { - this._linkedRecords = new _DuplicateMap(); - } - this._linkedRecords.put(record); - record.currentIndex = index; - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @return {?} - */ - DefaultIterableDiffer.prototype._remove = /** - * \@internal - * @param {?} record - * @return {?} - */ - function (record) { - return this._addToRemovals(this._unlink(record)); - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @return {?} - */ - DefaultIterableDiffer.prototype._unlink = /** - * \@internal - * @param {?} record - * @return {?} - */ - function (record) { - if (this._linkedRecords !== null) { - this._linkedRecords.remove(record); - } - var /** @type {?} */ prev = record._prev; - var /** @type {?} */ next = record._next; - // todo(vicb) - // assert((record._prev = null) === null); - // assert((record._next = null) === null); - if (prev === null) { - this._itHead = next; - } - else { - prev._next = next; - } - if (next === null) { - this._itTail = prev; - } - else { - next._prev = prev; - } - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} toIndex - * @return {?} - */ - DefaultIterableDiffer.prototype._addToMoves = /** - * \@internal - * @param {?} record - * @param {?} toIndex - * @return {?} - */ - function (record, toIndex) { - // todo(vicb) - // assert(record._nextMoved === null); - if (record.previousIndex === toIndex) { - return record; - } - if (this._movesTail === null) { - // todo(vicb) - // assert(_movesHead === null); - this._movesTail = this._movesHead = record; - } - else { - // todo(vicb) - // assert(_movesTail._nextMoved === null); - this._movesTail = this._movesTail._nextMoved = record; - } - return record; - }; - /** - * @param {?} record - * @return {?} - */ - DefaultIterableDiffer.prototype._addToRemovals = /** - * @param {?} record - * @return {?} - */ - function (record) { - if (this._unlinkedRecords === null) { - this._unlinkedRecords = new _DuplicateMap(); - } - this._unlinkedRecords.put(record); - record.currentIndex = null; - record._nextRemoved = null; - if (this._removalsTail === null) { - // todo(vicb) - // assert(_removalsHead === null); - this._removalsTail = this._removalsHead = record; - record._prevRemoved = null; - } - else { - // todo(vicb) - // assert(_removalsTail._nextRemoved === null); - // assert(record._nextRemoved === null); - record._prevRemoved = this._removalsTail; - this._removalsTail = this._removalsTail._nextRemoved = record; - } - return record; - }; - /** @internal */ - /** - * \@internal - * @param {?} record - * @param {?} item - * @return {?} - */ - DefaultIterableDiffer.prototype._addIdentityChange = /** - * \@internal - * @param {?} record - * @param {?} item - * @return {?} - */ - function (record, item) { - record.item = item; - if (this._identityChangesTail === null) { - this._identityChangesTail = this._identityChangesHead = record; - } - else { - this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record; - } - return record; - }; - return DefaultIterableDiffer; -}()); -/** - * \@stable - */ -var IterableChangeRecord_ = (function () { - function IterableChangeRecord_(item, trackById) { - this.item = item; - this.trackById = trackById; - this.currentIndex = null; - this.previousIndex = null; - /** - * \@internal - */ - this._nextPrevious = null; - /** - * \@internal - */ - this._prev = null; - /** - * \@internal - */ - this._next = null; - /** - * \@internal - */ - this._prevDup = null; - /** - * \@internal - */ - this._nextDup = null; - /** - * \@internal - */ - this._prevRemoved = null; - /** - * \@internal - */ - this._nextRemoved = null; - /** - * \@internal - */ - this._nextAdded = null; - /** - * \@internal - */ - this._nextMoved = null; - /** - * \@internal - */ - this._nextIdentityChange = null; - } - return IterableChangeRecord_; -}()); -var _DuplicateItemRecordList = (function () { - function _DuplicateItemRecordList() { - /** - * \@internal - */ - this._head = null; - /** - * \@internal - */ - this._tail = null; - } - /** - * Append the record to the list of duplicates. - * - * Note: by design all records in the list of duplicates hold the same value in record.item. - */ - /** - * Append the record to the list of duplicates. - * - * Note: by design all records in the list of duplicates hold the same value in record.item. - * @param {?} record - * @return {?} - */ - _DuplicateItemRecordList.prototype.add = /** - * Append the record to the list of duplicates. - * - * Note: by design all records in the list of duplicates hold the same value in record.item. - * @param {?} record - * @return {?} - */ - function (record) { - if (this._head === null) { - this._head = this._tail = record; - record._nextDup = null; - record._prevDup = null; - } - else { - /** @type {?} */ (( - // todo(vicb) - // assert(record.item == _head.item || - // record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN); - this._tail))._nextDup = record; - record._prevDup = this._tail; - record._nextDup = null; - this._tail = record; - } - }; - // Returns a IterableChangeRecord_ having IterableChangeRecord_.trackById == trackById and - // IterableChangeRecord_.currentIndex >= atOrAfterIndex - /** - * @param {?} trackById - * @param {?} atOrAfterIndex - * @return {?} - */ - _DuplicateItemRecordList.prototype.get = /** - * @param {?} trackById - * @param {?} atOrAfterIndex - * @return {?} - */ - function (trackById, atOrAfterIndex) { - var /** @type {?} */ record; - for (record = this._head; record !== null; record = record._nextDup) { - if ((atOrAfterIndex === null || atOrAfterIndex <= /** @type {?} */ ((record.currentIndex))) && - looseIdentical(record.trackById, trackById)) { - return record; - } - } - return null; - }; - /** - * Remove one {@link IterableChangeRecord_} from the list of duplicates. - * - * Returns whether the list of duplicates is empty. - */ - /** - * Remove one {\@link IterableChangeRecord_} from the list of duplicates. - * - * Returns whether the list of duplicates is empty. - * @param {?} record - * @return {?} - */ - _DuplicateItemRecordList.prototype.remove = /** - * Remove one {\@link IterableChangeRecord_} from the list of duplicates. - * - * Returns whether the list of duplicates is empty. - * @param {?} record - * @return {?} - */ - function (record) { - // todo(vicb) - // assert(() { - // // verify that the record being removed is in the list. - // for (IterableChangeRecord_ cursor = _head; cursor != null; cursor = cursor._nextDup) { - // if (identical(cursor, record)) return true; - // } - // return false; - //}); - var /** @type {?} */ prev = record._prevDup; - var /** @type {?} */ next = record._nextDup; - if (prev === null) { - this._head = next; - } - else { - prev._nextDup = next; - } - if (next === null) { - this._tail = prev; - } - else { - next._prevDup = prev; - } - return this._head === null; - }; - return _DuplicateItemRecordList; -}()); -var _DuplicateMap = (function () { - function _DuplicateMap() { - this.map = new Map(); - } - /** - * @param {?} record - * @return {?} - */ - _DuplicateMap.prototype.put = /** - * @param {?} record - * @return {?} - */ - function (record) { - var /** @type {?} */ key = record.trackById; - var /** @type {?} */ duplicates = this.map.get(key); - if (!duplicates) { - duplicates = new _DuplicateItemRecordList(); - this.map.set(key, duplicates); - } - duplicates.add(record); - }; - /** - * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we - * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there. - * - * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we - * have any more `a`s needs to return the second `a`. - */ - /** - * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we - * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there. - * - * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we - * have any more `a`s needs to return the second `a`. - * @param {?} trackById - * @param {?} atOrAfterIndex - * @return {?} - */ - _DuplicateMap.prototype.get = /** - * Retrieve the `value` using key. Because the IterableChangeRecord_ value may be one which we - * have already iterated over, we use the `atOrAfterIndex` to pretend it is not there. - * - * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we - * have any more `a`s needs to return the second `a`. - * @param {?} trackById - * @param {?} atOrAfterIndex - * @return {?} - */ - function (trackById, atOrAfterIndex) { - var /** @type {?} */ key = trackById; - var /** @type {?} */ recordList = this.map.get(key); - return recordList ? recordList.get(trackById, atOrAfterIndex) : null; - }; - /** - * Removes a {@link IterableChangeRecord_} from the list of duplicates. - * - * The list of duplicates also is removed from the map if it gets empty. - */ - /** - * Removes a {\@link IterableChangeRecord_} from the list of duplicates. - * - * The list of duplicates also is removed from the map if it gets empty. - * @param {?} record - * @return {?} - */ - _DuplicateMap.prototype.remove = /** - * Removes a {\@link IterableChangeRecord_} from the list of duplicates. - * - * The list of duplicates also is removed from the map if it gets empty. - * @param {?} record - * @return {?} - */ - function (record) { - var /** @type {?} */ key = record.trackById; - var /** @type {?} */ recordList = /** @type {?} */ ((this.map.get(key))); - // Remove the list of duplicates when it gets empty - if (recordList.remove(record)) { - this.map.delete(key); - } - return record; - }; - Object.defineProperty(_DuplicateMap.prototype, "isEmpty", { - get: /** - * @return {?} - */ - function () { return this.map.size === 0; }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - _DuplicateMap.prototype.clear = /** - * @return {?} - */ - function () { this.map.clear(); }; - return _DuplicateMap; -}()); -/** - * @param {?} item - * @param {?} addRemoveOffset - * @param {?} moveOffsets - * @return {?} - */ -function getPreviousIndex(item, addRemoveOffset, moveOffsets) { - var /** @type {?} */ previousIndex = item.previousIndex; - if (previousIndex === null) - return previousIndex; - var /** @type {?} */ moveOffset = 0; - if (moveOffsets && previousIndex < moveOffsets.length) { - moveOffset = moveOffsets[previousIndex]; - } - return previousIndex + addRemoveOffset + moveOffset; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var DefaultKeyValueDifferFactory = (function () { - function DefaultKeyValueDifferFactory() { - } - /** - * @param {?} obj - * @return {?} - */ - DefaultKeyValueDifferFactory.prototype.supports = /** - * @param {?} obj - * @return {?} - */ - function (obj) { return obj instanceof Map || isJsObject(obj); }; - /** - * @template K, V - * @return {?} - */ - DefaultKeyValueDifferFactory.prototype.create = /** - * @template K, V - * @return {?} - */ - function () { return new DefaultKeyValueDiffer(); }; - return DefaultKeyValueDifferFactory; -}()); -var DefaultKeyValueDiffer = (function () { - function DefaultKeyValueDiffer() { - this._records = new Map(); - this._mapHead = null; - this._appendAfter = null; - this._previousMapHead = null; - this._changesHead = null; - this._changesTail = null; - this._additionsHead = null; - this._additionsTail = null; - this._removalsHead = null; - this._removalsTail = null; - } - Object.defineProperty(DefaultKeyValueDiffer.prototype, "isDirty", { - get: /** - * @return {?} - */ - function () { - return this._additionsHead !== null || this._changesHead !== null || - this._removalsHead !== null; - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype.forEachItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._mapHead; record !== null; record = record._next) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype.forEachPreviousItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._previousMapHead; record !== null; record = record._nextPrevious) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype.forEachChangedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._changesHead; record !== null; record = record._nextChanged) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype.forEachAddedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._additionsHead; record !== null; record = record._nextAdded) { - fn(record); - } - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype.forEachRemovedItem = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var /** @type {?} */ record; - for (record = this._removalsHead; record !== null; record = record._nextRemoved) { - fn(record); - } - }; - /** - * @param {?=} map - * @return {?} - */ - DefaultKeyValueDiffer.prototype.diff = /** - * @param {?=} map - * @return {?} - */ - function (map) { - if (!map) { - map = new Map(); - } - else if (!(map instanceof Map || isJsObject(map))) { - throw new Error("Error trying to diff '" + stringify(map) + "'. Only maps and objects are allowed"); - } - return this.check(map) ? this : null; - }; - /** - * @return {?} - */ - DefaultKeyValueDiffer.prototype.onDestroy = /** - * @return {?} - */ - function () { }; - /** - * Check the current state of the map vs the previous. - * The algorithm is optimised for when the keys do no change. - */ - /** - * Check the current state of the map vs the previous. - * The algorithm is optimised for when the keys do no change. - * @param {?} map - * @return {?} - */ - DefaultKeyValueDiffer.prototype.check = /** - * Check the current state of the map vs the previous. - * The algorithm is optimised for when the keys do no change. - * @param {?} map - * @return {?} - */ - function (map) { - var _this = this; - this._reset(); - var /** @type {?} */ insertBefore = this._mapHead; - this._appendAfter = null; - this._forEach(map, function (value, key) { - if (insertBefore && insertBefore.key === key) { - _this._maybeAddToChanges(insertBefore, value); - _this._appendAfter = insertBefore; - insertBefore = insertBefore._next; - } - else { - var /** @type {?} */ record = _this._getOrCreateRecordForKey(key, value); - insertBefore = _this._insertBeforeOrAppend(insertBefore, record); - } - }); - // Items remaining at the end of the list have been deleted - if (insertBefore) { - if (insertBefore._prev) { - insertBefore._prev._next = null; - } - this._removalsHead = insertBefore; - for (var /** @type {?} */ record = insertBefore; record !== null; record = record._nextRemoved) { - if (record === this._mapHead) { - this._mapHead = null; - } - this._records.delete(record.key); - record._nextRemoved = record._next; - record.previousValue = record.currentValue; - record.currentValue = null; - record._prev = null; - record._next = null; - } - } - // Make sure tails have no next records from previous runs - if (this._changesTail) - this._changesTail._nextChanged = null; - if (this._additionsTail) - this._additionsTail._nextAdded = null; - return this.isDirty; - }; - /** - * Inserts a record before `before` or append at the end of the list when `before` is null. - * - * Notes: - * - This method appends at `this._appendAfter`, - * - This method updates `this._appendAfter`, - * - The return value is the new value for the insertion pointer. - * @param {?} before - * @param {?} record - * @return {?} - */ - DefaultKeyValueDiffer.prototype._insertBeforeOrAppend = /** - * Inserts a record before `before` or append at the end of the list when `before` is null. - * - * Notes: - * - This method appends at `this._appendAfter`, - * - This method updates `this._appendAfter`, - * - The return value is the new value for the insertion pointer. - * @param {?} before - * @param {?} record - * @return {?} - */ - function (before, record) { - if (before) { - var /** @type {?} */ prev = before._prev; - record._next = before; - record._prev = prev; - before._prev = record; - if (prev) { - prev._next = record; - } - if (before === this._mapHead) { - this._mapHead = record; - } - this._appendAfter = before; - return before; - } - if (this._appendAfter) { - this._appendAfter._next = record; - record._prev = this._appendAfter; - } - else { - this._mapHead = record; - } - this._appendAfter = record; - return null; - }; - /** - * @param {?} key - * @param {?} value - * @return {?} - */ - DefaultKeyValueDiffer.prototype._getOrCreateRecordForKey = /** - * @param {?} key - * @param {?} value - * @return {?} - */ - function (key, value) { - if (this._records.has(key)) { - var /** @type {?} */ record_1 = /** @type {?} */ ((this._records.get(key))); - this._maybeAddToChanges(record_1, value); - var /** @type {?} */ prev = record_1._prev; - var /** @type {?} */ next = record_1._next; - if (prev) { - prev._next = next; - } - if (next) { - next._prev = prev; - } - record_1._next = null; - record_1._prev = null; - return record_1; - } - var /** @type {?} */ record = new KeyValueChangeRecord_(key); - this._records.set(key, record); - record.currentValue = value; - this._addToAdditions(record); - return record; - }; - /** @internal */ - /** - * \@internal - * @return {?} - */ - DefaultKeyValueDiffer.prototype._reset = /** - * \@internal - * @return {?} - */ - function () { - if (this.isDirty) { - var /** @type {?} */ record = void 0; - // let `_previousMapHead` contain the state of the map before the changes - this._previousMapHead = this._mapHead; - for (record = this._previousMapHead; record !== null; record = record._next) { - record._nextPrevious = record._next; - } - // Update `record.previousValue` with the value of the item before the changes - // We need to update all changed items (that's those which have been added and changed) - for (record = this._changesHead; record !== null; record = record._nextChanged) { - record.previousValue = record.currentValue; - } - for (record = this._additionsHead; record != null; record = record._nextAdded) { - record.previousValue = record.currentValue; - } - this._changesHead = this._changesTail = null; - this._additionsHead = this._additionsTail = null; - this._removalsHead = null; - } - }; - /** - * @param {?} record - * @param {?} newValue - * @return {?} - */ - DefaultKeyValueDiffer.prototype._maybeAddToChanges = /** - * @param {?} record - * @param {?} newValue - * @return {?} - */ - function (record, newValue) { - if (!looseIdentical(newValue, record.currentValue)) { - record.previousValue = record.currentValue; - record.currentValue = newValue; - this._addToChanges(record); - } - }; - /** - * @param {?} record - * @return {?} - */ - DefaultKeyValueDiffer.prototype._addToAdditions = /** - * @param {?} record - * @return {?} - */ - function (record) { - if (this._additionsHead === null) { - this._additionsHead = this._additionsTail = record; - } - else { - /** @type {?} */ ((this._additionsTail))._nextAdded = record; - this._additionsTail = record; - } - }; - /** - * @param {?} record - * @return {?} - */ - DefaultKeyValueDiffer.prototype._addToChanges = /** - * @param {?} record - * @return {?} - */ - function (record) { - if (this._changesHead === null) { - this._changesHead = this._changesTail = record; - } - else { - /** @type {?} */ ((this._changesTail))._nextChanged = record; - this._changesTail = record; - } - }; - /** - * \@internal - * @template K, V - * @param {?} obj - * @param {?} fn - * @return {?} - */ - DefaultKeyValueDiffer.prototype._forEach = /** - * \@internal - * @template K, V - * @param {?} obj - * @param {?} fn - * @return {?} - */ - function (obj, fn) { - if (obj instanceof Map) { - obj.forEach(fn); - } - else { - Object.keys(obj).forEach(function (k) { return fn(obj[k], k); }); - } - }; - return DefaultKeyValueDiffer; -}()); -/** - * \@stable - */ -var KeyValueChangeRecord_ = (function () { - function KeyValueChangeRecord_(key) { - this.key = key; - this.previousValue = null; - this.currentValue = null; - /** - * \@internal - */ - this._nextPrevious = null; - /** - * \@internal - */ - this._next = null; - /** - * \@internal - */ - this._prev = null; - /** - * \@internal - */ - this._nextAdded = null; - /** - * \@internal - */ - this._nextRemoved = null; - /** - * \@internal - */ - this._nextChanged = null; - } - return KeyValueChangeRecord_; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A strategy for tracking changes over time to an iterable. Used by {\@link NgForOf} to - * respond to changes in an iterable by effecting equivalent changes in the DOM. - * - * \@stable - * @record - */ - -/** - * An object describing the changes in the `Iterable` collection since last time - * `IterableDiffer#diff()` was invoked. - * - * \@stable - * @record - */ - -/** - * Record representing the item change information. - * - * \@stable - * @record - */ - -/** - * @deprecated v4.0.0 - Use IterableChangeRecord instead. - * @record - */ - -/** - * An optional function passed into {\@link NgForOf} that defines how to track - * items in an iterable (e.g. fby index or id) - * - * \@stable - * @record - */ - -/** - * Provides a factory for {\@link IterableDiffer}. - * - * \@stable - * @record - */ - -/** - * A repository of different iterable diffing strategies used by NgFor, NgClass, and others. - * \@stable - */ -var IterableDiffers = (function () { - function IterableDiffers(factories) { - this.factories = factories; - } - /** - * @param {?} factories - * @param {?=} parent - * @return {?} - */ - IterableDiffers.create = /** - * @param {?} factories - * @param {?=} parent - * @return {?} - */ - function (factories, parent) { - if (parent != null) { - var /** @type {?} */ copied = parent.factories.slice(); - factories = factories.concat(copied); - return new IterableDiffers(factories); - } - else { - return new IterableDiffers(factories); - } - }; - /** - * Takes an array of {@link IterableDifferFactory} and returns a provider used to extend the - * inherited {@link IterableDiffers} instance with the provided factories and return a new - * {@link IterableDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {@link IterableDiffer} available. - * - * ### Example - * - * ``` - * @Component({ - * viewProviders: [ - * IterableDiffers.extend([new ImmutableListDiffer()]) - * ] - * }) - * ``` - */ - /** - * Takes an array of {\@link IterableDifferFactory} and returns a provider used to extend the - * inherited {\@link IterableDiffers} instance with the provided factories and return a new - * {\@link IterableDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {\@link IterableDiffer} available. - * - * ### Example - * - * ``` - * \@Component({ - * viewProviders: [ - * IterableDiffers.extend([new ImmutableListDiffer()]) - * ] - * }) - * ``` - * @param {?} factories - * @return {?} - */ - IterableDiffers.extend = /** - * Takes an array of {\@link IterableDifferFactory} and returns a provider used to extend the - * inherited {\@link IterableDiffers} instance with the provided factories and return a new - * {\@link IterableDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {\@link IterableDiffer} available. - * - * ### Example - * - * ``` - * \@Component({ - * viewProviders: [ - * IterableDiffers.extend([new ImmutableListDiffer()]) - * ] - * }) - * ``` - * @param {?} factories - * @return {?} - */ - function (factories) { - return { - provide: IterableDiffers, - useFactory: function (parent) { - if (!parent) { - // Typically would occur when calling IterableDiffers.extend inside of dependencies passed - // to - // bootstrap(), which would override default pipes instead of extending them. - throw new Error('Cannot extend IterableDiffers without a parent injector'); - } - return IterableDiffers.create(factories, parent); - }, - // Dependency technically isn't optional, but we can provide a better error message this way. - deps: [[IterableDiffers, new SkipSelf(), new Optional()]] - }; - }; - /** - * @param {?} iterable - * @return {?} - */ - IterableDiffers.prototype.find = /** - * @param {?} iterable - * @return {?} - */ - function (iterable) { - var /** @type {?} */ factory = this.factories.find(function (f) { return f.supports(iterable); }); - if (factory != null) { - return factory; - } - else { - throw new Error("Cannot find a differ supporting object '" + iterable + "' of type '" + getTypeNameForDebugging(iterable) + "'"); - } - }; - return IterableDiffers; -}()); -/** - * @param {?} type - * @return {?} - */ -function getTypeNameForDebugging(type) { - return type['name'] || typeof type; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A differ that tracks changes made to an object over time. - * - * \@stable - * @record - */ - -/** - * An object describing the changes in the `Map` or `{[k:string]: string}` since last time - * `KeyValueDiffer#diff()` was invoked. - * - * \@stable - * @record - */ - -/** - * Record representing the item change information. - * - * \@stable - * @record - */ - -/** - * Provides a factory for {\@link KeyValueDiffer}. - * - * \@stable - * @record - */ - -/** - * A repository of different Map diffing strategies used by NgClass, NgStyle, and others. - * \@stable - */ -var KeyValueDiffers = (function () { - function KeyValueDiffers(factories) { - this.factories = factories; - } - /** - * @template S - * @param {?} factories - * @param {?=} parent - * @return {?} - */ - KeyValueDiffers.create = /** - * @template S - * @param {?} factories - * @param {?=} parent - * @return {?} - */ - function (factories, parent) { - if (parent) { - var /** @type {?} */ copied = parent.factories.slice(); - factories = factories.concat(copied); - } - return new KeyValueDiffers(factories); - }; - /** - * Takes an array of {@link KeyValueDifferFactory} and returns a provider used to extend the - * inherited {@link KeyValueDiffers} instance with the provided factories and return a new - * {@link KeyValueDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {@link KeyValueDiffer} available. - * - * ### Example - * - * ``` - * @Component({ - * viewProviders: [ - * KeyValueDiffers.extend([new ImmutableMapDiffer()]) - * ] - * }) - * ``` - */ - /** - * Takes an array of {\@link KeyValueDifferFactory} and returns a provider used to extend the - * inherited {\@link KeyValueDiffers} instance with the provided factories and return a new - * {\@link KeyValueDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {\@link KeyValueDiffer} available. - * - * ### Example - * - * ``` - * \@Component({ - * viewProviders: [ - * KeyValueDiffers.extend([new ImmutableMapDiffer()]) - * ] - * }) - * ``` - * @template S - * @param {?} factories - * @return {?} - */ - KeyValueDiffers.extend = /** - * Takes an array of {\@link KeyValueDifferFactory} and returns a provider used to extend the - * inherited {\@link KeyValueDiffers} instance with the provided factories and return a new - * {\@link KeyValueDiffers} instance. - * - * The following example shows how to extend an existing list of factories, - * which will only be applied to the injector for this component and its children. - * This step is all that's required to make a new {\@link KeyValueDiffer} available. - * - * ### Example - * - * ``` - * \@Component({ - * viewProviders: [ - * KeyValueDiffers.extend([new ImmutableMapDiffer()]) - * ] - * }) - * ``` - * @template S - * @param {?} factories - * @return {?} - */ - function (factories) { - return { - provide: KeyValueDiffers, - useFactory: function (parent) { - if (!parent) { - // Typically would occur when calling KeyValueDiffers.extend inside of dependencies passed - // to bootstrap(), which would override default pipes instead of extending them. - throw new Error('Cannot extend KeyValueDiffers without a parent injector'); - } - return KeyValueDiffers.create(factories, parent); - }, - // Dependency technically isn't optional, but we can provide a better error message this way. - deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]] - }; - }; - /** - * @param {?} kv - * @return {?} - */ - KeyValueDiffers.prototype.find = /** - * @param {?} kv - * @return {?} - */ - function (kv) { - var /** @type {?} */ factory = this.factories.find(function (f) { return f.supports(kv); }); - if (factory) { - return factory; - } - throw new Error("Cannot find a differ supporting object '" + kv + "'"); - }; - return KeyValueDiffers; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * Structural diffing for `Object`s and `Map`s. - */ -var keyValDiff = [new DefaultKeyValueDifferFactory()]; -/** - * Structural diffing for `Iterable` types such as `Array`s. - */ -var iterableDiff = [new DefaultIterableDifferFactory()]; -var defaultIterableDiffers = new IterableDiffers(iterableDiff); -var defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @module - * @description - * Change detection enables data binding in Angular. - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var _CORE_PLATFORM_PROVIDERS = [ - // Set a default platform name for platforms that don't set it explicitly. - { provide: PLATFORM_ID, useValue: 'unknown' }, - { provide: PlatformRef, deps: [Injector] }, - { provide: TestabilityRegistry, deps: [] }, - { provide: Console, deps: [] }, -]; -/** - * This platform has to be included in any other platform - * - * \@experimental - */ -var platformCore = createPlatformFactory(null, 'core', _CORE_PLATFORM_PROVIDERS); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * \@experimental i18n support is experimental. - */ -var LOCALE_ID = new InjectionToken('LocaleId'); -/** - * \@experimental i18n support is experimental. - */ -var TRANSLATIONS = new InjectionToken('Translations'); -/** - * \@experimental i18n support is experimental. - */ -var TRANSLATIONS_FORMAT = new InjectionToken('TranslationsFormat'); -/** @enum {number} */ -var MissingTranslationStrategy = { - Error: 0, - Warning: 1, - Ignore: 2, -}; -MissingTranslationStrategy[MissingTranslationStrategy.Error] = "Error"; -MissingTranslationStrategy[MissingTranslationStrategy.Warning] = "Warning"; -MissingTranslationStrategy[MissingTranslationStrategy.Ignore] = "Ignore"; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @return {?} - */ -function _iterableDiffersFactory() { - return defaultIterableDiffers; -} -/** - * @return {?} - */ -function _keyValueDiffersFactory() { - return defaultKeyValueDiffers; -} -/** - * @param {?=} locale - * @return {?} - */ -function _localeFactory(locale) { - return locale || 'en-US'; -} -/** - * This module includes the providers of \@angular/core that are needed - * to bootstrap components via `ApplicationRef`. - * - * \@experimental - */ -var ApplicationModule = (function () { - // Inject ApplicationRef to make it eager... - function ApplicationModule(appRef) { - } - ApplicationModule.decorators = [ - { type: NgModule, args: [{ - providers: [ - ApplicationRef, - ApplicationInitStatus, - Compiler, - APP_ID_RANDOM_PROVIDER, - { provide: IterableDiffers, useFactory: _iterableDiffersFactory }, - { provide: KeyValueDiffers, useFactory: _keyValueDiffersFactory }, - { - provide: LOCALE_ID, - useFactory: _localeFactory, - deps: [[new Inject(LOCALE_ID), new Optional(), new SkipSelf()]] - }, - ] - },] }, - ]; - /** @nocollapse */ - ApplicationModule.ctorParameters = function () { return [ - { type: ApplicationRef, }, - ]; }; - return ApplicationModule; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** @enum {number} */ -var SecurityContext = { - NONE: 0, - HTML: 1, - STYLE: 2, - SCRIPT: 3, - URL: 4, - RESOURCE_URL: 5, -}; -SecurityContext[SecurityContext.NONE] = "NONE"; -SecurityContext[SecurityContext.HTML] = "HTML"; -SecurityContext[SecurityContext.STYLE] = "STYLE"; -SecurityContext[SecurityContext.SCRIPT] = "SCRIPT"; -SecurityContext[SecurityContext.URL] = "URL"; -SecurityContext[SecurityContext.RESOURCE_URL] = "RESOURCE_URL"; -/** - * Sanitizer is used by the views to sanitize potentially dangerous values. - * - * \@stable - * @abstract - */ -var Sanitizer = (function () { - function Sanitizer() { - } - return Sanitizer; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Factory for ViewDefinitions/NgModuleDefinitions. - * We use a function so we can reexeute it in case an error happens and use the given logger - * function to log the error from the definition of the node, which is shown in all browser - * logs. - * @record - */ - -/** - * Function to call console.error at the right source location. This is an indirection - * via another function as browser will log the location that actually called - * `console.error`. - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * A node definition in the view. - * - * Note: We use one type for all nodes so that loops that loop over all nodes - * of a ViewDefinition stay monomorphic! - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * View instance data. - * Attention: Adding fields to this is performance sensitive! - * @record - */ - -/** - * @record - */ - -/** - * Data for an instantiated NodeType.Text. - * - * Attention: Adding fields to this is performance sensitive! - * @record - */ - -/** - * Accessor for view.nodes, enforcing that every usage site stays monomorphic. - * @param {?} view - * @param {?} index - * @return {?} - */ -function asTextData(view, index) { - return /** @type {?} */ (view.nodes[index]); -} -/** - * Data for an instantiated NodeType.Element. - * - * Attention: Adding fields to this is performance sensitive! - * @record - */ - -/** - * @record - */ - -/** - * @record - */ - -/** - * Accessor for view.nodes, enforcing that every usage site stays monomorphic. - * @param {?} view - * @param {?} index - * @return {?} - */ -function asElementData(view, index) { - return /** @type {?} */ (view.nodes[index]); -} -/** - * Data for an instantiated NodeType.Provider. - * - * Attention: Adding fields to this is performance sensitive! - * @record - */ - -/** - * Accessor for view.nodes, enforcing that every usage site stays monomorphic. - * @param {?} view - * @param {?} index - * @return {?} - */ -function asProviderData(view, index) { - return /** @type {?} */ (view.nodes[index]); -} -/** - * Data for an instantiated NodeType.PureExpression. - * - * Attention: Adding fields to this is performance sensitive! - * @record - */ - -/** - * Accessor for view.nodes, enforcing that every usage site stays monomorphic. - * @param {?} view - * @param {?} index - * @return {?} - */ -function asPureExpressionData(view, index) { - return /** @type {?} */ (view.nodes[index]); -} -/** - * Accessor for view.nodes, enforcing that every usage site stays monomorphic. - * @param {?} view - * @param {?} index - * @return {?} - */ -function asQueryList(view, index) { - return /** @type {?} */ (view.nodes[index]); -} -/** - * @record - */ - -/** - * @abstract - */ -var DebugContext = (function () { - function DebugContext() { - } - return DebugContext; -}()); -/** - * @record - */ - -/** - * This object is used to prevent cycles in the source files and to have a place where - * debug mode can hook it. It is lazily filled when `isDevMode` is known. - */ -var Services = { - setCurrentNode: /** @type {?} */ ((undefined)), - createRootView: /** @type {?} */ ((undefined)), - createEmbeddedView: /** @type {?} */ ((undefined)), - createComponentView: /** @type {?} */ ((undefined)), - createNgModuleRef: /** @type {?} */ ((undefined)), - overrideProvider: /** @type {?} */ ((undefined)), - clearProviderOverrides: /** @type {?} */ ((undefined)), - checkAndUpdateView: /** @type {?} */ ((undefined)), - checkNoChangesView: /** @type {?} */ ((undefined)), - destroyView: /** @type {?} */ ((undefined)), - resolveDep: /** @type {?} */ ((undefined)), - createDebugContext: /** @type {?} */ ((undefined)), - handleEvent: /** @type {?} */ ((undefined)), - updateDirectives: /** @type {?} */ ((undefined)), - updateRenderer: /** @type {?} */ ((undefined)), - dirtyParentQueries: /** @type {?} */ ((undefined)), -}; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} context - * @param {?} oldValue - * @param {?} currValue - * @param {?} isFirstCheck - * @return {?} - */ -function expressionChangedAfterItHasBeenCheckedError(context, oldValue, currValue, isFirstCheck) { - var /** @type {?} */ msg = "ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '" + oldValue + "'. Current value: '" + currValue + "'."; - if (isFirstCheck) { - msg += - " It seems like the view has been created after its parent and its children have been dirty checked." + - " Has it been created in a change detection hook ?"; - } - return viewDebugError(msg, context); -} -/** - * @param {?} err - * @param {?} context - * @return {?} - */ -function viewWrappedDebugError(err, context) { - if (!(err instanceof Error)) { - // errors that are not Error instances don't have a stack, - // so it is ok to wrap them into a new Error object... - err = new Error(err.toString()); - } - _addDebugContext(err, context); - return err; -} -/** - * @param {?} msg - * @param {?} context - * @return {?} - */ -function viewDebugError(msg, context) { - var /** @type {?} */ err = new Error(msg); - _addDebugContext(err, context); - return err; -} -/** - * @param {?} err - * @param {?} context - * @return {?} - */ -function _addDebugContext(err, context) { - (/** @type {?} */ (err))[ERROR_DEBUG_CONTEXT] = context; - (/** @type {?} */ (err))[ERROR_LOGGER] = context.logError.bind(context); -} -/** - * @param {?} err - * @return {?} - */ -function isViewDebugError(err) { - return !!getDebugContext(err); -} -/** - * @param {?} action - * @return {?} - */ -function viewDestroyedError(action) { - return new Error("ViewDestroyedError: Attempt to use a destroyed view: " + action); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var NOOP = function () { }; -var _tokenKeyCache = new Map(); -/** - * @param {?} token - * @return {?} - */ -function tokenKey(token) { - var /** @type {?} */ key = _tokenKeyCache.get(token); - if (!key) { - key = stringify(token) + '_' + _tokenKeyCache.size; - _tokenKeyCache.set(token, key); - } - return key; -} -/** - * @param {?} view - * @param {?} nodeIdx - * @param {?} bindingIdx - * @param {?} value - * @return {?} - */ -function unwrapValue(view, nodeIdx, bindingIdx, value) { - if (value instanceof WrappedValue) { - value = value.wrapped; - var /** @type {?} */ globalBindingIdx = view.def.nodes[nodeIdx].bindingIndex + bindingIdx; - var /** @type {?} */ oldValue = view.oldValues[globalBindingIdx]; - if (oldValue instanceof WrappedValue) { - oldValue = oldValue.wrapped; - } - view.oldValues[globalBindingIdx] = new WrappedValue(oldValue); - } - return value; -} -var UNDEFINED_RENDERER_TYPE_ID = '$$undefined'; -var EMPTY_RENDERER_TYPE_ID = '$$empty'; -/** - * @param {?} values - * @return {?} - */ -function createRendererType2(values) { - return { - id: UNDEFINED_RENDERER_TYPE_ID, - styles: values.styles, - encapsulation: values.encapsulation, - data: values.data - }; -} -var _renderCompCount = 0; -/** - * @param {?=} type - * @return {?} - */ -function resolveRendererType2(type) { - if (type && type.id === UNDEFINED_RENDERER_TYPE_ID) { - // first time we see this RendererType2. Initialize it... - var /** @type {?} */ isFilled = ((type.encapsulation != null && type.encapsulation !== ViewEncapsulation.None) || - type.styles.length || Object.keys(type.data).length); - if (isFilled) { - type.id = "c" + _renderCompCount++; - } - else { - type.id = EMPTY_RENDERER_TYPE_ID; - } - } - if (type && type.id === EMPTY_RENDERER_TYPE_ID) { - type = null; - } - return type || null; -} -/** - * @param {?} view - * @param {?} def - * @param {?} bindingIdx - * @param {?} value - * @return {?} - */ -function checkBinding(view, def, bindingIdx, value) { - var /** @type {?} */ oldValues = view.oldValues; - if ((view.state & 2 /* FirstCheck */) || - !looseIdentical(oldValues[def.bindingIndex + bindingIdx], value)) { - return true; - } - return false; -} -/** - * @param {?} view - * @param {?} def - * @param {?} bindingIdx - * @param {?} value - * @return {?} - */ -function checkAndUpdateBinding(view, def, bindingIdx, value) { - if (checkBinding(view, def, bindingIdx, value)) { - view.oldValues[def.bindingIndex + bindingIdx] = value; - return true; - } - return false; -} -/** - * @param {?} view - * @param {?} def - * @param {?} bindingIdx - * @param {?} value - * @return {?} - */ -function checkBindingNoChanges(view, def, bindingIdx, value) { - var /** @type {?} */ oldValue = view.oldValues[def.bindingIndex + bindingIdx]; - if ((view.state & 1 /* BeforeFirstCheck */) || !devModeEqual(oldValue, value)) { - throw expressionChangedAfterItHasBeenCheckedError(Services.createDebugContext(view, def.nodeIndex), oldValue, value, (view.state & 1 /* BeforeFirstCheck */) !== 0); - } -} -/** - * @param {?} view - * @return {?} - */ -function markParentViewsForCheck(view) { - var /** @type {?} */ currView = view; - while (currView) { - if (currView.def.flags & 2 /* OnPush */) { - currView.state |= 8 /* ChecksEnabled */; - } - currView = currView.viewContainerParent || currView.parent; - } -} -/** - * @param {?} view - * @param {?} endView - * @return {?} - */ -function markParentViewsForCheckProjectedViews(view, endView) { - var /** @type {?} */ currView = view; - while (currView && currView !== endView) { - currView.state |= 64 /* CheckProjectedViews */; - currView = currView.viewContainerParent || currView.parent; - } -} -/** - * @param {?} view - * @param {?} nodeIndex - * @param {?} eventName - * @param {?} event - * @return {?} - */ -function dispatchEvent(view, nodeIndex, eventName, event) { - try { - var /** @type {?} */ nodeDef = view.def.nodes[nodeIndex]; - var /** @type {?} */ startView = nodeDef.flags & 33554432 /* ComponentView */ ? - asElementData(view, nodeIndex).componentView : - view; - markParentViewsForCheck(startView); - return Services.handleEvent(view, nodeIndex, eventName, event); - } - catch (/** @type {?} */ e) { - // Attention: Don't rethrow, as it would cancel Observable subscriptions! - view.root.errorHandler.handleError(e); - } -} -/** - * @param {?} view - * @return {?} - */ -function declaredViewContainer(view) { - if (view.parent) { - var /** @type {?} */ parentView = view.parent; - return asElementData(parentView, /** @type {?} */ ((view.parentNodeDef)).nodeIndex); - } - return null; -} -/** - * for component views, this is the host element. - * for embedded views, this is the index of the parent node - * that contains the view container. - * @param {?} view - * @return {?} - */ -function viewParentEl(view) { - var /** @type {?} */ parentView = view.parent; - if (parentView) { - return /** @type {?} */ ((view.parentNodeDef)).parent; - } - else { - return null; - } -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function renderNode(view, def) { - switch (def.flags & 201347067 /* Types */) { - case 1 /* TypeElement */: - return asElementData(view, def.nodeIndex).renderElement; - case 2 /* TypeText */: - return asTextData(view, def.nodeIndex).renderText; - } -} -/** - * @param {?} target - * @param {?} name - * @return {?} - */ -function elementEventFullName(target, name) { - return target ? target + ":" + name : name; -} -/** - * @param {?} view - * @return {?} - */ -function isComponentView(view) { - return !!view.parent && !!(/** @type {?} */ ((view.parentNodeDef)).flags & 32768 /* Component */); -} -/** - * @param {?} view - * @return {?} - */ -function isEmbeddedView(view) { - return !!view.parent && !(/** @type {?} */ ((view.parentNodeDef)).flags & 32768 /* Component */); -} -/** - * @param {?} queryId - * @return {?} - */ -function filterQueryId(queryId) { - return 1 << (queryId % 32); -} -/** - * @param {?} matchedQueriesDsl - * @return {?} - */ -function splitMatchedQueriesDsl(matchedQueriesDsl) { - var /** @type {?} */ matchedQueries = {}; - var /** @type {?} */ matchedQueryIds = 0; - var /** @type {?} */ references = {}; - if (matchedQueriesDsl) { - matchedQueriesDsl.forEach(function (_a) { - var queryId = _a[0], valueType = _a[1]; - if (typeof queryId === 'number') { - matchedQueries[queryId] = valueType; - matchedQueryIds |= filterQueryId(queryId); - } - else { - references[queryId] = valueType; - } - }); - } - return { matchedQueries: matchedQueries, references: references, matchedQueryIds: matchedQueryIds }; -} -/** - * @param {?} deps - * @return {?} - */ -function splitDepsDsl(deps) { - return deps.map(function (value) { - var /** @type {?} */ token; - var /** @type {?} */ flags; - if (Array.isArray(value)) { - flags = value[0], token = value[1]; - } - else { - flags = 0 /* None */; - token = value; - } - return { flags: flags, token: token, tokenKey: tokenKey(token) }; - }); -} -/** - * @param {?} view - * @param {?} renderHost - * @param {?} def - * @return {?} - */ -function getParentRenderElement(view, renderHost, def) { - var /** @type {?} */ renderParent = def.renderParent; - if (renderParent) { - if ((renderParent.flags & 1 /* TypeElement */) === 0 || - (renderParent.flags & 33554432 /* ComponentView */) === 0 || - (/** @type {?} */ ((renderParent.element)).componentRendererType && /** @type {?} */ ((/** @type {?} */ ((renderParent.element)).componentRendererType)).encapsulation === ViewEncapsulation.Native)) { - // only children of non components, or children of components with native encapsulation should - // be attached. - return asElementData(view, /** @type {?} */ ((def.renderParent)).nodeIndex).renderElement; - } - } - else { - return renderHost; - } -} -var DEFINITION_CACHE = new WeakMap(); -/** - * @template D - * @param {?} factory - * @return {?} - */ -function resolveDefinition(factory) { - var /** @type {?} */ value = /** @type {?} */ (((DEFINITION_CACHE.get(factory)))); - if (!value) { - value = factory(function () { return NOOP; }); - value.factory = factory; - DEFINITION_CACHE.set(factory, value); - } - return value; -} -/** - * @param {?} view - * @return {?} - */ -function rootRenderNodes(view) { - var /** @type {?} */ renderNodes = []; - visitRootRenderNodes(view, 0 /* Collect */, undefined, undefined, renderNodes); - return renderNodes; -} -/** - * @param {?} view - * @param {?} action - * @param {?} parentNode - * @param {?} nextSibling - * @param {?=} target - * @return {?} - */ -function visitRootRenderNodes(view, action, parentNode, nextSibling, target) { - // We need to re-compute the parent node in case the nodes have been moved around manually - if (action === 3 /* RemoveChild */) { - parentNode = view.renderer.parentNode(renderNode(view, /** @type {?} */ ((view.def.lastRenderRootNode)))); - } - visitSiblingRenderNodes(view, action, 0, view.def.nodes.length - 1, parentNode, nextSibling, target); -} -/** - * @param {?} view - * @param {?} action - * @param {?} startIndex - * @param {?} endIndex - * @param {?} parentNode - * @param {?} nextSibling - * @param {?=} target - * @return {?} - */ -function visitSiblingRenderNodes(view, action, startIndex, endIndex, parentNode, nextSibling, target) { - for (var /** @type {?} */ i = startIndex; i <= endIndex; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if (nodeDef.flags & (1 /* TypeElement */ | 2 /* TypeText */ | 8 /* TypeNgContent */)) { - visitRenderNode(view, nodeDef, action, parentNode, nextSibling, target); - } - // jump to next sibling - i += nodeDef.childCount; - } -} -/** - * @param {?} view - * @param {?} ngContentIndex - * @param {?} action - * @param {?} parentNode - * @param {?} nextSibling - * @param {?=} target - * @return {?} - */ -function visitProjectedRenderNodes(view, ngContentIndex, action, parentNode, nextSibling, target) { - var /** @type {?} */ compView = view; - while (compView && !isComponentView(compView)) { - compView = compView.parent; - } - var /** @type {?} */ hostView = /** @type {?} */ ((compView)).parent; - var /** @type {?} */ hostElDef = viewParentEl(/** @type {?} */ ((compView))); - var /** @type {?} */ startIndex = /** @type {?} */ ((hostElDef)).nodeIndex + 1; - var /** @type {?} */ endIndex = /** @type {?} */ ((hostElDef)).nodeIndex + /** @type {?} */ ((hostElDef)).childCount; - for (var /** @type {?} */ i = startIndex; i <= endIndex; i++) { - var /** @type {?} */ nodeDef = /** @type {?} */ ((hostView)).def.nodes[i]; - if (nodeDef.ngContentIndex === ngContentIndex) { - visitRenderNode(/** @type {?} */ ((hostView)), nodeDef, action, parentNode, nextSibling, target); - } - // jump to next sibling - i += nodeDef.childCount; - } - if (!/** @type {?} */ ((hostView)).parent) { - // a root view - var /** @type {?} */ projectedNodes = view.root.projectableNodes[ngContentIndex]; - if (projectedNodes) { - for (var /** @type {?} */ i = 0; i < projectedNodes.length; i++) { - execRenderNodeAction(view, projectedNodes[i], action, parentNode, nextSibling, target); - } - } - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} action - * @param {?} parentNode - * @param {?} nextSibling - * @param {?=} target - * @return {?} - */ -function visitRenderNode(view, nodeDef, action, parentNode, nextSibling, target) { - if (nodeDef.flags & 8 /* TypeNgContent */) { - visitProjectedRenderNodes(view, /** @type {?} */ ((nodeDef.ngContent)).index, action, parentNode, nextSibling, target); - } - else { - var /** @type {?} */ rn = renderNode(view, nodeDef); - if (action === 3 /* RemoveChild */ && (nodeDef.flags & 33554432 /* ComponentView */) && - (nodeDef.bindingFlags & 48 /* CatSyntheticProperty */)) { - // Note: we might need to do both actions. - if (nodeDef.bindingFlags & (16 /* SyntheticProperty */)) { - execRenderNodeAction(view, rn, action, parentNode, nextSibling, target); - } - if (nodeDef.bindingFlags & (32 /* SyntheticHostProperty */)) { - var /** @type {?} */ compView = asElementData(view, nodeDef.nodeIndex).componentView; - execRenderNodeAction(compView, rn, action, parentNode, nextSibling, target); - } - } - else { - execRenderNodeAction(view, rn, action, parentNode, nextSibling, target); - } - if (nodeDef.flags & 16777216 /* EmbeddedViews */) { - var /** @type {?} */ embeddedViews = /** @type {?} */ ((asElementData(view, nodeDef.nodeIndex).viewContainer))._embeddedViews; - for (var /** @type {?} */ k = 0; k < embeddedViews.length; k++) { - visitRootRenderNodes(embeddedViews[k], action, parentNode, nextSibling, target); - } - } - if (nodeDef.flags & 1 /* TypeElement */ && !/** @type {?} */ ((nodeDef.element)).name) { - visitSiblingRenderNodes(view, action, nodeDef.nodeIndex + 1, nodeDef.nodeIndex + nodeDef.childCount, parentNode, nextSibling, target); - } - } -} -/** - * @param {?} view - * @param {?} renderNode - * @param {?} action - * @param {?} parentNode - * @param {?} nextSibling - * @param {?=} target - * @return {?} - */ -function execRenderNodeAction(view, renderNode, action, parentNode, nextSibling, target) { - var /** @type {?} */ renderer = view.renderer; - switch (action) { - case 1 /* AppendChild */: - renderer.appendChild(parentNode, renderNode); - break; - case 2 /* InsertBefore */: - renderer.insertBefore(parentNode, renderNode, nextSibling); - break; - case 3 /* RemoveChild */: - renderer.removeChild(parentNode, renderNode); - break; - case 0 /* Collect */: - /** @type {?} */ ((target)).push(renderNode); - break; - } -} -var NS_PREFIX_RE = /^:([^:]+):(.+)$/; -/** - * @param {?} name - * @return {?} - */ -function splitNamespace(name) { - if (name[0] === ':') { - var /** @type {?} */ match = /** @type {?} */ ((name.match(NS_PREFIX_RE))); - return [match[1], match[2]]; - } - return ['', name]; -} -/** - * @param {?} bindings - * @return {?} - */ -function calcBindingFlags(bindings) { - var /** @type {?} */ flags = 0; - for (var /** @type {?} */ i = 0; i < bindings.length; i++) { - flags |= bindings[i].flags; - } - return flags; -} -/** - * @param {?} valueCount - * @param {?} constAndInterp - * @return {?} - */ -function interpolate(valueCount, constAndInterp) { - var /** @type {?} */ result = ''; - for (var /** @type {?} */ i = 0; i < valueCount * 2; i = i + 2) { - result = result + constAndInterp[i] + _toStringWithNull(constAndInterp[i + 1]); - } - return result + constAndInterp[valueCount * 2]; -} -/** - * @param {?} valueCount - * @param {?} c0 - * @param {?} a1 - * @param {?} c1 - * @param {?=} a2 - * @param {?=} c2 - * @param {?=} a3 - * @param {?=} c3 - * @param {?=} a4 - * @param {?=} c4 - * @param {?=} a5 - * @param {?=} c5 - * @param {?=} a6 - * @param {?=} c6 - * @param {?=} a7 - * @param {?=} c7 - * @param {?=} a8 - * @param {?=} c8 - * @param {?=} a9 - * @param {?=} c9 - * @return {?} - */ -function inlineInterpolate(valueCount, c0, a1, c1, a2, c2, a3, c3, a4, c4, a5, c5, a6, c6, a7, c7, a8, c8, a9, c9) { - switch (valueCount) { - case 1: - return c0 + _toStringWithNull(a1) + c1; - case 2: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2; - case 3: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3; - case 4: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4; - case 5: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5; - case 6: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6; - case 7: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + - c6 + _toStringWithNull(a7) + c7; - case 8: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + - c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8; - case 9: - return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + - c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + - c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8 + _toStringWithNull(a9) + c9; - default: - throw new Error("Does not support more than 9 expressions"); - } -} -/** - * @param {?} v - * @return {?} - */ -function _toStringWithNull(v) { - return v != null ? v.toString() : ''; -} -var EMPTY_ARRAY = []; -var EMPTY_MAP = {}; - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @param {?} flags - * @param {?} matchedQueriesDsl - * @param {?} ngContentIndex - * @param {?} childCount - * @param {?=} handleEvent - * @param {?=} templateFactory - * @return {?} - */ -function anchorDef(flags, matchedQueriesDsl, ngContentIndex, childCount, handleEvent, templateFactory) { - flags |= 1 /* TypeElement */; - var _a = splitMatchedQueriesDsl(matchedQueriesDsl), matchedQueries = _a.matchedQueries, references = _a.references, matchedQueryIds = _a.matchedQueryIds; - var /** @type {?} */ template = templateFactory ? resolveDefinition(templateFactory) : null; - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - flags: flags, - checkIndex: -1, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, matchedQueries: matchedQueries, matchedQueryIds: matchedQueryIds, references: references, ngContentIndex: ngContentIndex, childCount: childCount, - bindings: [], - bindingFlags: 0, - outputs: [], - element: { - ns: null, - name: null, - attrs: null, template: template, - componentProvider: null, - componentView: null, - componentRendererType: null, - publicProviders: null, - allProviders: null, - handleEvent: handleEvent || NOOP - }, - provider: null, - text: null, - query: null, - ngContent: null - }; -} -/** - * @param {?} checkIndex - * @param {?} flags - * @param {?} matchedQueriesDsl - * @param {?} ngContentIndex - * @param {?} childCount - * @param {?} namespaceAndName - * @param {?=} fixedAttrs - * @param {?=} bindings - * @param {?=} outputs - * @param {?=} handleEvent - * @param {?=} componentView - * @param {?=} componentRendererType - * @return {?} - */ -function elementDef(checkIndex, flags, matchedQueriesDsl, ngContentIndex, childCount, namespaceAndName, fixedAttrs, bindings, outputs, handleEvent, componentView, componentRendererType) { - if (fixedAttrs === void 0) { fixedAttrs = []; } - if (!handleEvent) { - handleEvent = NOOP; - } - var _a = splitMatchedQueriesDsl(matchedQueriesDsl), matchedQueries = _a.matchedQueries, references = _a.references, matchedQueryIds = _a.matchedQueryIds; - var /** @type {?} */ ns = /** @type {?} */ ((null)); - var /** @type {?} */ name = /** @type {?} */ ((null)); - if (namespaceAndName) { - _b = splitNamespace(namespaceAndName), ns = _b[0], name = _b[1]; - } - bindings = bindings || []; - var /** @type {?} */ bindingDefs = new Array(bindings.length); - for (var /** @type {?} */ i = 0; i < bindings.length; i++) { - var _c = bindings[i], bindingFlags = _c[0], namespaceAndName_1 = _c[1], suffixOrSecurityContext = _c[2]; - var _d = splitNamespace(namespaceAndName_1), ns_1 = _d[0], name_1 = _d[1]; - var /** @type {?} */ securityContext = /** @type {?} */ ((undefined)); - var /** @type {?} */ suffix = /** @type {?} */ ((undefined)); - switch (bindingFlags & 15 /* Types */) { - case 4 /* TypeElementStyle */: - suffix = /** @type {?} */ (suffixOrSecurityContext); - break; - case 1 /* TypeElementAttribute */: - case 8 /* TypeProperty */: - securityContext = /** @type {?} */ (suffixOrSecurityContext); - break; - } - bindingDefs[i] = - { flags: bindingFlags, ns: ns_1, name: name_1, nonMinifiedName: name_1, securityContext: securityContext, suffix: suffix }; - } - outputs = outputs || []; - var /** @type {?} */ outputDefs = new Array(outputs.length); - for (var /** @type {?} */ i = 0; i < outputs.length; i++) { - var _e = outputs[i], target = _e[0], eventName = _e[1]; - outputDefs[i] = { - type: 0 /* ElementOutput */, - target: /** @type {?} */ (target), eventName: eventName, - propName: null - }; - } - fixedAttrs = fixedAttrs || []; - var /** @type {?} */ attrs = /** @type {?} */ (fixedAttrs.map(function (_a) { - var namespaceAndName = _a[0], value = _a[1]; - var _b = splitNamespace(namespaceAndName), ns = _b[0], name = _b[1]; - return [ns, name, value]; - })); - componentRendererType = resolveRendererType2(componentRendererType); - if (componentView) { - flags |= 33554432 /* ComponentView */; - } - flags |= 1 /* TypeElement */; - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - checkIndex: checkIndex, - flags: flags, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, matchedQueries: matchedQueries, matchedQueryIds: matchedQueryIds, references: references, ngContentIndex: ngContentIndex, childCount: childCount, - bindings: bindingDefs, - bindingFlags: calcBindingFlags(bindingDefs), - outputs: outputDefs, - element: { - ns: ns, - name: name, - attrs: attrs, - template: null, - // will bet set by the view definition - componentProvider: null, - componentView: componentView || null, - componentRendererType: componentRendererType, - publicProviders: null, - allProviders: null, - handleEvent: handleEvent || NOOP, - }, - provider: null, - text: null, - query: null, - ngContent: null - }; - var _b; -} -/** - * @param {?} view - * @param {?} renderHost - * @param {?} def - * @return {?} - */ -function createElement(view, renderHost, def) { - var /** @type {?} */ elDef = /** @type {?} */ ((def.element)); - var /** @type {?} */ rootSelectorOrNode = view.root.selectorOrNode; - var /** @type {?} */ renderer = view.renderer; - var /** @type {?} */ el; - if (view.parent || !rootSelectorOrNode) { - if (elDef.name) { - el = renderer.createElement(elDef.name, elDef.ns); - } - else { - el = renderer.createComment(''); - } - var /** @type {?} */ parentEl = getParentRenderElement(view, renderHost, def); - if (parentEl) { - renderer.appendChild(parentEl, el); - } - } - else { - el = renderer.selectRootElement(rootSelectorOrNode); - } - if (elDef.attrs) { - for (var /** @type {?} */ i = 0; i < elDef.attrs.length; i++) { - var _a = elDef.attrs[i], ns = _a[0], name_2 = _a[1], value = _a[2]; - renderer.setAttribute(el, name_2, value, ns); - } - } - return el; -} -/** - * @param {?} view - * @param {?} compView - * @param {?} def - * @param {?} el - * @return {?} - */ -function listenToElementOutputs(view, compView, def, el) { - for (var /** @type {?} */ i = 0; i < def.outputs.length; i++) { - var /** @type {?} */ output = def.outputs[i]; - var /** @type {?} */ handleEventClosure = renderEventHandlerClosure(view, def.nodeIndex, elementEventFullName(output.target, output.eventName)); - var /** @type {?} */ listenTarget = output.target; - var /** @type {?} */ listenerView = view; - if (output.target === 'component') { - listenTarget = null; - listenerView = compView; - } - var /** @type {?} */ disposable = /** @type {?} */ (listenerView.renderer.listen(listenTarget || el, output.eventName, handleEventClosure)); /** @type {?} */ - ((view.disposables))[def.outputIndex + i] = disposable; - } -} -/** - * @param {?} view - * @param {?} index - * @param {?} eventName - * @return {?} - */ -function renderEventHandlerClosure(view, index, eventName) { - return function (event) { return dispatchEvent(view, index, eventName, event); }; -} -/** - * @param {?} view - * @param {?} def - * @param {?} v0 - * @param {?} v1 - * @param {?} v2 - * @param {?} v3 - * @param {?} v4 - * @param {?} v5 - * @param {?} v6 - * @param {?} v7 - * @param {?} v8 - * @param {?} v9 - * @return {?} - */ -function checkAndUpdateElementInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ bindLen = def.bindings.length; - var /** @type {?} */ changed = false; - if (bindLen > 0 && checkAndUpdateElementValue(view, def, 0, v0)) - changed = true; - if (bindLen > 1 && checkAndUpdateElementValue(view, def, 1, v1)) - changed = true; - if (bindLen > 2 && checkAndUpdateElementValue(view, def, 2, v2)) - changed = true; - if (bindLen > 3 && checkAndUpdateElementValue(view, def, 3, v3)) - changed = true; - if (bindLen > 4 && checkAndUpdateElementValue(view, def, 4, v4)) - changed = true; - if (bindLen > 5 && checkAndUpdateElementValue(view, def, 5, v5)) - changed = true; - if (bindLen > 6 && checkAndUpdateElementValue(view, def, 6, v6)) - changed = true; - if (bindLen > 7 && checkAndUpdateElementValue(view, def, 7, v7)) - changed = true; - if (bindLen > 8 && checkAndUpdateElementValue(view, def, 8, v8)) - changed = true; - if (bindLen > 9 && checkAndUpdateElementValue(view, def, 9, v9)) - changed = true; - return changed; -} -/** - * @param {?} view - * @param {?} def - * @param {?} values - * @return {?} - */ -function checkAndUpdateElementDynamic(view, def, values) { - var /** @type {?} */ changed = false; - for (var /** @type {?} */ i = 0; i < values.length; i++) { - if (checkAndUpdateElementValue(view, def, i, values[i])) - changed = true; - } - return changed; -} -/** - * @param {?} view - * @param {?} def - * @param {?} bindingIdx - * @param {?} value - * @return {?} - */ -function checkAndUpdateElementValue(view, def, bindingIdx, value) { - if (!checkAndUpdateBinding(view, def, bindingIdx, value)) { - return false; - } - var /** @type {?} */ binding = def.bindings[bindingIdx]; - var /** @type {?} */ elData = asElementData(view, def.nodeIndex); - var /** @type {?} */ renderNode$$1 = elData.renderElement; - var /** @type {?} */ name = /** @type {?} */ ((binding.name)); - switch (binding.flags & 15 /* Types */) { - case 1 /* TypeElementAttribute */: - setElementAttribute(view, binding, renderNode$$1, binding.ns, name, value); - break; - case 2 /* TypeElementClass */: - setElementClass(view, renderNode$$1, name, value); - break; - case 4 /* TypeElementStyle */: - setElementStyle(view, binding, renderNode$$1, name, value); - break; - case 8 /* TypeProperty */: - var /** @type {?} */ bindView = (def.flags & 33554432 /* ComponentView */ && - binding.flags & 32 /* SyntheticHostProperty */) ? - elData.componentView : - view; - setElementProperty(bindView, binding, renderNode$$1, name, value); - break; - } - return true; -} -/** - * @param {?} view - * @param {?} binding - * @param {?} renderNode - * @param {?} ns - * @param {?} name - * @param {?} value - * @return {?} - */ -function setElementAttribute(view, binding, renderNode$$1, ns, name, value) { - var /** @type {?} */ securityContext = binding.securityContext; - var /** @type {?} */ renderValue = securityContext ? view.root.sanitizer.sanitize(securityContext, value) : value; - renderValue = renderValue != null ? renderValue.toString() : null; - var /** @type {?} */ renderer = view.renderer; - if (value != null) { - renderer.setAttribute(renderNode$$1, name, renderValue, ns); - } - else { - renderer.removeAttribute(renderNode$$1, name, ns); - } -} -/** - * @param {?} view - * @param {?} renderNode - * @param {?} name - * @param {?} value - * @return {?} - */ -function setElementClass(view, renderNode$$1, name, value) { - var /** @type {?} */ renderer = view.renderer; - if (value) { - renderer.addClass(renderNode$$1, name); - } - else { - renderer.removeClass(renderNode$$1, name); - } -} -/** - * @param {?} view - * @param {?} binding - * @param {?} renderNode - * @param {?} name - * @param {?} value - * @return {?} - */ -function setElementStyle(view, binding, renderNode$$1, name, value) { - var /** @type {?} */ renderValue = view.root.sanitizer.sanitize(SecurityContext.STYLE, /** @type {?} */ (value)); - if (renderValue != null) { - renderValue = renderValue.toString(); - var /** @type {?} */ unit = binding.suffix; - if (unit != null) { - renderValue = renderValue + unit; - } - } - else { - renderValue = null; - } - var /** @type {?} */ renderer = view.renderer; - if (renderValue != null) { - renderer.setStyle(renderNode$$1, name, renderValue); - } - else { - renderer.removeStyle(renderNode$$1, name); - } -} -/** - * @param {?} view - * @param {?} binding - * @param {?} renderNode - * @param {?} name - * @param {?} value - * @return {?} - */ -function setElementProperty(view, binding, renderNode$$1, name, value) { - var /** @type {?} */ securityContext = binding.securityContext; - var /** @type {?} */ renderValue = securityContext ? view.root.sanitizer.sanitize(securityContext, value) : value; - view.renderer.setProperty(renderNode$$1, name, renderValue); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var UNDEFINED_VALUE = new Object(); -var InjectorRefTokenKey$1 = tokenKey(Injector); -var NgModuleRefTokenKey = tokenKey(NgModuleRef); -/** - * @param {?} flags - * @param {?} token - * @param {?} value - * @param {?} deps - * @return {?} - */ -function moduleProvideDef(flags, token, value, deps) { - // Need to resolve forwardRefs as e.g. for `useValue` we - // lowered the expression and then stopped evaluating it, - // i.e. also didn't unwrap it. - value = resolveForwardRef(value); - var /** @type {?} */ depDefs = splitDepsDsl(deps); - return { - // will bet set by the module definition - index: -1, - deps: depDefs, flags: flags, token: token, value: value - }; -} -/** - * @param {?} providers - * @return {?} - */ -function moduleDef(providers) { - var /** @type {?} */ providersByKey = {}; - for (var /** @type {?} */ i = 0; i < providers.length; i++) { - var /** @type {?} */ provider = providers[i]; - provider.index = i; - providersByKey[tokenKey(provider.token)] = provider; - } - return { - // Will be filled later... - factory: null, - providersByKey: providersByKey, - providers: providers - }; -} -/** - * @param {?} data - * @return {?} - */ -function initNgModule(data) { - var /** @type {?} */ def = data._def; - var /** @type {?} */ providers = data._providers = new Array(def.providers.length); - for (var /** @type {?} */ i = 0; i < def.providers.length; i++) { - var /** @type {?} */ provDef = def.providers[i]; - if (!(provDef.flags & 4096 /* LazyProvider */)) { - providers[i] = _createProviderInstance$1(data, provDef); - } - } -} -/** - * @param {?} data - * @param {?} depDef - * @param {?=} notFoundValue - * @return {?} - */ -function resolveNgModuleDep(data, depDef, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = Injector.THROW_IF_NOT_FOUND; } - if (depDef.flags & 8 /* Value */) { - return depDef.token; - } - if (depDef.flags & 2 /* Optional */) { - notFoundValue = null; - } - if (depDef.flags & 1 /* SkipSelf */) { - return data._parent.get(depDef.token, notFoundValue); - } - var /** @type {?} */ tokenKey$$1 = depDef.tokenKey; - switch (tokenKey$$1) { - case InjectorRefTokenKey$1: - case NgModuleRefTokenKey: - return data; - } - var /** @type {?} */ providerDef = data._def.providersByKey[tokenKey$$1]; - if (providerDef) { - var /** @type {?} */ providerInstance = data._providers[providerDef.index]; - if (providerInstance === undefined) { - providerInstance = data._providers[providerDef.index] = - _createProviderInstance$1(data, providerDef); - } - return providerInstance === UNDEFINED_VALUE ? undefined : providerInstance; - } - return data._parent.get(depDef.token, notFoundValue); -} -/** - * @param {?} ngModule - * @param {?} providerDef - * @return {?} - */ -function _createProviderInstance$1(ngModule, providerDef) { - var /** @type {?} */ injectable; - switch (providerDef.flags & 201347067 /* Types */) { - case 512 /* TypeClassProvider */: - injectable = _createClass(ngModule, providerDef.value, providerDef.deps); - break; - case 1024 /* TypeFactoryProvider */: - injectable = _callFactory(ngModule, providerDef.value, providerDef.deps); - break; - case 2048 /* TypeUseExistingProvider */: - injectable = resolveNgModuleDep(ngModule, providerDef.deps[0]); - break; - case 256 /* TypeValueProvider */: - injectable = providerDef.value; - break; - } - return injectable === undefined ? UNDEFINED_VALUE : injectable; -} -/** - * @param {?} ngModule - * @param {?} ctor - * @param {?} deps - * @return {?} - */ -function _createClass(ngModule, ctor, deps) { - var /** @type {?} */ len = deps.length; - switch (len) { - case 0: - return new ctor(); - case 1: - return new ctor(resolveNgModuleDep(ngModule, deps[0])); - case 2: - return new ctor(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1])); - case 3: - return new ctor(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]), resolveNgModuleDep(ngModule, deps[2])); - default: - var /** @type {?} */ depValues = new Array(len); - for (var /** @type {?} */ i = 0; i < len; i++) { - depValues[i] = resolveNgModuleDep(ngModule, deps[i]); - } - return new (ctor.bind.apply(ctor, [void 0].concat(depValues)))(); - } -} -/** - * @param {?} ngModule - * @param {?} factory - * @param {?} deps - * @return {?} - */ -function _callFactory(ngModule, factory, deps) { - var /** @type {?} */ len = deps.length; - switch (len) { - case 0: - return factory(); - case 1: - return factory(resolveNgModuleDep(ngModule, deps[0])); - case 2: - return factory(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1])); - case 3: - return factory(resolveNgModuleDep(ngModule, deps[0]), resolveNgModuleDep(ngModule, deps[1]), resolveNgModuleDep(ngModule, deps[2])); - default: - var /** @type {?} */ depValues = Array(len); - for (var /** @type {?} */ i = 0; i < len; i++) { - depValues[i] = resolveNgModuleDep(ngModule, deps[i]); - } - return factory.apply(void 0, depValues); - } -} -/** - * @param {?} ngModule - * @param {?} lifecycles - * @return {?} - */ -function callNgModuleLifecycle(ngModule, lifecycles) { - var /** @type {?} */ def = ngModule._def; - for (var /** @type {?} */ i = 0; i < def.providers.length; i++) { - var /** @type {?} */ provDef = def.providers[i]; - if (provDef.flags & 131072 /* OnDestroy */) { - var /** @type {?} */ instance = ngModule._providers[i]; - if (instance && instance !== UNDEFINED_VALUE) { - instance.ngOnDestroy(); - } - } - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} parentView - * @param {?} elementData - * @param {?} viewIndex - * @param {?} view - * @return {?} - */ -function attachEmbeddedView(parentView, elementData, viewIndex, view) { - var /** @type {?} */ embeddedViews = /** @type {?} */ ((elementData.viewContainer))._embeddedViews; - if (viewIndex === null || viewIndex === undefined) { - viewIndex = embeddedViews.length; - } - view.viewContainerParent = parentView; - addToArray(embeddedViews, /** @type {?} */ ((viewIndex)), view); - attachProjectedView(elementData, view); - Services.dirtyParentQueries(view); - var /** @type {?} */ prevView = /** @type {?} */ ((viewIndex)) > 0 ? embeddedViews[/** @type {?} */ ((viewIndex)) - 1] : null; - renderAttachEmbeddedView(elementData, prevView, view); -} -/** - * @param {?} vcElementData - * @param {?} view - * @return {?} - */ -function attachProjectedView(vcElementData, view) { - var /** @type {?} */ dvcElementData = declaredViewContainer(view); - if (!dvcElementData || dvcElementData === vcElementData || - view.state & 16 /* IsProjectedView */) { - return; - } - // Note: For performance reasons, we - // - add a view to template._projectedViews only 1x throughout its lifetime, - // and remove it not until the view is destroyed. - // (hard, as when a parent view is attached/detached we would need to attach/detach all - // nested projected views as well, even accross component boundaries). - // - don't track the insertion order of views in the projected views array - // (hard, as when the views of the same template are inserted different view containers) - view.state |= 16 /* IsProjectedView */; - var /** @type {?} */ projectedViews = dvcElementData.template._projectedViews; - if (!projectedViews) { - projectedViews = dvcElementData.template._projectedViews = []; - } - projectedViews.push(view); - // Note: we are changing the NodeDef here as we cannot calculate - // the fact whether a template is used for projection during compilation. - markNodeAsProjectedTemplate(/** @type {?} */ ((view.parent)).def, /** @type {?} */ ((view.parentNodeDef))); -} -/** - * @param {?} viewDef - * @param {?} nodeDef - * @return {?} - */ -function markNodeAsProjectedTemplate(viewDef, nodeDef) { - if (nodeDef.flags & 4 /* ProjectedTemplate */) { - return; - } - viewDef.nodeFlags |= 4 /* ProjectedTemplate */; - nodeDef.flags |= 4 /* ProjectedTemplate */; - var /** @type {?} */ parentNodeDef = nodeDef.parent; - while (parentNodeDef) { - parentNodeDef.childFlags |= 4 /* ProjectedTemplate */; - parentNodeDef = parentNodeDef.parent; - } -} -/** - * @param {?} elementData - * @param {?=} viewIndex - * @return {?} - */ -function detachEmbeddedView(elementData, viewIndex) { - var /** @type {?} */ embeddedViews = /** @type {?} */ ((elementData.viewContainer))._embeddedViews; - if (viewIndex == null || viewIndex >= embeddedViews.length) { - viewIndex = embeddedViews.length - 1; - } - if (viewIndex < 0) { - return null; - } - var /** @type {?} */ view = embeddedViews[viewIndex]; - view.viewContainerParent = null; - removeFromArray(embeddedViews, viewIndex); - // See attachProjectedView for why we don't update projectedViews here. - Services.dirtyParentQueries(view); - renderDetachView(view); - return view; -} -/** - * @param {?} view - * @return {?} - */ -function detachProjectedView(view) { - if (!(view.state & 16 /* IsProjectedView */)) { - return; - } - var /** @type {?} */ dvcElementData = declaredViewContainer(view); - if (dvcElementData) { - var /** @type {?} */ projectedViews = dvcElementData.template._projectedViews; - if (projectedViews) { - removeFromArray(projectedViews, projectedViews.indexOf(view)); - Services.dirtyParentQueries(view); - } - } -} -/** - * @param {?} elementData - * @param {?} oldViewIndex - * @param {?} newViewIndex - * @return {?} - */ -function moveEmbeddedView(elementData, oldViewIndex, newViewIndex) { - var /** @type {?} */ embeddedViews = /** @type {?} */ ((elementData.viewContainer))._embeddedViews; - var /** @type {?} */ view = embeddedViews[oldViewIndex]; - removeFromArray(embeddedViews, oldViewIndex); - if (newViewIndex == null) { - newViewIndex = embeddedViews.length; - } - addToArray(embeddedViews, newViewIndex, view); - // Note: Don't need to change projectedViews as the order in there - // as always invalid... - Services.dirtyParentQueries(view); - renderDetachView(view); - var /** @type {?} */ prevView = newViewIndex > 0 ? embeddedViews[newViewIndex - 1] : null; - renderAttachEmbeddedView(elementData, prevView, view); - return view; -} -/** - * @param {?} elementData - * @param {?} prevView - * @param {?} view - * @return {?} - */ -function renderAttachEmbeddedView(elementData, prevView, view) { - var /** @type {?} */ prevRenderNode = prevView ? renderNode(prevView, /** @type {?} */ ((prevView.def.lastRenderRootNode))) : - elementData.renderElement; - var /** @type {?} */ parentNode = view.renderer.parentNode(prevRenderNode); - var /** @type {?} */ nextSibling = view.renderer.nextSibling(prevRenderNode); - // Note: We can't check if `nextSibling` is present, as on WebWorkers it will always be! - // However, browsers automatically do `appendChild` when there is no `nextSibling`. - visitRootRenderNodes(view, 2 /* InsertBefore */, parentNode, nextSibling, undefined); -} -/** - * @param {?} view - * @return {?} - */ -function renderDetachView(view) { - visitRootRenderNodes(view, 3 /* RemoveChild */, null, null, undefined); -} -/** - * @param {?} arr - * @param {?} index - * @param {?} value - * @return {?} - */ -function addToArray(arr, index, value) { - // perf: array.push is faster than array.splice! - if (index >= arr.length) { - arr.push(value); - } - else { - arr.splice(index, 0, value); - } -} -/** - * @param {?} arr - * @param {?} index - * @return {?} - */ -function removeFromArray(arr, index) { - // perf: array.pop is faster than array.splice! - if (index >= arr.length - 1) { - arr.pop(); - } - else { - arr.splice(index, 1); - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -var EMPTY_CONTEXT = new Object(); -/** - * @param {?} selector - * @param {?} componentType - * @param {?} viewDefFactory - * @param {?} inputs - * @param {?} outputs - * @param {?} ngContentSelectors - * @return {?} - */ -function createComponentFactory(selector, componentType, viewDefFactory, inputs, outputs, ngContentSelectors) { - return new ComponentFactory_(selector, componentType, viewDefFactory, inputs, outputs, ngContentSelectors); -} -/** - * @param {?} componentFactory - * @return {?} - */ -function getComponentViewDefinitionFactory(componentFactory) { - return (/** @type {?} */ (componentFactory)).viewDefFactory; -} -var ComponentFactory_ = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(ComponentFactory_, _super); - function ComponentFactory_(selector, componentType, viewDefFactory, _inputs, _outputs, ngContentSelectors) { - var _this = - // Attention: this ctor is called as top level function. - // Putting any logic in here will destroy closure tree shaking! - _super.call(this) || this; - _this.selector = selector; - _this.componentType = componentType; - _this._inputs = _inputs; - _this._outputs = _outputs; - _this.ngContentSelectors = ngContentSelectors; - _this.viewDefFactory = viewDefFactory; - return _this; - } - Object.defineProperty(ComponentFactory_.prototype, "inputs", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ inputsArr = []; - var /** @type {?} */ inputs = /** @type {?} */ ((this._inputs)); - for (var /** @type {?} */ propName in inputs) { - var /** @type {?} */ templateName = inputs[propName]; - inputsArr.push({ propName: propName, templateName: templateName }); - } - return inputsArr; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentFactory_.prototype, "outputs", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ outputsArr = []; - for (var /** @type {?} */ propName in this._outputs) { - var /** @type {?} */ templateName = this._outputs[propName]; - outputsArr.push({ propName: propName, templateName: templateName }); - } - return outputsArr; - }, - enumerable: true, - configurable: true - }); - /** - * Creates a new component. - */ - /** - * Creates a new component. - * @param {?} injector - * @param {?=} projectableNodes - * @param {?=} rootSelectorOrNode - * @param {?=} ngModule - * @return {?} - */ - ComponentFactory_.prototype.create = /** - * Creates a new component. - * @param {?} injector - * @param {?=} projectableNodes - * @param {?=} rootSelectorOrNode - * @param {?=} ngModule - * @return {?} - */ - function (injector, projectableNodes, rootSelectorOrNode, ngModule) { - if (!ngModule) { - throw new Error('ngModule should be provided'); - } - var /** @type {?} */ viewDef = resolveDefinition(this.viewDefFactory); - var /** @type {?} */ componentNodeIndex = /** @type {?} */ ((/** @type {?} */ ((viewDef.nodes[0].element)).componentProvider)).nodeIndex; - var /** @type {?} */ view = Services.createRootView(injector, projectableNodes || [], rootSelectorOrNode, viewDef, ngModule, EMPTY_CONTEXT); - var /** @type {?} */ component = asProviderData(view, componentNodeIndex).instance; - if (rootSelectorOrNode) { - view.renderer.setAttribute(asElementData(view, 0).renderElement, 'ng-version', VERSION.full); - } - return new ComponentRef_(view, new ViewRef_(view), component); - }; - return ComponentFactory_; -}(ComponentFactory)); -var ComponentRef_ = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(ComponentRef_, _super); - function ComponentRef_(_view, _viewRef, _component) { - var _this = _super.call(this) || this; - _this._view = _view; - _this._viewRef = _viewRef; - _this._component = _component; - _this._elDef = _this._view.def.nodes[0]; - _this.hostView = _viewRef; - _this.changeDetectorRef = _viewRef; - _this.instance = _component; - return _this; - } - Object.defineProperty(ComponentRef_.prototype, "location", { - get: /** - * @return {?} - */ - function () { - return new ElementRef(asElementData(this._view, this._elDef.nodeIndex).renderElement); - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentRef_.prototype, "injector", { - get: /** - * @return {?} - */ - function () { return new Injector_(this._view, this._elDef); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ComponentRef_.prototype, "componentType", { - get: /** - * @return {?} - */ - function () { return /** @type {?} */ (this._component.constructor); }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ComponentRef_.prototype.destroy = /** - * @return {?} - */ - function () { this._viewRef.destroy(); }; - /** - * @param {?} callback - * @return {?} - */ - ComponentRef_.prototype.onDestroy = /** - * @param {?} callback - * @return {?} - */ - function (callback) { this._viewRef.onDestroy(callback); }; - return ComponentRef_; -}(ComponentRef)); -/** - * @param {?} view - * @param {?} elDef - * @param {?} elData - * @return {?} - */ -function createViewContainerData(view, elDef, elData) { - return new ViewContainerRef_(view, elDef, elData); -} -var ViewContainerRef_ = (function () { - function ViewContainerRef_(_view, _elDef, _data) { - this._view = _view; - this._elDef = _elDef; - this._data = _data; - /** - * \@internal - */ - this._embeddedViews = []; - } - Object.defineProperty(ViewContainerRef_.prototype, "element", { - get: /** - * @return {?} - */ - function () { return new ElementRef(this._data.renderElement); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ViewContainerRef_.prototype, "injector", { - get: /** - * @return {?} - */ - function () { return new Injector_(this._view, this._elDef); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ViewContainerRef_.prototype, "parentInjector", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ view = this._view; - var /** @type {?} */ elDef = this._elDef.parent; - while (!elDef && view) { - elDef = viewParentEl(view); - view = /** @type {?} */ ((view.parent)); - } - return view ? new Injector_(view, elDef) : new Injector_(this._view, null); - }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ViewContainerRef_.prototype.clear = /** - * @return {?} - */ - function () { - var /** @type {?} */ len = this._embeddedViews.length; - for (var /** @type {?} */ i = len - 1; i >= 0; i--) { - var /** @type {?} */ view = /** @type {?} */ ((detachEmbeddedView(this._data, i))); - Services.destroyView(view); - } - }; - /** - * @param {?} index - * @return {?} - */ - ViewContainerRef_.prototype.get = /** - * @param {?} index - * @return {?} - */ - function (index) { - var /** @type {?} */ view = this._embeddedViews[index]; - if (view) { - var /** @type {?} */ ref = new ViewRef_(view); - ref.attachToViewContainerRef(this); - return ref; - } - return null; - }; - Object.defineProperty(ViewContainerRef_.prototype, "length", { - get: /** - * @return {?} - */ - function () { return this._embeddedViews.length; }, - enumerable: true, - configurable: true - }); - /** - * @template C - * @param {?} templateRef - * @param {?=} context - * @param {?=} index - * @return {?} - */ - ViewContainerRef_.prototype.createEmbeddedView = /** - * @template C - * @param {?} templateRef - * @param {?=} context - * @param {?=} index - * @return {?} - */ - function (templateRef, context, index) { - var /** @type {?} */ viewRef = templateRef.createEmbeddedView(context || /** @type {?} */ ({})); - this.insert(viewRef, index); - return viewRef; - }; - /** - * @template C - * @param {?} componentFactory - * @param {?=} index - * @param {?=} injector - * @param {?=} projectableNodes - * @param {?=} ngModuleRef - * @return {?} - */ - ViewContainerRef_.prototype.createComponent = /** - * @template C - * @param {?} componentFactory - * @param {?=} index - * @param {?=} injector - * @param {?=} projectableNodes - * @param {?=} ngModuleRef - * @return {?} - */ - function (componentFactory, index, injector, projectableNodes, ngModuleRef) { - var /** @type {?} */ contextInjector = injector || this.parentInjector; - if (!ngModuleRef && !(componentFactory instanceof ComponentFactoryBoundToModule)) { - ngModuleRef = contextInjector.get(NgModuleRef); - } - var /** @type {?} */ componentRef = componentFactory.create(contextInjector, projectableNodes, undefined, ngModuleRef); - this.insert(componentRef.hostView, index); - return componentRef; - }; - /** - * @param {?} viewRef - * @param {?=} index - * @return {?} - */ - ViewContainerRef_.prototype.insert = /** - * @param {?} viewRef - * @param {?=} index - * @return {?} - */ - function (viewRef, index) { - if (viewRef.destroyed) { - throw new Error('Cannot insert a destroyed View in a ViewContainer!'); - } - var /** @type {?} */ viewRef_ = /** @type {?} */ (viewRef); - var /** @type {?} */ viewData = viewRef_._view; - attachEmbeddedView(this._view, this._data, index, viewData); - viewRef_.attachToViewContainerRef(this); - return viewRef; - }; - /** - * @param {?} viewRef - * @param {?} currentIndex - * @return {?} - */ - ViewContainerRef_.prototype.move = /** - * @param {?} viewRef - * @param {?} currentIndex - * @return {?} - */ - function (viewRef, currentIndex) { - if (viewRef.destroyed) { - throw new Error('Cannot move a destroyed View in a ViewContainer!'); - } - var /** @type {?} */ previousIndex = this._embeddedViews.indexOf(viewRef._view); - moveEmbeddedView(this._data, previousIndex, currentIndex); - return viewRef; - }; - /** - * @param {?} viewRef - * @return {?} - */ - ViewContainerRef_.prototype.indexOf = /** - * @param {?} viewRef - * @return {?} - */ - function (viewRef) { - return this._embeddedViews.indexOf((/** @type {?} */ (viewRef))._view); - }; - /** - * @param {?=} index - * @return {?} - */ - ViewContainerRef_.prototype.remove = /** - * @param {?=} index - * @return {?} - */ - function (index) { - var /** @type {?} */ viewData = detachEmbeddedView(this._data, index); - if (viewData) { - Services.destroyView(viewData); - } - }; - /** - * @param {?=} index - * @return {?} - */ - ViewContainerRef_.prototype.detach = /** - * @param {?=} index - * @return {?} - */ - function (index) { - var /** @type {?} */ view = detachEmbeddedView(this._data, index); - return view ? new ViewRef_(view) : null; - }; - return ViewContainerRef_; -}()); -/** - * @param {?} view - * @return {?} - */ -function createChangeDetectorRef(view) { - return new ViewRef_(view); -} -var ViewRef_ = (function () { - function ViewRef_(_view) { - this._view = _view; - this._viewContainerRef = null; - this._appRef = null; - } - Object.defineProperty(ViewRef_.prototype, "rootNodes", { - get: /** - * @return {?} - */ - function () { return rootRenderNodes(this._view); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ViewRef_.prototype, "context", { - get: /** - * @return {?} - */ - function () { return this._view.context; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ViewRef_.prototype, "destroyed", { - get: /** - * @return {?} - */ - function () { return (this._view.state & 128 /* Destroyed */) !== 0; }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - ViewRef_.prototype.markForCheck = /** - * @return {?} - */ - function () { markParentViewsForCheck(this._view); }; - /** - * @return {?} - */ - ViewRef_.prototype.detach = /** - * @return {?} - */ - function () { this._view.state &= ~4 /* Attached */; }; - /** - * @return {?} - */ - ViewRef_.prototype.detectChanges = /** - * @return {?} - */ - function () { - var /** @type {?} */ fs = this._view.root.rendererFactory; - if (fs.begin) { - fs.begin(); - } - Services.checkAndUpdateView(this._view); - if (fs.end) { - fs.end(); - } - }; - /** - * @return {?} - */ - ViewRef_.prototype.checkNoChanges = /** - * @return {?} - */ - function () { Services.checkNoChangesView(this._view); }; - /** - * @return {?} - */ - ViewRef_.prototype.reattach = /** - * @return {?} - */ - function () { this._view.state |= 4 /* Attached */; }; - /** - * @param {?} callback - * @return {?} - */ - ViewRef_.prototype.onDestroy = /** - * @param {?} callback - * @return {?} - */ - function (callback) { - if (!this._view.disposables) { - this._view.disposables = []; - } - this._view.disposables.push(/** @type {?} */ (callback)); - }; - /** - * @return {?} - */ - ViewRef_.prototype.destroy = /** - * @return {?} - */ - function () { - if (this._appRef) { - this._appRef.detachView(this); - } - else if (this._viewContainerRef) { - this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)); - } - Services.destroyView(this._view); - }; - /** - * @return {?} - */ - ViewRef_.prototype.detachFromAppRef = /** - * @return {?} - */ - function () { - this._appRef = null; - renderDetachView(this._view); - Services.dirtyParentQueries(this._view); - }; - /** - * @param {?} appRef - * @return {?} - */ - ViewRef_.prototype.attachToAppRef = /** - * @param {?} appRef - * @return {?} - */ - function (appRef) { - if (this._viewContainerRef) { - throw new Error('This view is already attached to a ViewContainer!'); - } - this._appRef = appRef; - }; - /** - * @param {?} vcRef - * @return {?} - */ - ViewRef_.prototype.attachToViewContainerRef = /** - * @param {?} vcRef - * @return {?} - */ - function (vcRef) { - if (this._appRef) { - throw new Error('This view is already attached directly to the ApplicationRef!'); - } - this._viewContainerRef = vcRef; - }; - return ViewRef_; -}()); -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function createTemplateData(view, def) { - return new TemplateRef_(view, def); -} -var TemplateRef_ = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(TemplateRef_, _super); - function TemplateRef_(_parentView, _def) { - var _this = _super.call(this) || this; - _this._parentView = _parentView; - _this._def = _def; - return _this; - } - /** - * @param {?} context - * @return {?} - */ - TemplateRef_.prototype.createEmbeddedView = /** - * @param {?} context - * @return {?} - */ - function (context) { - return new ViewRef_(Services.createEmbeddedView(this._parentView, this._def, /** @type {?} */ ((/** @type {?} */ ((this._def.element)).template)), context)); - }; - Object.defineProperty(TemplateRef_.prototype, "elementRef", { - get: /** - * @return {?} - */ - function () { - return new ElementRef(asElementData(this._parentView, this._def.nodeIndex).renderElement); - }, - enumerable: true, - configurable: true - }); - return TemplateRef_; -}(TemplateRef)); -/** - * @param {?} view - * @param {?} elDef - * @return {?} - */ -function createInjector(view, elDef) { - return new Injector_(view, elDef); -} -var Injector_ = (function () { - function Injector_(view, elDef) { - this.view = view; - this.elDef = elDef; - } - /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - Injector_.prototype.get = /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - function (token, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = Injector.THROW_IF_NOT_FOUND; } - var /** @type {?} */ allowPrivateServices = this.elDef ? (this.elDef.flags & 33554432 /* ComponentView */) !== 0 : false; - return Services.resolveDep(this.view, this.elDef, allowPrivateServices, { flags: 0 /* None */, token: token, tokenKey: tokenKey(token) }, notFoundValue); - }; - return Injector_; -}()); -/** - * @param {?} view - * @param {?} index - * @return {?} - */ -function nodeValue(view, index) { - var /** @type {?} */ def = view.def.nodes[index]; - if (def.flags & 1 /* TypeElement */) { - var /** @type {?} */ elData = asElementData(view, def.nodeIndex); - return /** @type {?} */ ((def.element)).template ? elData.template : elData.renderElement; - } - else if (def.flags & 2 /* TypeText */) { - return asTextData(view, def.nodeIndex).renderText; - } - else if (def.flags & (20224 /* CatProvider */ | 16 /* TypePipe */)) { - return asProviderData(view, def.nodeIndex).instance; - } - throw new Error("Illegal state: read nodeValue for node index " + index); -} -/** - * @param {?} view - * @return {?} - */ -function createRendererV1(view) { - return new RendererAdapter(view.renderer); -} -var RendererAdapter = (function () { - function RendererAdapter(delegate) { - this.delegate = delegate; - } - /** - * @param {?} selectorOrNode - * @return {?} - */ - RendererAdapter.prototype.selectRootElement = /** - * @param {?} selectorOrNode - * @return {?} - */ - function (selectorOrNode) { - return this.delegate.selectRootElement(selectorOrNode); - }; - /** - * @param {?} parent - * @param {?} namespaceAndName - * @return {?} - */ - RendererAdapter.prototype.createElement = /** - * @param {?} parent - * @param {?} namespaceAndName - * @return {?} - */ - function (parent, namespaceAndName) { - var _a = splitNamespace(namespaceAndName), ns = _a[0], name = _a[1]; - var /** @type {?} */ el = this.delegate.createElement(name, ns); - if (parent) { - this.delegate.appendChild(parent, el); - } - return el; - }; - /** - * @param {?} hostElement - * @return {?} - */ - RendererAdapter.prototype.createViewRoot = /** - * @param {?} hostElement - * @return {?} - */ - function (hostElement) { return hostElement; }; - /** - * @param {?} parentElement - * @return {?} - */ - RendererAdapter.prototype.createTemplateAnchor = /** - * @param {?} parentElement - * @return {?} - */ - function (parentElement) { - var /** @type {?} */ comment = this.delegate.createComment(''); - if (parentElement) { - this.delegate.appendChild(parentElement, comment); - } - return comment; - }; - /** - * @param {?} parentElement - * @param {?} value - * @return {?} - */ - RendererAdapter.prototype.createText = /** - * @param {?} parentElement - * @param {?} value - * @return {?} - */ - function (parentElement, value) { - var /** @type {?} */ node = this.delegate.createText(value); - if (parentElement) { - this.delegate.appendChild(parentElement, node); - } - return node; - }; - /** - * @param {?} parentElement - * @param {?} nodes - * @return {?} - */ - RendererAdapter.prototype.projectNodes = /** - * @param {?} parentElement - * @param {?} nodes - * @return {?} - */ - function (parentElement, nodes) { - for (var /** @type {?} */ i = 0; i < nodes.length; i++) { - this.delegate.appendChild(parentElement, nodes[i]); - } - }; - /** - * @param {?} node - * @param {?} viewRootNodes - * @return {?} - */ - RendererAdapter.prototype.attachViewAfter = /** - * @param {?} node - * @param {?} viewRootNodes - * @return {?} - */ - function (node, viewRootNodes) { - var /** @type {?} */ parentElement = this.delegate.parentNode(node); - var /** @type {?} */ nextSibling = this.delegate.nextSibling(node); - for (var /** @type {?} */ i = 0; i < viewRootNodes.length; i++) { - this.delegate.insertBefore(parentElement, viewRootNodes[i], nextSibling); - } - }; - /** - * @param {?} viewRootNodes - * @return {?} - */ - RendererAdapter.prototype.detachView = /** - * @param {?} viewRootNodes - * @return {?} - */ - function (viewRootNodes) { - for (var /** @type {?} */ i = 0; i < viewRootNodes.length; i++) { - var /** @type {?} */ node = viewRootNodes[i]; - var /** @type {?} */ parentElement = this.delegate.parentNode(node); - this.delegate.removeChild(parentElement, node); - } - }; - /** - * @param {?} hostElement - * @param {?} viewAllNodes - * @return {?} - */ - RendererAdapter.prototype.destroyView = /** - * @param {?} hostElement - * @param {?} viewAllNodes - * @return {?} - */ - function (hostElement, viewAllNodes) { - for (var /** @type {?} */ i = 0; i < viewAllNodes.length; i++) { - /** @type {?} */ ((this.delegate.destroyNode))(viewAllNodes[i]); - } - }; - /** - * @param {?} renderElement - * @param {?} name - * @param {?} callback - * @return {?} - */ - RendererAdapter.prototype.listen = /** - * @param {?} renderElement - * @param {?} name - * @param {?} callback - * @return {?} - */ - function (renderElement, name, callback) { - return this.delegate.listen(renderElement, name, /** @type {?} */ (callback)); - }; - /** - * @param {?} target - * @param {?} name - * @param {?} callback - * @return {?} - */ - RendererAdapter.prototype.listenGlobal = /** - * @param {?} target - * @param {?} name - * @param {?} callback - * @return {?} - */ - function (target, name, callback) { - return this.delegate.listen(target, name, /** @type {?} */ (callback)); - }; - /** - * @param {?} renderElement - * @param {?} propertyName - * @param {?} propertyValue - * @return {?} - */ - RendererAdapter.prototype.setElementProperty = /** - * @param {?} renderElement - * @param {?} propertyName - * @param {?} propertyValue - * @return {?} - */ - function (renderElement, propertyName, propertyValue) { - this.delegate.setProperty(renderElement, propertyName, propertyValue); - }; - /** - * @param {?} renderElement - * @param {?} namespaceAndName - * @param {?} attributeValue - * @return {?} - */ - RendererAdapter.prototype.setElementAttribute = /** - * @param {?} renderElement - * @param {?} namespaceAndName - * @param {?} attributeValue - * @return {?} - */ - function (renderElement, namespaceAndName, attributeValue) { - var _a = splitNamespace(namespaceAndName), ns = _a[0], name = _a[1]; - if (attributeValue != null) { - this.delegate.setAttribute(renderElement, name, attributeValue, ns); - } - else { - this.delegate.removeAttribute(renderElement, name, ns); - } - }; - /** - * @param {?} renderElement - * @param {?} propertyName - * @param {?} propertyValue - * @return {?} - */ - RendererAdapter.prototype.setBindingDebugInfo = /** - * @param {?} renderElement - * @param {?} propertyName - * @param {?} propertyValue - * @return {?} - */ - function (renderElement, propertyName, propertyValue) { }; - /** - * @param {?} renderElement - * @param {?} className - * @param {?} isAdd - * @return {?} - */ - RendererAdapter.prototype.setElementClass = /** - * @param {?} renderElement - * @param {?} className - * @param {?} isAdd - * @return {?} - */ - function (renderElement, className, isAdd) { - if (isAdd) { - this.delegate.addClass(renderElement, className); - } - else { - this.delegate.removeClass(renderElement, className); - } - }; - /** - * @param {?} renderElement - * @param {?} styleName - * @param {?} styleValue - * @return {?} - */ - RendererAdapter.prototype.setElementStyle = /** - * @param {?} renderElement - * @param {?} styleName - * @param {?} styleValue - * @return {?} - */ - function (renderElement, styleName, styleValue) { - if (styleValue != null) { - this.delegate.setStyle(renderElement, styleName, styleValue); - } - else { - this.delegate.removeStyle(renderElement, styleName); - } - }; - /** - * @param {?} renderElement - * @param {?} methodName - * @param {?} args - * @return {?} - */ - RendererAdapter.prototype.invokeElementMethod = /** - * @param {?} renderElement - * @param {?} methodName - * @param {?} args - * @return {?} - */ - function (renderElement, methodName, args) { - (/** @type {?} */ (renderElement))[methodName].apply(renderElement, args); - }; - /** - * @param {?} renderNode - * @param {?} text - * @return {?} - */ - RendererAdapter.prototype.setText = /** - * @param {?} renderNode - * @param {?} text - * @return {?} - */ - function (renderNode$$1, text) { this.delegate.setValue(renderNode$$1, text); }; - /** - * @return {?} - */ - RendererAdapter.prototype.animate = /** - * @return {?} - */ - function () { throw new Error('Renderer.animate is no longer supported!'); }; - return RendererAdapter; -}()); -/** - * @param {?} moduleType - * @param {?} parent - * @param {?} bootstrapComponents - * @param {?} def - * @return {?} - */ -function createNgModuleRef(moduleType, parent, bootstrapComponents, def) { - return new NgModuleRef_(moduleType, parent, bootstrapComponents, def); -} -var NgModuleRef_ = (function () { - function NgModuleRef_(_moduleType, _parent, _bootstrapComponents, _def) { - this._moduleType = _moduleType; - this._parent = _parent; - this._bootstrapComponents = _bootstrapComponents; - this._def = _def; - this._destroyListeners = []; - this._destroyed = false; - initNgModule(this); - } - /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - NgModuleRef_.prototype.get = /** - * @param {?} token - * @param {?=} notFoundValue - * @return {?} - */ - function (token, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = Injector.THROW_IF_NOT_FOUND; } - return resolveNgModuleDep(this, { token: token, tokenKey: tokenKey(token), flags: 0 /* None */ }, notFoundValue); - }; - Object.defineProperty(NgModuleRef_.prototype, "instance", { - get: /** - * @return {?} - */ - function () { return this.get(this._moduleType); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(NgModuleRef_.prototype, "componentFactoryResolver", { - get: /** - * @return {?} - */ - function () { return this.get(ComponentFactoryResolver); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(NgModuleRef_.prototype, "injector", { - get: /** - * @return {?} - */ - function () { return this; }, - enumerable: true, - configurable: true - }); - /** - * @return {?} - */ - NgModuleRef_.prototype.destroy = /** - * @return {?} - */ - function () { - if (this._destroyed) { - throw new Error("The ng module " + stringify(this.instance.constructor) + " has already been destroyed."); - } - this._destroyed = true; - callNgModuleLifecycle(this, 131072 /* OnDestroy */); - this._destroyListeners.forEach(function (listener) { return listener(); }); - }; - /** - * @param {?} callback - * @return {?} - */ - NgModuleRef_.prototype.onDestroy = /** - * @param {?} callback - * @return {?} - */ - function (callback) { this._destroyListeners.push(callback); }; - return NgModuleRef_; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var RendererV1TokenKey = tokenKey(Renderer); -var Renderer2TokenKey = tokenKey(Renderer2); -var ElementRefTokenKey = tokenKey(ElementRef); -var ViewContainerRefTokenKey = tokenKey(ViewContainerRef); -var TemplateRefTokenKey = tokenKey(TemplateRef); -var ChangeDetectorRefTokenKey = tokenKey(ChangeDetectorRef); -var InjectorRefTokenKey = tokenKey(Injector); -/** - * @param {?} checkIndex - * @param {?} flags - * @param {?} matchedQueries - * @param {?} childCount - * @param {?} ctor - * @param {?} deps - * @param {?=} props - * @param {?=} outputs - * @return {?} - */ -function directiveDef(checkIndex, flags, matchedQueries, childCount, ctor, deps, props, outputs) { - var /** @type {?} */ bindings = []; - if (props) { - for (var /** @type {?} */ prop in props) { - var _a = props[prop], bindingIndex = _a[0], nonMinifiedName = _a[1]; - bindings[bindingIndex] = { - flags: 8 /* TypeProperty */, - name: prop, nonMinifiedName: nonMinifiedName, - ns: null, - securityContext: null, - suffix: null - }; - } - } - var /** @type {?} */ outputDefs = []; - if (outputs) { - for (var /** @type {?} */ propName in outputs) { - outputDefs.push({ type: 1 /* DirectiveOutput */, propName: propName, target: null, eventName: outputs[propName] }); - } - } - flags |= 16384 /* TypeDirective */; - return _def(checkIndex, flags, matchedQueries, childCount, ctor, ctor, deps, bindings, outputDefs); -} -/** - * @param {?} flags - * @param {?} ctor - * @param {?} deps - * @return {?} - */ -function pipeDef(flags, ctor, deps) { - flags |= 16 /* TypePipe */; - return _def(-1, flags, null, 0, ctor, ctor, deps); -} -/** - * @param {?} flags - * @param {?} matchedQueries - * @param {?} token - * @param {?} value - * @param {?} deps - * @return {?} - */ -function providerDef(flags, matchedQueries, token, value, deps) { - return _def(-1, flags, matchedQueries, 0, token, value, deps); -} -/** - * @param {?} checkIndex - * @param {?} flags - * @param {?} matchedQueriesDsl - * @param {?} childCount - * @param {?} token - * @param {?} value - * @param {?} deps - * @param {?=} bindings - * @param {?=} outputs - * @return {?} - */ -function _def(checkIndex, flags, matchedQueriesDsl, childCount, token, value, deps, bindings, outputs) { - var _a = splitMatchedQueriesDsl(matchedQueriesDsl), matchedQueries = _a.matchedQueries, references = _a.references, matchedQueryIds = _a.matchedQueryIds; - if (!outputs) { - outputs = []; - } - if (!bindings) { - bindings = []; - } - // Need to resolve forwardRefs as e.g. for `useValue` we - // lowered the expression and then stopped evaluating it, - // i.e. also didn't unwrap it. - value = resolveForwardRef(value); - var /** @type {?} */ depDefs = splitDepsDsl(deps); - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - checkIndex: checkIndex, - flags: flags, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, matchedQueries: matchedQueries, matchedQueryIds: matchedQueryIds, references: references, - ngContentIndex: -1, childCount: childCount, bindings: bindings, - bindingFlags: calcBindingFlags(bindings), outputs: outputs, - element: null, - provider: { token: token, value: value, deps: depDefs }, - text: null, - query: null, - ngContent: null - }; -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function createProviderInstance(view, def) { - return _createProviderInstance(view, def); -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function createPipeInstance(view, def) { - // deps are looked up from component. - var /** @type {?} */ compView = view; - while (compView.parent && !isComponentView(compView)) { - compView = compView.parent; - } - // pipes can see the private services of the component - var /** @type {?} */ allowPrivateServices = true; - // pipes are always eager and classes! - return createClass(/** @type {?} */ ((compView.parent)), /** @type {?} */ ((viewParentEl(compView))), allowPrivateServices, /** @type {?} */ ((def.provider)).value, /** @type {?} */ ((def.provider)).deps); -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function createDirectiveInstance(view, def) { - // components can see other private services, other directives can't. - var /** @type {?} */ allowPrivateServices = (def.flags & 32768 /* Component */) > 0; - // directives are always eager and classes! - var /** @type {?} */ instance = createClass(view, /** @type {?} */ ((def.parent)), allowPrivateServices, /** @type {?} */ ((def.provider)).value, /** @type {?} */ ((def.provider)).deps); - if (def.outputs.length) { - for (var /** @type {?} */ i = 0; i < def.outputs.length; i++) { - var /** @type {?} */ output = def.outputs[i]; - var /** @type {?} */ subscription = instance[/** @type {?} */ ((output.propName))].subscribe(eventHandlerClosure(view, /** @type {?} */ ((def.parent)).nodeIndex, output.eventName)); /** @type {?} */ - ((view.disposables))[def.outputIndex + i] = subscription.unsubscribe.bind(subscription); - } - } - return instance; -} -/** - * @param {?} view - * @param {?} index - * @param {?} eventName - * @return {?} - */ -function eventHandlerClosure(view, index, eventName) { - return function (event) { return dispatchEvent(view, index, eventName, event); }; -} -/** - * @param {?} view - * @param {?} def - * @param {?} v0 - * @param {?} v1 - * @param {?} v2 - * @param {?} v3 - * @param {?} v4 - * @param {?} v5 - * @param {?} v6 - * @param {?} v7 - * @param {?} v8 - * @param {?} v9 - * @return {?} - */ -function checkAndUpdateDirectiveInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ providerData = asProviderData(view, def.nodeIndex); - var /** @type {?} */ directive = providerData.instance; - var /** @type {?} */ changed = false; - var /** @type {?} */ changes = /** @type {?} */ ((undefined)); - var /** @type {?} */ bindLen = def.bindings.length; - if (bindLen > 0 && checkBinding(view, def, 0, v0)) { - changed = true; - changes = updateProp(view, providerData, def, 0, v0, changes); - } - if (bindLen > 1 && checkBinding(view, def, 1, v1)) { - changed = true; - changes = updateProp(view, providerData, def, 1, v1, changes); - } - if (bindLen > 2 && checkBinding(view, def, 2, v2)) { - changed = true; - changes = updateProp(view, providerData, def, 2, v2, changes); - } - if (bindLen > 3 && checkBinding(view, def, 3, v3)) { - changed = true; - changes = updateProp(view, providerData, def, 3, v3, changes); - } - if (bindLen > 4 && checkBinding(view, def, 4, v4)) { - changed = true; - changes = updateProp(view, providerData, def, 4, v4, changes); - } - if (bindLen > 5 && checkBinding(view, def, 5, v5)) { - changed = true; - changes = updateProp(view, providerData, def, 5, v5, changes); - } - if (bindLen > 6 && checkBinding(view, def, 6, v6)) { - changed = true; - changes = updateProp(view, providerData, def, 6, v6, changes); - } - if (bindLen > 7 && checkBinding(view, def, 7, v7)) { - changed = true; - changes = updateProp(view, providerData, def, 7, v7, changes); - } - if (bindLen > 8 && checkBinding(view, def, 8, v8)) { - changed = true; - changes = updateProp(view, providerData, def, 8, v8, changes); - } - if (bindLen > 9 && checkBinding(view, def, 9, v9)) { - changed = true; - changes = updateProp(view, providerData, def, 9, v9, changes); - } - if (changes) { - directive.ngOnChanges(changes); - } - if ((view.state & 2 /* FirstCheck */) && (def.flags & 65536 /* OnInit */)) { - directive.ngOnInit(); - } - if (def.flags & 262144 /* DoCheck */) { - directive.ngDoCheck(); - } - return changed; -} -/** - * @param {?} view - * @param {?} def - * @param {?} values - * @return {?} - */ -function checkAndUpdateDirectiveDynamic(view, def, values) { - var /** @type {?} */ providerData = asProviderData(view, def.nodeIndex); - var /** @type {?} */ directive = providerData.instance; - var /** @type {?} */ changed = false; - var /** @type {?} */ changes = /** @type {?} */ ((undefined)); - for (var /** @type {?} */ i = 0; i < values.length; i++) { - if (checkBinding(view, def, i, values[i])) { - changed = true; - changes = updateProp(view, providerData, def, i, values[i], changes); - } - } - if (changes) { - directive.ngOnChanges(changes); - } - if ((view.state & 2 /* FirstCheck */) && (def.flags & 65536 /* OnInit */)) { - directive.ngOnInit(); - } - if (def.flags & 262144 /* DoCheck */) { - directive.ngDoCheck(); - } - return changed; -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function _createProviderInstance(view, def) { - // private services can see other private services - var /** @type {?} */ allowPrivateServices = (def.flags & 8192 /* PrivateProvider */) > 0; - var /** @type {?} */ providerDef = def.provider; - switch (def.flags & 201347067 /* Types */) { - case 512 /* TypeClassProvider */: - return createClass(view, /** @type {?} */ ((def.parent)), allowPrivateServices, /** @type {?} */ ((providerDef)).value, /** @type {?} */ ((providerDef)).deps); - case 1024 /* TypeFactoryProvider */: - return callFactory(view, /** @type {?} */ ((def.parent)), allowPrivateServices, /** @type {?} */ ((providerDef)).value, /** @type {?} */ ((providerDef)).deps); - case 2048 /* TypeUseExistingProvider */: - return resolveDep(view, /** @type {?} */ ((def.parent)), allowPrivateServices, /** @type {?} */ ((providerDef)).deps[0]); - case 256 /* TypeValueProvider */: - return /** @type {?} */ ((providerDef)).value; - } -} -/** - * @param {?} view - * @param {?} elDef - * @param {?} allowPrivateServices - * @param {?} ctor - * @param {?} deps - * @return {?} - */ -function createClass(view, elDef, allowPrivateServices, ctor, deps) { - var /** @type {?} */ len = deps.length; - switch (len) { - case 0: - return new ctor(); - case 1: - return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0])); - case 2: - return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1])); - case 3: - return new ctor(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]), resolveDep(view, elDef, allowPrivateServices, deps[2])); - default: - var /** @type {?} */ depValues = new Array(len); - for (var /** @type {?} */ i = 0; i < len; i++) { - depValues[i] = resolveDep(view, elDef, allowPrivateServices, deps[i]); - } - return new (ctor.bind.apply(ctor, [void 0].concat(depValues)))(); - } -} -/** - * @param {?} view - * @param {?} elDef - * @param {?} allowPrivateServices - * @param {?} factory - * @param {?} deps - * @return {?} - */ -function callFactory(view, elDef, allowPrivateServices, factory, deps) { - var /** @type {?} */ len = deps.length; - switch (len) { - case 0: - return factory(); - case 1: - return factory(resolveDep(view, elDef, allowPrivateServices, deps[0])); - case 2: - return factory(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1])); - case 3: - return factory(resolveDep(view, elDef, allowPrivateServices, deps[0]), resolveDep(view, elDef, allowPrivateServices, deps[1]), resolveDep(view, elDef, allowPrivateServices, deps[2])); - default: - var /** @type {?} */ depValues = Array(len); - for (var /** @type {?} */ i = 0; i < len; i++) { - depValues[i] = resolveDep(view, elDef, allowPrivateServices, deps[i]); - } - return factory.apply(void 0, depValues); - } -} -// This default value is when checking the hierarchy for a token. -// -// It means both: -// - the token is not provided by the current injector, -// - only the element injectors should be checked (ie do not check module injectors -// -// mod1 -// / -// el1 mod2 -// \ / -// el2 -// -// When requesting el2.injector.get(token), we should check in the following order and return the -// first found value: -// - el2.injector.get(token, default) -// - el1.injector.get(token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) -> do not check the module -// - mod2.injector.get(token, default) -var NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR = {}; -/** - * @param {?} view - * @param {?} elDef - * @param {?} allowPrivateServices - * @param {?} depDef - * @param {?=} notFoundValue - * @return {?} - */ -function resolveDep(view, elDef, allowPrivateServices, depDef, notFoundValue) { - if (notFoundValue === void 0) { notFoundValue = Injector.THROW_IF_NOT_FOUND; } - if (depDef.flags & 8 /* Value */) { - return depDef.token; - } - var /** @type {?} */ startView = view; - if (depDef.flags & 2 /* Optional */) { - notFoundValue = null; - } - var /** @type {?} */ tokenKey$$1 = depDef.tokenKey; - if (tokenKey$$1 === ChangeDetectorRefTokenKey) { - // directives on the same element as a component should be able to control the change detector - // of that component as well. - allowPrivateServices = !!(elDef && /** @type {?} */ ((elDef.element)).componentView); - } - if (elDef && (depDef.flags & 1 /* SkipSelf */)) { - allowPrivateServices = false; - elDef = /** @type {?} */ ((elDef.parent)); - } - while (view) { - if (elDef) { - switch (tokenKey$$1) { - case RendererV1TokenKey: { - var /** @type {?} */ compView = findCompView(view, elDef, allowPrivateServices); - return createRendererV1(compView); - } - case Renderer2TokenKey: { - var /** @type {?} */ compView = findCompView(view, elDef, allowPrivateServices); - return compView.renderer; - } - case ElementRefTokenKey: - return new ElementRef(asElementData(view, elDef.nodeIndex).renderElement); - case ViewContainerRefTokenKey: - return asElementData(view, elDef.nodeIndex).viewContainer; - case TemplateRefTokenKey: { - if (/** @type {?} */ ((elDef.element)).template) { - return asElementData(view, elDef.nodeIndex).template; - } - break; - } - case ChangeDetectorRefTokenKey: { - var /** @type {?} */ cdView = findCompView(view, elDef, allowPrivateServices); - return createChangeDetectorRef(cdView); - } - case InjectorRefTokenKey: - return createInjector(view, elDef); - default: - var /** @type {?} */ providerDef_1 = /** @type {?} */ (((allowPrivateServices ? /** @type {?} */ ((elDef.element)).allProviders : /** @type {?} */ ((elDef.element)).publicProviders)))[tokenKey$$1]; - if (providerDef_1) { - var /** @type {?} */ providerData = asProviderData(view, providerDef_1.nodeIndex); - if (!providerData) { - providerData = { instance: _createProviderInstance(view, providerDef_1) }; - view.nodes[providerDef_1.nodeIndex] = /** @type {?} */ (providerData); - } - return providerData.instance; - } - } - } - allowPrivateServices = isComponentView(view); - elDef = /** @type {?} */ ((viewParentEl(view))); - view = /** @type {?} */ ((view.parent)); - } - var /** @type {?} */ value = startView.root.injector.get(depDef.token, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR); - if (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR || - notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) { - // Return the value from the root element injector when - // - it provides it - // (value !== NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) - // - the module injector should not be checked - // (notFoundValue === NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR) - return value; - } - return startView.root.ngModule.injector.get(depDef.token, notFoundValue); -} -/** - * @param {?} view - * @param {?} elDef - * @param {?} allowPrivateServices - * @return {?} - */ -function findCompView(view, elDef, allowPrivateServices) { - var /** @type {?} */ compView; - if (allowPrivateServices) { - compView = asElementData(view, elDef.nodeIndex).componentView; - } - else { - compView = view; - while (compView.parent && !isComponentView(compView)) { - compView = compView.parent; - } - } - return compView; -} -/** - * @param {?} view - * @param {?} providerData - * @param {?} def - * @param {?} bindingIdx - * @param {?} value - * @param {?} changes - * @return {?} - */ -function updateProp(view, providerData, def, bindingIdx, value, changes) { - if (def.flags & 32768 /* Component */) { - var /** @type {?} */ compView = asElementData(view, /** @type {?} */ ((def.parent)).nodeIndex).componentView; - if (compView.def.flags & 2 /* OnPush */) { - compView.state |= 8 /* ChecksEnabled */; - } - } - var /** @type {?} */ binding = def.bindings[bindingIdx]; - var /** @type {?} */ propName = /** @type {?} */ ((binding.name)); - // Note: This is still safe with Closure Compiler as - // the user passed in the property name as an object has to `providerDef`, - // so Closure Compiler will have renamed the property correctly already. - providerData.instance[propName] = value; - if (def.flags & 524288 /* OnChanges */) { - changes = changes || {}; - var /** @type {?} */ oldValue = view.oldValues[def.bindingIndex + bindingIdx]; - if (oldValue instanceof WrappedValue) { - oldValue = oldValue.wrapped; - } - var /** @type {?} */ binding_1 = def.bindings[bindingIdx]; - changes[/** @type {?} */ ((binding_1.nonMinifiedName))] = - new SimpleChange(oldValue, value, (view.state & 2 /* FirstCheck */) !== 0); - } - view.oldValues[def.bindingIndex + bindingIdx] = value; - return changes; -} -/** - * @param {?} view - * @param {?} lifecycles - * @return {?} - */ -function callLifecycleHooksChildrenFirst(view, lifecycles) { - if (!(view.def.nodeFlags & lifecycles)) { - return; - } - var /** @type {?} */ nodes = view.def.nodes; - for (var /** @type {?} */ i = 0; i < nodes.length; i++) { - var /** @type {?} */ nodeDef = nodes[i]; - var /** @type {?} */ parent_1 = nodeDef.parent; - if (!parent_1 && nodeDef.flags & lifecycles) { - // matching root node (e.g. a pipe) - callProviderLifecycles(view, i, nodeDef.flags & lifecycles); - } - if ((nodeDef.childFlags & lifecycles) === 0) { - // no child matches one of the lifecycles - i += nodeDef.childCount; - } - while (parent_1 && (parent_1.flags & 1 /* TypeElement */) && - i === parent_1.nodeIndex + parent_1.childCount) { - // last child of an element - if (parent_1.directChildFlags & lifecycles) { - callElementProvidersLifecycles(view, parent_1, lifecycles); - } - parent_1 = parent_1.parent; - } - } -} -/** - * @param {?} view - * @param {?} elDef - * @param {?} lifecycles - * @return {?} - */ -function callElementProvidersLifecycles(view, elDef, lifecycles) { - for (var /** @type {?} */ i = elDef.nodeIndex + 1; i <= elDef.nodeIndex + elDef.childCount; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if (nodeDef.flags & lifecycles) { - callProviderLifecycles(view, i, nodeDef.flags & lifecycles); - } - // only visit direct children - i += nodeDef.childCount; - } -} -/** - * @param {?} view - * @param {?} index - * @param {?} lifecycles - * @return {?} - */ -function callProviderLifecycles(view, index, lifecycles) { - var /** @type {?} */ providerData = asProviderData(view, index); - if (!providerData) { - return; - } - var /** @type {?} */ provider = providerData.instance; - if (!provider) { - return; - } - Services.setCurrentNode(view, index); - if (lifecycles & 1048576 /* AfterContentInit */) { - provider.ngAfterContentInit(); - } - if (lifecycles & 2097152 /* AfterContentChecked */) { - provider.ngAfterContentChecked(); - } - if (lifecycles & 4194304 /* AfterViewInit */) { - provider.ngAfterViewInit(); - } - if (lifecycles & 8388608 /* AfterViewChecked */) { - provider.ngAfterViewChecked(); - } - if (lifecycles & 131072 /* OnDestroy */) { - provider.ngOnDestroy(); - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} flags - * @param {?} id - * @param {?} bindings - * @return {?} - */ -function queryDef(flags, id, bindings) { - var /** @type {?} */ bindingDefs = []; - for (var /** @type {?} */ propName in bindings) { - var /** @type {?} */ bindingType = bindings[propName]; - bindingDefs.push({ propName: propName, bindingType: bindingType }); - } - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - // TODO(vicb): check - checkIndex: -1, flags: flags, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, - ngContentIndex: -1, - matchedQueries: {}, - matchedQueryIds: 0, - references: {}, - childCount: 0, - bindings: [], - bindingFlags: 0, - outputs: [], - element: null, - provider: null, - text: null, - query: { id: id, filterId: filterQueryId(id), bindings: bindingDefs }, - ngContent: null - }; -} -/** - * @return {?} - */ -function createQuery() { - return new QueryList(); -} -/** - * @param {?} view - * @return {?} - */ -function dirtyParentQueries(view) { - var /** @type {?} */ queryIds = view.def.nodeMatchedQueries; - while (view.parent && isEmbeddedView(view)) { - var /** @type {?} */ tplDef = /** @type {?} */ ((view.parentNodeDef)); - view = view.parent; - // content queries - var /** @type {?} */ end = tplDef.nodeIndex + tplDef.childCount; - for (var /** @type {?} */ i = 0; i <= end; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if ((nodeDef.flags & 67108864 /* TypeContentQuery */) && - (nodeDef.flags & 536870912 /* DynamicQuery */) && - (/** @type {?} */ ((nodeDef.query)).filterId & queryIds) === /** @type {?} */ ((nodeDef.query)).filterId) { - asQueryList(view, i).setDirty(); - } - if ((nodeDef.flags & 1 /* TypeElement */ && i + nodeDef.childCount < tplDef.nodeIndex) || - !(nodeDef.childFlags & 67108864 /* TypeContentQuery */) || - !(nodeDef.childFlags & 536870912 /* DynamicQuery */)) { - // skip elements that don't contain the template element or no query. - i += nodeDef.childCount; - } - } - } - // view queries - if (view.def.nodeFlags & 134217728 /* TypeViewQuery */) { - for (var /** @type {?} */ i = 0; i < view.def.nodes.length; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if ((nodeDef.flags & 134217728 /* TypeViewQuery */) && (nodeDef.flags & 536870912 /* DynamicQuery */)) { - asQueryList(view, i).setDirty(); - } - // only visit the root nodes - i += nodeDef.childCount; - } - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @return {?} - */ -function checkAndUpdateQuery(view, nodeDef) { - var /** @type {?} */ queryList = asQueryList(view, nodeDef.nodeIndex); - if (!queryList.dirty) { - return; - } - var /** @type {?} */ directiveInstance; - var /** @type {?} */ newValues = /** @type {?} */ ((undefined)); - if (nodeDef.flags & 67108864 /* TypeContentQuery */) { - var /** @type {?} */ elementDef = /** @type {?} */ ((/** @type {?} */ ((nodeDef.parent)).parent)); - newValues = calcQueryValues(view, elementDef.nodeIndex, elementDef.nodeIndex + elementDef.childCount, /** @type {?} */ ((nodeDef.query)), []); - directiveInstance = asProviderData(view, /** @type {?} */ ((nodeDef.parent)).nodeIndex).instance; - } - else if (nodeDef.flags & 134217728 /* TypeViewQuery */) { - newValues = calcQueryValues(view, 0, view.def.nodes.length - 1, /** @type {?} */ ((nodeDef.query)), []); - directiveInstance = view.component; - } - queryList.reset(newValues); - var /** @type {?} */ bindings = /** @type {?} */ ((nodeDef.query)).bindings; - var /** @type {?} */ notify = false; - for (var /** @type {?} */ i = 0; i < bindings.length; i++) { - var /** @type {?} */ binding = bindings[i]; - var /** @type {?} */ boundValue = void 0; - switch (binding.bindingType) { - case 0 /* First */: - boundValue = queryList.first; - break; - case 1 /* All */: - boundValue = queryList; - notify = true; - break; - } - directiveInstance[binding.propName] = boundValue; - } - if (notify) { - queryList.notifyOnChanges(); - } -} -/** - * @param {?} view - * @param {?} startIndex - * @param {?} endIndex - * @param {?} queryDef - * @param {?} values - * @return {?} - */ -function calcQueryValues(view, startIndex, endIndex, queryDef, values) { - for (var /** @type {?} */ i = startIndex; i <= endIndex; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - var /** @type {?} */ valueType = nodeDef.matchedQueries[queryDef.id]; - if (valueType != null) { - values.push(getQueryValue(view, nodeDef, valueType)); - } - if (nodeDef.flags & 1 /* TypeElement */ && /** @type {?} */ ((nodeDef.element)).template && - (/** @type {?} */ ((/** @type {?} */ ((nodeDef.element)).template)).nodeMatchedQueries & queryDef.filterId) === - queryDef.filterId) { - var /** @type {?} */ elementData = asElementData(view, i); - // check embedded views that were attached at the place of their template, - // but process child nodes first if some match the query (see issue #16568) - if ((nodeDef.childMatchedQueries & queryDef.filterId) === queryDef.filterId) { - calcQueryValues(view, i + 1, i + nodeDef.childCount, queryDef, values); - i += nodeDef.childCount; - } - if (nodeDef.flags & 16777216 /* EmbeddedViews */) { - var /** @type {?} */ embeddedViews = /** @type {?} */ ((elementData.viewContainer))._embeddedViews; - for (var /** @type {?} */ k = 0; k < embeddedViews.length; k++) { - var /** @type {?} */ embeddedView = embeddedViews[k]; - var /** @type {?} */ dvc = declaredViewContainer(embeddedView); - if (dvc && dvc === elementData) { - calcQueryValues(embeddedView, 0, embeddedView.def.nodes.length - 1, queryDef, values); - } - } - } - var /** @type {?} */ projectedViews = elementData.template._projectedViews; - if (projectedViews) { - for (var /** @type {?} */ k = 0; k < projectedViews.length; k++) { - var /** @type {?} */ projectedView = projectedViews[k]; - calcQueryValues(projectedView, 0, projectedView.def.nodes.length - 1, queryDef, values); - } - } - } - if ((nodeDef.childMatchedQueries & queryDef.filterId) !== queryDef.filterId) { - // if no child matches the query, skip the children. - i += nodeDef.childCount; - } - } - return values; -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} queryValueType - * @return {?} - */ -function getQueryValue(view, nodeDef, queryValueType) { - if (queryValueType != null) { - // a match - switch (queryValueType) { - case 1 /* RenderElement */: - return asElementData(view, nodeDef.nodeIndex).renderElement; - case 0 /* ElementRef */: - return new ElementRef(asElementData(view, nodeDef.nodeIndex).renderElement); - case 2 /* TemplateRef */: - return asElementData(view, nodeDef.nodeIndex).template; - case 3 /* ViewContainerRef */: - return asElementData(view, nodeDef.nodeIndex).viewContainer; - case 4 /* Provider */: - return asProviderData(view, nodeDef.nodeIndex).instance; - } - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @param {?} ngContentIndex - * @param {?} index - * @return {?} - */ -function ngContentDef(ngContentIndex, index) { - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - checkIndex: -1, - flags: 8 /* TypeNgContent */, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, - matchedQueries: {}, - matchedQueryIds: 0, - references: {}, ngContentIndex: ngContentIndex, - childCount: 0, - bindings: [], - bindingFlags: 0, - outputs: [], - element: null, - provider: null, - text: null, - query: null, - ngContent: { index: index } - }; -} -/** - * @param {?} view - * @param {?} renderHost - * @param {?} def - * @return {?} - */ -function appendNgContent(view, renderHost, def) { - var /** @type {?} */ parentEl = getParentRenderElement(view, renderHost, def); - if (!parentEl) { - // Nothing to do if there is no parent element. - return; - } - var /** @type {?} */ ngContentIndex = /** @type {?} */ ((def.ngContent)).index; - visitProjectedRenderNodes(view, ngContentIndex, 1 /* AppendChild */, parentEl, null, undefined); -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} checkIndex - * @param {?} argCount - * @return {?} - */ -function purePipeDef(checkIndex, argCount) { - // argCount + 1 to include the pipe as first arg - return _pureExpressionDef(128 /* TypePurePipe */, checkIndex, new Array(argCount + 1)); -} -/** - * @param {?} checkIndex - * @param {?} argCount - * @return {?} - */ -function pureArrayDef(checkIndex, argCount) { - return _pureExpressionDef(32 /* TypePureArray */, checkIndex, new Array(argCount)); -} -/** - * @param {?} checkIndex - * @param {?} propToIndex - * @return {?} - */ -function pureObjectDef(checkIndex, propToIndex) { - var /** @type {?} */ keys = Object.keys(propToIndex); - var /** @type {?} */ nbKeys = keys.length; - var /** @type {?} */ propertyNames = new Array(nbKeys); - for (var /** @type {?} */ i = 0; i < nbKeys; i++) { - var /** @type {?} */ key = keys[i]; - var /** @type {?} */ index = propToIndex[key]; - propertyNames[index] = key; - } - return _pureExpressionDef(64 /* TypePureObject */, checkIndex, propertyNames); -} -/** - * @param {?} flags - * @param {?} checkIndex - * @param {?} propertyNames - * @return {?} - */ -function _pureExpressionDef(flags, checkIndex, propertyNames) { - var /** @type {?} */ bindings = new Array(propertyNames.length); - for (var /** @type {?} */ i = 0; i < propertyNames.length; i++) { - var /** @type {?} */ prop = propertyNames[i]; - bindings[i] = { - flags: 8 /* TypeProperty */, - name: prop, - ns: null, - nonMinifiedName: prop, - securityContext: null, - suffix: null - }; - } - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - checkIndex: checkIndex, - flags: flags, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, - matchedQueries: {}, - matchedQueryIds: 0, - references: {}, - ngContentIndex: -1, - childCount: 0, bindings: bindings, - bindingFlags: calcBindingFlags(bindings), - outputs: [], - element: null, - provider: null, - text: null, - query: null, - ngContent: null - }; -} -/** - * @param {?} view - * @param {?} def - * @return {?} - */ -function createPureExpression(view, def) { - return { value: undefined }; -} -/** - * @param {?} view - * @param {?} def - * @param {?} v0 - * @param {?} v1 - * @param {?} v2 - * @param {?} v3 - * @param {?} v4 - * @param {?} v5 - * @param {?} v6 - * @param {?} v7 - * @param {?} v8 - * @param {?} v9 - * @return {?} - */ -function checkAndUpdatePureExpressionInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ bindings = def.bindings; - var /** @type {?} */ changed = false; - var /** @type {?} */ bindLen = bindings.length; - if (bindLen > 0 && checkAndUpdateBinding(view, def, 0, v0)) - changed = true; - if (bindLen > 1 && checkAndUpdateBinding(view, def, 1, v1)) - changed = true; - if (bindLen > 2 && checkAndUpdateBinding(view, def, 2, v2)) - changed = true; - if (bindLen > 3 && checkAndUpdateBinding(view, def, 3, v3)) - changed = true; - if (bindLen > 4 && checkAndUpdateBinding(view, def, 4, v4)) - changed = true; - if (bindLen > 5 && checkAndUpdateBinding(view, def, 5, v5)) - changed = true; - if (bindLen > 6 && checkAndUpdateBinding(view, def, 6, v6)) - changed = true; - if (bindLen > 7 && checkAndUpdateBinding(view, def, 7, v7)) - changed = true; - if (bindLen > 8 && checkAndUpdateBinding(view, def, 8, v8)) - changed = true; - if (bindLen > 9 && checkAndUpdateBinding(view, def, 9, v9)) - changed = true; - if (changed) { - var /** @type {?} */ data = asPureExpressionData(view, def.nodeIndex); - var /** @type {?} */ value = void 0; - switch (def.flags & 201347067 /* Types */) { - case 32 /* TypePureArray */: - value = new Array(bindings.length); - if (bindLen > 0) - value[0] = v0; - if (bindLen > 1) - value[1] = v1; - if (bindLen > 2) - value[2] = v2; - if (bindLen > 3) - value[3] = v3; - if (bindLen > 4) - value[4] = v4; - if (bindLen > 5) - value[5] = v5; - if (bindLen > 6) - value[6] = v6; - if (bindLen > 7) - value[7] = v7; - if (bindLen > 8) - value[8] = v8; - if (bindLen > 9) - value[9] = v9; - break; - case 64 /* TypePureObject */: - value = {}; - if (bindLen > 0) - value[/** @type {?} */ ((bindings[0].name))] = v0; - if (bindLen > 1) - value[/** @type {?} */ ((bindings[1].name))] = v1; - if (bindLen > 2) - value[/** @type {?} */ ((bindings[2].name))] = v2; - if (bindLen > 3) - value[/** @type {?} */ ((bindings[3].name))] = v3; - if (bindLen > 4) - value[/** @type {?} */ ((bindings[4].name))] = v4; - if (bindLen > 5) - value[/** @type {?} */ ((bindings[5].name))] = v5; - if (bindLen > 6) - value[/** @type {?} */ ((bindings[6].name))] = v6; - if (bindLen > 7) - value[/** @type {?} */ ((bindings[7].name))] = v7; - if (bindLen > 8) - value[/** @type {?} */ ((bindings[8].name))] = v8; - if (bindLen > 9) - value[/** @type {?} */ ((bindings[9].name))] = v9; - break; - case 128 /* TypePurePipe */: - var /** @type {?} */ pipe = v0; - switch (bindLen) { - case 1: - value = pipe.transform(v0); - break; - case 2: - value = pipe.transform(v1); - break; - case 3: - value = pipe.transform(v1, v2); - break; - case 4: - value = pipe.transform(v1, v2, v3); - break; - case 5: - value = pipe.transform(v1, v2, v3, v4); - break; - case 6: - value = pipe.transform(v1, v2, v3, v4, v5); - break; - case 7: - value = pipe.transform(v1, v2, v3, v4, v5, v6); - break; - case 8: - value = pipe.transform(v1, v2, v3, v4, v5, v6, v7); - break; - case 9: - value = pipe.transform(v1, v2, v3, v4, v5, v6, v7, v8); - break; - case 10: - value = pipe.transform(v1, v2, v3, v4, v5, v6, v7, v8, v9); - break; - } - break; - } - data.value = value; - } - return changed; -} -/** - * @param {?} view - * @param {?} def - * @param {?} values - * @return {?} - */ -function checkAndUpdatePureExpressionDynamic(view, def, values) { - var /** @type {?} */ bindings = def.bindings; - var /** @type {?} */ changed = false; - for (var /** @type {?} */ i = 0; i < values.length; i++) { - // Note: We need to loop over all values, so that - // the old values are updates as well! - if (checkAndUpdateBinding(view, def, i, values[i])) { - changed = true; - } - } - if (changed) { - var /** @type {?} */ data = asPureExpressionData(view, def.nodeIndex); - var /** @type {?} */ value = void 0; - switch (def.flags & 201347067 /* Types */) { - case 32 /* TypePureArray */: - value = values; - break; - case 64 /* TypePureObject */: - value = {}; - for (var /** @type {?} */ i = 0; i < values.length; i++) { - value[/** @type {?} */ ((bindings[i].name))] = values[i]; - } - break; - case 128 /* TypePurePipe */: - var /** @type {?} */ pipe = values[0]; - var /** @type {?} */ params = values.slice(1); - value = pipe.transform.apply(pipe, params); - break; - } - data.value = value; - } - return changed; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} checkIndex - * @param {?} ngContentIndex - * @param {?} staticText - * @return {?} - */ -function textDef(checkIndex, ngContentIndex, staticText) { - var /** @type {?} */ bindings = new Array(staticText.length - 1); - for (var /** @type {?} */ i = 1; i < staticText.length; i++) { - bindings[i - 1] = { - flags: 8 /* TypeProperty */, - name: null, - ns: null, - nonMinifiedName: null, - securityContext: null, - suffix: staticText[i], - }; - } - return { - // will bet set by the view definition - nodeIndex: -1, - parent: null, - renderParent: null, - bindingIndex: -1, - outputIndex: -1, - // regular values - checkIndex: checkIndex, - flags: 2 /* TypeText */, - childFlags: 0, - directChildFlags: 0, - childMatchedQueries: 0, - matchedQueries: {}, - matchedQueryIds: 0, - references: {}, ngContentIndex: ngContentIndex, - childCount: 0, bindings: bindings, - bindingFlags: 8 /* TypeProperty */, - outputs: [], - element: null, - provider: null, - text: { prefix: staticText[0] }, - query: null, - ngContent: null, - }; -} -/** - * @param {?} view - * @param {?} renderHost - * @param {?} def - * @return {?} - */ -function createText(view, renderHost, def) { - var /** @type {?} */ renderNode$$1; - var /** @type {?} */ renderer = view.renderer; - renderNode$$1 = renderer.createText(/** @type {?} */ ((def.text)).prefix); - var /** @type {?} */ parentEl = getParentRenderElement(view, renderHost, def); - if (parentEl) { - renderer.appendChild(parentEl, renderNode$$1); - } - return { renderText: renderNode$$1 }; -} -/** - * @param {?} view - * @param {?} def - * @param {?} v0 - * @param {?} v1 - * @param {?} v2 - * @param {?} v3 - * @param {?} v4 - * @param {?} v5 - * @param {?} v6 - * @param {?} v7 - * @param {?} v8 - * @param {?} v9 - * @return {?} - */ -function checkAndUpdateTextInline(view, def, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ changed = false; - var /** @type {?} */ bindings = def.bindings; - var /** @type {?} */ bindLen = bindings.length; - if (bindLen > 0 && checkAndUpdateBinding(view, def, 0, v0)) - changed = true; - if (bindLen > 1 && checkAndUpdateBinding(view, def, 1, v1)) - changed = true; - if (bindLen > 2 && checkAndUpdateBinding(view, def, 2, v2)) - changed = true; - if (bindLen > 3 && checkAndUpdateBinding(view, def, 3, v3)) - changed = true; - if (bindLen > 4 && checkAndUpdateBinding(view, def, 4, v4)) - changed = true; - if (bindLen > 5 && checkAndUpdateBinding(view, def, 5, v5)) - changed = true; - if (bindLen > 6 && checkAndUpdateBinding(view, def, 6, v6)) - changed = true; - if (bindLen > 7 && checkAndUpdateBinding(view, def, 7, v7)) - changed = true; - if (bindLen > 8 && checkAndUpdateBinding(view, def, 8, v8)) - changed = true; - if (bindLen > 9 && checkAndUpdateBinding(view, def, 9, v9)) - changed = true; - if (changed) { - var /** @type {?} */ value = /** @type {?} */ ((def.text)).prefix; - if (bindLen > 0) - value += _addInterpolationPart(v0, bindings[0]); - if (bindLen > 1) - value += _addInterpolationPart(v1, bindings[1]); - if (bindLen > 2) - value += _addInterpolationPart(v2, bindings[2]); - if (bindLen > 3) - value += _addInterpolationPart(v3, bindings[3]); - if (bindLen > 4) - value += _addInterpolationPart(v4, bindings[4]); - if (bindLen > 5) - value += _addInterpolationPart(v5, bindings[5]); - if (bindLen > 6) - value += _addInterpolationPart(v6, bindings[6]); - if (bindLen > 7) - value += _addInterpolationPart(v7, bindings[7]); - if (bindLen > 8) - value += _addInterpolationPart(v8, bindings[8]); - if (bindLen > 9) - value += _addInterpolationPart(v9, bindings[9]); - var /** @type {?} */ renderNode$$1 = asTextData(view, def.nodeIndex).renderText; - view.renderer.setValue(renderNode$$1, value); - } - return changed; -} -/** - * @param {?} view - * @param {?} def - * @param {?} values - * @return {?} - */ -function checkAndUpdateTextDynamic(view, def, values) { - var /** @type {?} */ bindings = def.bindings; - var /** @type {?} */ changed = false; - for (var /** @type {?} */ i = 0; i < values.length; i++) { - // Note: We need to loop over all values, so that - // the old values are updates as well! - if (checkAndUpdateBinding(view, def, i, values[i])) { - changed = true; - } - } - if (changed) { - var /** @type {?} */ value = ''; - for (var /** @type {?} */ i = 0; i < values.length; i++) { - value = value + _addInterpolationPart(values[i], bindings[i]); - } - value = /** @type {?} */ ((def.text)).prefix + value; - var /** @type {?} */ renderNode$$1 = asTextData(view, def.nodeIndex).renderText; - view.renderer.setValue(renderNode$$1, value); - } - return changed; -} -/** - * @param {?} value - * @param {?} binding - * @return {?} - */ -function _addInterpolationPart(value, binding) { - var /** @type {?} */ valueStr = value != null ? value.toString() : ''; - return valueStr + binding.suffix; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @param {?} flags - * @param {?} nodes - * @param {?=} updateDirectives - * @param {?=} updateRenderer - * @return {?} - */ -function viewDef(flags, nodes, updateDirectives, updateRenderer) { - // clone nodes and set auto calculated values - var /** @type {?} */ viewBindingCount = 0; - var /** @type {?} */ viewDisposableCount = 0; - var /** @type {?} */ viewNodeFlags = 0; - var /** @type {?} */ viewRootNodeFlags = 0; - var /** @type {?} */ viewMatchedQueries = 0; - var /** @type {?} */ currentParent = null; - var /** @type {?} */ currentRenderParent = null; - var /** @type {?} */ currentElementHasPublicProviders = false; - var /** @type {?} */ currentElementHasPrivateProviders = false; - var /** @type {?} */ lastRenderRootNode = null; - for (var /** @type {?} */ i = 0; i < nodes.length; i++) { - var /** @type {?} */ node = nodes[i]; - node.nodeIndex = i; - node.parent = currentParent; - node.bindingIndex = viewBindingCount; - node.outputIndex = viewDisposableCount; - node.renderParent = currentRenderParent; - viewNodeFlags |= node.flags; - viewMatchedQueries |= node.matchedQueryIds; - if (node.element) { - var /** @type {?} */ elDef = node.element; - elDef.publicProviders = - currentParent ? /** @type {?} */ ((currentParent.element)).publicProviders : Object.create(null); - elDef.allProviders = elDef.publicProviders; - // Note: We assume that all providers of an element are before any child element! - currentElementHasPublicProviders = false; - currentElementHasPrivateProviders = false; - if (node.element.template) { - viewMatchedQueries |= node.element.template.nodeMatchedQueries; - } - } - validateNode(currentParent, node, nodes.length); - viewBindingCount += node.bindings.length; - viewDisposableCount += node.outputs.length; - if (!currentRenderParent && (node.flags & 3 /* CatRenderNode */)) { - lastRenderRootNode = node; - } - if (node.flags & 20224 /* CatProvider */) { - if (!currentElementHasPublicProviders) { - currentElementHasPublicProviders = true; /** @type {?} */ - ((/** @type {?} */ ((currentParent)).element)).publicProviders = Object.create(/** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).publicProviders); /** @type {?} */ - ((/** @type {?} */ ((currentParent)).element)).allProviders = /** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).publicProviders; - } - var /** @type {?} */ isPrivateService = (node.flags & 8192 /* PrivateProvider */) !== 0; - var /** @type {?} */ isComponent = (node.flags & 32768 /* Component */) !== 0; - if (!isPrivateService || isComponent) { - /** @type {?} */ ((/** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).publicProviders))[tokenKey(/** @type {?} */ ((node.provider)).token)] = node; - } - else { - if (!currentElementHasPrivateProviders) { - currentElementHasPrivateProviders = true; /** @type {?} */ - ((/** @type {?} */ ((currentParent)).element)).allProviders = Object.create(/** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).publicProviders); - } /** @type {?} */ - ((/** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).allProviders))[tokenKey(/** @type {?} */ ((node.provider)).token)] = node; - } - if (isComponent) { - /** @type {?} */ ((/** @type {?} */ ((currentParent)).element)).componentProvider = node; - } - } - if (currentParent) { - currentParent.childFlags |= node.flags; - currentParent.directChildFlags |= node.flags; - currentParent.childMatchedQueries |= node.matchedQueryIds; - if (node.element && node.element.template) { - currentParent.childMatchedQueries |= node.element.template.nodeMatchedQueries; - } - } - else { - viewRootNodeFlags |= node.flags; - } - if (node.childCount > 0) { - currentParent = node; - if (!isNgContainer(node)) { - currentRenderParent = node; - } - } - else { - // When the current node has no children, check if it is the last children of its parent. - // When it is, propagate the flags up. - // The loop is required because an element could be the last transitive children of several - // elements. We loop to either the root or the highest opened element (= with remaining - // children) - while (currentParent && i === currentParent.nodeIndex + currentParent.childCount) { - var /** @type {?} */ newParent = currentParent.parent; - if (newParent) { - newParent.childFlags |= currentParent.childFlags; - newParent.childMatchedQueries |= currentParent.childMatchedQueries; - } - currentParent = newParent; - // We also need to update the render parent & account for ng-container - if (currentParent && isNgContainer(currentParent)) { - currentRenderParent = currentParent.renderParent; - } - else { - currentRenderParent = currentParent; - } - } - } - } - var /** @type {?} */ handleEvent = function (view, nodeIndex, eventName, event) { return /** @type {?} */ ((/** @type {?} */ ((nodes[nodeIndex].element)).handleEvent))(view, eventName, event); }; - return { - // Will be filled later... - factory: null, - nodeFlags: viewNodeFlags, - rootNodeFlags: viewRootNodeFlags, - nodeMatchedQueries: viewMatchedQueries, flags: flags, - nodes: nodes, - updateDirectives: updateDirectives || NOOP, - updateRenderer: updateRenderer || NOOP, handleEvent: handleEvent, - bindingCount: viewBindingCount, - outputCount: viewDisposableCount, lastRenderRootNode: lastRenderRootNode - }; -} -/** - * @param {?} node - * @return {?} - */ -function isNgContainer(node) { - return (node.flags & 1 /* TypeElement */) !== 0 && /** @type {?} */ ((node.element)).name === null; -} -/** - * @param {?} parent - * @param {?} node - * @param {?} nodeCount - * @return {?} - */ -function validateNode(parent, node, nodeCount) { - var /** @type {?} */ template = node.element && node.element.template; - if (template) { - if (!template.lastRenderRootNode) { - throw new Error("Illegal State: Embedded templates without nodes are not allowed!"); - } - if (template.lastRenderRootNode && - template.lastRenderRootNode.flags & 16777216 /* EmbeddedViews */) { - throw new Error("Illegal State: Last root node of a template can't have embedded views, at index " + node.nodeIndex + "!"); - } - } - if (node.flags & 20224 /* CatProvider */) { - var /** @type {?} */ parentFlags = parent ? parent.flags : 0; - if ((parentFlags & 1 /* TypeElement */) === 0) { - throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index " + node.nodeIndex + "!"); - } - } - if (node.query) { - if (node.flags & 67108864 /* TypeContentQuery */ && - (!parent || (parent.flags & 16384 /* TypeDirective */) === 0)) { - throw new Error("Illegal State: Content Query nodes need to be children of directives, at index " + node.nodeIndex + "!"); - } - if (node.flags & 134217728 /* TypeViewQuery */ && parent) { - throw new Error("Illegal State: View Query nodes have to be top level nodes, at index " + node.nodeIndex + "!"); - } - } - if (node.childCount) { - var /** @type {?} */ parentEnd = parent ? parent.nodeIndex + parent.childCount : nodeCount - 1; - if (node.nodeIndex <= parentEnd && node.nodeIndex + node.childCount > parentEnd) { - throw new Error("Illegal State: childCount of node leads outside of parent, at index " + node.nodeIndex + "!"); - } - } -} -/** - * @param {?} parent - * @param {?} anchorDef - * @param {?} viewDef - * @param {?=} context - * @return {?} - */ -function createEmbeddedView(parent, anchorDef$$1, viewDef, context) { - // embedded views are seen as siblings to the anchor, so we need - // to get the parent of the anchor and use it as parentIndex. - var /** @type {?} */ view = createView(parent.root, parent.renderer, parent, anchorDef$$1, viewDef); - initView(view, parent.component, context); - createViewNodes(view); - return view; -} -/** - * @param {?} root - * @param {?} def - * @param {?=} context - * @return {?} - */ -function createRootView(root, def, context) { - var /** @type {?} */ view = createView(root, root.renderer, null, null, def); - initView(view, context, context); - createViewNodes(view); - return view; -} -/** - * @param {?} parentView - * @param {?} nodeDef - * @param {?} viewDef - * @param {?} hostElement - * @return {?} - */ -function createComponentView(parentView, nodeDef, viewDef, hostElement) { - var /** @type {?} */ rendererType = /** @type {?} */ ((nodeDef.element)).componentRendererType; - var /** @type {?} */ compRenderer; - if (!rendererType) { - compRenderer = parentView.root.renderer; - } - else { - compRenderer = parentView.root.rendererFactory.createRenderer(hostElement, rendererType); - } - return createView(parentView.root, compRenderer, parentView, /** @type {?} */ ((nodeDef.element)).componentProvider, viewDef); -} -/** - * @param {?} root - * @param {?} renderer - * @param {?} parent - * @param {?} parentNodeDef - * @param {?} def - * @return {?} - */ -function createView(root, renderer, parent, parentNodeDef, def) { - var /** @type {?} */ nodes = new Array(def.nodes.length); - var /** @type {?} */ disposables = def.outputCount ? new Array(def.outputCount) : null; - var /** @type {?} */ view = { - def: def, - parent: parent, - viewContainerParent: null, parentNodeDef: parentNodeDef, - context: null, - component: null, nodes: nodes, - state: 13 /* CatInit */, root: root, renderer: renderer, - oldValues: new Array(def.bindingCount), disposables: disposables - }; - return view; -} -/** - * @param {?} view - * @param {?} component - * @param {?} context - * @return {?} - */ -function initView(view, component, context) { - view.component = component; - view.context = context; -} -/** - * @param {?} view - * @return {?} - */ -function createViewNodes(view) { - var /** @type {?} */ renderHost; - if (isComponentView(view)) { - var /** @type {?} */ hostDef = view.parentNodeDef; - renderHost = asElementData(/** @type {?} */ ((view.parent)), /** @type {?} */ ((/** @type {?} */ ((hostDef)).parent)).nodeIndex).renderElement; - } - var /** @type {?} */ def = view.def; - var /** @type {?} */ nodes = view.nodes; - for (var /** @type {?} */ i = 0; i < def.nodes.length; i++) { - var /** @type {?} */ nodeDef = def.nodes[i]; - Services.setCurrentNode(view, i); - var /** @type {?} */ nodeData = void 0; - switch (nodeDef.flags & 201347067 /* Types */) { - case 1 /* TypeElement */: - var /** @type {?} */ el = /** @type {?} */ (createElement(view, renderHost, nodeDef)); - var /** @type {?} */ componentView = /** @type {?} */ ((undefined)); - if (nodeDef.flags & 33554432 /* ComponentView */) { - var /** @type {?} */ compViewDef = resolveDefinition(/** @type {?} */ ((/** @type {?} */ ((nodeDef.element)).componentView))); - componentView = Services.createComponentView(view, nodeDef, compViewDef, el); - } - listenToElementOutputs(view, componentView, nodeDef, el); - nodeData = /** @type {?} */ ({ - renderElement: el, - componentView: componentView, - viewContainer: null, - template: /** @type {?} */ ((nodeDef.element)).template ? createTemplateData(view, nodeDef) : undefined - }); - if (nodeDef.flags & 16777216 /* EmbeddedViews */) { - nodeData.viewContainer = createViewContainerData(view, nodeDef, nodeData); - } - break; - case 2 /* TypeText */: - nodeData = /** @type {?} */ (createText(view, renderHost, nodeDef)); - break; - case 512 /* TypeClassProvider */: - case 1024 /* TypeFactoryProvider */: - case 2048 /* TypeUseExistingProvider */: - case 256 /* TypeValueProvider */: { - nodeData = nodes[i]; - if (!nodeData && !(nodeDef.flags & 4096 /* LazyProvider */)) { - var /** @type {?} */ instance = createProviderInstance(view, nodeDef); - nodeData = /** @type {?} */ ({ instance: instance }); - } - break; - } - case 16 /* TypePipe */: { - var /** @type {?} */ instance = createPipeInstance(view, nodeDef); - nodeData = /** @type {?} */ ({ instance: instance }); - break; - } - case 16384 /* TypeDirective */: { - nodeData = nodes[i]; - if (!nodeData) { - var /** @type {?} */ instance = createDirectiveInstance(view, nodeDef); - nodeData = /** @type {?} */ ({ instance: instance }); - } - if (nodeDef.flags & 32768 /* Component */) { - var /** @type {?} */ compView = asElementData(view, /** @type {?} */ ((nodeDef.parent)).nodeIndex).componentView; - initView(compView, nodeData.instance, nodeData.instance); - } - break; - } - case 32 /* TypePureArray */: - case 64 /* TypePureObject */: - case 128 /* TypePurePipe */: - nodeData = /** @type {?} */ (createPureExpression(view, nodeDef)); - break; - case 67108864 /* TypeContentQuery */: - case 134217728 /* TypeViewQuery */: - nodeData = /** @type {?} */ (createQuery()); - break; - case 8 /* TypeNgContent */: - appendNgContent(view, renderHost, nodeDef); - // no runtime data needed for NgContent... - nodeData = undefined; - break; - } - nodes[i] = nodeData; - } - // Create the ViewData.nodes of component views after we created everything else, - // so that e.g. ng-content works - execComponentViewsAction(view, ViewAction.CreateViewNodes); - // fill static content and view queries - execQueriesAction(view, 67108864 /* TypeContentQuery */ | 134217728 /* TypeViewQuery */, 268435456 /* StaticQuery */, 0 /* CheckAndUpdate */); -} -/** - * @param {?} view - * @return {?} - */ -function checkNoChangesView(view) { - markProjectedViewsForCheck(view); - Services.updateDirectives(view, 1 /* CheckNoChanges */); - execEmbeddedViewsAction(view, ViewAction.CheckNoChanges); - Services.updateRenderer(view, 1 /* CheckNoChanges */); - execComponentViewsAction(view, ViewAction.CheckNoChanges); - // Note: We don't check queries for changes as we didn't do this in v2.x. - // TODO(tbosch): investigate if we can enable the check again in v5.x with a nicer error message. - view.state &= ~(64 /* CheckProjectedViews */ | 32 /* CheckProjectedView */); -} -/** - * @param {?} view - * @return {?} - */ -function checkAndUpdateView(view) { - if (view.state & 1 /* BeforeFirstCheck */) { - view.state &= ~1 /* BeforeFirstCheck */; - view.state |= 2 /* FirstCheck */; - } - else { - view.state &= ~2 /* FirstCheck */; - } - markProjectedViewsForCheck(view); - Services.updateDirectives(view, 0 /* CheckAndUpdate */); - execEmbeddedViewsAction(view, ViewAction.CheckAndUpdate); - execQueriesAction(view, 67108864 /* TypeContentQuery */, 536870912 /* DynamicQuery */, 0 /* CheckAndUpdate */); - callLifecycleHooksChildrenFirst(view, 2097152 /* AfterContentChecked */ | - (view.state & 2 /* FirstCheck */ ? 1048576 /* AfterContentInit */ : 0)); - Services.updateRenderer(view, 0 /* CheckAndUpdate */); - execComponentViewsAction(view, ViewAction.CheckAndUpdate); - execQueriesAction(view, 134217728 /* TypeViewQuery */, 536870912 /* DynamicQuery */, 0 /* CheckAndUpdate */); - callLifecycleHooksChildrenFirst(view, 8388608 /* AfterViewChecked */ | - (view.state & 2 /* FirstCheck */ ? 4194304 /* AfterViewInit */ : 0)); - if (view.def.flags & 2 /* OnPush */) { - view.state &= ~8 /* ChecksEnabled */; - } - view.state &= ~(64 /* CheckProjectedViews */ | 32 /* CheckProjectedView */); -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} argStyle - * @param {?=} v0 - * @param {?=} v1 - * @param {?=} v2 - * @param {?=} v3 - * @param {?=} v4 - * @param {?=} v5 - * @param {?=} v6 - * @param {?=} v7 - * @param {?=} v8 - * @param {?=} v9 - * @return {?} - */ -function checkAndUpdateNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - if (argStyle === 0 /* Inline */) { - return checkAndUpdateNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - } - else { - return checkAndUpdateNodeDynamic(view, nodeDef, v0); - } -} -/** - * @param {?} view - * @return {?} - */ -function markProjectedViewsForCheck(view) { - var /** @type {?} */ def = view.def; - if (!(def.nodeFlags & 4 /* ProjectedTemplate */)) { - return; - } - for (var /** @type {?} */ i = 0; i < def.nodes.length; i++) { - var /** @type {?} */ nodeDef = def.nodes[i]; - if (nodeDef.flags & 4 /* ProjectedTemplate */) { - var /** @type {?} */ projectedViews = asElementData(view, i).template._projectedViews; - if (projectedViews) { - for (var /** @type {?} */ i_1 = 0; i_1 < projectedViews.length; i_1++) { - var /** @type {?} */ projectedView = projectedViews[i_1]; - projectedView.state |= 32 /* CheckProjectedView */; - markParentViewsForCheckProjectedViews(projectedView, view); - } - } - } - else if ((nodeDef.childFlags & 4 /* ProjectedTemplate */) === 0) { - // a parent with leafs - // no child is a component, - // then skip the children - i += nodeDef.childCount; - } - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?=} v0 - * @param {?=} v1 - * @param {?=} v2 - * @param {?=} v3 - * @param {?=} v4 - * @param {?=} v5 - * @param {?=} v6 - * @param {?=} v7 - * @param {?=} v8 - * @param {?=} v9 - * @return {?} - */ -function checkAndUpdateNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - switch (nodeDef.flags & 201347067 /* Types */) { - case 1 /* TypeElement */: - return checkAndUpdateElementInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - case 2 /* TypeText */: - return checkAndUpdateTextInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - case 16384 /* TypeDirective */: - return checkAndUpdateDirectiveInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - case 32 /* TypePureArray */: - case 64 /* TypePureObject */: - case 128 /* TypePurePipe */: - return checkAndUpdatePureExpressionInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - default: - throw 'unreachable'; - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} values - * @return {?} - */ -function checkAndUpdateNodeDynamic(view, nodeDef, values) { - switch (nodeDef.flags & 201347067 /* Types */) { - case 1 /* TypeElement */: - return checkAndUpdateElementDynamic(view, nodeDef, values); - case 2 /* TypeText */: - return checkAndUpdateTextDynamic(view, nodeDef, values); - case 16384 /* TypeDirective */: - return checkAndUpdateDirectiveDynamic(view, nodeDef, values); - case 32 /* TypePureArray */: - case 64 /* TypePureObject */: - case 128 /* TypePurePipe */: - return checkAndUpdatePureExpressionDynamic(view, nodeDef, values); - default: - throw 'unreachable'; - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} argStyle - * @param {?=} v0 - * @param {?=} v1 - * @param {?=} v2 - * @param {?=} v3 - * @param {?=} v4 - * @param {?=} v5 - * @param {?=} v6 - * @param {?=} v7 - * @param {?=} v8 - * @param {?=} v9 - * @return {?} - */ -function checkNoChangesNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - if (argStyle === 0 /* Inline */) { - checkNoChangesNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - } - else { - checkNoChangesNodeDynamic(view, nodeDef, v0); - } - // Returning false is ok here as we would have thrown in case of a change. - return false; -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} v0 - * @param {?} v1 - * @param {?} v2 - * @param {?} v3 - * @param {?} v4 - * @param {?} v5 - * @param {?} v6 - * @param {?} v7 - * @param {?} v8 - * @param {?} v9 - * @return {?} - */ -function checkNoChangesNodeInline(view, nodeDef, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ bindLen = nodeDef.bindings.length; - if (bindLen > 0) - checkBindingNoChanges(view, nodeDef, 0, v0); - if (bindLen > 1) - checkBindingNoChanges(view, nodeDef, 1, v1); - if (bindLen > 2) - checkBindingNoChanges(view, nodeDef, 2, v2); - if (bindLen > 3) - checkBindingNoChanges(view, nodeDef, 3, v3); - if (bindLen > 4) - checkBindingNoChanges(view, nodeDef, 4, v4); - if (bindLen > 5) - checkBindingNoChanges(view, nodeDef, 5, v5); - if (bindLen > 6) - checkBindingNoChanges(view, nodeDef, 6, v6); - if (bindLen > 7) - checkBindingNoChanges(view, nodeDef, 7, v7); - if (bindLen > 8) - checkBindingNoChanges(view, nodeDef, 8, v8); - if (bindLen > 9) - checkBindingNoChanges(view, nodeDef, 9, v9); -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} values - * @return {?} - */ -function checkNoChangesNodeDynamic(view, nodeDef, values) { - for (var /** @type {?} */ i = 0; i < values.length; i++) { - checkBindingNoChanges(view, nodeDef, i, values[i]); - } -} -/** - * Workaround https://github.com/angular/tsickle/issues/497 - * @suppress {misplacedTypeAnnotation} - * @param {?} view - * @param {?} nodeDef - * @return {?} - */ -function checkNoChangesQuery(view, nodeDef) { - var /** @type {?} */ queryList = asQueryList(view, nodeDef.nodeIndex); - if (queryList.dirty) { - throw expressionChangedAfterItHasBeenCheckedError(Services.createDebugContext(view, nodeDef.nodeIndex), "Query " + (/** @type {?} */ ((nodeDef.query))).id + " not dirty", "Query " + (/** @type {?} */ ((nodeDef.query))).id + " dirty", (view.state & 1 /* BeforeFirstCheck */) !== 0); - } -} -/** - * @param {?} view - * @return {?} - */ -function destroyView(view) { - if (view.state & 128 /* Destroyed */) { - return; - } - execEmbeddedViewsAction(view, ViewAction.Destroy); - execComponentViewsAction(view, ViewAction.Destroy); - callLifecycleHooksChildrenFirst(view, 131072 /* OnDestroy */); - if (view.disposables) { - for (var /** @type {?} */ i = 0; i < view.disposables.length; i++) { - view.disposables[i](); - } - } - detachProjectedView(view); - if (view.renderer.destroyNode) { - destroyViewNodes(view); - } - if (isComponentView(view)) { - view.renderer.destroy(); - } - view.state |= 128 /* Destroyed */; -} -/** - * @param {?} view - * @return {?} - */ -function destroyViewNodes(view) { - var /** @type {?} */ len = view.def.nodes.length; - for (var /** @type {?} */ i = 0; i < len; i++) { - var /** @type {?} */ def = view.def.nodes[i]; - if (def.flags & 1 /* TypeElement */) { - /** @type {?} */ ((view.renderer.destroyNode))(asElementData(view, i).renderElement); - } - else if (def.flags & 2 /* TypeText */) { - /** @type {?} */ ((view.renderer.destroyNode))(asTextData(view, i).renderText); - } - else if (def.flags & 67108864 /* TypeContentQuery */ || def.flags & 134217728 /* TypeViewQuery */) { - asQueryList(view, i).destroy(); - } - } -} -/** @enum {number} */ -var ViewAction = { - CreateViewNodes: 0, - CheckNoChanges: 1, - CheckNoChangesProjectedViews: 2, - CheckAndUpdate: 3, - CheckAndUpdateProjectedViews: 4, - Destroy: 5, -}; -ViewAction[ViewAction.CreateViewNodes] = "CreateViewNodes"; -ViewAction[ViewAction.CheckNoChanges] = "CheckNoChanges"; -ViewAction[ViewAction.CheckNoChangesProjectedViews] = "CheckNoChangesProjectedViews"; -ViewAction[ViewAction.CheckAndUpdate] = "CheckAndUpdate"; -ViewAction[ViewAction.CheckAndUpdateProjectedViews] = "CheckAndUpdateProjectedViews"; -ViewAction[ViewAction.Destroy] = "Destroy"; -/** - * @param {?} view - * @param {?} action - * @return {?} - */ -function execComponentViewsAction(view, action) { - var /** @type {?} */ def = view.def; - if (!(def.nodeFlags & 33554432 /* ComponentView */)) { - return; - } - for (var /** @type {?} */ i = 0; i < def.nodes.length; i++) { - var /** @type {?} */ nodeDef = def.nodes[i]; - if (nodeDef.flags & 33554432 /* ComponentView */) { - // a leaf - callViewAction(asElementData(view, i).componentView, action); - } - else if ((nodeDef.childFlags & 33554432 /* ComponentView */) === 0) { - // a parent with leafs - // no child is a component, - // then skip the children - i += nodeDef.childCount; - } - } -} -/** - * @param {?} view - * @param {?} action - * @return {?} - */ -function execEmbeddedViewsAction(view, action) { - var /** @type {?} */ def = view.def; - if (!(def.nodeFlags & 16777216 /* EmbeddedViews */)) { - return; - } - for (var /** @type {?} */ i = 0; i < def.nodes.length; i++) { - var /** @type {?} */ nodeDef = def.nodes[i]; - if (nodeDef.flags & 16777216 /* EmbeddedViews */) { - // a leaf - var /** @type {?} */ embeddedViews = /** @type {?} */ ((asElementData(view, i).viewContainer))._embeddedViews; - for (var /** @type {?} */ k = 0; k < embeddedViews.length; k++) { - callViewAction(embeddedViews[k], action); - } - } - else if ((nodeDef.childFlags & 16777216 /* EmbeddedViews */) === 0) { - // a parent with leafs - // no child is a component, - // then skip the children - i += nodeDef.childCount; - } - } -} -/** - * @param {?} view - * @param {?} action - * @return {?} - */ -function callViewAction(view, action) { - var /** @type {?} */ viewState = view.state; - switch (action) { - case ViewAction.CheckNoChanges: - if ((viewState & 128 /* Destroyed */) === 0) { - if ((viewState & 12 /* CatDetectChanges */) === 12 /* CatDetectChanges */) { - checkNoChangesView(view); - } - else if (viewState & 64 /* CheckProjectedViews */) { - execProjectedViewsAction(view, ViewAction.CheckNoChangesProjectedViews); - } - } - break; - case ViewAction.CheckNoChangesProjectedViews: - if ((viewState & 128 /* Destroyed */) === 0) { - if (viewState & 32 /* CheckProjectedView */) { - checkNoChangesView(view); - } - else if (viewState & 64 /* CheckProjectedViews */) { - execProjectedViewsAction(view, action); - } - } - break; - case ViewAction.CheckAndUpdate: - if ((viewState & 128 /* Destroyed */) === 0) { - if ((viewState & 12 /* CatDetectChanges */) === 12 /* CatDetectChanges */) { - checkAndUpdateView(view); - } - else if (viewState & 64 /* CheckProjectedViews */) { - execProjectedViewsAction(view, ViewAction.CheckAndUpdateProjectedViews); - } - } - break; - case ViewAction.CheckAndUpdateProjectedViews: - if ((viewState & 128 /* Destroyed */) === 0) { - if (viewState & 32 /* CheckProjectedView */) { - checkAndUpdateView(view); - } - else if (viewState & 64 /* CheckProjectedViews */) { - execProjectedViewsAction(view, action); - } - } - break; - case ViewAction.Destroy: - // Note: destroyView recurses over all views, - // so we don't need to special case projected views here. - destroyView(view); - break; - case ViewAction.CreateViewNodes: - createViewNodes(view); - break; - } -} -/** - * @param {?} view - * @param {?} action - * @return {?} - */ -function execProjectedViewsAction(view, action) { - execEmbeddedViewsAction(view, action); - execComponentViewsAction(view, action); -} -/** - * @param {?} view - * @param {?} queryFlags - * @param {?} staticDynamicQueryFlag - * @param {?} checkType - * @return {?} - */ -function execQueriesAction(view, queryFlags, staticDynamicQueryFlag, checkType) { - if (!(view.def.nodeFlags & queryFlags) || !(view.def.nodeFlags & staticDynamicQueryFlag)) { - return; - } - var /** @type {?} */ nodeCount = view.def.nodes.length; - for (var /** @type {?} */ i = 0; i < nodeCount; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if ((nodeDef.flags & queryFlags) && (nodeDef.flags & staticDynamicQueryFlag)) { - Services.setCurrentNode(view, nodeDef.nodeIndex); - switch (checkType) { - case 0 /* CheckAndUpdate */: - checkAndUpdateQuery(view, nodeDef); - break; - case 1 /* CheckNoChanges */: - checkNoChangesQuery(view, nodeDef); - break; - } - } - if (!(nodeDef.childFlags & queryFlags) || !(nodeDef.childFlags & staticDynamicQueryFlag)) { - // no child has a matching query - // then skip the children - i += nodeDef.childCount; - } - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var initialized = false; -/** - * @return {?} - */ -function initServicesIfNeeded() { - if (initialized) { - return; - } - initialized = true; - var /** @type {?} */ services = isDevMode() ? createDebugServices() : createProdServices(); - Services.setCurrentNode = services.setCurrentNode; - Services.createRootView = services.createRootView; - Services.createEmbeddedView = services.createEmbeddedView; - Services.createComponentView = services.createComponentView; - Services.createNgModuleRef = services.createNgModuleRef; - Services.overrideProvider = services.overrideProvider; - Services.clearProviderOverrides = services.clearProviderOverrides; - Services.checkAndUpdateView = services.checkAndUpdateView; - Services.checkNoChangesView = services.checkNoChangesView; - Services.destroyView = services.destroyView; - Services.resolveDep = resolveDep; - Services.createDebugContext = services.createDebugContext; - Services.handleEvent = services.handleEvent; - Services.updateDirectives = services.updateDirectives; - Services.updateRenderer = services.updateRenderer; - Services.dirtyParentQueries = dirtyParentQueries; -} -/** - * @return {?} - */ -function createProdServices() { - return { - setCurrentNode: function () { }, - createRootView: createProdRootView, - createEmbeddedView: createEmbeddedView, - createComponentView: createComponentView, - createNgModuleRef: createNgModuleRef, - overrideProvider: NOOP, - clearProviderOverrides: NOOP, - checkAndUpdateView: checkAndUpdateView, - checkNoChangesView: checkNoChangesView, - destroyView: destroyView, - createDebugContext: function (view, nodeIndex) { return new DebugContext_(view, nodeIndex); }, - handleEvent: function (view, nodeIndex, eventName, event) { - return view.def.handleEvent(view, nodeIndex, eventName, event); - }, - updateDirectives: function (view, checkType) { - return view.def.updateDirectives(checkType === 0 /* CheckAndUpdate */ ? prodCheckAndUpdateNode : - prodCheckNoChangesNode, view); - }, - updateRenderer: function (view, checkType) { - return view.def.updateRenderer(checkType === 0 /* CheckAndUpdate */ ? prodCheckAndUpdateNode : - prodCheckNoChangesNode, view); - }, - }; -} -/** - * @return {?} - */ -function createDebugServices() { - return { - setCurrentNode: debugSetCurrentNode, - createRootView: debugCreateRootView, - createEmbeddedView: debugCreateEmbeddedView, - createComponentView: debugCreateComponentView, - createNgModuleRef: debugCreateNgModuleRef, - overrideProvider: debugOverrideProvider, - clearProviderOverrides: debugClearProviderOverrides, - checkAndUpdateView: debugCheckAndUpdateView, - checkNoChangesView: debugCheckNoChangesView, - destroyView: debugDestroyView, - createDebugContext: function (view, nodeIndex) { return new DebugContext_(view, nodeIndex); }, - handleEvent: debugHandleEvent, - updateDirectives: debugUpdateDirectives, - updateRenderer: debugUpdateRenderer, - }; -} -/** - * @param {?} elInjector - * @param {?} projectableNodes - * @param {?} rootSelectorOrNode - * @param {?} def - * @param {?} ngModule - * @param {?=} context - * @return {?} - */ -function createProdRootView(elInjector, projectableNodes, rootSelectorOrNode, def, ngModule, context) { - var /** @type {?} */ rendererFactory = ngModule.injector.get(RendererFactory2); - return createRootView(createRootData(elInjector, ngModule, rendererFactory, projectableNodes, rootSelectorOrNode), def, context); -} -/** - * @param {?} elInjector - * @param {?} projectableNodes - * @param {?} rootSelectorOrNode - * @param {?} def - * @param {?} ngModule - * @param {?=} context - * @return {?} - */ -function debugCreateRootView(elInjector, projectableNodes, rootSelectorOrNode, def, ngModule, context) { - var /** @type {?} */ rendererFactory = ngModule.injector.get(RendererFactory2); - var /** @type {?} */ root = createRootData(elInjector, ngModule, new DebugRendererFactory2(rendererFactory), projectableNodes, rootSelectorOrNode); - var /** @type {?} */ defWithOverride = applyProviderOverridesToView(def); - return callWithDebugContext(DebugAction.create, createRootView, null, [root, defWithOverride, context]); -} -/** - * @param {?} elInjector - * @param {?} ngModule - * @param {?} rendererFactory - * @param {?} projectableNodes - * @param {?} rootSelectorOrNode - * @return {?} - */ -function createRootData(elInjector, ngModule, rendererFactory, projectableNodes, rootSelectorOrNode) { - var /** @type {?} */ sanitizer = ngModule.injector.get(Sanitizer); - var /** @type {?} */ errorHandler = ngModule.injector.get(ErrorHandler); - var /** @type {?} */ renderer = rendererFactory.createRenderer(null, null); - return { - ngModule: ngModule, - injector: elInjector, projectableNodes: projectableNodes, - selectorOrNode: rootSelectorOrNode, sanitizer: sanitizer, rendererFactory: rendererFactory, renderer: renderer, errorHandler: errorHandler - }; -} -/** - * @param {?} parentView - * @param {?} anchorDef - * @param {?} viewDef - * @param {?=} context - * @return {?} - */ -function debugCreateEmbeddedView(parentView, anchorDef, viewDef$$1, context) { - var /** @type {?} */ defWithOverride = applyProviderOverridesToView(viewDef$$1); - return callWithDebugContext(DebugAction.create, createEmbeddedView, null, [parentView, anchorDef, defWithOverride, context]); -} -/** - * @param {?} parentView - * @param {?} nodeDef - * @param {?} viewDef - * @param {?} hostElement - * @return {?} - */ -function debugCreateComponentView(parentView, nodeDef, viewDef$$1, hostElement) { - var /** @type {?} */ defWithOverride = applyProviderOverridesToView(viewDef$$1); - return callWithDebugContext(DebugAction.create, createComponentView, null, [parentView, nodeDef, defWithOverride, hostElement]); -} -/** - * @param {?} moduleType - * @param {?} parentInjector - * @param {?} bootstrapComponents - * @param {?} def - * @return {?} - */ -function debugCreateNgModuleRef(moduleType, parentInjector, bootstrapComponents, def) { - var /** @type {?} */ defWithOverride = applyProviderOverridesToNgModule(def); - return createNgModuleRef(moduleType, parentInjector, bootstrapComponents, defWithOverride); -} -var providerOverrides = new Map(); -/** - * @param {?} override - * @return {?} - */ -function debugOverrideProvider(override) { - providerOverrides.set(override.token, override); -} -/** - * @return {?} - */ -function debugClearProviderOverrides() { - providerOverrides.clear(); -} -/** - * @param {?} def - * @return {?} - */ -function applyProviderOverridesToView(def) { - if (providerOverrides.size === 0) { - return def; - } - var /** @type {?} */ elementIndicesWithOverwrittenProviders = findElementIndicesWithOverwrittenProviders(def); - if (elementIndicesWithOverwrittenProviders.length === 0) { - return def; - } - // clone the whole view definition, - // as it maintains references between the nodes that are hard to update. - def = /** @type {?} */ ((def.factory))(function () { return NOOP; }); - for (var /** @type {?} */ i = 0; i < elementIndicesWithOverwrittenProviders.length; i++) { - applyProviderOverridesToElement(def, elementIndicesWithOverwrittenProviders[i]); - } - return def; - /** - * @param {?} def - * @return {?} - */ - function findElementIndicesWithOverwrittenProviders(def) { - var /** @type {?} */ elIndicesWithOverwrittenProviders = []; - var /** @type {?} */ lastElementDef = null; - for (var /** @type {?} */ i = 0; i < def.nodes.length; i++) { - var /** @type {?} */ nodeDef = def.nodes[i]; - if (nodeDef.flags & 1 /* TypeElement */) { - lastElementDef = nodeDef; - } - if (lastElementDef && nodeDef.flags & 3840 /* CatProviderNoDirective */ && - providerOverrides.has(/** @type {?} */ ((nodeDef.provider)).token)) { - elIndicesWithOverwrittenProviders.push(/** @type {?} */ ((lastElementDef)).nodeIndex); - lastElementDef = null; - } - } - return elIndicesWithOverwrittenProviders; - } - /** - * @param {?} viewDef - * @param {?} elIndex - * @return {?} - */ - function applyProviderOverridesToElement(viewDef$$1, elIndex) { - for (var /** @type {?} */ i = elIndex + 1; i < viewDef$$1.nodes.length; i++) { - var /** @type {?} */ nodeDef = viewDef$$1.nodes[i]; - if (nodeDef.flags & 1 /* TypeElement */) { - // stop at the next element - return; - } - if (nodeDef.flags & 3840 /* CatProviderNoDirective */) { - var /** @type {?} */ provider = /** @type {?} */ ((nodeDef.provider)); - var /** @type {?} */ override = providerOverrides.get(provider.token); - if (override) { - nodeDef.flags = (nodeDef.flags & ~3840 /* CatProviderNoDirective */) | override.flags; - provider.deps = splitDepsDsl(override.deps); - provider.value = override.value; - } - } - } - } -} -/** - * @param {?} def - * @return {?} - */ -function applyProviderOverridesToNgModule(def) { - var _a = calcHasOverrides(def), hasOverrides = _a.hasOverrides, hasDeprecatedOverrides = _a.hasDeprecatedOverrides; - if (!hasOverrides) { - return def; - } - // clone the whole view definition, - // as it maintains references between the nodes that are hard to update. - def = /** @type {?} */ ((def.factory))(function () { return NOOP; }); - applyProviderOverrides(def); - return def; - /** - * @param {?} def - * @return {?} - */ - function calcHasOverrides(def) { - var /** @type {?} */ hasOverrides = false; - var /** @type {?} */ hasDeprecatedOverrides = false; - if (providerOverrides.size === 0) { - return { hasOverrides: hasOverrides, hasDeprecatedOverrides: hasDeprecatedOverrides }; - } - def.providers.forEach(function (node) { - var /** @type {?} */ override = providerOverrides.get(node.token); - if ((node.flags & 3840 /* CatProviderNoDirective */) && override) { - hasOverrides = true; - hasDeprecatedOverrides = hasDeprecatedOverrides || override.deprecatedBehavior; - } - }); - return { hasOverrides: hasOverrides, hasDeprecatedOverrides: hasDeprecatedOverrides }; - } - /** - * @param {?} def - * @return {?} - */ - function applyProviderOverrides(def) { - for (var /** @type {?} */ i = 0; i < def.providers.length; i++) { - var /** @type {?} */ provider = def.providers[i]; - if (hasDeprecatedOverrides) { - // We had a bug where me made - // all providers lazy. Keep this logic behind a flag - // for migrating existing users. - provider.flags |= 4096 /* LazyProvider */; - } - var /** @type {?} */ override = providerOverrides.get(provider.token); - if (override) { - provider.flags = (provider.flags & ~3840 /* CatProviderNoDirective */) | override.flags; - provider.deps = splitDepsDsl(override.deps); - provider.value = override.value; - } - } - } -} -/** - * @param {?} view - * @param {?} checkIndex - * @param {?} argStyle - * @param {?=} v0 - * @param {?=} v1 - * @param {?=} v2 - * @param {?=} v3 - * @param {?=} v4 - * @param {?=} v5 - * @param {?=} v6 - * @param {?=} v7 - * @param {?=} v8 - * @param {?=} v9 - * @return {?} - */ -function prodCheckAndUpdateNode(view, checkIndex, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ nodeDef = view.def.nodes[checkIndex]; - checkAndUpdateNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - return (nodeDef.flags & 224 /* CatPureExpression */) ? - asPureExpressionData(view, checkIndex).value : - undefined; -} -/** - * @param {?} view - * @param {?} checkIndex - * @param {?} argStyle - * @param {?=} v0 - * @param {?=} v1 - * @param {?=} v2 - * @param {?=} v3 - * @param {?=} v4 - * @param {?=} v5 - * @param {?=} v6 - * @param {?=} v7 - * @param {?=} v8 - * @param {?=} v9 - * @return {?} - */ -function prodCheckNoChangesNode(view, checkIndex, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9) { - var /** @type {?} */ nodeDef = view.def.nodes[checkIndex]; - checkNoChangesNode(view, nodeDef, argStyle, v0, v1, v2, v3, v4, v5, v6, v7, v8, v9); - return (nodeDef.flags & 224 /* CatPureExpression */) ? - asPureExpressionData(view, checkIndex).value : - undefined; -} -/** - * @param {?} view - * @return {?} - */ -function debugCheckAndUpdateView(view) { - return callWithDebugContext(DebugAction.detectChanges, checkAndUpdateView, null, [view]); -} -/** - * @param {?} view - * @return {?} - */ -function debugCheckNoChangesView(view) { - return callWithDebugContext(DebugAction.checkNoChanges, checkNoChangesView, null, [view]); -} -/** - * @param {?} view - * @return {?} - */ -function debugDestroyView(view) { - return callWithDebugContext(DebugAction.destroy, destroyView, null, [view]); -} -/** @enum {number} */ -var DebugAction = { - create: 0, - detectChanges: 1, - checkNoChanges: 2, - destroy: 3, - handleEvent: 4, -}; -DebugAction[DebugAction.create] = "create"; -DebugAction[DebugAction.detectChanges] = "detectChanges"; -DebugAction[DebugAction.checkNoChanges] = "checkNoChanges"; -DebugAction[DebugAction.destroy] = "destroy"; -DebugAction[DebugAction.handleEvent] = "handleEvent"; -var _currentAction; -var _currentView; -var _currentNodeIndex; -/** - * @param {?} view - * @param {?} nodeIndex - * @return {?} - */ -function debugSetCurrentNode(view, nodeIndex) { - _currentView = view; - _currentNodeIndex = nodeIndex; -} -/** - * @param {?} view - * @param {?} nodeIndex - * @param {?} eventName - * @param {?} event - * @return {?} - */ -function debugHandleEvent(view, nodeIndex, eventName, event) { - debugSetCurrentNode(view, nodeIndex); - return callWithDebugContext(DebugAction.handleEvent, view.def.handleEvent, null, [view, nodeIndex, eventName, event]); -} -/** - * @param {?} view - * @param {?} checkType - * @return {?} - */ -function debugUpdateDirectives(view, checkType) { - if (view.state & 128 /* Destroyed */) { - throw viewDestroyedError(DebugAction[_currentAction]); - } - debugSetCurrentNode(view, nextDirectiveWithBinding(view, 0)); - return view.def.updateDirectives(debugCheckDirectivesFn, view); - /** - * @param {?} view - * @param {?} nodeIndex - * @param {?} argStyle - * @param {...?} values - * @return {?} - */ - function debugCheckDirectivesFn(view, nodeIndex, argStyle) { - var values = []; - for (var _i = 3; _i < arguments.length; _i++) { - values[_i - 3] = arguments[_i]; - } - var /** @type {?} */ nodeDef = view.def.nodes[nodeIndex]; - if (checkType === 0 /* CheckAndUpdate */) { - debugCheckAndUpdateNode(view, nodeDef, argStyle, values); - } - else { - debugCheckNoChangesNode(view, nodeDef, argStyle, values); - } - if (nodeDef.flags & 16384 /* TypeDirective */) { - debugSetCurrentNode(view, nextDirectiveWithBinding(view, nodeIndex)); - } - return (nodeDef.flags & 224 /* CatPureExpression */) ? - asPureExpressionData(view, nodeDef.nodeIndex).value : - undefined; - } -} -/** - * @param {?} view - * @param {?} checkType - * @return {?} - */ -function debugUpdateRenderer(view, checkType) { - if (view.state & 128 /* Destroyed */) { - throw viewDestroyedError(DebugAction[_currentAction]); - } - debugSetCurrentNode(view, nextRenderNodeWithBinding(view, 0)); - return view.def.updateRenderer(debugCheckRenderNodeFn, view); - /** - * @param {?} view - * @param {?} nodeIndex - * @param {?} argStyle - * @param {...?} values - * @return {?} - */ - function debugCheckRenderNodeFn(view, nodeIndex, argStyle) { - var values = []; - for (var _i = 3; _i < arguments.length; _i++) { - values[_i - 3] = arguments[_i]; - } - var /** @type {?} */ nodeDef = view.def.nodes[nodeIndex]; - if (checkType === 0 /* CheckAndUpdate */) { - debugCheckAndUpdateNode(view, nodeDef, argStyle, values); - } - else { - debugCheckNoChangesNode(view, nodeDef, argStyle, values); - } - if (nodeDef.flags & 3 /* CatRenderNode */) { - debugSetCurrentNode(view, nextRenderNodeWithBinding(view, nodeIndex)); - } - return (nodeDef.flags & 224 /* CatPureExpression */) ? - asPureExpressionData(view, nodeDef.nodeIndex).value : - undefined; - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} argStyle - * @param {?} givenValues - * @return {?} - */ -function debugCheckAndUpdateNode(view, nodeDef, argStyle, givenValues) { - var /** @type {?} */ changed = (/** @type {?} */ (checkAndUpdateNode)).apply(void 0, [view, nodeDef, argStyle].concat(givenValues)); - if (changed) { - var /** @type {?} */ values = argStyle === 1 /* Dynamic */ ? givenValues[0] : givenValues; - if (nodeDef.flags & 16384 /* TypeDirective */) { - var /** @type {?} */ bindingValues = {}; - for (var /** @type {?} */ i = 0; i < nodeDef.bindings.length; i++) { - var /** @type {?} */ binding = nodeDef.bindings[i]; - var /** @type {?} */ value = values[i]; - if (binding.flags & 8 /* TypeProperty */) { - bindingValues[normalizeDebugBindingName(/** @type {?} */ ((binding.nonMinifiedName)))] = - normalizeDebugBindingValue(value); - } - } - var /** @type {?} */ elDef = /** @type {?} */ ((nodeDef.parent)); - var /** @type {?} */ el = asElementData(view, elDef.nodeIndex).renderElement; - if (!/** @type {?} */ ((elDef.element)).name) { - // a comment. - view.renderer.setValue(el, "bindings=" + JSON.stringify(bindingValues, null, 2)); - } - else { - // a regular element. - for (var /** @type {?} */ attr in bindingValues) { - var /** @type {?} */ value = bindingValues[attr]; - if (value != null) { - view.renderer.setAttribute(el, attr, value); - } - else { - view.renderer.removeAttribute(el, attr); - } - } - } - } - } -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} argStyle - * @param {?} values - * @return {?} - */ -function debugCheckNoChangesNode(view, nodeDef, argStyle, values) { - (/** @type {?} */ (checkNoChangesNode)).apply(void 0, [view, nodeDef, argStyle].concat(values)); -} -/** - * @param {?} name - * @return {?} - */ -function normalizeDebugBindingName(name) { - // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers - name = camelCaseToDashCase(name.replace(/[$@]/g, '_')); - return "ng-reflect-" + name; -} -var CAMEL_CASE_REGEXP = /([A-Z])/g; -/** - * @param {?} input - * @return {?} - */ -function camelCaseToDashCase(input) { - return input.replace(CAMEL_CASE_REGEXP, function () { - var m = []; - for (var _i = 0; _i < arguments.length; _i++) { - m[_i] = arguments[_i]; - } - return '-' + m[1].toLowerCase(); - }); -} -/** - * @param {?} value - * @return {?} - */ -function normalizeDebugBindingValue(value) { - try { - // Limit the size of the value as otherwise the DOM just gets polluted. - return value != null ? value.toString().slice(0, 30) : value; - } - catch (/** @type {?} */ e) { - return '[ERROR] Exception while trying to serialize the value'; - } -} -/** - * @param {?} view - * @param {?} nodeIndex - * @return {?} - */ -function nextDirectiveWithBinding(view, nodeIndex) { - for (var /** @type {?} */ i = nodeIndex; i < view.def.nodes.length; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if (nodeDef.flags & 16384 /* TypeDirective */ && nodeDef.bindings && nodeDef.bindings.length) { - return i; - } - } - return null; -} -/** - * @param {?} view - * @param {?} nodeIndex - * @return {?} - */ -function nextRenderNodeWithBinding(view, nodeIndex) { - for (var /** @type {?} */ i = nodeIndex; i < view.def.nodes.length; i++) { - var /** @type {?} */ nodeDef = view.def.nodes[i]; - if ((nodeDef.flags & 3 /* CatRenderNode */) && nodeDef.bindings && nodeDef.bindings.length) { - return i; - } - } - return null; -} -var DebugContext_ = (function () { - function DebugContext_(view, nodeIndex) { - this.view = view; - this.nodeIndex = nodeIndex; - if (nodeIndex == null) { - this.nodeIndex = nodeIndex = 0; - } - this.nodeDef = view.def.nodes[nodeIndex]; - var /** @type {?} */ elDef = this.nodeDef; - var /** @type {?} */ elView = view; - while (elDef && (elDef.flags & 1 /* TypeElement */) === 0) { - elDef = /** @type {?} */ ((elDef.parent)); - } - if (!elDef) { - while (!elDef && elView) { - elDef = /** @type {?} */ ((viewParentEl(elView))); - elView = /** @type {?} */ ((elView.parent)); - } - } - this.elDef = elDef; - this.elView = elView; - } - Object.defineProperty(DebugContext_.prototype, "elOrCompView", { - get: /** - * @return {?} - */ - function () { - // Has to be done lazily as we use the DebugContext also during creation of elements... - return asElementData(this.elView, this.elDef.nodeIndex).componentView || this.view; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "injector", { - get: /** - * @return {?} - */ - function () { return createInjector(this.elView, this.elDef); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "component", { - get: /** - * @return {?} - */ - function () { return this.elOrCompView.component; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "context", { - get: /** - * @return {?} - */ - function () { return this.elOrCompView.context; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "providerTokens", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ tokens = []; - if (this.elDef) { - for (var /** @type {?} */ i = this.elDef.nodeIndex + 1; i <= this.elDef.nodeIndex + this.elDef.childCount; i++) { - var /** @type {?} */ childDef = this.elView.def.nodes[i]; - if (childDef.flags & 20224 /* CatProvider */) { - tokens.push(/** @type {?} */ ((childDef.provider)).token); - } - i += childDef.childCount; - } - } - return tokens; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "references", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ references = {}; - if (this.elDef) { - collectReferences(this.elView, this.elDef, references); - for (var /** @type {?} */ i = this.elDef.nodeIndex + 1; i <= this.elDef.nodeIndex + this.elDef.childCount; i++) { - var /** @type {?} */ childDef = this.elView.def.nodes[i]; - if (childDef.flags & 20224 /* CatProvider */) { - collectReferences(this.elView, childDef, references); - } - i += childDef.childCount; - } - } - return references; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "componentRenderElement", { - get: /** - * @return {?} - */ - function () { - var /** @type {?} */ elData = findHostElement(this.elOrCompView); - return elData ? elData.renderElement : undefined; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(DebugContext_.prototype, "renderNode", { - get: /** - * @return {?} - */ - function () { - return this.nodeDef.flags & 2 /* TypeText */ ? renderNode(this.view, this.nodeDef) : - renderNode(this.elView, this.elDef); - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} console - * @param {...?} values - * @return {?} - */ - DebugContext_.prototype.logError = /** - * @param {?} console - * @param {...?} values - * @return {?} - */ - function (console) { - var values = []; - for (var _i = 1; _i < arguments.length; _i++) { - values[_i - 1] = arguments[_i]; - } - var /** @type {?} */ logViewDef; - var /** @type {?} */ logNodeIndex; - if (this.nodeDef.flags & 2 /* TypeText */) { - logViewDef = this.view.def; - logNodeIndex = this.nodeDef.nodeIndex; - } - else { - logViewDef = this.elView.def; - logNodeIndex = this.elDef.nodeIndex; - } - // Note: we only generate a log function for text and element nodes - // to make the generated code as small as possible. - var /** @type {?} */ renderNodeIndex = getRenderNodeIndex(logViewDef, logNodeIndex); - var /** @type {?} */ currRenderNodeIndex = -1; - var /** @type {?} */ nodeLogger = function () { - currRenderNodeIndex++; - if (currRenderNodeIndex === renderNodeIndex) { - return (_a = console.error).bind.apply(_a, [console].concat(values)); - } - else { - return NOOP; - } - var _a; - }; /** @type {?} */ - ((logViewDef.factory))(nodeLogger); - if (currRenderNodeIndex < renderNodeIndex) { - console.error('Illegal state: the ViewDefinitionFactory did not call the logger!'); - console.error.apply(console, values); - } - }; - return DebugContext_; -}()); -/** - * @param {?} viewDef - * @param {?} nodeIndex - * @return {?} - */ -function getRenderNodeIndex(viewDef$$1, nodeIndex) { - var /** @type {?} */ renderNodeIndex = -1; - for (var /** @type {?} */ i = 0; i <= nodeIndex; i++) { - var /** @type {?} */ nodeDef = viewDef$$1.nodes[i]; - if (nodeDef.flags & 3 /* CatRenderNode */) { - renderNodeIndex++; - } - } - return renderNodeIndex; -} -/** - * @param {?} view - * @return {?} - */ -function findHostElement(view) { - while (view && !isComponentView(view)) { - view = /** @type {?} */ ((view.parent)); - } - if (view.parent) { - return asElementData(view.parent, /** @type {?} */ ((viewParentEl(view))).nodeIndex); - } - return null; -} -/** - * @param {?} view - * @param {?} nodeDef - * @param {?} references - * @return {?} - */ -function collectReferences(view, nodeDef, references) { - for (var /** @type {?} */ refName in nodeDef.references) { - references[refName] = getQueryValue(view, nodeDef, nodeDef.references[refName]); - } -} -/** - * @param {?} action - * @param {?} fn - * @param {?} self - * @param {?} args - * @return {?} - */ -function callWithDebugContext(action, fn, self, args) { - var /** @type {?} */ oldAction = _currentAction; - var /** @type {?} */ oldView = _currentView; - var /** @type {?} */ oldNodeIndex = _currentNodeIndex; - try { - _currentAction = action; - var /** @type {?} */ result = fn.apply(self, args); - _currentView = oldView; - _currentNodeIndex = oldNodeIndex; - _currentAction = oldAction; - return result; - } - catch (/** @type {?} */ e) { - if (isViewDebugError(e) || !_currentView) { - throw e; - } - throw viewWrappedDebugError(e, /** @type {?} */ ((getCurrentDebugContext()))); - } -} -/** - * @return {?} - */ -function getCurrentDebugContext() { - return _currentView ? new DebugContext_(_currentView, _currentNodeIndex) : null; -} -var DebugRendererFactory2 = (function () { - function DebugRendererFactory2(delegate) { - this.delegate = delegate; - } - /** - * @param {?} element - * @param {?} renderData - * @return {?} - */ - DebugRendererFactory2.prototype.createRenderer = /** - * @param {?} element - * @param {?} renderData - * @return {?} - */ - function (element, renderData) { - return new DebugRenderer2(this.delegate.createRenderer(element, renderData)); - }; - /** - * @return {?} - */ - DebugRendererFactory2.prototype.begin = /** - * @return {?} - */ - function () { - if (this.delegate.begin) { - this.delegate.begin(); - } - }; - /** - * @return {?} - */ - DebugRendererFactory2.prototype.end = /** - * @return {?} - */ - function () { - if (this.delegate.end) { - this.delegate.end(); - } - }; - /** - * @return {?} - */ - DebugRendererFactory2.prototype.whenRenderingDone = /** - * @return {?} - */ - function () { - if (this.delegate.whenRenderingDone) { - return this.delegate.whenRenderingDone(); - } - return Promise.resolve(null); - }; - return DebugRendererFactory2; -}()); -var DebugRenderer2 = (function () { - function DebugRenderer2(delegate) { - this.delegate = delegate; - } - Object.defineProperty(DebugRenderer2.prototype, "data", { - get: /** - * @return {?} - */ - function () { return this.delegate.data; }, - enumerable: true, - configurable: true - }); - /** - * @param {?} node - * @return {?} - */ - DebugRenderer2.prototype.destroyNode = /** - * @param {?} node - * @return {?} - */ - function (node) { - removeDebugNodeFromIndex(/** @type {?} */ ((getDebugNode(node)))); - if (this.delegate.destroyNode) { - this.delegate.destroyNode(node); - } - }; - /** - * @return {?} - */ - DebugRenderer2.prototype.destroy = /** - * @return {?} - */ - function () { this.delegate.destroy(); }; - /** - * @param {?} name - * @param {?=} namespace - * @return {?} - */ - DebugRenderer2.prototype.createElement = /** - * @param {?} name - * @param {?=} namespace - * @return {?} - */ - function (name, namespace) { - var /** @type {?} */ el = this.delegate.createElement(name, namespace); - var /** @type {?} */ debugCtx = getCurrentDebugContext(); - if (debugCtx) { - var /** @type {?} */ debugEl = new DebugElement(el, null, debugCtx); - debugEl.name = name; - indexDebugNode(debugEl); - } - return el; - }; - /** - * @param {?} value - * @return {?} - */ - DebugRenderer2.prototype.createComment = /** - * @param {?} value - * @return {?} - */ - function (value) { - var /** @type {?} */ comment = this.delegate.createComment(value); - var /** @type {?} */ debugCtx = getCurrentDebugContext(); - if (debugCtx) { - indexDebugNode(new DebugNode(comment, null, debugCtx)); - } - return comment; - }; - /** - * @param {?} value - * @return {?} - */ - DebugRenderer2.prototype.createText = /** - * @param {?} value - * @return {?} - */ - function (value) { - var /** @type {?} */ text = this.delegate.createText(value); - var /** @type {?} */ debugCtx = getCurrentDebugContext(); - if (debugCtx) { - indexDebugNode(new DebugNode(text, null, debugCtx)); - } - return text; - }; - /** - * @param {?} parent - * @param {?} newChild - * @return {?} - */ - DebugRenderer2.prototype.appendChild = /** - * @param {?} parent - * @param {?} newChild - * @return {?} - */ - function (parent, newChild) { - var /** @type {?} */ debugEl = getDebugNode(parent); - var /** @type {?} */ debugChildEl = getDebugNode(newChild); - if (debugEl && debugChildEl && debugEl instanceof DebugElement) { - debugEl.addChild(debugChildEl); - } - this.delegate.appendChild(parent, newChild); - }; - /** - * @param {?} parent - * @param {?} newChild - * @param {?} refChild - * @return {?} - */ - DebugRenderer2.prototype.insertBefore = /** - * @param {?} parent - * @param {?} newChild - * @param {?} refChild - * @return {?} - */ - function (parent, newChild, refChild) { - var /** @type {?} */ debugEl = getDebugNode(parent); - var /** @type {?} */ debugChildEl = getDebugNode(newChild); - var /** @type {?} */ debugRefEl = /** @type {?} */ ((getDebugNode(refChild))); - if (debugEl && debugChildEl && debugEl instanceof DebugElement) { - debugEl.insertBefore(debugRefEl, debugChildEl); - } - this.delegate.insertBefore(parent, newChild, refChild); - }; - /** - * @param {?} parent - * @param {?} oldChild - * @return {?} - */ - DebugRenderer2.prototype.removeChild = /** - * @param {?} parent - * @param {?} oldChild - * @return {?} - */ - function (parent, oldChild) { - var /** @type {?} */ debugEl = getDebugNode(parent); - var /** @type {?} */ debugChildEl = getDebugNode(oldChild); - if (debugEl && debugChildEl && debugEl instanceof DebugElement) { - debugEl.removeChild(debugChildEl); - } - this.delegate.removeChild(parent, oldChild); - }; - /** - * @param {?} selectorOrNode - * @return {?} - */ - DebugRenderer2.prototype.selectRootElement = /** - * @param {?} selectorOrNode - * @return {?} - */ - function (selectorOrNode) { - var /** @type {?} */ el = this.delegate.selectRootElement(selectorOrNode); - var /** @type {?} */ debugCtx = getCurrentDebugContext(); - if (debugCtx) { - indexDebugNode(new DebugElement(el, null, debugCtx)); - } - return el; - }; - /** - * @param {?} el - * @param {?} name - * @param {?} value - * @param {?=} namespace - * @return {?} - */ - DebugRenderer2.prototype.setAttribute = /** - * @param {?} el - * @param {?} name - * @param {?} value - * @param {?=} namespace - * @return {?} - */ - function (el, name, value, namespace) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - var /** @type {?} */ fullName = namespace ? namespace + ':' + name : name; - debugEl.attributes[fullName] = value; - } - this.delegate.setAttribute(el, name, value, namespace); - }; - /** - * @param {?} el - * @param {?} name - * @param {?=} namespace - * @return {?} - */ - DebugRenderer2.prototype.removeAttribute = /** - * @param {?} el - * @param {?} name - * @param {?=} namespace - * @return {?} - */ - function (el, name, namespace) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - var /** @type {?} */ fullName = namespace ? namespace + ':' + name : name; - debugEl.attributes[fullName] = null; - } - this.delegate.removeAttribute(el, name, namespace); - }; - /** - * @param {?} el - * @param {?} name - * @return {?} - */ - DebugRenderer2.prototype.addClass = /** - * @param {?} el - * @param {?} name - * @return {?} - */ - function (el, name) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - debugEl.classes[name] = true; - } - this.delegate.addClass(el, name); - }; - /** - * @param {?} el - * @param {?} name - * @return {?} - */ - DebugRenderer2.prototype.removeClass = /** - * @param {?} el - * @param {?} name - * @return {?} - */ - function (el, name) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - debugEl.classes[name] = false; - } - this.delegate.removeClass(el, name); - }; - /** - * @param {?} el - * @param {?} style - * @param {?} value - * @param {?} flags - * @return {?} - */ - DebugRenderer2.prototype.setStyle = /** - * @param {?} el - * @param {?} style - * @param {?} value - * @param {?} flags - * @return {?} - */ - function (el, style, value, flags) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - debugEl.styles[style] = value; - } - this.delegate.setStyle(el, style, value, flags); - }; - /** - * @param {?} el - * @param {?} style - * @param {?} flags - * @return {?} - */ - DebugRenderer2.prototype.removeStyle = /** - * @param {?} el - * @param {?} style - * @param {?} flags - * @return {?} - */ - function (el, style, flags) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - debugEl.styles[style] = null; - } - this.delegate.removeStyle(el, style, flags); - }; - /** - * @param {?} el - * @param {?} name - * @param {?} value - * @return {?} - */ - DebugRenderer2.prototype.setProperty = /** - * @param {?} el - * @param {?} name - * @param {?} value - * @return {?} - */ - function (el, name, value) { - var /** @type {?} */ debugEl = getDebugNode(el); - if (debugEl && debugEl instanceof DebugElement) { - debugEl.properties[name] = value; - } - this.delegate.setProperty(el, name, value); - }; - /** - * @param {?} target - * @param {?} eventName - * @param {?} callback - * @return {?} - */ - DebugRenderer2.prototype.listen = /** - * @param {?} target - * @param {?} eventName - * @param {?} callback - * @return {?} - */ - function (target, eventName, callback) { - if (typeof target !== 'string') { - var /** @type {?} */ debugEl = getDebugNode(target); - if (debugEl) { - debugEl.listeners.push(new EventListener(eventName, callback)); - } - } - return this.delegate.listen(target, eventName, callback); - }; - /** - * @param {?} node - * @return {?} - */ - DebugRenderer2.prototype.parentNode = /** - * @param {?} node - * @return {?} - */ - function (node) { return this.delegate.parentNode(node); }; - /** - * @param {?} node - * @return {?} - */ - DebugRenderer2.prototype.nextSibling = /** - * @param {?} node - * @return {?} - */ - function (node) { return this.delegate.nextSibling(node); }; - /** - * @param {?} node - * @param {?} value - * @return {?} - */ - DebugRenderer2.prototype.setValue = /** - * @param {?} node - * @param {?} value - * @return {?} - */ - function (node, value) { return this.delegate.setValue(node, value); }; - return DebugRenderer2; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} override - * @return {?} - */ -function overrideProvider(override) { - initServicesIfNeeded(); - return Services.overrideProvider(override); -} -/** - * @return {?} - */ -function clearProviderOverrides() { - initServicesIfNeeded(); - return Services.clearProviderOverrides(); -} -/** - * @param {?} ngModuleType - * @param {?} bootstrapComponents - * @param {?} defFactory - * @return {?} - */ -function createNgModuleFactory(ngModuleType, bootstrapComponents, defFactory) { - return new NgModuleFactory_(ngModuleType, bootstrapComponents, defFactory); -} -var NgModuleFactory_ = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(NgModuleFactory_, _super); - function NgModuleFactory_(moduleType, _bootstrapComponents, _ngModuleDefFactory) { - var _this = - // Attention: this ctor is called as top level function. - // Putting any logic in here will destroy closure tree shaking! - _super.call(this) || this; - _this.moduleType = moduleType; - _this._bootstrapComponents = _bootstrapComponents; - _this._ngModuleDefFactory = _ngModuleDefFactory; - return _this; - } - /** - * @param {?} parentInjector - * @return {?} - */ - NgModuleFactory_.prototype.create = /** - * @param {?} parentInjector - * @return {?} - */ - function (parentInjector) { - initServicesIfNeeded(); - var /** @type {?} */ def = resolveDefinition(this._ngModuleDefFactory); - return Services.createNgModuleRef(this.moduleType, parentInjector || Injector.NULL, this._bootstrapComponents, def); - }; - return NgModuleFactory_; -}(NgModuleFactory)); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - * @record - */ - -/** - * \@experimental Animation support is experimental. - */ - -/** - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link trigger trigger animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link state state animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link transition transition animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * \@experimental Animation support is experimental. - * @record - */ - -/** - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link keyframes keyframes animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link style style animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link animate animate animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link animateChild animateChild animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link useAnimation useAnimation animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link sequence sequence animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link group group animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * Metadata representing the entry of animations. Instances of this interface are provided via the - * animation DSL when the {\@link stagger stagger animation function} is called. - * - * \@experimental Animation support is experimental. - * @record - */ - -/** - * `trigger` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the - * {\@link Component#animations component animations metadata page} to gain a better - * understanding of how animations in Angular are used. - * - * `trigger` Creates an animation trigger which will a list of {\@link state state} and - * {\@link transition transition} entries that will be evaluated when the expression - * bound to the trigger changes. - * - * Triggers are registered within the component annotation data under the - * {\@link Component#animations animations section}. An animation trigger can be placed on an element - * within a template by referencing the name of the trigger followed by the expression value that - * the - * trigger is bound to (in the form of `[\@triggerName]="expression"`. - * - * Animation trigger bindings strigify values and then match the previous and current values against - * any linked transitions. If a boolean value is provided into the trigger binding then it will both - * be represented as `1` or `true` and `0` or `false` for a true and false boolean values - * respectively. - * - * ### Usage - * - * `trigger` will create an animation trigger reference based on the provided `name` value. The - * provided `animation` value is expected to be an array consisting of {\@link state state} and - * {\@link transition transition} declarations. - * - * ```typescript - * \@Component({ - * selector: 'my-component', - * templateUrl: 'my-component-tpl.html', - * animations: [ - * trigger("myAnimationTrigger", [ - * state(...), - * state(...), - * transition(...), - * transition(...) - * ]) - * ] - * }) - * class MyComponent { - * myStatusExp = "something"; - * } - * ``` - * - * The template associated with this component will make use of the `myAnimationTrigger` animation - * trigger by binding to an element within its template code. - * - * ```html - * - *
    ...
    - * ``` - * - * ## Disable Animations - * A special animation control binding called `\@.disabled` can be placed on an element which will - * then disable animations for any inner animation triggers situated within the element as well as - * any animations on the element itself. - * - * When true, the `\@.disabled` binding will prevent all animations from rendering. The example - * below shows how to use this feature: - * - * ```ts - * \@Component({ - * selector: 'my-component', - * template: ` - *
    - *
    - *
    - * `, - * animations: [ - * trigger("childAnimation", [ - * // ... - * ]) - * ] - * }) - * class MyComponent { - * isDisabled = true; - * exp = '...'; - * } - * ``` - * - * The `\@childAnimation` trigger will not animate because `\@.disabled` prevents it from happening - * (when true). - * - * Note that `\@.disbled` will only disable all animations (this means any animations running on - * the same element will also be disabled). - * - * ### Disabling Animations Application-wide - * When an area of the template is set to have animations disabled, **all** inner components will - * also have their animations disabled as well. This means that all animations for an angular - * application can be disabled by placing a host binding set on `\@.disabled` on the topmost Angular - * component. - * - * ```ts - * import {Component, HostBinding} from '\@angular/core'; - * - * \@Component({ - * selector: 'app-component', - * templateUrl: 'app.component.html', - * }) - * class AppComponent { - * \@HostBinding('\@.disabled') - * public animationsDisabled = true; - * } - * ``` - * - * ### What about animations that us `query()` and `animateChild()`? - * Despite inner animations being disabled, a parent animation can {\@link query query} for inner - * elements located in disabled areas of the template and still animate them as it sees fit. This is - * also the case for when a sub animation is queried by a parent and then later animated using {\@link - * animateChild animateChild}. - * - * \@experimental Animation support is experimental. - * @param {?} name - * @param {?} definitions - * @return {?} - */ -function trigger$1(name, definitions) { - return { type: 7 /* Trigger */, name: name, definitions: definitions, options: {} }; -} -/** - * `animate` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `animate` specifies an animation step that will apply the provided `styles` data for a given - * amount of time based on the provided `timing` expression value. Calls to `animate` are expected - * to be used within {\@link sequence an animation sequence}, {\@link group group}, or {\@link - * transition transition}. - * - * ### Usage - * - * The `animate` function accepts two input parameters: `timing` and `styles`: - * - * - `timing` is a string based value that can be a combination of a duration with optional delay - * and easing values. The format for the expression breaks down to `duration delay easing` - * (therefore a value such as `1s 100ms ease-out` will be parse itself into `duration=1000, - * delay=100, easing=ease-out`. If a numeric value is provided then that will be used as the - * `duration` value in millisecond form. - * - `styles` is the style input data which can either be a call to {\@link style style} or {\@link - * keyframes keyframes}. If left empty then the styles from the destination state will be collected - * and used (this is useful when describing an animation step that will complete an animation by - * {\@link transition#the-final-animate-call animating to the final state}). - * - * ```typescript - * // various functions for specifying timing data - * animate(500, style(...)) - * animate("1s", style(...)) - * animate("100ms 0.5s", style(...)) - * animate("5s ease", style(...)) - * animate("5s 10ms cubic-bezier(.17,.67,.88,.1)", style(...)) - * - * // either style() of keyframes() can be used - * animate(500, style({ background: "red" })) - * animate(500, keyframes([ - * style({ background: "blue" })), - * style({ background: "red" })) - * ]) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} timings - * @param {?=} styles - * @return {?} - */ -function animate$1(timings, styles) { - if (styles === void 0) { styles = null; } - return { type: 4 /* Animate */, styles: styles, timings: timings }; -} -/** - * `group` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `group` specifies a list of animation steps that are all run in parallel. Grouped animations are - * useful when a series of styles must be animated/closed off at different starting/ending times. - * - * The `group` function can either be used within a {\@link sequence sequence} or a {\@link transition - * transition} and it will only continue to the next instruction once all of the inner animation - * steps have completed. - * - * ### Usage - * - * The `steps` data that is passed into the `group` animation function can either consist of {\@link - * style style} or {\@link animate animate} function calls. Each call to `style()` or `animate()` - * within a group will be executed instantly (use {\@link keyframes keyframes} or a {\@link - * animate#usage animate() with a delay value} to offset styles to be applied at a later time). - * - * ```typescript - * group([ - * animate("1s", { background: "black" })) - * animate("2s", { color: "white" })) - * ]) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} steps - * @param {?=} options - * @return {?} - */ -function group$1(steps, options) { - if (options === void 0) { options = null; } - return { type: 3 /* Group */, steps: steps, options: options }; -} -/** - * `sequence` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `sequence` Specifies a list of animation steps that are run one by one. (`sequence` is used by - * default when an array is passed as animation data into {\@link transition transition}.) - * - * The `sequence` function can either be used within a {\@link group group} or a {\@link transition - * transition} and it will only continue to the next instruction once each of the inner animation - * steps have completed. - * - * To perform animation styling in parallel with other animation steps then have a look at the - * {\@link group group} animation function. - * - * ### Usage - * - * The `steps` data that is passed into the `sequence` animation function can either consist of - * {\@link style style} or {\@link animate animate} function calls. A call to `style()` will apply the - * provided styling data immediately while a call to `animate()` will apply its styling data over a - * given time depending on its timing data. - * - * ```typescript - * sequence([ - * style({ opacity: 0 })), - * animate("1s", { opacity: 1 })) - * ]) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} steps - * @param {?=} options - * @return {?} - */ -function sequence$1(steps, options) { - if (options === void 0) { options = null; } - return { type: 2 /* Sequence */, steps: steps, options: options }; -} -/** - * `style` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `style` declares a key/value object containing CSS properties/styles that can then be used for - * {\@link state animation states}, within an {\@link sequence animation sequence}, or as styling data - * for both {\@link animate animate} and {\@link keyframes keyframes}. - * - * ### Usage - * - * `style` takes in a key/value string map as data and expects one or more CSS property/value pairs - * to be defined. - * - * ```typescript - * // string values are used for css properties - * style({ background: "red", color: "blue" }) - * - * // numerical (pixel) values are also supported - * style({ width: 100, height: 0 }) - * ``` - * - * #### Auto-styles (using `*`) - * - * When an asterix (`*`) character is used as a value then it will be detected from the element - * being animated and applied as animation data when the animation starts. - * - * This feature proves useful for a state depending on layout and/or environment factors; in such - * cases the styles are calculated just before the animation starts. - * - * ```typescript - * // the steps below will animate from 0 to the - * // actual height of the element - * style({ height: 0 }), - * animate("1s", style({ height: "*" })) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} tokens - * @return {?} - */ -function style$1(tokens) { - return { type: 6 /* Style */, styles: tokens, offset: null }; -} -/** - * `state` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `state` declares an animation state within the given trigger. When a state is active within a - * component then its associated styles will persist on the element that the trigger is attached to - * (even when the animation ends). - * - * To animate between states, have a look at the animation {\@link transition transition} DSL - * function. To register states to an animation trigger please have a look at the {\@link trigger - * trigger} function. - * - * #### The `void` state - * - * The `void` state value is a reserved word that angular uses to determine when the element is not - * apart of the application anymore (e.g. when an `ngIf` evaluates to false then the state of the - * associated element is void). - * - * #### The `*` (default) state - * - * The `*` state (when styled) is a fallback state that will be used if the state that is being - * animated is not declared within the trigger. - * - * ### Usage - * - * `state` will declare an animation state with its associated styles - * within the given trigger. - * - * - `stateNameExpr` can be one or more state names separated by commas. - * - `styles` refers to the {\@link style styling data} that will be persisted on the element once - * the state has been reached. - * - * ```typescript - * // "void" is a reserved name for a state and is used to represent - * // the state in which an element is detached from from the application. - * state("void", style({ height: 0 })) - * - * // user-defined states - * state("closed", style({ height: 0 })) - * state("open, visible", style({ height: "*" })) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} name - * @param {?} styles - * @param {?=} options - * @return {?} - */ -function state$1(name, styles, options) { - return { type: 0 /* State */, name: name, styles: styles, options: options }; -} -/** - * `keyframes` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `keyframes` specifies a collection of {\@link style style} entries each optionally characterized - * by an `offset` value. - * - * ### Usage - * - * The `keyframes` animation function is designed to be used alongside the {\@link animate animate} - * animation function. Instead of applying animations from where they are currently to their - * destination, keyframes can describe how each style entry is applied and at what point within the - * animation arc (much like CSS Keyframe Animations do). - * - * For each `style()` entry an `offset` value can be set. Doing so allows to specifiy at what - * percentage of the animate time the styles will be applied. - * - * ```typescript - * // the provided offset values describe when each backgroundColor value is applied. - * animate("5s", keyframes([ - * style({ backgroundColor: "red", offset: 0 }), - * style({ backgroundColor: "blue", offset: 0.2 }), - * style({ backgroundColor: "orange", offset: 0.3 }), - * style({ backgroundColor: "black", offset: 1 }) - * ])) - * ``` - * - * Alternatively, if there are no `offset` values used within the style entries then the offsets - * will be calculated automatically. - * - * ```typescript - * animate("5s", keyframes([ - * style({ backgroundColor: "red" }) // offset = 0 - * style({ backgroundColor: "blue" }) // offset = 0.33 - * style({ backgroundColor: "orange" }) // offset = 0.66 - * style({ backgroundColor: "black" }) // offset = 1 - * ])) - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} steps - * @return {?} - */ -function keyframes$1(steps) { - return { type: 5 /* Keyframes */, steps: steps }; -} -/** - * `transition` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. If this information is new, please navigate to the {\@link - * Component#animations component animations metadata page} to gain a better understanding of - * how animations in Angular are used. - * - * `transition` declares the {\@link sequence sequence of animation steps} that will be run when the - * provided `stateChangeExpr` value is satisfied. The `stateChangeExpr` consists of a `state1 => - * state2` which consists of two known states (use an asterix (`*`) to refer to a dynamic starting - * and/or ending state). - * - * A function can also be provided as the `stateChangeExpr` argument for a transition and this - * function will be executed each time a state change occurs. If the value returned within the - * function is true then the associated animation will be run. - * - * Animation transitions are placed within an {\@link trigger animation trigger}. For an transition - * to animate to a state value and persist its styles then one or more {\@link state animation - * states} is expected to be defined. - * - * ### Usage - * - * An animation transition is kicked off the `stateChangeExpr` predicate evaluates to true based on - * what the previous state is and what the current state has become. In other words, if a transition - * is defined that matches the old/current state criteria then the associated animation will be - * triggered. - * - * ```typescript - * // all transition/state changes are defined within an animation trigger - * trigger("myAnimationTrigger", [ - * // if a state is defined then its styles will be persisted when the - * // animation has fully completed itself - * state("on", style({ background: "green" })), - * state("off", style({ background: "grey" })), - * - * // a transition animation that will be kicked off when the state value - * // bound to "myAnimationTrigger" changes from "on" to "off" - * transition("on => off", animate(500)), - * - * // it is also possible to do run the same animation for both directions - * transition("on <=> off", animate(500)), - * - * // or to define multiple states pairs separated by commas - * transition("on => off, off => void", animate(500)), - * - * // this is a catch-all state change for when an element is inserted into - * // the page and the destination state is unknown - * transition("void => *", [ - * style({ opacity: 0 }), - * animate(500) - * ]), - * - * // this will capture a state change between any states - * transition("* => *", animate("1s 0s")), - * - * // you can also go full out and include a function - * transition((fromState, toState) => { - * // when `true` then it will allow the animation below to be invoked - * return fromState == "off" && toState == "on"; - * }, animate("1s 0s")) - * ]) - * ``` - * - * The template associated with this component will make use of the `myAnimationTrigger` animation - * trigger by binding to an element within its template code. - * - * ```html - * - *
    ...
    - * ``` - * - * #### The final `animate` call - * - * If the final step within the transition steps is a call to `animate()` that **only** uses a - * timing value with **no style data** then it will be automatically used as the final animation arc - * for the element to animate itself to the final state. This involves an automatic mix of - * adding/removing CSS styles so that the element will be in the exact state it should be for the - * applied state to be presented correctly. - * - * ``` - * // start off by hiding the element, but make sure that it animates properly to whatever state - * // is currently active for "myAnimationTrigger" - * transition("void => *", [ - * style({ opacity: 0 }), - * animate(500) - * ]) - * ``` - * - * ### Using :enter and :leave - * - * Given that enter (insertion) and leave (removal) animations are so common, the `transition` - * function accepts both `:enter` and `:leave` values which are aliases for the `void => *` and `* - * => void` state changes. - * - * ``` - * transition(":enter", [ - * style({ opacity: 0 }), - * animate(500, style({ opacity: 1 })) - * ]), - * transition(":leave", [ - * animate(500, style({ opacity: 0 })) - * ]) - * ``` - * - * ### Boolean values - * if a trigger binding value is a boolean value then it can be matched using a transition - * expression that compares `true` and `false` or `1` and `0`. - * - * ``` - * // in the template - *
    ...
    - * - * // in the component metadata - * trigger('openClose', [ - * state('true', style({ height: '*' })), - * state('false', style({ height: '0px' })), - * transition('false <=> true', animate(500)) - * ]) - * ``` - * - * ### Using :increment and :decrement - * In addition to the :enter and :leave transition aliases, the :increment and :decrement aliases - * can be used to kick off a transition when a numeric value has increased or decreased in value. - * - * ``` - * import {group, animate, query, transition, style, trigger} from '\@angular/animations'; - * import {Component} from '\@angular/core'; - * - * \@Component({ - * selector: 'banner-carousel-component', - * styles: [` - * .banner-container { - * position:relative; - * height:500px; - * overflow:hidden; - * } - * .banner-container > .banner { - * position:absolute; - * left:0; - * top:0; - * font-size:200px; - * line-height:500px; - * font-weight:bold; - * text-align:center; - * width:100%; - * } - * `], - * template: ` - * - * - *
    - * - * ` - * animations: [ - * trigger('bannerAnimation', [ - * transition(":increment", group([ - * query(':enter', [ - * style({ left: '100%' }), - * animate('0.5s ease-out', style('*')) - * ]), - * query(':leave', [ - * animate('0.5s ease-out', style({ left: '-100%' })) - * ]) - * ])), - * transition(":decrement", group([ - * query(':enter', [ - * style({ left: '-100%' }), - * animate('0.5s ease-out', style('*')) - * ]), - * query(':leave', [ - * animate('0.5s ease-out', style({ left: '100%' })) - * ]) - * ])), - * ]) - * ] - * }) - * class BannerCarouselComponent { - * allBanners: string[] = ['1', '2', '3', '4']; - * selectedIndex: number = 0; - * - * get banners() { - * return [this.allBanners[this.selectedIndex]]; - * } - * - * previous() { - * this.selectedIndex = Math.max(this.selectedIndex - 1, 0); - * } - * - * next() { - * this.selectedIndex = Math.min(this.selectedIndex + 1, this.allBanners.length - 1); - * } - * } - * ``` - * - * {\@example core/animation/ts/dsl/animation_example.ts region='Component'} - * - * \@experimental Animation support is experimental. - * @param {?} stateChangeExpr - * @param {?} steps - * @param {?=} options - * @return {?} - */ -function transition$1(stateChangeExpr, steps, options) { - if (options === void 0) { options = null; } - return { type: 1 /* Transition */, expr: stateChangeExpr, animation: steps, options: options }; -} -/** - * `animation` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. - * - * `var myAnimation = animation(...)` is designed to produce a reusable animation that can be later - * invoked in another animation or sequence. Reusable animations are designed to make use of - * animation parameters and the produced animation can be used via the `useAnimation` method. - * - * ``` - * var fadeAnimation = animation([ - * style({ opacity: '{{ start }}' }), - * animate('{{ time }}', - * style({ opacity: '{{ end }}'})) - * ], { params: { time: '1000ms', start: 0, end: 1 }}); - * ``` - * - * If parameters are attached to an animation then they act as **default parameter values**. When an - * animation is invoked via `useAnimation` then parameter values are allowed to be passed in - * directly. If any of the passed in parameter values are missing then the default values will be - * used. - * - * ``` - * useAnimation(fadeAnimation, { - * params: { - * time: '2s', - * start: 1, - * end: 0 - * } - * }) - * ``` - * - * If one or more parameter values are missing before animated then an error will be thrown. - * - * \@experimental Animation support is experimental. - * @param {?} steps - * @param {?=} options - * @return {?} - */ - -/** - * `animateChild` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. It works by allowing a queried element to execute its own - * animation within the animation sequence. - * - * Each time an animation is triggered in angular, the parent animation - * will always get priority and any child animations will be blocked. In order - * for a child animation to run, the parent animation must query each of the elements - * containing child animations and then allow the animations to run using `animateChild`. - * - * The example HTML code below shows both parent and child elements that have animation - * triggers that will execute at the same time. - * - * ```html - * - * - *
    - * - *
    - *
    Hello
    - *
    - * one - *
    - *
    - * two - *
    - *
    - * three - *
    - *
    - * ``` - * - * Now when the `exp` value changes to true, only the `parentAnimation` animation will animate - * because it has priority. However, using `query` and `animateChild` each of the inner animations - * can also fire: - * - * ```ts - * // parent-child.component.ts - * import {trigger, transition, animate, style, query, animateChild} from '\@angular/animations'; - * \@Component({ - * selector: 'parent-child-component', - * animations: [ - * trigger('parentAnimation', [ - * transition('false => true', [ - * query('header', [ - * style({ opacity: 0 }), - * animate(500, style({ opacity: 1 })) - * ]), - * query('\@childAnimation', [ - * animateChild() - * ]) - * ]) - * ]), - * trigger('childAnimation', [ - * transition('false => true', [ - * style({ opacity: 0 }), - * animate(500, style({ opacity: 1 })) - * ]) - * ]) - * ] - * }) - * class ParentChildCmp { - * exp: boolean = false; - * } - * ``` - * - * In the animation code above, when the `parentAnimation` transition kicks off it first queries to - * find the header element and fades it in. It then finds each of the sub elements that contain the - * `\@childAnimation` trigger and then allows for their animations to fire. - * - * This example can be further extended by using stagger: - * - * ```ts - * query('\@childAnimation', stagger(100, [ - * animateChild() - * ])) - * ``` - * - * Now each of the sub animations start off with respect to the `100ms` staggering step. - * - * ## The first frame of child animations - * When sub animations are executed using `animateChild` the animation engine will always apply the - * first frame of every sub animation immediately at the start of the animation sequence. This way - * the parent animation does not need to set any initial styling data on the sub elements before the - * sub animations kick off. - * - * In the example above the first frame of the `childAnimation`'s `false => true` transition - * consists of a style of `opacity: 0`. This is applied immediately when the `parentAnimation` - * animation transition sequence starts. Only then when the `\@childAnimation` is queried and called - * with `animateChild` will it then animate to its destination of `opacity: 1`. - * - * Note that this feature designed to be used alongside {\@link query query()} and it will only work - * with animations that are assigned using the Angular animation DSL (this means that CSS keyframes - * and transitions are not handled by this API). - * - * \@experimental Animation support is experimental. - * @param {?=} options - * @return {?} - */ - -/** - * `useAnimation` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. It is used to kick off a reusable animation that is created using {\@link - * animation animation()}. - * - * \@experimental Animation support is experimental. - * @param {?} animation - * @param {?=} options - * @return {?} - */ - -/** - * `query` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. - * - * query() is used to find one or more inner elements within the current element that is - * being animated within the sequence. The provided animation steps are applied - * to the queried element (by default, an array is provided, then this will be - * treated as an animation sequence). - * - * ### Usage - * - * query() is designed to collect mutiple elements and works internally by using - * `element.querySelectorAll`. An additional options object can be provided which - * can be used to limit the total amount of items to be collected. - * - * ```js - * query('div', [ - * animate(...), - * animate(...) - * ], { limit: 1 }) - * ``` - * - * query(), by default, will throw an error when zero items are found. If a query - * has the `optional` flag set to true then this error will be ignored. - * - * ```js - * query('.some-element-that-may-not-be-there', [ - * animate(...), - * animate(...) - * ], { optional: true }) - * ``` - * - * ### Special Selector Values - * - * The selector value within a query can collect elements that contain angular-specific - * characteristics - * using special pseudo-selectors tokens. - * - * These include: - * - * - Querying for newly inserted/removed elements using `query(":enter")`/`query(":leave")` - * - Querying all currently animating elements using `query(":animating")` - * - Querying elements that contain an animation trigger using `query("\@triggerName")` - * - Querying all elements that contain an animation triggers using `query("\@*")` - * - Including the current element into the animation sequence using `query(":self")` - * - * - * Each of these pseudo-selector tokens can be merged together into a combined query selector - * string: - * - * ``` - * query(':self, .record:enter, .record:leave, \@subTrigger', [...]) - * ``` - * - * ### Demo - * - * ``` - * \@Component({ - * selector: 'inner', - * template: ` - *
    - *

    Title

    - *
    - * Blah blah blah - *
    - *
    - * `, - * animations: [ - * trigger('queryAnimation', [ - * transition('* => goAnimate', [ - * // hide the inner elements - * query('h1', style({ opacity: 0 })), - * query('.content', style({ opacity: 0 })), - * - * // animate the inner elements in, one by one - * query('h1', animate(1000, style({ opacity: 1 })), - * query('.content', animate(1000, style({ opacity: 1 })), - * ]) - * ]) - * ] - * }) - * class Cmp { - * exp = ''; - * - * goAnimate() { - * this.exp = 'goAnimate'; - * } - * } - * ``` - * - * \@experimental Animation support is experimental. - * @param {?} selector - * @param {?} animation - * @param {?=} options - * @return {?} - */ - -/** - * `stagger` is an animation-specific function that is designed to be used inside of Angular's - * animation DSL language. It is designed to be used inside of an animation {\@link query query()} - * and works by issuing a timing gap between after each queried item is animated. - * - * ### Usage - * - * In the example below there is a container element that wraps a list of items stamped out - * by an ngFor. The container element contains an animation trigger that will later be set - * to query for each of the inner items. - * - * ```html - * - * - *
    - *
    - *
    - * {{ item }} - *
    - *
    - * ``` - * - * The component code for this looks as such: - * - * ```ts - * import {trigger, transition, style, animate, query, stagger} from '\@angular/animations'; - * \@Component({ - * templateUrl: 'list.component.html', - * animations: [ - * trigger('listAnimation', [ - * //... - * ]) - * ] - * }) - * class ListComponent { - * items = []; - * - * showItems() { - * this.items = [0,1,2,3,4]; - * } - * - * hideItems() { - * this.items = []; - * } - * - * toggle() { - * this.items.length ? this.hideItems() : this.showItems(); - * } - * } - * ``` - * - * And now for the animation trigger code: - * - * ```ts - * trigger('listAnimation', [ - * transition('* => *', [ // each time the binding value changes - * query(':leave', [ - * stagger(100, [ - * animate('0.5s', style({ opacity: 0 })) - * ]) - * ]), - * query(':enter', [ - * style({ opacity: 0 }), - * stagger(100, [ - * animate('0.5s', style({ opacity: 1 })) - * ]) - * ]) - * ]) - * ]) - * ``` - * - * Now each time the items are added/removed then either the opacity - * fade-in animation will run or each removed item will be faded out. - * When either of these animations occur then a stagger effect will be - * applied after each item's animation is started. - * - * \@experimental Animation support is experimental. - * @param {?} timings - * @param {?} animation - * @return {?} - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - */ -var AUTO_STYLE = '*'; -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @record - */ - -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} name - * @param {?} definitions - * @return {?} - */ -function trigger$$1(name, definitions) { - return trigger$1(name, definitions); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} timings - * @param {?=} styles - * @return {?} - */ -function animate$$1(timings, styles) { - return animate$1(timings, styles); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} steps - * @return {?} - */ -function group$$1(steps) { - return group$1(steps); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} steps - * @return {?} - */ -function sequence$$1(steps) { - return sequence$1(steps); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} tokens - * @return {?} - */ -function style$$1(tokens) { - return style$1(tokens); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} name - * @param {?} styles - * @return {?} - */ -function state$$1(name, styles) { - return state$1(name, styles); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} steps - * @return {?} - */ -function keyframes$$1(steps) { - return keyframes$1(steps); -} -/** - * @deprecated This symbol has moved. Please Import from \@angular/animations instead! - * @param {?} stateChangeExpr - * @param {?} steps - * @return {?} - */ -function transition$$1(stateChangeExpr, steps) { - return transition$1(stateChangeExpr, steps); -} -/** - * @deprecated This has been renamed to `AnimationEvent`. Please import it from \@angular/animations. - * @record - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @module - * @description - * Entry point from which you should import all public core APIs. - */ - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @module - * @description - * Entry point for all public APIs of this package. - */ - -// This file only reexports content of the `src` folder. Keep it that way. - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Generated bundle index. Do not edit. - */ - - -//# sourceMappingURL=core.js.map - -/* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(207))) - -/***/ }), -/* 1 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (immutable) */ __webpack_exports__["b"] = __extends; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __assign; }); -/* unused harmony export __rest */ -/* unused harmony export __decorate */ -/* unused harmony export __param */ -/* unused harmony export __metadata */ -/* unused harmony export __awaiter */ -/* unused harmony export __generator */ -/* unused harmony export __exportStar */ -/* unused harmony export __values */ -/* unused harmony export __read */ -/* unused harmony export __spread */ -/* unused harmony export __await */ -/* unused harmony export __asyncGenerator */ -/* unused harmony export __asyncDelegator */ -/* unused harmony export __asyncValues */ -/* unused harmony export __makeTemplateObject */ -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -/* global Reflect, Promise */ - -var extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - -function __extends(d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); -} - -var __assign = Object.assign || function __assign(t) { - for (var s, i = 1, n = arguments.length; i < n; i++) { - s = arguments[i]; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; - } - return t; -} - -function __rest(s, e) { - var t = {}; - for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) - t[p] = s[p]; - if (s != null && typeof Object.getOwnPropertySymbols === "function") - for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0) - t[p[i]] = s[p[i]]; - return t; -} - -function __decorate(decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -} - -function __param(paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } -} - -function __metadata(metadataKey, metadataValue) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); -} - -function __awaiter(thisArg, _arguments, P, generator) { - return new (P || (P = Promise))(function (resolve, reject) { - function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } - function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } - function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } - step((generator = generator.apply(thisArg, _arguments || [])).next()); - }); -} - -function __generator(thisArg, body) { - var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; - return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; - function verb(n) { return function (v) { return step([n, v]); }; } - function step(op) { - if (f) throw new TypeError("Generator is already executing."); - while (_) try { - if (f = 1, y && (t = y[op[0] & 2 ? "return" : op[0] ? "throw" : "next"]) && !(t = t.call(y, op[1])).done) return t; - if (y = 0, t) op = [0, t.value]; - switch (op[0]) { - case 0: case 1: t = op; break; - case 4: _.label++; return { value: op[1], done: false }; - case 5: _.label++; y = op[1]; op = [0]; continue; - case 7: op = _.ops.pop(); _.trys.pop(); continue; - default: - if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } - if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } - if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } - if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } - if (t[2]) _.ops.pop(); - _.trys.pop(); continue; - } - op = body.call(thisArg, _); - } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } - if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; - } -} - -function __exportStar(m, exports) { - for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; -} - -function __values(o) { - var m = typeof Symbol === "function" && o[Symbol.iterator], i = 0; - if (m) return m.call(o); - return { - next: function () { - if (o && i >= o.length) o = void 0; - return { value: o && o[i++], done: !o }; - } - }; -} - -function __read(o, n) { - var m = typeof Symbol === "function" && o[Symbol.iterator]; - if (!m) return o; - var i = m.call(o), r, ar = [], e; - try { - while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); - } - catch (error) { e = { error: error }; } - finally { - try { - if (r && !r.done && (m = i["return"])) m.call(i); - } - finally { if (e) throw e.error; } - } - return ar; -} - -function __spread() { - for (var ar = [], i = 0; i < arguments.length; i++) - ar = ar.concat(__read(arguments[i])); - return ar; -} - -function __await(v) { - return this instanceof __await ? (this.v = v, this) : new __await(v); -} - -function __asyncGenerator(thisArg, _arguments, generator) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var g = generator.apply(thisArg, _arguments || []), i, q = []; - return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i; - function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; } - function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } - function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } - function fulfill(value) { resume("next", value); } - function reject(value) { resume("throw", value); } - function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } -} - -function __asyncDelegator(o) { - var i, p; - return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; - function verb(n, f) { if (o[n]) i[n] = function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; }; } -} - -function __asyncValues(o) { - if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); - var m = o[Symbol.asyncIterator]; - return m ? m.call(o) : typeof __values === "function" ? __values(o) : o[Symbol.iterator](); -} - -function __makeTemplateObject(cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; -}; - - -/***/ }), -/* 2 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return Config; }); -/* harmony export (immutable) */ __webpack_exports__["c"] = setupConfig; -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ConfigToken; }); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__util_util__ = __webpack_require__(3); - - -/** - * @name Config - * @demo /docs/demos/src/config/ - * @description - * The Config lets you configure your entire app or specific platforms. - * You can set the tab placement, icon mode, animations, and more here. - * - * ```ts - * import { IonicApp, IonicModule } from 'ionic-angular'; - * - * @NgModule({ - * declarations: [ MyApp ], - * imports: [ - * BrowserModule, - * IonicModule.forRoot(MyApp, { - * backButtonText: 'Go Back', - * iconMode: 'ios', - * modalEnter: 'modal-slide-in', - * modalLeave: 'modal-slide-out', - * tabsPlacement: 'bottom', - * pageTransition: 'ios-transition' - * }, {} - * )], - * bootstrap: [IonicApp], - * entryComponents: [ MyApp ], - * providers: [] - * }) - * ``` - * - * - * Config can be overwritten at multiple levels allowing for more granular configuration. - * Below is an example where an app can override any setting we want based on a platform. - * - * ```ts - * import { IonicModule } from 'ionic-angular'; - * - * @NgModule({ - * ... - * imports: [ - * BrowserModule, - * IonicModule.forRoot(MyApp, { - * tabsPlacement: 'bottom', - * platforms: { - * ios: { - * tabsPlacement: 'top', - * } - * } - * }, {} - * )], - * ... - * }) - * ``` - * - * We could also configure these values at a component level. Take `tabsPlacement`, - * we can configure this as a property on our `ion-tabs`. - * - * ```html - * - * - * - * ``` - * - * The last way we could configure is through URL query strings. This is useful for testing - * while in the browser. Simply add `?ionic=` to the url. - * - * ```bash - * http://localhost:8100/?ionicTabsPlacement=bottom - * ``` - * - * Any value can be added to config, and looked up at a later in any component. - * - * ```js - * config.set('ios', 'favoriteColor', 'green'); - * - * // from any page in your app: - * config.get('favoriteColor'); // 'green' when iOS - * ``` - * - * - * A config value can come from anywhere and be anything, but there are default - * values for each mode. The [theming](../../../theming/platform-specific-styles/) - * documentation has a chart of the default mode configuration. The following - * chart displays each property with a description of what it controls. - * - * - * | Config Property | Type | Details | - * |--------------------------|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------| - * | `activator` | `string` | Used for buttons, changes the effect of pressing on a button. Available options: `"ripple"`, `"highlight"`. | - * | `actionSheetEnter` | `string` | The name of the transition to use while an action sheet is presented. | - * | `actionSheetLeave` | `string` | The name of the transition to use while an action sheet is dismissed. | - * | `alertEnter` | `string` | The name of the transition to use while an alert is presented. | - * | `alertLeave` | `string` | The name of the transition to use while an alert is dismissed. | - * | `backButtonText` | `string` | The text to display by the back button icon in the navbar. | - * | `backButtonIcon` | `string` | The icon to use as the back button icon. | - * | `iconMode` | `string` | The mode to use for all icons throughout the application. Available options: `"ios"`, `"md"` | - * | `locationStrategy` | `string` | Set to 'path' to remove hashbangs when using Deeplinking. | - * | `loadingEnter` | `string` | The name of the transition to use while a loading indicator is presented. | - * | `loadingLeave` | `string` | The name of the transition to use while a loading indicator is dismissed. | - * | `menuType` | `string` | Type of menu to display. Available options: `"overlay"`, `"reveal"`, `"push"`. | - * | `modalEnter` | `string` | The name of the transition to use while a modal is presented. | - * | `modalLeave` | `string` | The name of the transition to use while a modal is dismiss. | - * | `mode` | `string` | The mode to use throughout the application. | - * | `pageTransition` | `string` | The name of the transition to use while changing pages. Available options: `"ios-transition"`, `"md-transition"`, `"wp-transition"`. | - * | `pickerEnter` | `string` | The name of the transition to use while a picker is presented. | - * | `pickerLeave` | `string` | The name of the transition to use while a picker is dismissed. | - * | `popoverEnter` | `string` | The name of the transition to use while a popover is presented. | - * | `popoverLeave` | `string` | The name of the transition to use while a popover is dismissed. - * | `scrollAssist` | `boolean` | Used to avoid the input to be hidden by the keyboard if it's near the bottom of the page. - * | `scrollPadding` | `boolean` | Used to remove the extra padding on ion-content when keyboard is displayed. - * | `spinner` | `string` | The default spinner to use when a name is not defined. | - * | `statusbarPadding` | `boolean` | Whether to hide extra padding for statusbar. | - * | `swipeBackEnabled` | `boolean` | Whether native iOS swipe to go back functionality is enabled. | - * | `tabsHighlight` | `boolean` | Whether to show a highlight line under the tab when it is selected. | - * | `tabsLayout` | `string` | The layout to use for all tabs. Available options: `"icon-top"`, `"icon-start"`, `"icon-end"`, `"icon-bottom"`, `"icon-hide"`, `"title-hide"`. | - * | `tabsPlacement` | `string` | The position of the tabs relative to the content. Available options: `"top"`, `"bottom"` | - * | `tabsHideOnSubPages` | `boolean` | Whether to hide the tabs on child pages or not. If `true` it will not show the tabs on child pages. | - * | `toastEnter` | `string` | The name of the transition to use while a toast is presented. | - * | `toastLeave` | `string` | The name of the transition to use while a toast is dismissed. | - * -**/ -var Config = (function () { - function Config() { - this._c = {}; - this._s = {}; - this._modes = {}; - this._trns = {}; - } - /** - * @hidden - */ - Config.prototype.init = function (config, plt) { - this._s = config && Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["k" /* isObject */])(config) && !Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["e" /* isArray */])(config) ? config : {}; - this.plt = plt; - }; - /** - * @name get - * @description - * Returns a single config value, given a key. - * - * @param {string} [key] - the key for the config value - * @param {any} [fallbackValue] - a fallback value to use when the config - * value was not found, or is config value is `null`. Fallback value - * defaults to `null`. - */ - Config.prototype.get = function (key, fallbackValue) { - if (fallbackValue === void 0) { fallbackValue = null; } - var platform = this.plt; - if (!Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(this._c[key])) { - if (!Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(key)) { - throw 'config key is not defined'; - } - // if the value was already set this will all be skipped - // if there was no user config then it'll check each of - // the user config's platforms, which already contains - // settings from default platform configs - var userPlatformValue = undefined; - var userDefaultValue = this._s[key]; - var userPlatformModeValue = undefined; - var userDefaultModeValue = undefined; - var platformValue = undefined; - var platformModeValue = undefined; - var configObj = null; - if (platform) { - var queryStringValue = platform.getQueryParam('ionic' + key); - if (Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(queryStringValue)) { - return this._c[key] = (queryStringValue === 'true' ? true : queryStringValue === 'false' ? false : queryStringValue); - } - // check the platform settings object for this value - // loop though each of the active platforms - // array of active platforms, which also knows the hierarchy, - // with the last one the most important - var activePlatformKeys = platform.platforms(); - // loop through all of the active platforms we're on - for (var i = 0, ilen = activePlatformKeys.length; i < ilen; i++) { - // get user defined platform values - if (this._s.platforms) { - configObj = this._s.platforms[activePlatformKeys[i]]; - if (configObj) { - if (Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(configObj[key])) { - userPlatformValue = configObj[key]; - } - configObj = this.getModeConfig(configObj.mode); - if (configObj && Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(configObj[key])) { - userPlatformModeValue = configObj[key]; - } - } - } - // get default platform's setting - configObj = platform.getPlatformConfig(activePlatformKeys[i]); - if (configObj && configObj.settings) { - if (Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(configObj.settings[key])) { - // found a setting for this platform - platformValue = configObj.settings[key]; - } - configObj = this.getModeConfig(configObj.settings.mode); - if (configObj && Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(configObj[key])) { - // found setting for this platform's mode - platformModeValue = configObj[key]; - } - } - } - } - configObj = this.getModeConfig(this._s.mode); - if (configObj && Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(configObj[key])) { - userDefaultModeValue = configObj[key]; - } - // cache the value - this._c[key] = Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(userPlatformValue) ? userPlatformValue : - Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(userDefaultValue) ? userDefaultValue : - Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(userPlatformModeValue) ? userPlatformModeValue : - Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(userDefaultModeValue) ? userDefaultModeValue : - Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(platformValue) ? platformValue : - Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["h" /* isDefined */])(platformModeValue) ? platformModeValue : - null; - } - // return key's value - // either it came directly from the user config - // or it was from the users platform configs - // or it was from the default platform configs - // in that order - var rtnVal = this._c[key]; - if (Object(__WEBPACK_IMPORTED_MODULE_1__util_util__["i" /* isFunction */])(rtnVal)) { - rtnVal = rtnVal(platform); - } - return (rtnVal !== null ? rtnVal : fallbackValue); - }; - /** - * @name getBoolean - * @description - * Same as `get()`, however always returns a boolean value. If the - * value from `get()` is `null`, then it'll return the `fallbackValue` - * which defaults to `false`. Otherwise, `getBoolean()` will return - * if the config value is truthy or not. It also returns `true` if - * the config value was the string value `"true"`. - * @param {string} [key] - the key for the config value - * @param {boolean} [fallbackValue] - a fallback value to use when the config - * value was `null`. Fallback value defaults to `false`. - */ - Config.prototype.getBoolean = function (key, fallbackValue) { - if (fallbackValue === void 0) { fallbackValue = false; } - var val = this.get(key); - if (val === null) { - return fallbackValue; - } - if (typeof val === 'string') { - return val === 'true'; - } - return !!val; - }; - /** - * @name getNumber - * @description - * Same as `get()`, however always returns a number value. Uses `parseFloat()` - * on the value received from `get()`. If the result from the parse is `NaN`, - * then it will return the value passed to `fallbackValue`. If no fallback - * value was provided then it'll default to returning `NaN` when the result - * is not a valid number. - * @param {string} [key] - the key for the config value - * @param {number} [fallbackValue] - a fallback value to use when the config - * value turned out to be `NaN`. Fallback value defaults to `NaN`. - */ - Config.prototype.getNumber = function (key, fallbackValue) { - if (fallbackValue === void 0) { fallbackValue = NaN; } - var val = parseFloat(this.get(key)); - return isNaN(val) ? fallbackValue : val; - }; - /** - * @name set - * @description - * Sets a single config value. - * - * @param {string} [platform] - The platform (either 'ios' or 'android') that the config value should apply to. Leaving this blank will apply the config value to all platforms. - * @param {string} [key] - The key used to look up the value at a later point in time. - * @param {string} [value] - The config value being stored. - */ - Config.prototype.set = function () { - var args = []; - for (var _i = 0; _i < arguments.length; _i++) { - args[_i] = arguments[_i]; - } - var arg0 = args[0]; - var arg1 = args[1]; - switch (args.length) { - case 2: - // set('key', 'value') = set key/value pair - // arg1 = value - this._s[arg0] = arg1; - delete this._c[arg0]; // clear cache - break; - case 3: - // setting('ios', 'key', 'value') = set key/value pair for platform - // arg0 = platform - // arg1 = key - // arg2 = value - this._s.platforms = this._s.platforms || {}; - this._s.platforms[arg0] = this._s.platforms[arg0] || {}; - this._s.platforms[arg0][arg1] = args[2]; - delete this._c[arg1]; // clear cache - break; - } - return this; - }; - /** - * @hidden - * @name settings() - * @description - */ - Config.prototype.settings = function (arg0, arg1) { - switch (arguments.length) { - case 0: - return this._s; - case 1: - // settings({...}) - this._s = arg0; - this._c = {}; // clear cache - break; - case 2: - // settings('ios', {...}) - this._s.platforms = this._s.platforms || {}; - this._s.platforms[arg0] = arg1; - this._c = {}; // clear cache - break; - } - return this; - }; - /** - * @hidden - */ - Config.prototype.setModeConfig = function (modeName, modeConfig) { - this._modes[modeName] = modeConfig; - }; - /** - * @hidden - */ - Config.prototype.getModeConfig = function (modeName) { - return this._modes[modeName] || null; - }; - /** - * @hidden - */ - Config.prototype.setTransition = function (trnsName, trnsClass) { - this._trns[trnsName] = trnsClass; - }; - /** - * @hidden - */ - Config.prototype.getTransition = function (trnsName) { - return this._trns[trnsName] || null; - }; - return Config; -}()); - -/** - * @hidden - */ -function setupConfig(userConfig, plt) { - var config = new Config(); - config.init(userConfig, plt); - // add the config obj to the window - var win = plt.win(); - win['Ionic'] = win['Ionic'] || {}; - win['Ionic']['config'] = config; - return config; -} -/** - * @hidden - */ -var ConfigToken = new __WEBPACK_IMPORTED_MODULE_0__angular_core__["C" /* InjectionToken */]('USERCONFIG'); -//# sourceMappingURL=config.js.map - -/***/ }), -/* 3 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* harmony export (immutable) */ __webpack_exports__["a"] = clamp; -/* harmony export (immutable) */ __webpack_exports__["b"] = deepCopy; -/* harmony export (immutable) */ __webpack_exports__["c"] = deepEqual; -/* unused harmony export debounce */ -/* unused harmony export normalizeURL */ -/* harmony export (immutable) */ __webpack_exports__["d"] = defaults; -/* unused harmony export isBoolean */ -/* harmony export (immutable) */ __webpack_exports__["n"] = isString; -/* harmony export (immutable) */ __webpack_exports__["j"] = isNumber; -/* harmony export (immutable) */ __webpack_exports__["i"] = isFunction; -/* harmony export (immutable) */ __webpack_exports__["h"] = isDefined; -/* harmony export (immutable) */ __webpack_exports__["p"] = isUndefined; -/* harmony export (immutable) */ __webpack_exports__["l"] = isPresent; -/* harmony export (immutable) */ __webpack_exports__["f"] = isBlank; -/* harmony export (immutable) */ __webpack_exports__["k"] = isObject; -/* harmony export (immutable) */ __webpack_exports__["e"] = isArray; -/* unused harmony export isPrimitive */ -/* harmony export (immutable) */ __webpack_exports__["o"] = isTrueProperty; -/* harmony export (immutable) */ __webpack_exports__["g"] = isCheckedProperty; -/* harmony export (immutable) */ __webpack_exports__["m"] = isRightSide; -/* harmony export (immutable) */ __webpack_exports__["r"] = reorderArray; -/* harmony export (immutable) */ __webpack_exports__["q"] = removeArrayItem; -/* harmony export (immutable) */ __webpack_exports__["t"] = swipeShouldReset; -/* harmony export (immutable) */ __webpack_exports__["s"] = requestIonicCallback; -/* unused harmony export assert */ -/* unused harmony export runInDev */ -/** - * @hidden - * Given a min and max, restrict the given number - * to the range. - * @param min the minimum - * @param n the value - * @param max the maximum - */ -function clamp(min, n, max) { - return Math.max(min, Math.min(n, max)); -} -/** @hidden */ -function deepCopy(obj) { - return JSON.parse(JSON.stringify(obj)); -} -/** @hidden */ -function deepEqual(a, b) { - if (a === b) { - return true; - } - return JSON.stringify(a) === JSON.stringify(b); -} -/** @hidden */ -function debounce(fn, wait, immediate) { - if (immediate === void 0) { immediate = false; } - var timeout, args, context, timestamp, result; - return function () { - context = this; - args = arguments; - timestamp = Date.now(); - var later = function () { - var last = Date.now() - timestamp; - if (last < wait) { - timeout = setTimeout(later, wait - last); - } - else { - timeout = null; - if (!immediate) - result = fn.apply(context, args); - } - }; - var callNow = immediate && !timeout; - if (!timeout) { - timeout = setTimeout(later, wait); - } - if (callNow) - result = fn.apply(context, args); - return result; - }; -} -/** - * @hidden - * Rewrites an absolute URL so it works across file and http based engines - */ -function normalizeURL(url) { - var ionic = window['Ionic']; - if (ionic && ionic.normalizeURL) { - return ionic.normalizeURL(url); - } - return url; -} -/** - * @hidden - * Apply default arguments if they don't exist in - * the first object. - * @param {any} dest the destination to apply defaults to. - */ -function defaults(dest) { - var _args = []; - for (var _i = 1; _i < arguments.length; _i++) { - _args[_i - 1] = arguments[_i]; - } - for (var i = arguments.length - 1; i >= 1; i--) { - var source = arguments[i]; - if (source) { - for (var key in source) { - if (source.hasOwnProperty(key) && !dest.hasOwnProperty(key)) { - dest[key] = source[key]; - } - } - } - } - return dest; -} -/** @hidden */ -function isBoolean(val) { return typeof val === 'boolean'; } -/** @hidden */ -function isString(val) { return typeof val === 'string'; } -/** @hidden */ -function isNumber(val) { return typeof val === 'number'; } -/** @hidden */ -function isFunction(val) { return typeof val === 'function'; } -/** @hidden */ -function isDefined(val) { return typeof val !== 'undefined'; } -/** @hidden */ -function isUndefined(val) { return typeof val === 'undefined'; } -/** @hidden */ -function isPresent(val) { return val !== undefined && val !== null; } -/** @hidden */ -function isBlank(val) { return val === undefined || val === null; } -/** @hidden */ -function isObject(val) { return typeof val === 'object'; } -/** @hidden */ -function isArray(val) { return Array.isArray(val); } -/** @hidden */ -function isPrimitive(val) { - return isString(val) || isBoolean(val) || (isNumber(val) && !isNaN(val)); -} -/** @hidden */ -function isTrueProperty(val) { - if (typeof val === 'string') { - val = val.toLowerCase().trim(); - return (val === 'true' || val === 'on' || val === ''); - } - return !!val; -} -/** @hidden */ -function isCheckedProperty(a, b) { - if (a === undefined || a === null || a === '') { - return (b === undefined || b === null || b === ''); - } - else if (a === true || a === 'true') { - return (b === true || b === 'true'); - } - else if (a === false || a === 'false') { - return (b === false || b === 'false'); - } - else if (a === 0 || a === '0') { - return (b === 0 || b === '0'); - } - // not using strict comparison on purpose - return (a == b); // tslint:disable-line -} -/** - * @hidden - * Given a side, return if it should be on the right - * based on the value of dir - * @param side the side - * @param isRTL whether the application dir is rtl - * @param defaultRight whether the default side is right - */ -function isRightSide(side, isRTL, defaultRight) { - if (defaultRight === void 0) { defaultRight = false; } - switch (side) { - case 'right': return true; - case 'left': return false; - case 'end': return !isRTL; - case 'start': return isRTL; - default: return defaultRight ? !isRTL : isRTL; - } -} -/** @hidden */ -function reorderArray(array, indexes) { - var element = array[indexes.from]; - array.splice(indexes.from, 1); - array.splice(indexes.to, 0, element); - return array; -} -/** @hidden */ -function removeArrayItem(array, item) { - var index = array.indexOf(item); - return !!~index && !!array.splice(index, 1); -} -/** @hidden */ -function swipeShouldReset(isResetDirection, isMovingFast, isOnResetZone) { - // The logic required to know when the sliding item should close (openAmount=0) - // depends on three booleans (isCloseDirection, isMovingFast, isOnCloseZone) - // and it ended up being too complicated to be written manually without errors - // so the truth table is attached below: (0=false, 1=true) - // isCloseDirection | isMovingFast | isOnCloseZone || shouldClose - // 0 | 0 | 0 || 0 - // 0 | 0 | 1 || 1 - // 0 | 1 | 0 || 0 - // 0 | 1 | 1 || 0 - // 1 | 0 | 0 || 0 - // 1 | 0 | 1 || 1 - // 1 | 1 | 0 || 1 - // 1 | 1 | 1 || 1 - // The resulting expression was generated by resolving the K-map (Karnaugh map): - var shouldClose = (!isMovingFast && isOnResetZone) || (isResetDirection && isMovingFast); - return shouldClose; -} -/** @hidden */ -var ASSERT_ENABLED = true; -/** @hidden */ -function _runInDev(fn) { - if (ASSERT_ENABLED === true) { - return fn(); - } -} -/** @hidden */ -function _assert(actual, reason) { - if (!actual && ASSERT_ENABLED === true) { - var message = 'IONIC ASSERT: ' + reason; - console.error(message); - debugger; // tslint:disable-line - throw new Error(message); - } -} -/** @hidden */ -function requestIonicCallback(functionToLazy) { - if ('requestIdleCallback' in window) { - return window.requestIdleCallback(functionToLazy); - } - else { - return setTimeout(functionToLazy, 500); - } -} -/** @hidden */ - -/** @hidden */ - -//# sourceMappingURL=util.js.map - -/***/ }), -/* 4 */ -/***/ (function(module, __webpack_exports__, __webpack_require__) { - -"use strict"; -/* unused harmony export AbstractControlDirective */ -/* unused harmony export AbstractFormGroupDirective */ -/* unused harmony export CheckboxControlValueAccessor */ -/* unused harmony export ControlContainer */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return NG_VALUE_ACCESSOR; }); -/* unused harmony export COMPOSITION_BUFFER_MODE */ -/* unused harmony export DefaultValueAccessor */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return NgControl; }); -/* unused harmony export NgControlStatus */ -/* unused harmony export NgControlStatusGroup */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return NgForm; }); -/* unused harmony export NgModel */ -/* unused harmony export NgModelGroup */ -/* unused harmony export RadioControlValueAccessor */ -/* unused harmony export FormControlDirective */ -/* unused harmony export FormControlName */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return FormGroupDirective; }); -/* unused harmony export FormArrayName */ -/* unused harmony export FormGroupName */ -/* unused harmony export NgSelectOption */ -/* unused harmony export SelectControlValueAccessor */ -/* unused harmony export SelectMultipleControlValueAccessor */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CheckboxRequiredValidator; }); -/* unused harmony export EmailValidator */ -/* unused harmony export MaxLengthValidator */ -/* unused harmony export MinLengthValidator */ -/* unused harmony export PatternValidator */ -/* unused harmony export RequiredValidator */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return FormBuilder; }); -/* unused harmony export AbstractControl */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return FormArray; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return FormControl; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return FormGroup; }); -/* unused harmony export NG_ASYNC_VALIDATORS */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return NG_VALIDATORS; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "m", function() { return Validators; }); -/* unused harmony export VERSION */ -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return FormsModule; }); -/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return ReactiveFormsModule; }); -/* unused harmony export ɵba */ -/* unused harmony export ɵz */ -/* unused harmony export ɵx */ -/* unused harmony export ɵy */ -/* unused harmony export ɵa */ -/* unused harmony export ɵb */ -/* unused harmony export ɵc */ -/* unused harmony export ɵd */ -/* unused harmony export ɵe */ -/* unused harmony export ɵf */ -/* unused harmony export ɵg */ -/* unused harmony export ɵbf */ -/* unused harmony export ɵbb */ -/* unused harmony export ɵbc */ -/* unused harmony export ɵh */ -/* unused harmony export ɵi */ -/* unused harmony export ɵbd */ -/* unused harmony export ɵbe */ -/* unused harmony export ɵj */ -/* unused harmony export ɵk */ -/* unused harmony export ɵl */ -/* unused harmony export ɵn */ -/* unused harmony export ɵm */ -/* unused harmony export ɵo */ -/* unused harmony export ɵq */ -/* unused harmony export ɵp */ -/* unused harmony export ɵs */ -/* unused harmony export ɵt */ -/* unused harmony export ɵv */ -/* unused harmony export ɵu */ -/* unused harmony export ɵw */ -/* unused harmony export ɵr */ -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ = __webpack_require__(1); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_observable_forkJoin__ = __webpack_require__(259); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_rxjs_observable_forkJoin___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_rxjs_observable_forkJoin__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_observable_fromPromise__ = __webpack_require__(541); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_rxjs_observable_fromPromise___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_rxjs_observable_fromPromise__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_operator_map__ = __webpack_require__(260); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_rxjs_operator_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_rxjs_operator_map__); -/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__angular_platform_browser__ = __webpack_require__(45); -/** - * @license Angular v5.0.3 - * (c) 2010-2017 Google, Inc. https://angular.io/ - * License: MIT - */ - - - - - - - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * Base class for control directives. - * - * Only used internally in the forms module. - * - * \@stable - * @abstract - */ -var AbstractControlDirective = (function () { - function AbstractControlDirective() { - } - Object.defineProperty(AbstractControlDirective.prototype, "value", { - /** The value of the control. */ - get: /** - * The value of the control. - * @return {?} - */ - function () { return this.control ? this.control.value : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "valid", { - /** - * A control is `valid` when its `status === VALID`. - * - * In order to have this status, the control must have passed all its - * validation checks. - */ - get: /** - * A control is `valid` when its `status === VALID`. - * - * In order to have this status, the control must have passed all its - * validation checks. - * @return {?} - */ - function () { return this.control ? this.control.valid : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "invalid", { - /** - * A control is `invalid` when its `status === INVALID`. - * - * In order to have this status, the control must have failed - * at least one of its validation checks. - */ - get: /** - * A control is `invalid` when its `status === INVALID`. - * - * In order to have this status, the control must have failed - * at least one of its validation checks. - * @return {?} - */ - function () { return this.control ? this.control.invalid : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "pending", { - /** - * A control is `pending` when its `status === PENDING`. - * - * In order to have this status, the control must be in the - * middle of conducting a validation check. - */ - get: /** - * A control is `pending` when its `status === PENDING`. - * - * In order to have this status, the control must be in the - * middle of conducting a validation check. - * @return {?} - */ - function () { return this.control ? this.control.pending : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "disabled", { - /** - * A control is `disabled` when its `status === DISABLED`. - * - * Disabled controls are exempt from validation checks and - * are not included in the aggregate value of their ancestor - * controls. - */ - get: /** - * A control is `disabled` when its `status === DISABLED`. - * - * Disabled controls are exempt from validation checks and - * are not included in the aggregate value of their ancestor - * controls. - * @return {?} - */ - function () { return this.control ? this.control.disabled : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "enabled", { - /** - * A control is `enabled` as long as its `status !== DISABLED`. - * - * In other words, it has a status of `VALID`, `INVALID`, or - * `PENDING`. - */ - get: /** - * A control is `enabled` as long as its `status !== DISABLED`. - * - * In other words, it has a status of `VALID`, `INVALID`, or - * `PENDING`. - * @return {?} - */ - function () { return this.control ? this.control.enabled : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "errors", { - /** - * Returns any errors generated by failing validation. If there - * are no errors, it will return null. - */ - get: /** - * Returns any errors generated by failing validation. If there - * are no errors, it will return null. - * @return {?} - */ - function () { return this.control ? this.control.errors : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "pristine", { - /** - * A control is `pristine` if the user has not yet changed - * the value in the UI. - * - * Note that programmatic changes to a control's value will - * *not* mark it dirty. - */ - get: /** - * A control is `pristine` if the user has not yet changed - * the value in the UI. - * - * Note that programmatic changes to a control's value will - * *not* mark it dirty. - * @return {?} - */ - function () { return this.control ? this.control.pristine : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "dirty", { - /** - * A control is `dirty` if the user has changed the value - * in the UI. - * - * Note that programmatic changes to a control's value will - * *not* mark it dirty. - */ - get: /** - * A control is `dirty` if the user has changed the value - * in the UI. - * - * Note that programmatic changes to a control's value will - * *not* mark it dirty. - * @return {?} - */ - function () { return this.control ? this.control.dirty : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "touched", { - /** - * A control is marked `touched` once the user has triggered - * a `blur` event on it. - */ - get: /** - * A control is marked `touched` once the user has triggered - * a `blur` event on it. - * @return {?} - */ - function () { return this.control ? this.control.touched : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "status", { - get: /** - * @return {?} - */ - function () { return this.control ? this.control.status : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "untouched", { - /** - * A control is `untouched` if the user has not yet triggered - * a `blur` event on it. - */ - get: /** - * A control is `untouched` if the user has not yet triggered - * a `blur` event on it. - * @return {?} - */ - function () { return this.control ? this.control.untouched : null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "statusChanges", { - /** - * Emits an event every time the validation status of the control - * is re-calculated. - */ - get: /** - * Emits an event every time the validation status of the control - * is re-calculated. - * @return {?} - */ - function () { - return this.control ? this.control.statusChanges : null; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "valueChanges", { - /** - * Emits an event every time the value of the control changes, in - * the UI or programmatically. - */ - get: /** - * Emits an event every time the value of the control changes, in - * the UI or programmatically. - * @return {?} - */ - function () { - return this.control ? this.control.valueChanges : null; - }, - enumerable: true, - configurable: true - }); - Object.defineProperty(AbstractControlDirective.prototype, "path", { - /** - * Returns an array that represents the path from the top-level form - * to this control. Each index is the string name of the control on - * that level. - */ - get: /** - * Returns an array that represents the path from the top-level form - * to this control. Each index is the string name of the control on - * that level. - * @return {?} - */ - function () { return null; }, - enumerable: true, - configurable: true - }); - /** - * Resets the form control. This means by default: - * - * * it is marked as `pristine` - * * it is marked as `untouched` - * * value is set to null - * - * For more information, see {@link AbstractControl}. - */ - /** - * Resets the form control. This means by default: - * - * * it is marked as `pristine` - * * it is marked as `untouched` - * * value is set to null - * - * For more information, see {\@link AbstractControl}. - * @param {?=} value - * @return {?} - */ - AbstractControlDirective.prototype.reset = /** - * Resets the form control. This means by default: - * - * * it is marked as `pristine` - * * it is marked as `untouched` - * * value is set to null - * - * For more information, see {\@link AbstractControl}. - * @param {?=} value - * @return {?} - */ - function (value) { - if (value === void 0) { value = undefined; } - if (this.control) - this.control.reset(value); - }; - /** - * Returns true if the control with the given path has the error specified. Otherwise - * returns false. - * - * If no path is given, it checks for the error on the present control. - */ - /** - * Returns true if the control with the given path has the error specified. Otherwise - * returns false. - * - * If no path is given, it checks for the error on the present control. - * @param {?} errorCode - * @param {?=} path - * @return {?} - */ - AbstractControlDirective.prototype.hasError = /** - * Returns true if the control with the given path has the error specified. Otherwise - * returns false. - * - * If no path is given, it checks for the error on the present control. - * @param {?} errorCode - * @param {?=} path - * @return {?} - */ - function (errorCode, path) { - return this.control ? this.control.hasError(errorCode, path) : false; - }; - /** - * Returns error data if the control with the given path has the error specified. Otherwise - * returns null or undefined. - * - * If no path is given, it checks for the error on the present control. - */ - /** - * Returns error data if the control with the given path has the error specified. Otherwise - * returns null or undefined. - * - * If no path is given, it checks for the error on the present control. - * @param {?} errorCode - * @param {?=} path - * @return {?} - */ - AbstractControlDirective.prototype.getError = /** - * Returns error data if the control with the given path has the error specified. Otherwise - * returns null or undefined. - * - * If no path is given, it checks for the error on the present control. - * @param {?} errorCode - * @param {?=} path - * @return {?} - */ - function (errorCode, path) { - return this.control ? this.control.getError(errorCode, path) : null; - }; - return AbstractControlDirective; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A directive that contains multiple {\@link NgControl}s. - * - * Only used by the forms module. - * - * \@stable - * @abstract - */ -var ControlContainer = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(ControlContainer, _super); - function ControlContainer() { - return _super !== null && _super.apply(this, arguments) || this; - } - Object.defineProperty(ControlContainer.prototype, "formDirective", { - /** - * Get the form to which this container belongs. - */ - get: /** - * Get the form to which this container belongs. - * @return {?} - */ - function () { return null; }, - enumerable: true, - configurable: true - }); - Object.defineProperty(ControlContainer.prototype, "path", { - /** - * Get the path to this container. - */ - get: /** - * Get the path to this container. - * @return {?} - */ - function () { return null; }, - enumerable: true, - configurable: true - }); - return ControlContainer; -}(AbstractControlDirective)); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @param {?} value - * @return {?} - */ -function isEmptyInputValue(value) { - // we don't check for string here so it also works with arrays - return value == null || value.length === 0; -} -/** - * Providers for validators to be used for {\@link FormControl}s in a form. - * - * Provide this using `multi: true` to add validators. - * - * \@stable - */ -var NG_VALIDATORS = new __WEBPACK_IMPORTED_MODULE_1__angular_core__["C" /* InjectionToken */]('NgValidators'); -/** - * Providers for asynchronous validators to be used for {\@link FormControl}s - * in a form. - * - * Provide this using `multi: true` to add validators. - * - * See {\@link NG_VALIDATORS} for more details. - * - * \@stable - */ -var NG_ASYNC_VALIDATORS = new __WEBPACK_IMPORTED_MODULE_1__angular_core__["C" /* InjectionToken */]('NgAsyncValidators'); -var EMAIL_REGEXP = /^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/; -/** - * Provides a set of validators used by form controls. - * - * A validator is a function that processes a {\@link FormControl} or collection of - * controls and returns a map of errors. A null map means that validation has passed. - * - * ### Example - * - * ```typescript - * var loginControl = new FormControl("", Validators.required) - * ``` - * - * \@stable - */ -var Validators = (function () { - function Validators() { - } - /** - * Validator that requires controls to have a value greater than a number. - */ - /** - * Validator that requires controls to have a value greater than a number. - * @param {?} min - * @return {?} - */ - Validators.min = /** - * Validator that requires controls to have a value greater than a number. - * @param {?} min - * @return {?} - */ - function (min) { - return function (control) { - if (isEmptyInputValue(control.value) || isEmptyInputValue(min)) { - return null; // don't validate empty values to allow optional controls - } - var /** @type {?} */ value = parseFloat(control.value); - // Controls with NaN values after parsing should be treated as not having a - // minimum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-min - return !isNaN(value) && value < min ? { 'min': { 'min': min, 'actual': control.value } } : null; - }; - }; - /** - * Validator that requires controls to have a value less than a number. - */ - /** - * Validator that requires controls to have a value less than a number. - * @param {?} max - * @return {?} - */ - Validators.max = /** - * Validator that requires controls to have a value less than a number. - * @param {?} max - * @return {?} - */ - function (max) { - return function (control) { - if (isEmptyInputValue(control.value) || isEmptyInputValue(max)) { - return null; // don't validate empty values to allow optional controls - } - var /** @type {?} */ value = parseFloat(control.value); - // Controls with NaN values after parsing should be treated as not having a - // maximum, per the HTML forms spec: https://www.w3.org/TR/html5/forms.html#attr-input-max - return !isNaN(value) && value > max ? { 'max': { 'max': max, 'actual': control.value } } : null; - }; - }; - /** - * Validator that requires controls to have a non-empty value. - */ - /** - * Validator that requires controls to have a non-empty value. - * @param {?} control - * @return {?} - */ - Validators.required = /** - * Validator that requires controls to have a non-empty value. - * @param {?} control - * @return {?} - */ - function (control) { - return isEmptyInputValue(control.value) ? { 'required': true } : null; - }; - /** - * Validator that requires control value to be true. - */ - /** - * Validator that requires control value to be true. - * @param {?} control - * @return {?} - */ - Validators.requiredTrue = /** - * Validator that requires control value to be true. - * @param {?} control - * @return {?} - */ - function (control) { - return control.value === true ? null : { 'required': true }; - }; - /** - * Validator that performs email validation. - */ - /** - * Validator that performs email validation. - * @param {?} control - * @return {?} - */ - Validators.email = /** - * Validator that performs email validation. - * @param {?} control - * @return {?} - */ - function (control) { - return EMAIL_REGEXP.test(control.value) ? null : { 'email': true }; - }; - /** - * Validator that requires controls to have a value of a minimum length. - */ - /** - * Validator that requires controls to have a value of a minimum length. - * @param {?} minLength - * @return {?} - */ - Validators.minLength = /** - * Validator that requires controls to have a value of a minimum length. - * @param {?} minLength - * @return {?} - */ - function (minLength) { - return function (control) { - if (isEmptyInputValue(control.value)) { - return null; // don't validate empty values to allow optional controls - } - var /** @type {?} */ length = control.value ? control.value.length : 0; - return length < minLength ? - { 'minlength': { 'requiredLength': minLength, 'actualLength': length } } : - null; - }; - }; - /** - * Validator that requires controls to have a value of a maximum length. - */ - /** - * Validator that requires controls to have a value of a maximum length. - * @param {?} maxLength - * @return {?} - */ - Validators.maxLength = /** - * Validator that requires controls to have a value of a maximum length. - * @param {?} maxLength - * @return {?} - */ - function (maxLength) { - return function (control) { - var /** @type {?} */ length = control.value ? control.value.length : 0; - return length > maxLength ? - { 'maxlength': { 'requiredLength': maxLength, 'actualLength': length } } : - null; - }; - }; - /** - * Validator that requires a control to match a regex to its value. - */ - /** - * Validator that requires a control to match a regex to its value. - * @param {?} pattern - * @return {?} - */ - Validators.pattern = /** - * Validator that requires a control to match a regex to its value. - * @param {?} pattern - * @return {?} - */ - function (pattern) { - if (!pattern) - return Validators.nullValidator; - var /** @type {?} */ regex; - var /** @type {?} */ regexStr; - if (typeof pattern === 'string') { - regexStr = "^" + pattern + "$"; - regex = new RegExp(regexStr); - } - else { - regexStr = pattern.toString(); - regex = pattern; - } - return function (control) { - if (isEmptyInputValue(control.value)) { - return null; // don't validate empty values to allow optional controls - } - var /** @type {?} */ value = control.value; - return regex.test(value) ? null : - { 'pattern': { 'requiredPattern': regexStr, 'actualValue': value } }; - }; - }; - /** - * No-op validator. - */ - /** - * No-op validator. - * @param {?} c - * @return {?} - */ - Validators.nullValidator = /** - * No-op validator. - * @param {?} c - * @return {?} - */ - function (c) { return null; }; - /** - * @param {?} validators - * @return {?} - */ - Validators.compose = /** - * @param {?} validators - * @return {?} - */ - function (validators) { - if (!validators) - return null; - var /** @type {?} */ presentValidators = /** @type {?} */ (validators.filter(isPresent)); - if (presentValidators.length == 0) - return null; - return function (control) { - return _mergeErrors(_executeValidators(control, presentValidators)); - }; - }; - /** - * @param {?} validators - * @return {?} - */ - Validators.composeAsync = /** - * @param {?} validators - * @return {?} - */ - function (validators) { - if (!validators) - return null; - var /** @type {?} */ presentValidators = /** @type {?} */ (validators.filter(isPresent)); - if (presentValidators.length == 0) - return null; - return function (control) { - var /** @type {?} */ observables = _executeAsyncValidators(control, presentValidators).map(toObservable); - return __WEBPACK_IMPORTED_MODULE_4_rxjs_operator_map__["map"].call(Object(__WEBPACK_IMPORTED_MODULE_2_rxjs_observable_forkJoin__["forkJoin"])(observables), _mergeErrors); - }; - }; - return Validators; -}()); -/** - * @param {?} o - * @return {?} - */ -function isPresent(o) { - return o != null; -} -/** - * @param {?} r - * @return {?} - */ -function toObservable(r) { - var /** @type {?} */ obs = Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_37" /* ɵisPromise */])(r) ? Object(__WEBPACK_IMPORTED_MODULE_3_rxjs_observable_fromPromise__["fromPromise"])(r) : r; - if (!(Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_36" /* ɵisObservable */])(obs))) { - throw new Error("Expected validator to return Promise or Observable."); - } - return obs; -} -/** - * @param {?} control - * @param {?} validators - * @return {?} - */ -function _executeValidators(control, validators) { - return validators.map(function (v) { return v(control); }); -} -/** - * @param {?} control - * @param {?} validators - * @return {?} - */ -function _executeAsyncValidators(control, validators) { - return validators.map(function (v) { return v(control); }); -} -/** - * @param {?} arrayOfErrors - * @return {?} - */ -function _mergeErrors(arrayOfErrors) { - var /** @type {?} */ res = arrayOfErrors.reduce(function (res, errors) { - return errors != null ? Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["a" /* __assign */])({}, /** @type {?} */ ((res)), errors) : /** @type {?} */ ((res)); - }, {}); - return Object.keys(res).length === 0 ? null : res; -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * A `ControlValueAccessor` acts as a bridge between the Angular forms API and a - * native element in the DOM. - * - * Implement this interface if you want to create a custom form control directive - * that integrates with Angular forms. - * - * \@stable - * @record - */ - -/** - * Used to provide a {\@link ControlValueAccessor} for form controls. - * - * See {\@link DefaultValueAccessor} for how to implement one. - * \@stable - */ -var NG_VALUE_ACCESSOR = new __WEBPACK_IMPORTED_MODULE_1__angular_core__["C" /* InjectionToken */]('NgValueAccessor'); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var CHECKBOX_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return CheckboxControlValueAccessor; }), - multi: true, -}; -/** - * The accessor for writing a value and listening to changes on a checkbox input element. - * - * ### Example - * ``` - * - * ``` - * - * \@stable - */ -var CheckboxControlValueAccessor = (function () { - function CheckboxControlValueAccessor(_renderer, _elementRef) { - this._renderer = _renderer; - this._elementRef = _elementRef; - this.onChange = function (_) { }; - this.onTouched = function () { }; - } - /** - * @param {?} value - * @return {?} - */ - CheckboxControlValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - this._renderer.setProperty(this._elementRef.nativeElement, 'checked', value); - }; - /** - * @param {?} fn - * @return {?} - */ - CheckboxControlValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onChange = fn; }; - /** - * @param {?} fn - * @return {?} - */ - CheckboxControlValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - CheckboxControlValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - CheckboxControlValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]', - host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' }, - providers: [CHECKBOX_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - CheckboxControlValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - ]; }; - return CheckboxControlValueAccessor; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var DEFAULT_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return DefaultValueAccessor; }), - multi: true -}; -/** - * We must check whether the agent is Android because composition events - * behave differently between iOS and Android. - * @return {?} - */ -function _isAndroid() { - var /** @type {?} */ userAgent = Object(__WEBPACK_IMPORTED_MODULE_5__angular_platform_browser__["i" /* ɵgetDOM */])() ? Object(__WEBPACK_IMPORTED_MODULE_5__angular_platform_browser__["i" /* ɵgetDOM */])().getUserAgent() : ''; - return /android (\d+)/.test(userAgent.toLowerCase()); -} -/** - * Turn this mode on if you want form directives to buffer IME input until compositionend - * \@experimental - */ -var COMPOSITION_BUFFER_MODE = new __WEBPACK_IMPORTED_MODULE_1__angular_core__["C" /* InjectionToken */]('CompositionEventMode'); -/** - * The default accessor for writing a value and listening to changes that is used by the - * {\@link NgModel}, {\@link FormControlDirective}, and {\@link FormControlName} directives. - * - * ### Example - * ``` - * - * ``` - * - * \@stable - */ -var DefaultValueAccessor = (function () { - function DefaultValueAccessor(_renderer, _elementRef, _compositionMode) { - this._renderer = _renderer; - this._elementRef = _elementRef; - this._compositionMode = _compositionMode; - this.onChange = function (_) { }; - this.onTouched = function () { }; - /** - * Whether the user is creating a composition string (IME events). - */ - this._composing = false; - if (this._compositionMode == null) { - this._compositionMode = !_isAndroid(); - } - } - /** - * @param {?} value - * @return {?} - */ - DefaultValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - var /** @type {?} */ normalizedValue = value == null ? '' : value; - this._renderer.setProperty(this._elementRef.nativeElement, 'value', normalizedValue); - }; - /** - * @param {?} fn - * @return {?} - */ - DefaultValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onChange = fn; }; - /** - * @param {?} fn - * @return {?} - */ - DefaultValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - DefaultValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - /** @internal */ - /** - * \@internal - * @param {?} value - * @return {?} - */ - DefaultValueAccessor.prototype._handleInput = /** - * \@internal - * @param {?} value - * @return {?} - */ - function (value) { - if (!this._compositionMode || (this._compositionMode && !this._composing)) { - this.onChange(value); - } - }; - /** @internal */ - /** - * \@internal - * @return {?} - */ - DefaultValueAccessor.prototype._compositionStart = /** - * \@internal - * @return {?} - */ - function () { this._composing = true; }; - /** @internal */ - /** - * \@internal - * @param {?} value - * @return {?} - */ - DefaultValueAccessor.prototype._compositionEnd = /** - * \@internal - * @param {?} value - * @return {?} - */ - function (value) { - this._composing = false; - this._compositionMode && this.onChange(value); - }; - DefaultValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]', - // TODO: vsavkin replace the above selector with the one below it once - // https://github.com/angular/angular/issues/3011 is implemented - // selector: '[ngModel],[formControl],[formControlName]', - host: { - '(input)': '_handleInput($event.target.value)', - '(blur)': 'onTouched()', - '(compositionstart)': '_compositionStart()', - '(compositionend)': '_compositionEnd($event.target.value)' - }, - providers: [DEFAULT_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - DefaultValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - { type: undefined, decorators: [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["O" /* Optional */] }, { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["A" /* Inject */], args: [COMPOSITION_BUFFER_MODE,] },] }, - ]; }; - return DefaultValueAccessor; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @param {?} validator - * @return {?} - */ -function normalizeValidator(validator) { - if ((/** @type {?} */ (validator)).validate) { - return function (c) { return (/** @type {?} */ (validator)).validate(c); }; - } - else { - return /** @type {?} */ (validator); - } -} -/** - * @param {?} validator - * @return {?} - */ -function normalizeAsyncValidator(validator) { - if ((/** @type {?} */ (validator)).validate) { - return function (c) { return (/** @type {?} */ (validator)).validate(c); }; - } - else { - return /** @type {?} */ (validator); - } -} - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var NUMBER_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return NumberValueAccessor; }), - multi: true -}; -/** - * The accessor for writing a number value and listening to changes that is used by the - * {\@link NgModel}, {\@link FormControlDirective}, and {\@link FormControlName} directives. - * - * ### Example - * ``` - * - * ``` - */ -var NumberValueAccessor = (function () { - function NumberValueAccessor(_renderer, _elementRef) { - this._renderer = _renderer; - this._elementRef = _elementRef; - this.onChange = function (_) { }; - this.onTouched = function () { }; - } - /** - * @param {?} value - * @return {?} - */ - NumberValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - // The value needs to be normalized for IE9, otherwise it is set to 'null' when null - var /** @type {?} */ normalizedValue = value == null ? '' : value; - this._renderer.setProperty(this._elementRef.nativeElement, 'value', normalizedValue); - }; - /** - * @param {?} fn - * @return {?} - */ - NumberValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - this.onChange = function (value) { fn(value == '' ? null : parseFloat(value)); }; - }; - /** - * @param {?} fn - * @return {?} - */ - NumberValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - NumberValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - NumberValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]', - host: { - '(change)': 'onChange($event.target.value)', - '(input)': 'onChange($event.target.value)', - '(blur)': 'onTouched()' - }, - providers: [NUMBER_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - NumberValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - ]; }; - return NumberValueAccessor; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -/** - * @return {?} - */ -function unimplemented() { - throw new Error('unimplemented'); -} -/** - * A base class that all control directive extend. - * It binds a {\@link FormControl} object to a DOM element. - * - * Used internally by Angular forms. - * - * \@stable - * @abstract - */ -var NgControl = (function (_super) { - Object(__WEBPACK_IMPORTED_MODULE_0_tslib__["b" /* __extends */])(NgControl, _super); - function NgControl() { - var _this = _super !== null && _super.apply(this, arguments) || this; - /** - * \@internal - */ - _this._parent = null; - _this.name = null; - _this.valueAccessor = null; - /** - * \@internal - */ - _this._rawValidators = []; - /** - * \@internal - */ - _this._rawAsyncValidators = []; - return _this; - } - Object.defineProperty(NgControl.prototype, "validator", { - get: /** - * @return {?} - */ - function () { return /** @type {?} */ (unimplemented()); }, - enumerable: true, - configurable: true - }); - Object.defineProperty(NgControl.prototype, "asyncValidator", { - get: /** - * @return {?} - */ - function () { return /** @type {?} */ (unimplemented()); }, - enumerable: true, - configurable: true - }); - return NgControl; -}(AbstractControlDirective)); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var RADIO_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return RadioControlValueAccessor; }), - multi: true -}; -/** - * Internal class used by Angular to uncheck radio buttons with the matching name. - */ -var RadioControlRegistry = (function () { - function RadioControlRegistry() { - this._accessors = []; - } - /** - * @param {?} control - * @param {?} accessor - * @return {?} - */ - RadioControlRegistry.prototype.add = /** - * @param {?} control - * @param {?} accessor - * @return {?} - */ - function (control, accessor) { - this._accessors.push([control, accessor]); - }; - /** - * @param {?} accessor - * @return {?} - */ - RadioControlRegistry.prototype.remove = /** - * @param {?} accessor - * @return {?} - */ - function (accessor) { - for (var /** @type {?} */ i = this._accessors.length - 1; i >= 0; --i) { - if (this._accessors[i][1] === accessor) { - this._accessors.splice(i, 1); - return; - } - } - }; - /** - * @param {?} accessor - * @return {?} - */ - RadioControlRegistry.prototype.select = /** - * @param {?} accessor - * @return {?} - */ - function (accessor) { - var _this = this; - this._accessors.forEach(function (c) { - if (_this._isSameGroup(c, accessor) && c[1] !== accessor) { - c[1].fireUncheck(accessor.value); - } - }); - }; - /** - * @param {?} controlPair - * @param {?} accessor - * @return {?} - */ - RadioControlRegistry.prototype._isSameGroup = /** - * @param {?} controlPair - * @param {?} accessor - * @return {?} - */ - function (controlPair, accessor) { - if (!controlPair[0].control) - return false; - return controlPair[0]._parent === accessor._control._parent && - controlPair[1].name === accessor.name; - }; - RadioControlRegistry.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["B" /* Injectable */] }, - ]; - /** @nocollapse */ - RadioControlRegistry.ctorParameters = function () { return []; }; - return RadioControlRegistry; -}()); -/** - * \@whatItDoes Writes radio control values and listens to radio control changes. - * - * Used by {\@link NgModel}, {\@link FormControlDirective}, and {\@link FormControlName} - * to keep the view synced with the {\@link FormControl} model. - * - * \@howToUse - * - * If you have imported the {\@link FormsModule} or the {\@link ReactiveFormsModule}, this - * value accessor will be active on any radio control that has a form directive. You do - * **not** need to add a special selector to activate it. - * - * ### How to use radio buttons with form directives - * - * To use radio buttons in a template-driven form, you'll want to ensure that radio buttons - * in the same group have the same `name` attribute. Radio buttons with different `name` - * attributes do not affect each other. - * - * {\@example forms/ts/radioButtons/radio_button_example.ts region='TemplateDriven'} - * - * When using radio buttons in a reactive form, radio buttons in the same group should have the - * same `formControlName`. You can also add a `name` attribute, but it's optional. - * - * {\@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'} - * - * * **npm package**: `\@angular/forms` - * - * \@stable - */ -var RadioControlValueAccessor = (function () { - function RadioControlValueAccessor(_renderer, _elementRef, _registry, _injector) { - this._renderer = _renderer; - this._elementRef = _elementRef; - this._registry = _registry; - this._injector = _injector; - this.onChange = function () { }; - this.onTouched = function () { }; - } - /** - * @return {?} - */ - RadioControlValueAccessor.prototype.ngOnInit = /** - * @return {?} - */ - function () { - this._control = this._injector.get(NgControl); - this._checkName(); - this._registry.add(this._control, this); - }; - /** - * @return {?} - */ - RadioControlValueAccessor.prototype.ngOnDestroy = /** - * @return {?} - */ - function () { this._registry.remove(this); }; - /** - * @param {?} value - * @return {?} - */ - RadioControlValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - this._state = value === this.value; - this._renderer.setProperty(this._elementRef.nativeElement, 'checked', this._state); - }; - /** - * @param {?} fn - * @return {?} - */ - RadioControlValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var _this = this; - this._fn = fn; - this.onChange = function () { - fn(_this.value); - _this._registry.select(_this); - }; - }; - /** - * @param {?} value - * @return {?} - */ - RadioControlValueAccessor.prototype.fireUncheck = /** - * @param {?} value - * @return {?} - */ - function (value) { this.writeValue(value); }; - /** - * @param {?} fn - * @return {?} - */ - RadioControlValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - RadioControlValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - /** - * @return {?} - */ - RadioControlValueAccessor.prototype._checkName = /** - * @return {?} - */ - function () { - if (this.name && this.formControlName && this.name !== this.formControlName) { - this._throwNameError(); - } - if (!this.name && this.formControlName) - this.name = this.formControlName; - }; - /** - * @return {?} - */ - RadioControlValueAccessor.prototype._throwNameError = /** - * @return {?} - */ - function () { - throw new Error("\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n "); - }; - RadioControlValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]', - host: { '(change)': 'onChange()', '(blur)': 'onTouched()' }, - providers: [RADIO_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - RadioControlValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - { type: RadioControlRegistry, }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["D" /* Injector */], }, - ]; }; - RadioControlValueAccessor.propDecorators = { - "name": [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["E" /* Input */] },], - "formControlName": [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["E" /* Input */] },], - "value": [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["E" /* Input */] },], - }; - return RadioControlValueAccessor; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var RANGE_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return RangeValueAccessor; }), - multi: true -}; -/** - * The accessor for writing a range value and listening to changes that is used by the - * {\@link NgModel}, {\@link FormControlDirective}, and {\@link FormControlName} directives. - * - * ### Example - * ``` - * - * ``` - */ -var RangeValueAccessor = (function () { - function RangeValueAccessor(_renderer, _elementRef) { - this._renderer = _renderer; - this._elementRef = _elementRef; - this.onChange = function (_) { }; - this.onTouched = function () { }; - } - /** - * @param {?} value - * @return {?} - */ - RangeValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - this._renderer.setProperty(this._elementRef.nativeElement, 'value', parseFloat(value)); - }; - /** - * @param {?} fn - * @return {?} - */ - RangeValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - this.onChange = function (value) { fn(value == '' ? null : parseFloat(value)); }; - }; - /** - * @param {?} fn - * @return {?} - */ - RangeValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - RangeValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - RangeValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]', - host: { - '(change)': 'onChange($event.target.value)', - '(input)': 'onChange($event.target.value)', - '(blur)': 'onTouched()' - }, - providers: [RANGE_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - RangeValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - ]; }; - return RangeValueAccessor; -}()); - -/** - * @fileoverview added by tsickle - * @suppress {checkTypes} checked by tsc - */ -/** - * @license - * Copyright Google Inc. All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -var SELECT_VALUE_ACCESSOR = { - provide: NG_VALUE_ACCESSOR, - useExisting: Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["_16" /* forwardRef */])(function () { return SelectControlValueAccessor; }), - multi: true -}; -/** - * @param {?} id - * @param {?} value - * @return {?} - */ -function _buildValueString(id, value) { - if (id == null) - return "" + value; - if (value && typeof value === 'object') - value = 'Object'; - return (id + ": " + value).slice(0, 50); -} -/** - * @param {?} valueString - * @return {?} - */ -function _extractId(valueString) { - return valueString.split(':')[0]; -} -/** - * \@whatItDoes Writes values and listens to changes on a select element. - * - * Used by {\@link NgModel}, {\@link FormControlDirective}, and {\@link FormControlName} - * to keep the view synced with the {\@link FormControl} model. - * - * \@howToUse - * - * If you have imported the {\@link FormsModule} or the {\@link ReactiveFormsModule}, this - * value accessor will be active on any select control that has a form directive. You do - * **not** need to add a special selector to activate it. - * - * ### How to use select controls with form directives - * - * To use a select in a template-driven form, simply add an `ngModel` and a `name` - * attribute to the main `` tag. Like in the former example, you have the - * choice of binding to the `value` or `ngValue` property on the select's options. - * - * {\@example forms/ts/reactiveSelectControl/reactive_select_control_example.ts region='Component'} - * - * ### Caveat: Option selection - * - * Angular uses object identity to select option. It's possible for the identities of items - * to change while the data does not. This can happen, for example, if the items are produced - * from an RPC to the server, and that RPC is re-run. Even if the data hasn't changed, the - * second response will produce objects with different identities. - * - * To customize the default option comparison algorithm, ` - * - * - * - * compareFn(c1: Country, c2: Country): boolean { - * return c1 && c2 ? c1.id === c2.id : c1 === c2; - * } - * ``` - * - * Note: We listen to the 'change' event because 'input' events aren't fired - * for selects in Firefox and IE: - * https://bugzilla.mozilla.org/show_bug.cgi?id=1024350 - * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4660045/ - * - * * **npm package**: `\@angular/forms` - * - * \@stable - */ -var SelectControlValueAccessor = (function () { - function SelectControlValueAccessor(_renderer, _elementRef) { - this._renderer = _renderer; - this._elementRef = _elementRef; - /** - * \@internal - */ - this._optionMap = new Map(); - /** - * \@internal - */ - this._idCounter = 0; - this.onChange = function (_) { }; - this.onTouched = function () { }; - this._compareWith = __WEBPACK_IMPORTED_MODULE_1__angular_core__["_38" /* ɵlooseIdentical */]; - } - Object.defineProperty(SelectControlValueAccessor.prototype, "compareWith", { - set: /** - * @param {?} fn - * @return {?} - */ - function (fn) { - if (typeof fn !== 'function') { - throw new Error("compareWith must be a function, but received " + JSON.stringify(fn)); - } - this._compareWith = fn; - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} value - * @return {?} - */ - SelectControlValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - this.value = value; - var /** @type {?} */ id = this._getOptionId(value); - if (id == null) { - this._renderer.setProperty(this._elementRef.nativeElement, 'selectedIndex', -1); - } - var /** @type {?} */ valueString = _buildValueString(id, value); - this._renderer.setProperty(this._elementRef.nativeElement, 'value', valueString); - }; - /** - * @param {?} fn - * @return {?} - */ - SelectControlValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var _this = this; - this.onChange = function (valueString) { - _this.value = _this._getOptionValue(valueString); - fn(_this.value); - }; - }; - /** - * @param {?} fn - * @return {?} - */ - SelectControlValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - SelectControlValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - /** @internal */ - /** - * \@internal - * @return {?} - */ - SelectControlValueAccessor.prototype._registerOption = /** - * \@internal - * @return {?} - */ - function () { return (this._idCounter++).toString(); }; - /** @internal */ - /** - * \@internal - * @param {?} value - * @return {?} - */ - SelectControlValueAccessor.prototype._getOptionId = /** - * \@internal - * @param {?} value - * @return {?} - */ - function (value) { - for (var _i = 0, _a = Array.from(this._optionMap.keys()); _i < _a.length; _i++) { - var id = _a[_i]; - if (this._compareWith(this._optionMap.get(id), value)) - return id; - } - return null; - }; - /** @internal */ - /** - * \@internal - * @param {?} valueString - * @return {?} - */ - SelectControlValueAccessor.prototype._getOptionValue = /** - * \@internal - * @param {?} valueString - * @return {?} - */ - function (valueString) { - var /** @type {?} */ id = _extractId(valueString); - return this._optionMap.has(id) ? this._optionMap.get(id) : valueString; - }; - SelectControlValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]', - host: { '(change)': 'onChange($event.target.value)', '(blur)': 'onTouched()' }, - providers: [SELECT_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - SelectControlValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - ]; }; - SelectControlValueAccessor.propDecorators = { - "compareWith": [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["E" /* Input */] },], - }; - return SelectControlValueAccessor; -}()); -/** - * \@whatItDoes Marks ` - * - * - * compareFn(c1: Country, c2: Country): boolean { - * return c1 && c2 ? c1.id === c2.id : c1 === c2; - * } - * ``` - * - * \@stable - */ -var SelectMultipleControlValueAccessor = (function () { - function SelectMultipleControlValueAccessor(_renderer, _elementRef) { - this._renderer = _renderer; - this._elementRef = _elementRef; - /** - * \@internal - */ - this._optionMap = new Map(); - /** - * \@internal - */ - this._idCounter = 0; - this.onChange = function (_) { }; - this.onTouched = function () { }; - this._compareWith = __WEBPACK_IMPORTED_MODULE_1__angular_core__["_38" /* ɵlooseIdentical */]; - } - Object.defineProperty(SelectMultipleControlValueAccessor.prototype, "compareWith", { - set: /** - * @param {?} fn - * @return {?} - */ - function (fn) { - if (typeof fn !== 'function') { - throw new Error("compareWith must be a function, but received " + JSON.stringify(fn)); - } - this._compareWith = fn; - }, - enumerable: true, - configurable: true - }); - /** - * @param {?} value - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype.writeValue = /** - * @param {?} value - * @return {?} - */ - function (value) { - var _this = this; - this.value = value; - var /** @type {?} */ optionSelectedStateSetter; - if (Array.isArray(value)) { - // convert values to ids - var /** @type {?} */ ids_1 = value.map(function (v) { return _this._getOptionId(v); }); - optionSelectedStateSetter = function (opt, o) { opt._setSelected(ids_1.indexOf(o.toString()) > -1); }; - } - else { - optionSelectedStateSetter = function (opt, o) { opt._setSelected(false); }; - } - this._optionMap.forEach(optionSelectedStateSetter); - }; - /** - * @param {?} fn - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype.registerOnChange = /** - * @param {?} fn - * @return {?} - */ - function (fn) { - var _this = this; - this.onChange = function (_) { - var /** @type {?} */ selected = []; - if (_.hasOwnProperty('selectedOptions')) { - var /** @type {?} */ options = _.selectedOptions; - for (var /** @type {?} */ i = 0; i < options.length; i++) { - var /** @type {?} */ opt = options.item(i); - var /** @type {?} */ val = _this._getOptionValue(opt.value); - selected.push(val); - } - } - else { - var /** @type {?} */ options = /** @type {?} */ (_.options); - for (var /** @type {?} */ i = 0; i < options.length; i++) { - var /** @type {?} */ opt = options.item(i); - if (opt.selected) { - var /** @type {?} */ val = _this._getOptionValue(opt.value); - selected.push(val); - } - } - } - _this.value = selected; - fn(selected); - }; - }; - /** - * @param {?} fn - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype.registerOnTouched = /** - * @param {?} fn - * @return {?} - */ - function (fn) { this.onTouched = fn; }; - /** - * @param {?} isDisabled - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype.setDisabledState = /** - * @param {?} isDisabled - * @return {?} - */ - function (isDisabled) { - this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled); - }; - /** @internal */ - /** - * \@internal - * @param {?} value - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype._registerOption = /** - * \@internal - * @param {?} value - * @return {?} - */ - function (value) { - var /** @type {?} */ id = (this._idCounter++).toString(); - this._optionMap.set(id, value); - return id; - }; - /** @internal */ - /** - * \@internal - * @param {?} value - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype._getOptionId = /** - * \@internal - * @param {?} value - * @return {?} - */ - function (value) { - for (var _i = 0, _a = Array.from(this._optionMap.keys()); _i < _a.length; _i++) { - var id = _a[_i]; - if (this._compareWith(/** @type {?} */ ((this._optionMap.get(id)))._value, value)) - return id; - } - return null; - }; - /** @internal */ - /** - * \@internal - * @param {?} valueString - * @return {?} - */ - SelectMultipleControlValueAccessor.prototype._getOptionValue = /** - * \@internal - * @param {?} valueString - * @return {?} - */ - function (valueString) { - var /** @type {?} */ id = _extractId$1(valueString); - return this._optionMap.has(id) ? /** @type {?} */ ((this._optionMap.get(id)))._value : valueString; - }; - SelectMultipleControlValueAccessor.decorators = [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["s" /* Directive */], args: [{ - selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]', - host: { '(change)': 'onChange($event.target)', '(blur)': 'onTouched()' }, - providers: [SELECT_MULTIPLE_VALUE_ACCESSOR] - },] }, - ]; - /** @nocollapse */ - SelectMultipleControlValueAccessor.ctorParameters = function () { return [ - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["X" /* Renderer2 */], }, - { type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["t" /* ElementRef */], }, - ]; }; - SelectMultipleControlValueAccessor.propDecorators = { - "compareWith": [{ type: __WEBPACK_IMPORTED_MODULE_1__angular_core__["E" /* Input */] },], - }; - return SelectMultipleControlValueAccessor; -}()); -/** - * Marks `